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
){
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_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6202 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_From_int(static_cast< int >(result
));
6216 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= 0;
6218 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6219 wxString
*arg2
= 0 ;
6223 bool temp2
= false ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "self",(char *) "string", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6232 if (!SWIG_IsOK(res1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6235 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6237 arg2
= wxString_in_helper(obj1
);
6238 if (arg2
== NULL
) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6264 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "editable", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6288 arg2
= static_cast< bool >(val2
);
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetEditable(arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_Py_Void();
6302 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6303 PyObject
*resultobj
= 0;
6304 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6307 PyObject
*swig_obj
[1] ;
6309 if (!args
) SWIG_fail
;
6311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6312 if (!SWIG_IsOK(res1
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6315 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 (arg1
)->SetInsertionPointEnd();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_Py_Void();
6329 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
= 0;
6331 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6342 PyObject
* obj2
= 0 ;
6343 char * kwnames
[] = {
6344 (char *) "self",(char *) "from",(char *) "to", NULL
6347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6349 if (!SWIG_IsOK(res1
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6352 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6354 if (!SWIG_IsOK(ecode2
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6357 arg2
= static_cast< long >(val2
);
6358 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6359 if (!SWIG_IsOK(ecode3
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6362 arg3
= static_cast< long >(val3
);
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 (arg1
)->Remove(arg2
,arg3
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_Py_Void();
6376 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6377 PyObject
*resultobj
= 0;
6378 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6382 PyObject
*swig_obj
[1] ;
6384 if (!args
) SWIG_fail
;
6386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6387 if (!SWIG_IsOK(res1
)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6390 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6407 PyObject
*resultobj
= 0;
6408 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6411 PyObject
*swig_obj
[1] ;
6413 if (!args
) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6419 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_Py_Void();
6433 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6434 PyObject
*resultobj
= 0;
6435 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
*swig_obj
[1] ;
6440 if (!args
) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6446 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_Py_Void();
6460 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6461 PyObject
*resultobj
= 0;
6462 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6465 PyObject
*swig_obj
[1] ;
6467 if (!args
) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6473 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 (arg1
)->SelectAll();
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_Py_Void();
6487 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 PyObject
*resultobj
= 0;
6489 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6493 PyObject
*swig_obj
[1] ;
6495 if (!args
) SWIG_fail
;
6497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6498 if (!SWIG_IsOK(res1
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6501 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6517 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6518 PyObject
*resultobj
= 0;
6519 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6523 PyObject
*swig_obj
[1] ;
6525 if (!args
) SWIG_fail
;
6527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6528 if (!SWIG_IsOK(res1
)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6531 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6547 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6548 PyObject
*resultobj
= 0;
6549 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6553 PyObject
*swig_obj
[1] ;
6555 if (!args
) SWIG_fail
;
6557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6558 if (!SWIG_IsOK(res1
)) {
6559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6561 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6577 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6578 PyObject
*resultobj
= 0;
6579 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6583 PyObject
*swig_obj
[1] ;
6585 if (!args
) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6591 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6607 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6608 PyObject
*resultobj
= 0;
6609 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6613 PyObject
*swig_obj
[1] ;
6615 if (!args
) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6621 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6637 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
= 0;
6639 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6640 SwigValueWrapper
<wxVisualAttributes
> result
;
6643 PyObject
* obj0
= 0 ;
6644 char * kwnames
[] = {
6645 (char *) "variant", NULL
6648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6651 if (!SWIG_IsOK(ecode1
)) {
6652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6654 arg1
= static_cast< wxWindowVariant
>(val1
);
6657 if (!wxPyCheckForApp()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6670 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6673 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6674 return SWIG_Py_Void();
6677 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6678 return SWIG_Python_InitShadowInstance(args
);
6681 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6682 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6687 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6688 PyObject
*pyobj
= 0;
6692 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6694 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6701 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
= 0;
6703 wxWindow
*arg1
= (wxWindow
*) 0 ;
6704 int arg2
= (int) -1 ;
6705 int arg3
= (int) 100 ;
6706 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6707 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6708 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6709 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6710 long arg6
= (long) wxGA_HORIZONTAL
;
6711 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6712 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6713 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6714 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6715 wxGauge
*result
= 0 ;
6728 bool temp8
= false ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6731 PyObject
* obj2
= 0 ;
6732 PyObject
* obj3
= 0 ;
6733 PyObject
* obj4
= 0 ;
6734 PyObject
* obj5
= 0 ;
6735 PyObject
* obj6
= 0 ;
6736 PyObject
* obj7
= 0 ;
6737 char * kwnames
[] = {
6738 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6749 if (!SWIG_IsOK(ecode2
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6752 arg2
= static_cast< int >(val2
);
6755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6756 if (!SWIG_IsOK(ecode3
)) {
6757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6759 arg3
= static_cast< int >(val3
);
6764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6774 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6775 if (!SWIG_IsOK(ecode6
)) {
6776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6778 arg6
= static_cast< long >(val6
);
6781 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6782 if (!SWIG_IsOK(res7
)) {
6783 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6788 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6792 arg8
= wxString_in_helper(obj7
);
6793 if (arg8
== NULL
) SWIG_fail
;
6798 if (!wxPyCheckForApp()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6819 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6821 wxGauge
*result
= 0 ;
6823 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6825 if (!wxPyCheckForApp()) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (wxGauge
*)new wxGauge();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6838 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
= 0;
6840 wxGauge
*arg1
= (wxGauge
*) 0 ;
6841 wxWindow
*arg2
= (wxWindow
*) 0 ;
6842 int arg3
= (int) -1 ;
6843 int arg4
= (int) 100 ;
6844 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6845 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6846 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6847 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6848 long arg7
= (long) wxGA_HORIZONTAL
;
6849 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6850 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6851 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6852 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6868 bool temp9
= false ;
6869 PyObject
* obj0
= 0 ;
6870 PyObject
* obj1
= 0 ;
6871 PyObject
* obj2
= 0 ;
6872 PyObject
* obj3
= 0 ;
6873 PyObject
* obj4
= 0 ;
6874 PyObject
* obj5
= 0 ;
6875 PyObject
* obj6
= 0 ;
6876 PyObject
* obj7
= 0 ;
6877 PyObject
* obj8
= 0 ;
6878 char * kwnames
[] = {
6879 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6884 if (!SWIG_IsOK(res1
)) {
6885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6887 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6889 if (!SWIG_IsOK(res2
)) {
6890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6892 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6895 if (!SWIG_IsOK(ecode3
)) {
6896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6898 arg3
= static_cast< int >(val3
);
6901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6902 if (!SWIG_IsOK(ecode4
)) {
6903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6905 arg4
= static_cast< int >(val4
);
6910 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6916 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6920 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6921 if (!SWIG_IsOK(ecode7
)) {
6922 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6924 arg7
= static_cast< long >(val7
);
6927 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6928 if (!SWIG_IsOK(res8
)) {
6929 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6934 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6938 arg9
= wxString_in_helper(obj8
);
6939 if (arg9
== NULL
) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6966 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
= 0;
6968 wxGauge
*arg1
= (wxGauge
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "range", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6987 if (!SWIG_IsOK(ecode2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
6990 arg2
= static_cast< int >(val2
);
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 (arg1
)->SetRange(arg2
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= SWIG_Py_Void();
7004 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7005 PyObject
*resultobj
= 0;
7006 wxGauge
*arg1
= (wxGauge
*) 0 ;
7010 PyObject
*swig_obj
[1] ;
7012 if (!args
) SWIG_fail
;
7014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7015 if (!SWIG_IsOK(res1
)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7018 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_From_int(static_cast< int >(result
));
7032 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
= 0;
7034 wxGauge
*arg1
= (wxGauge
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7042 char * kwnames
[] = {
7043 (char *) "self",(char *) "pos", NULL
7046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7048 if (!SWIG_IsOK(res1
)) {
7049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7051 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7053 if (!SWIG_IsOK(ecode2
)) {
7054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7056 arg2
= static_cast< int >(val2
);
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 (arg1
)->SetValue(arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_Py_Void();
7070 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7071 PyObject
*resultobj
= 0;
7072 wxGauge
*arg1
= (wxGauge
*) 0 ;
7076 PyObject
*swig_obj
[1] ;
7078 if (!args
) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7084 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_From_int(static_cast< int >(result
));
7098 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxGauge
*arg1
= (wxGauge
*) 0 ;
7103 PyObject
*swig_obj
[1] ;
7105 if (!args
) SWIG_fail
;
7107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7108 if (!SWIG_IsOK(res1
)) {
7109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7111 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= SWIG_Py_Void();
7125 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7126 PyObject
*resultobj
= 0;
7127 wxGauge
*arg1
= (wxGauge
*) 0 ;
7131 PyObject
*swig_obj
[1] ;
7133 if (!args
) SWIG_fail
;
7135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7136 if (!SWIG_IsOK(res1
)) {
7137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7139 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7155 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
= 0;
7157 wxGauge
*arg1
= (wxGauge
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7165 char * kwnames
[] = {
7166 (char *) "self",(char *) "w", NULL
7169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7171 if (!SWIG_IsOK(res1
)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7174 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7176 if (!SWIG_IsOK(ecode2
)) {
7177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7179 arg2
= static_cast< int >(val2
);
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 (arg1
)->SetShadowWidth(arg2
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_Py_Void();
7193 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7194 PyObject
*resultobj
= 0;
7195 wxGauge
*arg1
= (wxGauge
*) 0 ;
7199 PyObject
*swig_obj
[1] ;
7201 if (!args
) SWIG_fail
;
7203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7204 if (!SWIG_IsOK(res1
)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7207 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_From_int(static_cast< int >(result
));
7221 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= 0;
7223 wxGauge
*arg1
= (wxGauge
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7231 char * kwnames
[] = {
7232 (char *) "self",(char *) "w", NULL
7235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7240 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7242 if (!SWIG_IsOK(ecode2
)) {
7243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7245 arg2
= static_cast< int >(val2
);
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 (arg1
)->SetBezelFace(arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_Py_Void();
7259 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7260 PyObject
*resultobj
= 0;
7261 wxGauge
*arg1
= (wxGauge
*) 0 ;
7265 PyObject
*swig_obj
[1] ;
7267 if (!args
) SWIG_fail
;
7269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7270 if (!SWIG_IsOK(res1
)) {
7271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7273 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= SWIG_From_int(static_cast< int >(result
));
7287 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
= 0;
7289 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7290 SwigValueWrapper
<wxVisualAttributes
> result
;
7293 PyObject
* obj0
= 0 ;
7294 char * kwnames
[] = {
7295 (char *) "variant", NULL
7298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7300 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7301 if (!SWIG_IsOK(ecode1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7304 arg1
= static_cast< wxWindowVariant
>(val1
);
7307 if (!wxPyCheckForApp()) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7320 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7323 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7324 return SWIG_Py_Void();
7327 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 return SWIG_Python_InitShadowInstance(args
);
7331 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7332 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7337 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7338 PyObject
*pyobj
= 0;
7342 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7344 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7351 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7352 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7357 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7358 PyObject
*pyobj
= 0;
7362 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7364 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7371 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7372 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7377 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7378 PyObject
*pyobj
= 0;
7382 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7384 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7391 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
= 0;
7393 wxWindow
*arg1
= (wxWindow
*) 0 ;
7394 int arg2
= (int) -1 ;
7395 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7396 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7401 long arg6
= (long) 0 ;
7402 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7404 wxStaticBox
*result
= 0 ;
7409 bool temp3
= false ;
7414 bool temp7
= false ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7417 PyObject
* obj2
= 0 ;
7418 PyObject
* obj3
= 0 ;
7419 PyObject
* obj4
= 0 ;
7420 PyObject
* obj5
= 0 ;
7421 PyObject
* obj6
= 0 ;
7422 char * kwnames
[] = {
7423 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7428 if (!SWIG_IsOK(res1
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7431 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7434 if (!SWIG_IsOK(ecode2
)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7437 arg2
= static_cast< int >(val2
);
7441 arg3
= wxString_in_helper(obj2
);
7442 if (arg3
== NULL
) SWIG_fail
;
7449 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7455 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7459 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7460 if (!SWIG_IsOK(ecode6
)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7463 arg6
= static_cast< long >(val6
);
7467 arg7
= wxString_in_helper(obj6
);
7468 if (arg7
== NULL
) SWIG_fail
;
7473 if (!wxPyCheckForApp()) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7502 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7503 PyObject
*resultobj
= 0;
7504 wxStaticBox
*result
= 0 ;
7506 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7508 if (!wxPyCheckForApp()) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (wxStaticBox
*)new wxStaticBox();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7521 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
= 0;
7523 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7524 wxWindow
*arg2
= (wxWindow
*) 0 ;
7525 int arg3
= (int) -1 ;
7526 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7527 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7528 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7529 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7530 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7531 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7532 long arg7
= (long) 0 ;
7533 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7542 bool temp4
= false ;
7547 bool temp8
= false ;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7550 PyObject
* obj2
= 0 ;
7551 PyObject
* obj3
= 0 ;
7552 PyObject
* obj4
= 0 ;
7553 PyObject
* obj5
= 0 ;
7554 PyObject
* obj6
= 0 ;
7555 PyObject
* obj7
= 0 ;
7556 char * kwnames
[] = {
7557 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7562 if (!SWIG_IsOK(res1
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7565 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7567 if (!SWIG_IsOK(res2
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7573 if (!SWIG_IsOK(ecode3
)) {
7574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7576 arg3
= static_cast< int >(val3
);
7580 arg4
= wxString_in_helper(obj3
);
7581 if (arg4
== NULL
) SWIG_fail
;
7588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7599 if (!SWIG_IsOK(ecode7
)) {
7600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7602 arg7
= static_cast< long >(val7
);
7606 arg8
= wxString_in_helper(obj7
);
7607 if (arg8
== NULL
) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7642 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7645 SwigValueWrapper
<wxVisualAttributes
> result
;
7648 PyObject
* obj0
= 0 ;
7649 char * kwnames
[] = {
7650 (char *) "variant", NULL
7653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7655 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7656 if (!SWIG_IsOK(ecode1
)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7659 arg1
= static_cast< wxWindowVariant
>(val1
);
7662 if (!wxPyCheckForApp()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7675 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7678 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7679 return SWIG_Py_Void();
7682 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7683 return SWIG_Python_InitShadowInstance(args
);
7686 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxWindow
*arg1
= (wxWindow
*) 0 ;
7689 int arg2
= (int) -1 ;
7690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7694 long arg5
= (long) wxLI_HORIZONTAL
;
7695 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7696 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7697 wxStaticLine
*result
= 0 ;
7706 bool temp6
= false ;
7707 PyObject
* obj0
= 0 ;
7708 PyObject
* obj1
= 0 ;
7709 PyObject
* obj2
= 0 ;
7710 PyObject
* obj3
= 0 ;
7711 PyObject
* obj4
= 0 ;
7712 PyObject
* obj5
= 0 ;
7713 char * kwnames
[] = {
7714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7719 if (!SWIG_IsOK(res1
)) {
7720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7722 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7725 if (!SWIG_IsOK(ecode2
)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7728 arg2
= static_cast< int >(val2
);
7733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7743 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7744 if (!SWIG_IsOK(ecode5
)) {
7745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7747 arg5
= static_cast< long >(val5
);
7751 arg6
= wxString_in_helper(obj5
);
7752 if (arg6
== NULL
) SWIG_fail
;
7757 if (!wxPyCheckForApp()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7778 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7779 PyObject
*resultobj
= 0;
7780 wxStaticLine
*result
= 0 ;
7782 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7784 if (!wxPyCheckForApp()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (wxStaticLine
*)new wxStaticLine();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7797 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
= 0;
7799 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7800 wxWindow
*arg2
= (wxWindow
*) 0 ;
7801 int arg3
= (int) -1 ;
7802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7806 long arg6
= (long) wxLI_HORIZONTAL
;
7807 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7808 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7820 bool temp7
= false ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 PyObject
* obj2
= 0 ;
7824 PyObject
* obj3
= 0 ;
7825 PyObject
* obj4
= 0 ;
7826 PyObject
* obj5
= 0 ;
7827 PyObject
* obj6
= 0 ;
7828 char * kwnames
[] = {
7829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7834 if (!SWIG_IsOK(res1
)) {
7835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7837 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7839 if (!SWIG_IsOK(res2
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7842 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7845 if (!SWIG_IsOK(ecode3
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7848 arg3
= static_cast< int >(val3
);
7853 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7859 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7863 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7864 if (!SWIG_IsOK(ecode6
)) {
7865 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7867 arg6
= static_cast< long >(val6
);
7871 arg7
= wxString_in_helper(obj6
);
7872 if (arg7
== NULL
) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7899 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7900 PyObject
*resultobj
= 0;
7901 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7905 PyObject
*swig_obj
[1] ;
7907 if (!args
) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7913 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7929 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7930 PyObject
*resultobj
= 0;
7933 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (int)wxStaticLine::GetDefaultSize();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= SWIG_From_int(static_cast< int >(result
));
7947 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
= 0;
7949 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7950 SwigValueWrapper
<wxVisualAttributes
> result
;
7953 PyObject
* obj0
= 0 ;
7954 char * kwnames
[] = {
7955 (char *) "variant", NULL
7958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7960 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7961 if (!SWIG_IsOK(ecode1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7964 arg1
= static_cast< wxWindowVariant
>(val1
);
7967 if (!wxPyCheckForApp()) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7980 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7983 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7984 return SWIG_Py_Void();
7987 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7988 return SWIG_Python_InitShadowInstance(args
);
7991 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxWindow
*arg1
= (wxWindow
*) 0 ;
7994 int arg2
= (int) -1 ;
7995 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7996 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7997 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7998 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7999 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8000 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8001 long arg6
= (long) 0 ;
8002 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8003 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8004 wxStaticText
*result
= 0 ;
8009 bool temp3
= false ;
8014 bool temp7
= false ;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8017 PyObject
* obj2
= 0 ;
8018 PyObject
* obj3
= 0 ;
8019 PyObject
* obj4
= 0 ;
8020 PyObject
* obj5
= 0 ;
8021 PyObject
* obj6
= 0 ;
8022 char * kwnames
[] = {
8023 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8028 if (!SWIG_IsOK(res1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8034 if (!SWIG_IsOK(ecode2
)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8037 arg2
= static_cast< int >(val2
);
8041 arg3
= wxString_in_helper(obj2
);
8042 if (arg3
== NULL
) SWIG_fail
;
8049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8059 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8060 if (!SWIG_IsOK(ecode6
)) {
8061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8063 arg6
= static_cast< long >(val6
);
8067 arg7
= wxString_in_helper(obj6
);
8068 if (arg7
== NULL
) SWIG_fail
;
8073 if (!wxPyCheckForApp()) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8102 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8103 PyObject
*resultobj
= 0;
8104 wxStaticText
*result
= 0 ;
8106 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8108 if (!wxPyCheckForApp()) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (wxStaticText
*)new wxStaticText();
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8121 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
= 0;
8123 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8124 wxWindow
*arg2
= (wxWindow
*) 0 ;
8125 int arg3
= (int) -1 ;
8126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8128 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8129 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8130 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8131 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8132 long arg7
= (long) 0 ;
8133 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8134 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8142 bool temp4
= false ;
8147 bool temp8
= false ;
8148 PyObject
* obj0
= 0 ;
8149 PyObject
* obj1
= 0 ;
8150 PyObject
* obj2
= 0 ;
8151 PyObject
* obj3
= 0 ;
8152 PyObject
* obj4
= 0 ;
8153 PyObject
* obj5
= 0 ;
8154 PyObject
* obj6
= 0 ;
8155 PyObject
* obj7
= 0 ;
8156 char * kwnames
[] = {
8157 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8162 if (!SWIG_IsOK(res1
)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8165 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8167 if (!SWIG_IsOK(res2
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8173 if (!SWIG_IsOK(ecode3
)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8176 arg3
= static_cast< int >(val3
);
8180 arg4
= wxString_in_helper(obj3
);
8181 if (arg4
== NULL
) SWIG_fail
;
8188 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8194 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8198 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8199 if (!SWIG_IsOK(ecode7
)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8202 arg7
= static_cast< long >(val7
);
8206 arg8
= wxString_in_helper(obj7
);
8207 if (arg8
== NULL
) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8242 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 char * kwnames
[] = {
8253 (char *) "self",(char *) "width", NULL
8256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8258 if (!SWIG_IsOK(res1
)) {
8259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8261 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8263 if (!SWIG_IsOK(ecode2
)) {
8264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8266 arg2
= static_cast< int >(val2
);
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_Py_Void();
8280 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
= 0;
8282 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8283 SwigValueWrapper
<wxVisualAttributes
> result
;
8286 PyObject
* obj0
= 0 ;
8287 char * kwnames
[] = {
8288 (char *) "variant", NULL
8291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8294 if (!SWIG_IsOK(ecode1
)) {
8295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8297 arg1
= static_cast< wxWindowVariant
>(val1
);
8300 if (!wxPyCheckForApp()) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8313 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8316 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8317 return SWIG_Py_Void();
8320 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8321 return SWIG_Python_InitShadowInstance(args
);
8324 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
= 0;
8326 wxWindow
*arg1
= (wxWindow
*) 0 ;
8327 int arg2
= (int) -1 ;
8328 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8329 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8334 long arg6
= (long) 0 ;
8335 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8337 wxStaticBitmap
*result
= 0 ;
8348 bool temp7
= false ;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8351 PyObject
* obj2
= 0 ;
8352 PyObject
* obj3
= 0 ;
8353 PyObject
* obj4
= 0 ;
8354 PyObject
* obj5
= 0 ;
8355 PyObject
* obj6
= 0 ;
8356 char * kwnames
[] = {
8357 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8362 if (!SWIG_IsOK(res1
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8368 if (!SWIG_IsOK(ecode2
)) {
8369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8371 arg2
= static_cast< int >(val2
);
8374 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8375 if (!SWIG_IsOK(res3
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8381 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8386 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8392 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8396 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8397 if (!SWIG_IsOK(ecode6
)) {
8398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8400 arg6
= static_cast< long >(val6
);
8404 arg7
= wxString_in_helper(obj6
);
8405 if (arg7
== NULL
) SWIG_fail
;
8410 if (!wxPyCheckForApp()) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8431 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 PyObject
*resultobj
= 0;
8433 wxStaticBitmap
*result
= 0 ;
8435 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8437 if (!wxPyCheckForApp()) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8450 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
= 0;
8452 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8453 wxWindow
*arg2
= (wxWindow
*) 0 ;
8454 int arg3
= (int) -1 ;
8455 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8456 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8457 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8458 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8459 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8460 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8461 long arg7
= (long) 0 ;
8462 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8477 bool temp8
= false ;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8480 PyObject
* obj2
= 0 ;
8481 PyObject
* obj3
= 0 ;
8482 PyObject
* obj4
= 0 ;
8483 PyObject
* obj5
= 0 ;
8484 PyObject
* obj6
= 0 ;
8485 PyObject
* obj7
= 0 ;
8486 char * kwnames
[] = {
8487 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8492 if (!SWIG_IsOK(res1
)) {
8493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8495 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8497 if (!SWIG_IsOK(res2
)) {
8498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8500 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8503 if (!SWIG_IsOK(ecode3
)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8506 arg3
= static_cast< int >(val3
);
8509 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8510 if (!SWIG_IsOK(res4
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8516 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8521 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8527 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8531 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8532 if (!SWIG_IsOK(ecode7
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8535 arg7
= static_cast< long >(val7
);
8539 arg8
= wxString_in_helper(obj7
);
8540 if (arg8
== NULL
) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8567 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8568 PyObject
*resultobj
= 0;
8569 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8573 PyObject
*swig_obj
[1] ;
8575 if (!args
) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8581 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (arg1
)->GetBitmap();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8595 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
= 0;
8597 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8598 wxBitmap
*arg2
= 0 ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 char * kwnames
[] = {
8606 (char *) "self",(char *) "bitmap", NULL
8609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8614 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8616 if (!SWIG_IsOK(res2
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8622 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_Py_Void();
8636 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
= 0;
8638 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8645 PyObject
* obj1
= 0 ;
8646 char * kwnames
[] = {
8647 (char *) "self",(char *) "icon", NULL
8650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8652 if (!SWIG_IsOK(res1
)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8655 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8657 if (!SWIG_IsOK(res2
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8663 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_Py_Void();
8677 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
= 0;
8679 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8680 SwigValueWrapper
<wxVisualAttributes
> result
;
8683 PyObject
* obj0
= 0 ;
8684 char * kwnames
[] = {
8685 (char *) "variant", NULL
8688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8690 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8691 if (!SWIG_IsOK(ecode1
)) {
8692 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8694 arg1
= static_cast< wxWindowVariant
>(val1
);
8697 if (!wxPyCheckForApp()) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8710 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8713 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8714 return SWIG_Py_Void();
8717 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8718 return SWIG_Python_InitShadowInstance(args
);
8721 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8722 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8727 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8728 PyObject
*pyobj
= 0;
8732 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8734 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8741 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
= 0;
8743 wxWindow
*arg1
= (wxWindow
*) 0 ;
8744 int arg2
= (int) -1 ;
8745 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8746 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8747 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8748 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8749 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8750 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8751 long arg6
= (long) 0 ;
8752 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8753 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8754 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8756 wxListBox
*result
= 0 ;
8763 bool temp5
= false ;
8768 bool temp8
= false ;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8771 PyObject
* obj2
= 0 ;
8772 PyObject
* obj3
= 0 ;
8773 PyObject
* obj4
= 0 ;
8774 PyObject
* obj5
= 0 ;
8775 PyObject
* obj6
= 0 ;
8776 PyObject
* obj7
= 0 ;
8777 char * kwnames
[] = {
8778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8783 if (!SWIG_IsOK(res1
)) {
8784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8789 if (!SWIG_IsOK(ecode2
)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8792 arg2
= static_cast< int >(val2
);
8797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8808 if (! PySequence_Check(obj4
)) {
8809 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8812 arg5
= new wxArrayString
;
8814 int i
, len
=PySequence_Length(obj4
);
8815 for (i
=0; i
<len
; i
++) {
8816 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8817 wxString
* s
= wxString_in_helper(item
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8826 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8827 if (!SWIG_IsOK(ecode6
)) {
8828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8830 arg6
= static_cast< long >(val6
);
8833 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8834 if (!SWIG_IsOK(res7
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8840 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8844 arg8
= wxString_in_helper(obj7
);
8845 if (arg8
== NULL
) SWIG_fail
;
8850 if (!wxPyCheckForApp()) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8858 if (temp5
) delete arg5
;
8867 if (temp5
) delete arg5
;
8877 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8878 PyObject
*resultobj
= 0;
8879 wxListBox
*result
= 0 ;
8881 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8883 if (!wxPyCheckForApp()) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (wxListBox
*)new wxListBox();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8896 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
= 0;
8898 wxListBox
*arg1
= (wxListBox
*) 0 ;
8899 wxWindow
*arg2
= (wxWindow
*) 0 ;
8900 int arg3
= (int) -1 ;
8901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8905 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8906 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8907 long arg7
= (long) 0 ;
8908 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8909 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8910 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8911 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8921 bool temp6
= false ;
8926 bool temp9
= false ;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8929 PyObject
* obj2
= 0 ;
8930 PyObject
* obj3
= 0 ;
8931 PyObject
* obj4
= 0 ;
8932 PyObject
* obj5
= 0 ;
8933 PyObject
* obj6
= 0 ;
8934 PyObject
* obj7
= 0 ;
8935 PyObject
* obj8
= 0 ;
8936 char * kwnames
[] = {
8937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8942 if (!SWIG_IsOK(res1
)) {
8943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8945 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8947 if (!SWIG_IsOK(res2
)) {
8948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8950 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8953 if (!SWIG_IsOK(ecode3
)) {
8954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8956 arg3
= static_cast< int >(val3
);
8961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8972 if (! PySequence_Check(obj5
)) {
8973 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8976 arg6
= new wxArrayString
;
8978 int i
, len
=PySequence_Length(obj5
);
8979 for (i
=0; i
<len
; i
++) {
8980 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8981 wxString
* s
= wxString_in_helper(item
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8990 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8991 if (!SWIG_IsOK(ecode7
)) {
8992 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8994 arg7
= static_cast< long >(val7
);
8997 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
8998 if (!SWIG_IsOK(res8
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9004 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9008 arg9
= wxString_in_helper(obj8
);
9009 if (arg9
== NULL
) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9023 if (temp6
) delete arg6
;
9032 if (temp6
) delete arg6
;
9042 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
= 0;
9044 wxListBox
*arg1
= (wxListBox
*) 0 ;
9045 wxString
*arg2
= 0 ;
9047 PyObject
*arg4
= (PyObject
*) NULL
;
9050 bool temp2
= false ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9055 PyObject
* obj2
= 0 ;
9056 PyObject
* obj3
= 0 ;
9057 char * kwnames
[] = {
9058 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9063 if (!SWIG_IsOK(res1
)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9066 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9068 arg2
= wxString_in_helper(obj1
);
9069 if (arg2
== NULL
) SWIG_fail
;
9072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9073 if (!SWIG_IsOK(ecode3
)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9076 arg3
= static_cast< int >(val3
);
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= SWIG_Py_Void();
9101 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
= 0;
9103 wxListBox
*arg1
= (wxListBox
*) 0 ;
9104 wxArrayString
*arg2
= 0 ;
9108 bool temp2
= false ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 PyObject
* obj2
= 0 ;
9114 char * kwnames
[] = {
9115 (char *) "self",(char *) "items",(char *) "pos", NULL
9118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9123 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9125 if (! PySequence_Check(obj1
)) {
9126 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9129 arg2
= new wxArrayString
;
9131 int i
, len
=PySequence_Length(obj1
);
9132 for (i
=0; i
<len
; i
++) {
9133 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9134 wxString
* s
= wxString_in_helper(item
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9141 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9142 if (!SWIG_IsOK(ecode3
)) {
9143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9145 arg3
= static_cast< unsigned int >(val3
);
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_Py_Void();
9154 if (temp2
) delete arg2
;
9159 if (temp2
) delete arg2
;
9165 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
= 0;
9167 wxListBox
*arg1
= (wxListBox
*) 0 ;
9168 wxArrayString
*arg2
= 0 ;
9171 bool temp2
= false ;
9172 PyObject
* obj0
= 0 ;
9173 PyObject
* obj1
= 0 ;
9174 char * kwnames
[] = {
9175 (char *) "self",(char *) "items", NULL
9178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9180 if (!SWIG_IsOK(res1
)) {
9181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9183 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9185 if (! PySequence_Check(obj1
)) {
9186 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9189 arg2
= new wxArrayString
;
9191 int i
, len
=PySequence_Length(obj1
);
9192 for (i
=0; i
<len
; i
++) {
9193 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9194 wxString
* s
= wxString_in_helper(item
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 (arg1
)->Set((wxArrayString
const &)*arg2
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_Py_Void();
9209 if (temp2
) delete arg2
;
9214 if (temp2
) delete arg2
;
9220 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
= 0;
9222 wxListBox
*arg1
= (wxListBox
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 char * kwnames
[] = {
9232 (char *) "self",(char *) "n", NULL
9235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9237 if (!SWIG_IsOK(res1
)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9240 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9242 if (!SWIG_IsOK(ecode2
)) {
9243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9245 arg2
= static_cast< int >(val2
);
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9261 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
= 0;
9263 wxListBox
*arg1
= (wxListBox
*) 0 ;
9265 bool arg3
= (bool) true ;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9274 PyObject
* obj2
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "n",(char *) "select", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9284 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9286 if (!SWIG_IsOK(ecode2
)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9289 arg2
= static_cast< int >(val2
);
9291 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9292 if (!SWIG_IsOK(ecode3
)) {
9293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9295 arg3
= static_cast< bool >(val3
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 (arg1
)->SetSelection(arg2
,arg3
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_Py_Void();
9310 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
= 0;
9312 wxListBox
*arg1
= (wxListBox
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9320 char * kwnames
[] = {
9321 (char *) "self",(char *) "n", NULL
9324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9329 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9331 if (!SWIG_IsOK(ecode2
)) {
9332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9334 arg2
= static_cast< int >(val2
);
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 (arg1
)->Select(arg2
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_Py_Void();
9348 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
= 0;
9350 wxListBox
*arg1
= (wxListBox
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9358 char * kwnames
[] = {
9359 (char *) "self",(char *) "n", NULL
9362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9367 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9369 if (!SWIG_IsOK(ecode2
)) {
9370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9372 arg2
= static_cast< int >(val2
);
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 (arg1
)->Deselect(arg2
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_Py_Void();
9386 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
= 0;
9388 wxListBox
*arg1
= (wxListBox
*) 0 ;
9389 int arg2
= (int) -1 ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 char * kwnames
[] = {
9397 (char *) "self",(char *) "itemToLeaveSelected", NULL
9400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9405 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9408 if (!SWIG_IsOK(ecode2
)) {
9409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9411 arg2
= static_cast< int >(val2
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 (arg1
)->DeselectAll(arg2
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_Py_Void();
9426 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
= 0;
9428 wxListBox
*arg1
= (wxListBox
*) 0 ;
9429 wxString
*arg2
= 0 ;
9430 bool arg3
= (bool) true ;
9434 bool temp2
= false ;
9437 PyObject
* obj0
= 0 ;
9438 PyObject
* obj1
= 0 ;
9439 PyObject
* obj2
= 0 ;
9440 char * kwnames
[] = {
9441 (char *) "self",(char *) "s",(char *) "select", NULL
9444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9449 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9451 arg2
= wxString_in_helper(obj1
);
9452 if (arg2
== NULL
) SWIG_fail
;
9456 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9457 if (!SWIG_IsOK(ecode3
)) {
9458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9460 arg3
= static_cast< bool >(val3
);
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9485 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9486 PyObject
*resultobj
= 0;
9487 wxListBox
*arg1
= (wxListBox
*) 0 ;
9488 PyObject
*result
= 0 ;
9491 PyObject
*swig_obj
[1] ;
9493 if (!args
) SWIG_fail
;
9495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9496 if (!SWIG_IsOK(res1
)) {
9497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9499 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9513 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
= 0;
9515 wxListBox
*arg1
= (wxListBox
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 char * kwnames
[] = {
9524 (char *) "self",(char *) "n", NULL
9527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9529 if (!SWIG_IsOK(res1
)) {
9530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9532 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9534 if (!SWIG_IsOK(ecode2
)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9537 arg2
= static_cast< int >(val2
);
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->SetFirstItem(arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_Py_Void();
9551 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
= 0;
9553 wxListBox
*arg1
= (wxListBox
*) 0 ;
9554 wxString
*arg2
= 0 ;
9557 bool temp2
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 char * kwnames
[] = {
9561 (char *) "self",(char *) "s", NULL
9564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9569 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9571 arg2
= wxString_in_helper(obj1
);
9572 if (arg2
== NULL
) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_Py_Void();
9596 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
= 0;
9598 wxListBox
*arg1
= (wxListBox
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 char * kwnames
[] = {
9607 (char *) "self",(char *) "n", NULL
9610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9612 if (!SWIG_IsOK(res1
)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9615 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9617 if (!SWIG_IsOK(ecode2
)) {
9618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9620 arg2
= static_cast< int >(val2
);
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 (arg1
)->EnsureVisible(arg2
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_Py_Void();
9634 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
= 0;
9636 wxListBox
*arg1
= (wxListBox
*) 0 ;
9637 wxString
*arg2
= 0 ;
9640 bool temp2
= false ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 char * kwnames
[] = {
9644 (char *) "self",(char *) "s", NULL
9647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9652 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9654 arg2
= wxString_in_helper(obj1
);
9655 if (arg2
== NULL
) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_Py_Void();
9679 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9680 PyObject
*resultobj
= 0;
9681 wxListBox
*arg1
= (wxListBox
*) 0 ;
9685 PyObject
*swig_obj
[1] ;
9687 if (!args
) SWIG_fail
;
9689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9690 if (!SWIG_IsOK(res1
)) {
9691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9693 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9709 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
= 0;
9711 wxListBox
*arg1
= (wxListBox
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 char * kwnames
[] = {
9720 (char *) "self",(char *) "pt", NULL
9723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9725 if (!SWIG_IsOK(res1
)) {
9726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9728 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9731 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_From_int(static_cast< int >(result
));
9746 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
= 0;
9748 wxListBox
*arg1
= (wxListBox
*) 0 ;
9750 wxColour
*arg3
= 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9758 PyObject
* obj2
= 0 ;
9759 char * kwnames
[] = {
9760 (char *) "self",(char *) "item",(char *) "c", NULL
9763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9768 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9770 if (!SWIG_IsOK(ecode2
)) {
9771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9773 arg2
= static_cast< int >(val2
);
9776 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_Py_Void();
9791 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
= 0;
9793 wxListBox
*arg1
= (wxListBox
*) 0 ;
9795 wxColour
*arg3
= 0 ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "item",(char *) "c", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9813 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9815 if (!SWIG_IsOK(ecode2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9818 arg2
= static_cast< int >(val2
);
9821 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_Py_Void();
9836 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= 0;
9838 wxListBox
*arg1
= (wxListBox
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 PyObject
* obj2
= 0 ;
9850 char * kwnames
[] = {
9851 (char *) "self",(char *) "item",(char *) "f", NULL
9854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9856 if (!SWIG_IsOK(res1
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9859 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9861 if (!SWIG_IsOK(ecode2
)) {
9862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9864 arg2
= static_cast< int >(val2
);
9865 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9866 if (!SWIG_IsOK(res3
)) {
9867 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9872 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_Py_Void();
9886 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
= 0;
9888 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9889 SwigValueWrapper
<wxVisualAttributes
> result
;
9892 PyObject
* obj0
= 0 ;
9893 char * kwnames
[] = {
9894 (char *) "variant", NULL
9897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9900 if (!SWIG_IsOK(ecode1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9903 arg1
= static_cast< wxWindowVariant
>(val1
);
9906 if (!wxPyCheckForApp()) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9919 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9922 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9923 return SWIG_Py_Void();
9926 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9927 return SWIG_Python_InitShadowInstance(args
);
9930 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
= 0;
9932 wxWindow
*arg1
= (wxWindow
*) 0 ;
9933 int arg2
= (int) -1 ;
9934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9936 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9937 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9938 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9939 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9940 long arg6
= (long) 0 ;
9941 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9942 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9943 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9944 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9945 wxCheckListBox
*result
= 0 ;
9952 bool temp5
= false ;
9957 bool temp8
= false ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9960 PyObject
* obj2
= 0 ;
9961 PyObject
* obj3
= 0 ;
9962 PyObject
* obj4
= 0 ;
9963 PyObject
* obj5
= 0 ;
9964 PyObject
* obj6
= 0 ;
9965 PyObject
* obj7
= 0 ;
9966 char * kwnames
[] = {
9967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9975 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9978 if (!SWIG_IsOK(ecode2
)) {
9979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9981 arg2
= static_cast< int >(val2
);
9986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9992 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9997 if (! PySequence_Check(obj4
)) {
9998 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10001 arg5
= new wxArrayString
;
10003 int i
, len
=PySequence_Length(obj4
);
10004 for (i
=0; i
<len
; i
++) {
10005 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10006 wxString
* s
= wxString_in_helper(item
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10015 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10016 if (!SWIG_IsOK(ecode6
)) {
10017 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10019 arg6
= static_cast< long >(val6
);
10022 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10023 if (!SWIG_IsOK(res7
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10029 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10033 arg8
= wxString_in_helper(obj7
);
10034 if (arg8
== NULL
) SWIG_fail
;
10039 if (!wxPyCheckForApp()) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10047 if (temp5
) delete arg5
;
10056 if (temp5
) delete arg5
;
10066 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10067 PyObject
*resultobj
= 0;
10068 wxCheckListBox
*result
= 0 ;
10070 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10072 if (!wxPyCheckForApp()) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (wxCheckListBox
*)new wxCheckListBox();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10085 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
= 0;
10087 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10088 wxWindow
*arg2
= (wxWindow
*) 0 ;
10089 int arg3
= (int) -1 ;
10090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10094 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10095 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10096 long arg7
= (long) 0 ;
10097 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10098 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10099 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10100 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10110 bool temp6
= false ;
10115 bool temp9
= false ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 PyObject
* obj2
= 0 ;
10119 PyObject
* obj3
= 0 ;
10120 PyObject
* obj4
= 0 ;
10121 PyObject
* obj5
= 0 ;
10122 PyObject
* obj6
= 0 ;
10123 PyObject
* obj7
= 0 ;
10124 PyObject
* obj8
= 0 ;
10125 char * kwnames
[] = {
10126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10131 if (!SWIG_IsOK(res1
)) {
10132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10134 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10136 if (!SWIG_IsOK(res2
)) {
10137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10142 if (!SWIG_IsOK(ecode3
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10145 arg3
= static_cast< int >(val3
);
10150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10161 if (! PySequence_Check(obj5
)) {
10162 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10165 arg6
= new wxArrayString
;
10167 int i
, len
=PySequence_Length(obj5
);
10168 for (i
=0; i
<len
; i
++) {
10169 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10170 wxString
* s
= wxString_in_helper(item
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10179 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10180 if (!SWIG_IsOK(ecode7
)) {
10181 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10183 arg7
= static_cast< long >(val7
);
10186 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10187 if (!SWIG_IsOK(res8
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10193 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10197 arg9
= wxString_in_helper(obj8
);
10198 if (arg9
== NULL
) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10212 if (temp6
) delete arg6
;
10221 if (temp6
) delete arg6
;
10231 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
= 0;
10233 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10234 unsigned int arg2
;
10238 unsigned int val2
;
10240 PyObject
* obj0
= 0 ;
10241 PyObject
* obj1
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "index", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10251 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10252 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10253 if (!SWIG_IsOK(ecode2
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10256 arg2
= static_cast< unsigned int >(val2
);
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (bool)(arg1
)->IsChecked(arg2
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10272 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
= 0;
10274 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10275 unsigned int arg2
;
10276 int arg3
= (int) true ;
10279 unsigned int val2
;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 PyObject
* obj2
= 0 ;
10286 char * kwnames
[] = {
10287 (char *) "self",(char *) "index",(char *) "check", NULL
10290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10292 if (!SWIG_IsOK(res1
)) {
10293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10295 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10296 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10297 if (!SWIG_IsOK(ecode2
)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10300 arg2
= static_cast< unsigned int >(val2
);
10302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10303 if (!SWIG_IsOK(ecode3
)) {
10304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10306 arg3
= static_cast< int >(val3
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->Check(arg2
,arg3
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_Py_Void();
10321 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10324 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10325 return SWIG_Py_Void();
10328 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10329 return SWIG_Python_InitShadowInstance(args
);
10332 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10333 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10338 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10339 PyObject
*pyobj
= 0;
10343 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10345 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10352 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
= 0;
10354 wxColour
const &arg1_defvalue
= wxNullColour
;
10355 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10356 wxColour
const &arg2_defvalue
= wxNullColour
;
10357 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10358 wxFont
const &arg3_defvalue
= wxNullFont
;
10359 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10360 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10361 wxTextAttr
*result
= 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 PyObject
* obj2
= 0 ;
10371 PyObject
* obj3
= 0 ;
10372 char * kwnames
[] = {
10373 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10380 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10390 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10391 if (!SWIG_IsOK(res3
)) {
10392 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10397 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10401 if (!SWIG_IsOK(ecode4
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10404 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10419 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10420 PyObject
*resultobj
= 0;
10421 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10424 PyObject
*swig_obj
[1] ;
10426 if (!args
) SWIG_fail
;
10427 swig_obj
[0] = args
;
10428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10429 if (!SWIG_IsOK(res1
)) {
10430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10432 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_Py_Void();
10447 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10448 PyObject
*resultobj
= 0;
10449 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10452 PyObject
*swig_obj
[1] ;
10454 if (!args
) SWIG_fail
;
10455 swig_obj
[0] = args
;
10456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10457 if (!SWIG_IsOK(res1
)) {
10458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10460 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= SWIG_Py_Void();
10474 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
= 0;
10476 wxTextAttr
*arg1
= 0 ;
10477 wxTextAttr
*arg2
= 0 ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char * kwnames
[] = {
10486 (char *) "base",(char *) "overlay", NULL
10489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10490 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10491 if (!SWIG_IsOK(res1
)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10497 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10499 if (!SWIG_IsOK(res2
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10505 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10519 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
= 0;
10521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10522 wxColour
*arg2
= 0 ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 char * kwnames
[] = {
10529 (char *) "self",(char *) "colText", NULL
10532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10534 if (!SWIG_IsOK(res1
)) {
10535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10537 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10540 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_Py_Void();
10555 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
= 0;
10557 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10558 wxColour
*arg2
= 0 ;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char * kwnames
[] = {
10565 (char *) "self",(char *) "colBack", NULL
10568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10570 if (!SWIG_IsOK(res1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10573 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_Py_Void();
10591 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
= 0;
10593 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10595 long arg3
= (long) wxTEXT_ATTR_FONT
;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 PyObject
* obj2
= 0 ;
10605 char * kwnames
[] = {
10606 (char *) "self",(char *) "font",(char *) "flags", NULL
10609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10611 if (!SWIG_IsOK(res1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10614 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10616 if (!SWIG_IsOK(res2
)) {
10617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10622 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10624 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10625 if (!SWIG_IsOK(ecode3
)) {
10626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10628 arg3
= static_cast< long >(val3
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_Py_Void();
10643 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
= 0;
10645 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10646 wxTextAttrAlignment arg2
;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char * kwnames
[] = {
10654 (char *) "self",(char *) "alignment", NULL
10657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10662 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10664 if (!SWIG_IsOK(ecode2
)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10667 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->SetAlignment(arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10681 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
= 0;
10683 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10684 wxArrayInt
*arg2
= 0 ;
10687 bool temp2
= false ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "tabs", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10699 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10701 if (! PySequence_Check(obj1
)) {
10702 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10705 arg2
= new wxArrayInt
;
10707 int i
, len
=PySequence_Length(obj1
);
10708 for (i
=0; i
<len
; i
++) {
10709 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10710 PyObject
* number
= PyNumber_Int(item
);
10712 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10715 arg2
->Add(PyInt_AS_LONG(number
));
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_Py_Void();
10728 if (temp2
) delete arg2
;
10733 if (temp2
) delete arg2
;
10739 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
= 0;
10741 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10743 int arg3
= (int) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 PyObject
* obj2
= 0 ;
10753 char * kwnames
[] = {
10754 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10759 if (!SWIG_IsOK(res1
)) {
10760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10762 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10764 if (!SWIG_IsOK(ecode2
)) {
10765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10767 arg2
= static_cast< int >(val2
);
10769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10770 if (!SWIG_IsOK(ecode3
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10773 arg3
= static_cast< int >(val3
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->SetLeftIndent(arg2
,arg3
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_Py_Void();
10788 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
= 0;
10790 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 char * kwnames
[] = {
10799 (char *) "self",(char *) "indent", NULL
10802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10807 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10809 if (!SWIG_IsOK(ecode2
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10812 arg2
= static_cast< int >(val2
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetRightIndent(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_Py_Void();
10826 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "flags", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10845 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10846 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10847 if (!SWIG_IsOK(ecode2
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10850 arg2
= static_cast< long >(val2
);
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 (arg1
)->SetFlags(arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_Py_Void();
10864 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10865 PyObject
*resultobj
= 0;
10866 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10870 PyObject
*swig_obj
[1] ;
10872 if (!args
) SWIG_fail
;
10873 swig_obj
[0] = args
;
10874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10875 if (!SWIG_IsOK(res1
)) {
10876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10878 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10894 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10895 PyObject
*resultobj
= 0;
10896 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10900 PyObject
*swig_obj
[1] ;
10902 if (!args
) SWIG_fail
;
10903 swig_obj
[0] = args
;
10904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10905 if (!SWIG_IsOK(res1
)) {
10906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10908 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10924 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10925 PyObject
*resultobj
= 0;
10926 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10930 PyObject
*swig_obj
[1] ;
10932 if (!args
) SWIG_fail
;
10933 swig_obj
[0] = args
;
10934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10935 if (!SWIG_IsOK(res1
)) {
10936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10938 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10954 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10955 PyObject
*resultobj
= 0;
10956 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10960 PyObject
*swig_obj
[1] ;
10962 if (!args
) SWIG_fail
;
10963 swig_obj
[0] = args
;
10964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10965 if (!SWIG_IsOK(res1
)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10968 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10984 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10985 PyObject
*resultobj
= 0;
10986 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10990 PyObject
*swig_obj
[1] ;
10992 if (!args
) SWIG_fail
;
10993 swig_obj
[0] = args
;
10994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10995 if (!SWIG_IsOK(res1
)) {
10996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10998 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11015 PyObject
*resultobj
= 0;
11016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11020 PyObject
*swig_obj
[1] ;
11022 if (!args
) SWIG_fail
;
11023 swig_obj
[0] = args
;
11024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11025 if (!SWIG_IsOK(res1
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11028 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11045 PyObject
*resultobj
= 0;
11046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11050 PyObject
*swig_obj
[1] ;
11052 if (!args
) SWIG_fail
;
11053 swig_obj
[0] = args
;
11054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11055 if (!SWIG_IsOK(res1
)) {
11056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11058 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11074 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
= 0;
11076 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 char * kwnames
[] = {
11086 (char *) "self",(char *) "flag", NULL
11089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11094 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11095 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11096 if (!SWIG_IsOK(ecode2
)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11099 arg2
= static_cast< long >(val2
);
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11115 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11116 PyObject
*resultobj
= 0;
11117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11118 wxColour
*result
= 0 ;
11121 PyObject
*swig_obj
[1] ;
11123 if (!args
) SWIG_fail
;
11124 swig_obj
[0] = args
;
11125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11129 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11134 result
= (wxColour
*) &_result_ref
;
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11146 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11147 PyObject
*resultobj
= 0;
11148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11149 wxColour
*result
= 0 ;
11152 PyObject
*swig_obj
[1] ;
11154 if (!args
) SWIG_fail
;
11155 swig_obj
[0] = args
;
11156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11160 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11165 result
= (wxColour
*) &_result_ref
;
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11177 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11178 PyObject
*resultobj
= 0;
11179 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11180 wxFont
*result
= 0 ;
11183 PyObject
*swig_obj
[1] ;
11185 if (!args
) SWIG_fail
;
11186 swig_obj
[0] = args
;
11187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11188 if (!SWIG_IsOK(res1
)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11191 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11196 result
= (wxFont
*) &_result_ref
;
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 wxFont
* resultptr
= new wxFont(*result
);
11203 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11211 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11212 PyObject
*resultobj
= 0;
11213 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11214 wxTextAttrAlignment result
;
11217 PyObject
*swig_obj
[1] ;
11219 if (!args
) SWIG_fail
;
11220 swig_obj
[0] = args
;
11221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11222 if (!SWIG_IsOK(res1
)) {
11223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11225 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_From_int(static_cast< int >(result
));
11239 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11240 PyObject
*resultobj
= 0;
11241 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11242 wxArrayInt
*result
= 0 ;
11245 PyObject
*swig_obj
[1] ;
11247 if (!args
) SWIG_fail
;
11248 swig_obj
[0] = args
;
11249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11253 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11258 result
= (wxArrayInt
*) &_result_ref
;
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= wxArrayInt2PyList_helper(*result
);
11272 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11273 PyObject
*resultobj
= 0;
11274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11278 PyObject
*swig_obj
[1] ;
11280 if (!args
) SWIG_fail
;
11281 swig_obj
[0] = args
;
11282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11283 if (!SWIG_IsOK(res1
)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11286 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= SWIG_From_long(static_cast< long >(result
));
11300 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11301 PyObject
*resultobj
= 0;
11302 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11306 PyObject
*swig_obj
[1] ;
11308 if (!args
) SWIG_fail
;
11309 swig_obj
[0] = args
;
11310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11311 if (!SWIG_IsOK(res1
)) {
11312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11314 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_From_long(static_cast< long >(result
));
11328 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11329 PyObject
*resultobj
= 0;
11330 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11334 PyObject
*swig_obj
[1] ;
11336 if (!args
) SWIG_fail
;
11337 swig_obj
[0] = args
;
11338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11339 if (!SWIG_IsOK(res1
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11342 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_From_long(static_cast< long >(result
));
11356 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11357 PyObject
*resultobj
= 0;
11358 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11362 PyObject
*swig_obj
[1] ;
11364 if (!args
) SWIG_fail
;
11365 swig_obj
[0] = args
;
11366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11370 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_From_long(static_cast< long >(result
));
11384 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11385 PyObject
*resultobj
= 0;
11386 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11390 PyObject
*swig_obj
[1] ;
11392 if (!args
) SWIG_fail
;
11393 swig_obj
[0] = args
;
11394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11398 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11414 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
= 0;
11416 wxTextAttr
*arg1
= 0 ;
11417 wxTextAttr
*arg2
= 0 ;
11418 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 PyObject
* obj2
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11434 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11441 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11443 if (!SWIG_IsOK(res2
)) {
11444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11449 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11450 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11451 if (!SWIG_IsOK(res3
)) {
11452 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11454 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11468 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11471 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11472 return SWIG_Py_Void();
11475 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11476 return SWIG_Python_InitShadowInstance(args
);
11479 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
= 0;
11481 wxWindow
*arg1
= (wxWindow
*) 0 ;
11482 int arg2
= (int) -1 ;
11483 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11489 long arg6
= (long) 0 ;
11490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11492 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11494 wxTextCtrl
*result
= 0 ;
11499 bool temp3
= false ;
11506 bool temp8
= false ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 PyObject
* obj3
= 0 ;
11511 PyObject
* obj4
= 0 ;
11512 PyObject
* obj5
= 0 ;
11513 PyObject
* obj6
= 0 ;
11514 PyObject
* obj7
= 0 ;
11515 char * kwnames
[] = {
11516 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11521 if (!SWIG_IsOK(res1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11527 if (!SWIG_IsOK(ecode2
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11530 arg2
= static_cast< int >(val2
);
11534 arg3
= wxString_in_helper(obj2
);
11535 if (arg3
== NULL
) SWIG_fail
;
11542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11552 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11553 if (!SWIG_IsOK(ecode6
)) {
11554 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11556 arg6
= static_cast< long >(val6
);
11559 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11560 if (!SWIG_IsOK(res7
)) {
11561 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11566 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11570 arg8
= wxString_in_helper(obj7
);
11571 if (arg8
== NULL
) SWIG_fail
;
11576 if (!wxPyCheckForApp()) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11605 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11606 PyObject
*resultobj
= 0;
11607 wxTextCtrl
*result
= 0 ;
11609 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11611 if (!wxPyCheckForApp()) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (wxTextCtrl
*)new wxTextCtrl();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11624 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= 0;
11626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11627 wxWindow
*arg2
= (wxWindow
*) 0 ;
11628 int arg3
= (int) -1 ;
11629 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11630 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11631 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11632 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11633 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11634 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11635 long arg7
= (long) 0 ;
11636 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11637 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11638 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11639 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11647 bool temp4
= false ;
11654 bool temp9
= false ;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 PyObject
* obj2
= 0 ;
11658 PyObject
* obj3
= 0 ;
11659 PyObject
* obj4
= 0 ;
11660 PyObject
* obj5
= 0 ;
11661 PyObject
* obj6
= 0 ;
11662 PyObject
* obj7
= 0 ;
11663 PyObject
* obj8
= 0 ;
11664 char * kwnames
[] = {
11665 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11670 if (!SWIG_IsOK(res1
)) {
11671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11673 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11675 if (!SWIG_IsOK(res2
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11681 if (!SWIG_IsOK(ecode3
)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11684 arg3
= static_cast< int >(val3
);
11688 arg4
= wxString_in_helper(obj3
);
11689 if (arg4
== NULL
) SWIG_fail
;
11696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11702 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11706 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11707 if (!SWIG_IsOK(ecode7
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11710 arg7
= static_cast< long >(val7
);
11713 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11714 if (!SWIG_IsOK(res8
)) {
11715 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11720 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11724 arg9
= wxString_in_helper(obj8
);
11725 if (arg9
== NULL
) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11760 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11761 PyObject
*resultobj
= 0;
11762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11766 PyObject
*swig_obj
[1] ;
11768 if (!args
) SWIG_fail
;
11769 swig_obj
[0] = args
;
11770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11774 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11794 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
= 0;
11796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11797 wxString
*arg2
= 0 ;
11800 bool temp2
= false ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 char * kwnames
[] = {
11804 (char *) "self",(char *) "value", NULL
11807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11809 if (!SWIG_IsOK(res1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11812 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11814 arg2
= wxString_in_helper(obj1
);
11815 if (arg2
== NULL
) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 (arg1
)->SetValue((wxString
const &)*arg2
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= SWIG_Py_Void();
11839 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11840 PyObject
*resultobj
= 0;
11841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11845 PyObject
*swig_obj
[1] ;
11847 if (!args
) SWIG_fail
;
11848 swig_obj
[0] = args
;
11849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11850 if (!SWIG_IsOK(res1
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11853 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11869 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(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_ChangeValue",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_ChangeValue" "', 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
)->ChangeValue((wxString
const &)*arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_Py_Void();
11914 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
= 0;
11916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 PyObject
* obj2
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "from",(char *) "to", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11943 arg2
= static_cast< long >(val2
);
11944 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11945 if (!SWIG_IsOK(ecode3
)) {
11946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11948 arg3
= static_cast< long >(val3
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 char * kwnames
[] = {
11980 (char *) "self",(char *) "lineNo", NULL
11983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11985 if (!SWIG_IsOK(res1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11988 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11990 if (!SWIG_IsOK(ecode2
)) {
11991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11993 arg2
= static_cast< long >(val2
);
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_From_int(static_cast< int >(result
));
12007 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
= 0;
12009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char * kwnames
[] = {
12019 (char *) "self",(char *) "lineNo", NULL
12022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12024 if (!SWIG_IsOK(res1
)) {
12025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12027 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12029 if (!SWIG_IsOK(ecode2
)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12032 arg2
= static_cast< long >(val2
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12052 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12053 PyObject
*resultobj
= 0;
12054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12058 PyObject
*swig_obj
[1] ;
12060 if (!args
) SWIG_fail
;
12061 swig_obj
[0] = args
;
12062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12063 if (!SWIG_IsOK(res1
)) {
12064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12066 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_From_int(static_cast< int >(result
));
12080 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12081 PyObject
*resultobj
= 0;
12082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12086 PyObject
*swig_obj
[1] ;
12088 if (!args
) SWIG_fail
;
12089 swig_obj
[0] = args
;
12090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12091 if (!SWIG_IsOK(res1
)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12094 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12110 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12111 PyObject
*resultobj
= 0;
12112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12116 PyObject
*swig_obj
[1] ;
12118 if (!args
) SWIG_fail
;
12119 swig_obj
[0] = args
;
12120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12121 if (!SWIG_IsOK(res1
)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12124 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12140 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12141 PyObject
*resultobj
= 0;
12142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12146 PyObject
*swig_obj
[1] ;
12148 if (!args
) SWIG_fail
;
12149 swig_obj
[0] = args
;
12150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12151 if (!SWIG_IsOK(res1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12154 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12170 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12184 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12200 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 long *arg2
= (long *) 0 ;
12204 long *arg3
= (long *) 0 ;
12208 int res2
= SWIG_TMPOBJ
;
12210 int res3
= SWIG_TMPOBJ
;
12211 PyObject
*swig_obj
[1] ;
12215 if (!args
) SWIG_fail
;
12216 swig_obj
[0] = args
;
12217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12218 if (!SWIG_IsOK(res1
)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12221 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_Py_Void();
12229 if (SWIG_IsTmpObj(res2
)) {
12230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12232 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12235 if (SWIG_IsTmpObj(res3
)) {
12236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12238 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12247 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12261 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12281 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 PyObject
*resultobj
= 0;
12283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12286 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12294 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
= 0;
12310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12313 wxString
*arg4
= 0 ;
12320 bool temp4
= false ;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 PyObject
* obj2
= 0 ;
12324 PyObject
* obj3
= 0 ;
12325 char * kwnames
[] = {
12326 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12334 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12335 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12336 if (!SWIG_IsOK(ecode2
)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12339 arg2
= static_cast< long >(val2
);
12340 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12341 if (!SWIG_IsOK(ecode3
)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12344 arg3
= static_cast< long >(val3
);
12346 arg4
= wxString_in_helper(obj3
);
12347 if (arg4
== NULL
) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_Py_Void();
12371 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 PyObject
* obj2
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "from",(char *) "to", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12394 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12395 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12396 if (!SWIG_IsOK(ecode2
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12399 arg2
= static_cast< long >(val2
);
12400 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12401 if (!SWIG_IsOK(ecode3
)) {
12402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12404 arg3
= static_cast< long >(val3
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->Remove(arg2
,arg3
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_Py_Void();
12418 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
= 0;
12420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12421 wxString
*arg2
= 0 ;
12422 int arg3
= (int) wxTEXT_TYPE_ANY
;
12426 bool temp2
= false ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 PyObject
* obj2
= 0 ;
12432 char * kwnames
[] = {
12433 (char *) "self",(char *) "file",(char *) "fileType", NULL
12436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12441 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12443 arg2
= wxString_in_helper(obj1
);
12444 if (arg2
== NULL
) SWIG_fail
;
12448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12449 if (!SWIG_IsOK(ecode3
)) {
12450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12452 arg3
= static_cast< int >(val3
);
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12477 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
= 0;
12479 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12480 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12481 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12482 int arg3
= (int) wxTEXT_TYPE_ANY
;
12486 bool temp2
= false ;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 char * kwnames
[] = {
12493 (char *) "self",(char *) "file",(char *) "fileType", NULL
12496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12498 if (!SWIG_IsOK(res1
)) {
12499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12501 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12504 arg2
= wxString_in_helper(obj1
);
12505 if (arg2
== NULL
) SWIG_fail
;
12510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12511 if (!SWIG_IsOK(ecode3
)) {
12512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12514 arg3
= static_cast< int >(val3
);
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12539 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 PyObject
*resultobj
= 0;
12541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12544 PyObject
*swig_obj
[1] ;
12546 if (!args
) SWIG_fail
;
12547 swig_obj
[0] = args
;
12548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12552 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->MarkDirty();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 PyObject
*resultobj
= 0;
12568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12571 PyObject
*swig_obj
[1] ;
12573 if (!args
) SWIG_fail
;
12574 swig_obj
[0] = args
;
12575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12576 if (!SWIG_IsOK(res1
)) {
12577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 (arg1
)->DiscardEdits();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= 0;
12595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "self",(char *) "modified", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12612 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12614 if (!SWIG_IsOK(ecode2
)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12617 arg2
= static_cast< bool >(val2
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetModified(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12634 unsigned long arg2
;
12637 unsigned long val2
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "len", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12651 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12652 if (!SWIG_IsOK(ecode2
)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12655 arg2
= static_cast< unsigned long >(val2
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetMaxLength(arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_Py_Void();
12669 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12672 wxString
*arg2
= 0 ;
12675 bool temp2
= false ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char * kwnames
[] = {
12679 (char *) "self",(char *) "text", NULL
12682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",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_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12689 arg2
= wxString_in_helper(obj1
);
12690 if (arg2
== NULL
) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->WriteText((wxString
const &)*arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
= 0;
12716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12717 wxString
*arg2
= 0 ;
12720 bool temp2
= false ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char * kwnames
[] = {
12724 (char *) "self",(char *) "text", NULL
12727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12732 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12734 arg2
= wxString_in_helper(obj1
);
12735 if (arg2
== NULL
) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 (arg1
)->AppendText((wxString
const &)*arg2
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_Py_Void();
12759 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12762 wxKeyEvent
*arg2
= 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "event", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12781 if (!SWIG_IsOK(res2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12787 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12803 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
= 0;
12805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12808 wxTextAttr
*arg4
= 0 ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 PyObject
* obj3
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12833 if (!SWIG_IsOK(ecode2
)) {
12834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12836 arg2
= static_cast< long >(val2
);
12837 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12838 if (!SWIG_IsOK(ecode3
)) {
12839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12841 arg3
= static_cast< long >(val3
);
12842 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12843 if (!SWIG_IsOK(res4
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12849 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12865 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12869 wxTextAttr
*arg3
= 0 ;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char * kwnames
[] = {
12881 (char *) "self",(char *) "position",(char *) "style", NULL
12884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12889 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12891 if (!SWIG_IsOK(ecode2
)) {
12892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12894 arg2
= static_cast< long >(val2
);
12895 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12896 if (!SWIG_IsOK(res3
)) {
12897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12902 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12918 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12921 wxTextAttr
*arg2
= 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "style", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12940 if (!SWIG_IsOK(res2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12946 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 PyObject
*resultobj
= 0;
12964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12965 wxTextAttr
*result
= 0 ;
12968 PyObject
*swig_obj
[1] ;
12970 if (!args
) SWIG_fail
;
12971 swig_obj
[0] = args
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12976 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12981 result
= (wxTextAttr
*) &_result_ref
;
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 PyObject
* obj2
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "x",(char *) "y", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13017 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13019 if (!SWIG_IsOK(ecode2
)) {
13020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13022 arg2
= static_cast< long >(val2
);
13023 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13024 if (!SWIG_IsOK(ecode3
)) {
13025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13027 arg3
= static_cast< long >(val3
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_From_long(static_cast< long >(result
));
13041 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
= 0;
13043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13045 long *arg3
= (long *) 0 ;
13046 long *arg4
= (long *) 0 ;
13052 int res3
= SWIG_TMPOBJ
;
13054 int res4
= SWIG_TMPOBJ
;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char * kwnames
[] = {
13058 (char *) "self",(char *) "pos", NULL
13063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13065 if (!SWIG_IsOK(res1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13068 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13069 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13070 if (!SWIG_IsOK(ecode2
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13073 arg2
= static_cast< long >(val2
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_Py_Void();
13081 if (SWIG_IsTmpObj(res3
)) {
13082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13084 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13087 if (SWIG_IsTmpObj(res4
)) {
13088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13090 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13099 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
= 0;
13101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "self",(char *) "pos", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13118 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13120 if (!SWIG_IsOK(ecode2
)) {
13121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13123 arg2
= static_cast< long >(val2
);
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 (arg1
)->ShowPosition(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_Py_Void();
13137 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
= 0;
13139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13140 wxPoint
*arg2
= 0 ;
13141 long *arg3
= (long *) 0 ;
13142 long *arg4
= (long *) 0 ;
13143 wxTextCtrlHitTestResult result
;
13148 int res3
= SWIG_TMPOBJ
;
13150 int res4
= SWIG_TMPOBJ
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "pt", NULL
13159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13164 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int(static_cast< int >(result
));
13176 if (SWIG_IsTmpObj(res3
)) {
13177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13182 if (SWIG_IsTmpObj(res4
)) {
13183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13185 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13194 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= 0;
13196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13197 wxPoint
*arg2
= 0 ;
13198 long *arg3
= (long *) 0 ;
13199 wxTextCtrlHitTestResult result
;
13204 int res3
= SWIG_TMPOBJ
;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "self",(char *) "pt", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13217 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_From_int(static_cast< int >(result
));
13229 if (SWIG_IsTmpObj(res3
)) {
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13232 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13254 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13273 PyObject
*swig_obj
[1] ;
13275 if (!args
) SWIG_fail
;
13276 swig_obj
[0] = args
;
13277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13278 if (!SWIG_IsOK(res1
)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13281 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_Py_Void();
13295 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13296 PyObject
*resultobj
= 0;
13297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13300 PyObject
*swig_obj
[1] ;
13302 if (!args
) SWIG_fail
;
13303 swig_obj
[0] = args
;
13304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13305 if (!SWIG_IsOK(res1
)) {
13306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13308 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_Py_Void();
13322 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13396 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13412 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13417 PyObject
*swig_obj
[1] ;
13419 if (!args
) SWIG_fail
;
13420 swig_obj
[0] = args
;
13421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13422 if (!SWIG_IsOK(res1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13425 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_Py_Void();
13439 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13452 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_Py_Void();
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13472 PyObject
*swig_obj
[1] ;
13474 if (!args
) SWIG_fail
;
13475 swig_obj
[0] = args
;
13476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13496 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13497 PyObject
*resultobj
= 0;
13498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13502 PyObject
*swig_obj
[1] ;
13504 if (!args
) SWIG_fail
;
13505 swig_obj
[0] = args
;
13506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
= 0;
13528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char * kwnames
[] = {
13537 (char *) "self",(char *) "pos", NULL
13540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13545 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13546 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13547 if (!SWIG_IsOK(ecode2
)) {
13548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13550 arg2
= static_cast< long >(val2
);
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetInsertionPoint(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13564 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->SetInsertionPointEnd();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 PyObject
*resultobj
= 0;
13593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13597 PyObject
*swig_obj
[1] ;
13599 if (!args
) SWIG_fail
;
13600 swig_obj
[0] = args
;
13601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13605 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_long(static_cast< long >(result
));
13619 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13620 PyObject
*resultobj
= 0;
13621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_From_long(static_cast< long >(result
));
13647 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= 0;
13649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 PyObject
* obj2
= 0 ;
13661 char * kwnames
[] = {
13662 (char *) "self",(char *) "from",(char *) "to", NULL
13665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13667 if (!SWIG_IsOK(res1
)) {
13668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13670 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13672 if (!SWIG_IsOK(ecode2
)) {
13673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13675 arg2
= static_cast< long >(val2
);
13676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13677 if (!SWIG_IsOK(ecode3
)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13680 arg3
= static_cast< long >(val3
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->SetSelection(arg2
,arg3
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_Py_Void();
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13699 PyObject
*swig_obj
[1] ;
13701 if (!args
) SWIG_fail
;
13702 swig_obj
[0] = args
;
13703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13707 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 (arg1
)->SelectAll();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_Py_Void();
13721 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "editable", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13740 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13742 if (!SWIG_IsOK(ecode2
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13745 arg2
= static_cast< bool >(val2
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetEditable(arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13759 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 char * kwnames
[] = {
13770 (char *) "self",(char *) "check", NULL
13773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13775 if (!SWIG_IsOK(res1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13778 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13779 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13780 if (!SWIG_IsOK(ecode2
)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13783 arg2
= static_cast< bool >(val2
);
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 (arg1
)->MacCheckSpelling(arg2
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_Py_Void();
13797 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13798 PyObject
*resultobj
= 0;
13799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13802 PyObject
*swig_obj
[1] ;
13804 if (!args
) SWIG_fail
;
13805 swig_obj
[0] = args
;
13806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13807 if (!SWIG_IsOK(res1
)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13810 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 (arg1
)->SendTextUpdatedEvent();
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= SWIG_Py_Void();
13824 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
= 0;
13826 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13827 wxString
*arg2
= 0 ;
13830 bool temp2
= false ;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 char * kwnames
[] = {
13834 (char *) "self",(char *) "text", NULL
13837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13839 if (!SWIG_IsOK(res1
)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13842 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13844 arg2
= wxString_in_helper(obj1
);
13845 if (arg2
== NULL
) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_Py_Void();
13869 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
= 0;
13871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 PyObject
* obj2
= 0 ;
13884 char * kwnames
[] = {
13885 (char *) "self",(char *) "from",(char *) "to", NULL
13888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13893 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13894 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13895 if (!SWIG_IsOK(ecode2
)) {
13896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13898 arg2
= static_cast< long >(val2
);
13899 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13900 if (!SWIG_IsOK(ecode3
)) {
13901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13903 arg3
= static_cast< long >(val3
);
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13923 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13926 SwigValueWrapper
<wxVisualAttributes
> result
;
13929 PyObject
* obj0
= 0 ;
13930 char * kwnames
[] = {
13931 (char *) "variant", NULL
13934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13936 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13937 if (!SWIG_IsOK(ecode1
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13940 arg1
= static_cast< wxWindowVariant
>(val1
);
13943 if (!wxPyCheckForApp()) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13956 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13959 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13960 return SWIG_Py_Void();
13963 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13964 return SWIG_Python_InitShadowInstance(args
);
13967 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= 0;
13970 wxMouseEvent
*arg2
= 0 ;
13973 wxTextUrlEvent
*result
= 0 ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 PyObject
* obj3
= 0 ;
13986 char * kwnames
[] = {
13987 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13991 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13992 if (!SWIG_IsOK(ecode1
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13995 arg1
= static_cast< int >(val1
);
13996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13997 if (!SWIG_IsOK(res2
)) {
13998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14003 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14004 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14005 if (!SWIG_IsOK(ecode3
)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14008 arg3
= static_cast< long >(val3
);
14009 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14010 if (!SWIG_IsOK(ecode4
)) {
14011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14013 arg4
= static_cast< long >(val4
);
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14027 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14028 PyObject
*resultobj
= 0;
14029 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14030 wxMouseEvent
*result
= 0 ;
14033 PyObject
*swig_obj
[1] ;
14035 if (!args
) SWIG_fail
;
14036 swig_obj
[0] = args
;
14037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14038 if (!SWIG_IsOK(res1
)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14041 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14046 result
= (wxMouseEvent
*) &_result_ref
;
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14058 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14059 PyObject
*resultobj
= 0;
14060 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14064 PyObject
*swig_obj
[1] ;
14066 if (!args
) SWIG_fail
;
14067 swig_obj
[0] = args
;
14068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14069 if (!SWIG_IsOK(res1
)) {
14070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14072 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_From_long(static_cast< long >(result
));
14086 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14087 PyObject
*resultobj
= 0;
14088 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14092 PyObject
*swig_obj
[1] ;
14094 if (!args
) SWIG_fail
;
14095 swig_obj
[0] = args
;
14096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14097 if (!SWIG_IsOK(res1
)) {
14098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14100 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= SWIG_From_long(static_cast< long >(result
));
14114 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14117 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14118 return SWIG_Py_Void();
14121 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14122 return SWIG_Python_InitShadowInstance(args
);
14125 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14126 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14131 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14132 PyObject
*pyobj
= 0;
14136 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14138 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14145 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
= 0;
14147 wxWindow
*arg1
= (wxWindow
*) 0 ;
14148 int arg2
= (int) -1 ;
14149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14153 long arg5
= (long) wxSB_HORIZONTAL
;
14154 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14155 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14156 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14158 wxScrollBar
*result
= 0 ;
14169 bool temp7
= false ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 PyObject
* obj2
= 0 ;
14173 PyObject
* obj3
= 0 ;
14174 PyObject
* obj4
= 0 ;
14175 PyObject
* obj5
= 0 ;
14176 PyObject
* obj6
= 0 ;
14177 char * kwnames
[] = {
14178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14183 if (!SWIG_IsOK(res1
)) {
14184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14189 if (!SWIG_IsOK(ecode2
)) {
14190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14192 arg2
= static_cast< int >(val2
);
14197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14203 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14207 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14208 if (!SWIG_IsOK(ecode5
)) {
14209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14211 arg5
= static_cast< long >(val5
);
14214 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14215 if (!SWIG_IsOK(res6
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14221 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14225 arg7
= wxString_in_helper(obj6
);
14226 if (arg7
== NULL
) SWIG_fail
;
14231 if (!wxPyCheckForApp()) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14252 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14253 PyObject
*resultobj
= 0;
14254 wxScrollBar
*result
= 0 ;
14256 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14258 if (!wxPyCheckForApp()) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (wxScrollBar
*)new wxScrollBar();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14271 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
= 0;
14273 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14274 wxWindow
*arg2
= (wxWindow
*) 0 ;
14275 int arg3
= (int) -1 ;
14276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14280 long arg6
= (long) wxSB_HORIZONTAL
;
14281 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14282 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14283 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14298 bool temp8
= false ;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 PyObject
* obj2
= 0 ;
14302 PyObject
* obj3
= 0 ;
14303 PyObject
* obj4
= 0 ;
14304 PyObject
* obj5
= 0 ;
14305 PyObject
* obj6
= 0 ;
14306 PyObject
* obj7
= 0 ;
14307 char * kwnames
[] = {
14308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14316 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14318 if (!SWIG_IsOK(res2
)) {
14319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14324 if (!SWIG_IsOK(ecode3
)) {
14325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14327 arg3
= static_cast< int >(val3
);
14332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14342 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14343 if (!SWIG_IsOK(ecode6
)) {
14344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14346 arg6
= static_cast< long >(val6
);
14349 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14350 if (!SWIG_IsOK(res7
)) {
14351 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14356 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14360 arg8
= wxString_in_helper(obj7
);
14361 if (arg8
== NULL
) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14388 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14389 PyObject
*resultobj
= 0;
14390 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14394 PyObject
*swig_obj
[1] ;
14396 if (!args
) SWIG_fail
;
14397 swig_obj
[0] = args
;
14398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14399 if (!SWIG_IsOK(res1
)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14402 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_From_int(static_cast< int >(result
));
14416 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14417 PyObject
*resultobj
= 0;
14418 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14422 PyObject
*swig_obj
[1] ;
14424 if (!args
) SWIG_fail
;
14425 swig_obj
[0] = args
;
14426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14430 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_From_int(static_cast< int >(result
));
14444 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14458 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_int(static_cast< int >(result
));
14472 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 PyObject
*resultobj
= 0;
14474 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14478 PyObject
*swig_obj
[1] ;
14480 if (!args
) SWIG_fail
;
14481 swig_obj
[0] = args
;
14482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14486 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_From_int(static_cast< int >(result
));
14500 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14501 PyObject
*resultobj
= 0;
14502 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14506 PyObject
*swig_obj
[1] ;
14508 if (!args
) SWIG_fail
;
14509 swig_obj
[0] = args
;
14510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14511 if (!SWIG_IsOK(res1
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14514 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
= 0;
14532 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char * kwnames
[] = {
14541 (char *) "self",(char *) "viewStart", NULL
14544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14549 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14551 if (!SWIG_IsOK(ecode2
)) {
14552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14554 arg2
= static_cast< int >(val2
);
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->SetThumbPosition(arg2
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= SWIG_Py_Void();
14568 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
= 0;
14570 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14571 SwigValueWrapper
<wxVisualAttributes
> result
;
14574 PyObject
* obj0
= 0 ;
14575 char * kwnames
[] = {
14576 (char *) "variant", NULL
14579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14581 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14582 if (!SWIG_IsOK(ecode1
)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14585 arg1
= static_cast< wxWindowVariant
>(val1
);
14588 if (!wxPyCheckForApp()) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14601 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14604 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14605 return SWIG_Py_Void();
14608 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 return SWIG_Python_InitShadowInstance(args
);
14612 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14613 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14618 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14619 PyObject
*pyobj
= 0;
14623 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14625 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14632 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14633 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14638 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14639 PyObject
*pyobj
= 0;
14643 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14645 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14652 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
= 0;
14654 wxWindow
*arg1
= (wxWindow
*) 0 ;
14655 int arg2
= (int) -1 ;
14656 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14657 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14658 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14659 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14660 long arg5
= (long) wxSP_HORIZONTAL
;
14661 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14662 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14663 wxSpinButton
*result
= 0 ;
14672 bool temp6
= false ;
14673 PyObject
* obj0
= 0 ;
14674 PyObject
* obj1
= 0 ;
14675 PyObject
* obj2
= 0 ;
14676 PyObject
* obj3
= 0 ;
14677 PyObject
* obj4
= 0 ;
14678 PyObject
* obj5
= 0 ;
14679 char * kwnames
[] = {
14680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14685 if (!SWIG_IsOK(res1
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14688 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14691 if (!SWIG_IsOK(ecode2
)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14694 arg2
= static_cast< int >(val2
);
14699 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14705 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14709 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14710 if (!SWIG_IsOK(ecode5
)) {
14711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14713 arg5
= static_cast< long >(val5
);
14717 arg6
= wxString_in_helper(obj5
);
14718 if (arg6
== NULL
) SWIG_fail
;
14723 if (!wxPyCheckForApp()) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14744 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14745 PyObject
*resultobj
= 0;
14746 wxSpinButton
*result
= 0 ;
14748 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14750 if (!wxPyCheckForApp()) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (wxSpinButton
*)new wxSpinButton();
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14763 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
= 0;
14765 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14766 wxWindow
*arg2
= (wxWindow
*) 0 ;
14767 int arg3
= (int) -1 ;
14768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14772 long arg6
= (long) wxSP_HORIZONTAL
;
14773 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14786 bool temp7
= false ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 PyObject
* obj2
= 0 ;
14790 PyObject
* obj3
= 0 ;
14791 PyObject
* obj4
= 0 ;
14792 PyObject
* obj5
= 0 ;
14793 PyObject
* obj6
= 0 ;
14794 char * kwnames
[] = {
14795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14803 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14805 if (!SWIG_IsOK(res2
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14808 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14811 if (!SWIG_IsOK(ecode3
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14814 arg3
= static_cast< int >(val3
);
14819 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14825 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14829 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14830 if (!SWIG_IsOK(ecode6
)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14833 arg6
= static_cast< long >(val6
);
14837 arg7
= wxString_in_helper(obj6
);
14838 if (arg7
== NULL
) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14865 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14866 PyObject
*resultobj
= 0;
14867 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14871 PyObject
*swig_obj
[1] ;
14873 if (!args
) SWIG_fail
;
14874 swig_obj
[0] = args
;
14875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14876 if (!SWIG_IsOK(res1
)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14879 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= SWIG_From_int(static_cast< int >(result
));
14893 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14894 PyObject
*resultobj
= 0;
14895 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14899 PyObject
*swig_obj
[1] ;
14901 if (!args
) SWIG_fail
;
14902 swig_obj
[0] = args
;
14903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14907 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_From_int(static_cast< int >(result
));
14921 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14922 PyObject
*resultobj
= 0;
14923 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14927 PyObject
*swig_obj
[1] ;
14929 if (!args
) SWIG_fail
;
14930 swig_obj
[0] = args
;
14931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14935 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_From_int(static_cast< int >(result
));
14949 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
= 0;
14951 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 char * kwnames
[] = {
14960 (char *) "self",(char *) "val", NULL
14963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14968 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14970 if (!SWIG_IsOK(ecode2
)) {
14971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14973 arg2
= static_cast< int >(val2
);
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->SetValue(arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_Py_Void();
14987 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
= 0;
14989 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char * kwnames
[] = {
14998 (char *) "self",(char *) "minVal", NULL
15001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15006 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15008 if (!SWIG_IsOK(ecode2
)) {
15009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15011 arg2
= static_cast< int >(val2
);
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 (arg1
)->SetMin(arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_Py_Void();
15025 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= 0;
15027 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15035 char * kwnames
[] = {
15036 (char *) "self",(char *) "maxVal", NULL
15039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15041 if (!SWIG_IsOK(res1
)) {
15042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15044 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15046 if (!SWIG_IsOK(ecode2
)) {
15047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15049 arg2
= static_cast< int >(val2
);
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 (arg1
)->SetMax(arg2
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_Py_Void();
15063 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
= 0;
15065 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 PyObject
* obj1
= 0 ;
15076 PyObject
* obj2
= 0 ;
15077 char * kwnames
[] = {
15078 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15083 if (!SWIG_IsOK(res1
)) {
15084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15086 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15088 if (!SWIG_IsOK(ecode2
)) {
15089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15091 arg2
= static_cast< int >(val2
);
15092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15093 if (!SWIG_IsOK(ecode3
)) {
15094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15096 arg3
= static_cast< int >(val3
);
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 (arg1
)->SetRange(arg2
,arg3
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_Py_Void();
15110 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15111 PyObject
*resultobj
= 0;
15112 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15116 PyObject
*swig_obj
[1] ;
15118 if (!args
) SWIG_fail
;
15119 swig_obj
[0] = args
;
15120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15121 if (!SWIG_IsOK(res1
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15124 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15140 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
= 0;
15142 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15143 SwigValueWrapper
<wxVisualAttributes
> result
;
15146 PyObject
* obj0
= 0 ;
15147 char * kwnames
[] = {
15148 (char *) "variant", NULL
15151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15154 if (!SWIG_IsOK(ecode1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15157 arg1
= static_cast< wxWindowVariant
>(val1
);
15160 if (!wxPyCheckForApp()) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15173 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15176 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15177 return SWIG_Py_Void();
15180 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15181 return SWIG_Python_InitShadowInstance(args
);
15184 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
= 0;
15186 wxWindow
*arg1
= (wxWindow
*) 0 ;
15187 int arg2
= (int) -1 ;
15188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15190 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15191 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15192 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15193 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15194 long arg6
= (long) wxSP_ARROW_KEYS
;
15195 int arg7
= (int) 0 ;
15196 int arg8
= (int) 100 ;
15197 int arg9
= (int) 0 ;
15198 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15199 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15200 wxSpinCtrl
*result
= 0 ;
15205 bool temp3
= false ;
15216 bool temp10
= false ;
15217 PyObject
* obj0
= 0 ;
15218 PyObject
* obj1
= 0 ;
15219 PyObject
* obj2
= 0 ;
15220 PyObject
* obj3
= 0 ;
15221 PyObject
* obj4
= 0 ;
15222 PyObject
* obj5
= 0 ;
15223 PyObject
* obj6
= 0 ;
15224 PyObject
* obj7
= 0 ;
15225 PyObject
* obj8
= 0 ;
15226 PyObject
* obj9
= 0 ;
15227 char * kwnames
[] = {
15228 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15233 if (!SWIG_IsOK(res1
)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15236 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15239 if (!SWIG_IsOK(ecode2
)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15242 arg2
= static_cast< int >(val2
);
15246 arg3
= wxString_in_helper(obj2
);
15247 if (arg3
== NULL
) SWIG_fail
;
15254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15264 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15265 if (!SWIG_IsOK(ecode6
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15268 arg6
= static_cast< long >(val6
);
15271 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15272 if (!SWIG_IsOK(ecode7
)) {
15273 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15275 arg7
= static_cast< int >(val7
);
15278 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15279 if (!SWIG_IsOK(ecode8
)) {
15280 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15282 arg8
= static_cast< int >(val8
);
15285 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15286 if (!SWIG_IsOK(ecode9
)) {
15287 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15289 arg9
= static_cast< int >(val9
);
15293 arg10
= wxString_in_helper(obj9
);
15294 if (arg10
== NULL
) SWIG_fail
;
15299 if (!wxPyCheckForApp()) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15328 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15329 PyObject
*resultobj
= 0;
15330 wxSpinCtrl
*result
= 0 ;
15332 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15334 if (!wxPyCheckForApp()) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15347 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
= 0;
15349 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15350 wxWindow
*arg2
= (wxWindow
*) 0 ;
15351 int arg3
= (int) -1 ;
15352 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15353 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15354 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15355 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15356 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15357 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15358 long arg7
= (long) wxSP_ARROW_KEYS
;
15359 int arg8
= (int) 0 ;
15360 int arg9
= (int) 100 ;
15361 int arg10
= (int) 0 ;
15362 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15363 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15371 bool temp4
= false ;
15382 bool temp11
= false ;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 PyObject
* obj2
= 0 ;
15386 PyObject
* obj3
= 0 ;
15387 PyObject
* obj4
= 0 ;
15388 PyObject
* obj5
= 0 ;
15389 PyObject
* obj6
= 0 ;
15390 PyObject
* obj7
= 0 ;
15391 PyObject
* obj8
= 0 ;
15392 PyObject
* obj9
= 0 ;
15393 PyObject
* obj10
= 0 ;
15394 char * kwnames
[] = {
15395 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15400 if (!SWIG_IsOK(res1
)) {
15401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15403 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15405 if (!SWIG_IsOK(res2
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15408 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15411 if (!SWIG_IsOK(ecode3
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15414 arg3
= static_cast< int >(val3
);
15418 arg4
= wxString_in_helper(obj3
);
15419 if (arg4
== NULL
) SWIG_fail
;
15426 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15432 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15436 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15437 if (!SWIG_IsOK(ecode7
)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15440 arg7
= static_cast< long >(val7
);
15443 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15444 if (!SWIG_IsOK(ecode8
)) {
15445 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15447 arg8
= static_cast< int >(val8
);
15450 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15451 if (!SWIG_IsOK(ecode9
)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15454 arg9
= static_cast< int >(val9
);
15457 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15458 if (!SWIG_IsOK(ecode10
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15461 arg10
= static_cast< int >(val10
);
15465 arg11
= wxString_in_helper(obj10
);
15466 if (arg11
== NULL
) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15501 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15502 PyObject
*resultobj
= 0;
15503 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15507 PyObject
*swig_obj
[1] ;
15509 if (!args
) SWIG_fail
;
15510 swig_obj
[0] = args
;
15511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15512 if (!SWIG_IsOK(res1
)) {
15513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15515 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= SWIG_From_int(static_cast< int >(result
));
15529 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
= 0;
15531 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 char * kwnames
[] = {
15540 (char *) "self",(char *) "value", NULL
15543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15548 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15550 if (!SWIG_IsOK(ecode2
)) {
15551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15553 arg2
= static_cast< int >(val2
);
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 (arg1
)->SetValue(arg2
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= SWIG_Py_Void();
15567 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
= 0;
15569 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15570 wxString
*arg2
= 0 ;
15573 bool temp2
= false ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 char * kwnames
[] = {
15577 (char *) "self",(char *) "text", NULL
15580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",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_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15585 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15587 arg2
= wxString_in_helper(obj1
);
15588 if (arg2
== NULL
) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 (arg1
)->SetValue((wxString
const &)*arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_Py_Void();
15612 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
= 0;
15614 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 PyObject
* obj1
= 0 ;
15625 PyObject
* obj2
= 0 ;
15626 char * kwnames
[] = {
15627 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15635 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15637 if (!SWIG_IsOK(ecode2
)) {
15638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15640 arg2
= static_cast< int >(val2
);
15641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15642 if (!SWIG_IsOK(ecode3
)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15645 arg3
= static_cast< int >(val3
);
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 (arg1
)->SetRange(arg2
,arg3
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_Py_Void();
15659 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15660 PyObject
*resultobj
= 0;
15661 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15665 PyObject
*swig_obj
[1] ;
15667 if (!args
) SWIG_fail
;
15668 swig_obj
[0] = args
;
15669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15670 if (!SWIG_IsOK(res1
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15673 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= SWIG_From_int(static_cast< int >(result
));
15687 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15688 PyObject
*resultobj
= 0;
15689 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15693 PyObject
*swig_obj
[1] ;
15695 if (!args
) SWIG_fail
;
15696 swig_obj
[0] = args
;
15697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15698 if (!SWIG_IsOK(res1
)) {
15699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15701 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= SWIG_From_int(static_cast< int >(result
));
15715 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
= 0;
15717 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 PyObject
* obj2
= 0 ;
15729 char * kwnames
[] = {
15730 (char *) "self",(char *) "from",(char *) "to", NULL
15733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15735 if (!SWIG_IsOK(res1
)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15738 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15739 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15740 if (!SWIG_IsOK(ecode2
)) {
15741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15743 arg2
= static_cast< long >(val2
);
15744 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15745 if (!SWIG_IsOK(ecode3
)) {
15746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15748 arg3
= static_cast< long >(val3
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 (arg1
)->SetSelection(arg2
,arg3
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_Py_Void();
15762 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
= 0;
15764 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15765 SwigValueWrapper
<wxVisualAttributes
> result
;
15768 PyObject
* obj0
= 0 ;
15769 char * kwnames
[] = {
15770 (char *) "variant", NULL
15773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15776 if (!SWIG_IsOK(ecode1
)) {
15777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15779 arg1
= static_cast< wxWindowVariant
>(val1
);
15782 if (!wxPyCheckForApp()) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15795 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15798 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15799 return SWIG_Py_Void();
15802 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15803 return SWIG_Python_InitShadowInstance(args
);
15806 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
= 0;
15808 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15809 int arg2
= (int) 0 ;
15810 wxSpinEvent
*result
= 0 ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 char * kwnames
[] = {
15818 (char *) "commandType",(char *) "winid", NULL
15821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15823 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15824 if (!SWIG_IsOK(ecode1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15827 arg1
= static_cast< wxEventType
>(val1
);
15830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15831 if (!SWIG_IsOK(ecode2
)) {
15832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15834 arg2
= static_cast< int >(val2
);
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15849 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 PyObject
*resultobj
= 0;
15851 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15855 PyObject
*swig_obj
[1] ;
15857 if (!args
) SWIG_fail
;
15858 swig_obj
[0] = args
;
15859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15863 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int(static_cast< int >(result
));
15877 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char * kwnames
[] = {
15888 (char *) "self",(char *) "pos", NULL
15891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15896 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15898 if (!SWIG_IsOK(ecode2
)) {
15899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15901 arg2
= static_cast< int >(val2
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 (arg1
)->SetPosition(arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_Py_Void();
15915 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15918 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15919 return SWIG_Py_Void();
15922 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15923 return SWIG_Python_InitShadowInstance(args
);
15926 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15927 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15932 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15933 PyObject
*pyobj
= 0;
15937 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15939 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15946 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15947 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15952 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15953 PyObject
*pyobj
= 0;
15957 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15959 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15966 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
= 0;
15968 wxWindow
*arg1
= (wxWindow
*) 0 ;
15969 int arg2
= (int) -1 ;
15970 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15971 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15976 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15977 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15978 int arg7
= (int) 0 ;
15979 long arg8
= (long) wxRA_HORIZONTAL
;
15980 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15981 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15982 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15983 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15984 wxRadioBox
*result
= 0 ;
15989 bool temp3
= false ;
15992 bool temp6
= false ;
15999 bool temp10
= false ;
16000 PyObject
* obj0
= 0 ;
16001 PyObject
* obj1
= 0 ;
16002 PyObject
* obj2
= 0 ;
16003 PyObject
* obj3
= 0 ;
16004 PyObject
* obj4
= 0 ;
16005 PyObject
* obj5
= 0 ;
16006 PyObject
* obj6
= 0 ;
16007 PyObject
* obj7
= 0 ;
16008 PyObject
* obj8
= 0 ;
16009 PyObject
* obj9
= 0 ;
16010 char * kwnames
[] = {
16011 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16016 if (!SWIG_IsOK(res1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16022 if (!SWIG_IsOK(ecode2
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16025 arg2
= static_cast< int >(val2
);
16029 arg3
= wxString_in_helper(obj2
);
16030 if (arg3
== NULL
) SWIG_fail
;
16037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16048 if (! PySequence_Check(obj5
)) {
16049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16052 arg6
= new wxArrayString
;
16054 int i
, len
=PySequence_Length(obj5
);
16055 for (i
=0; i
<len
; i
++) {
16056 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16057 wxString
* s
= wxString_in_helper(item
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16066 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16067 if (!SWIG_IsOK(ecode7
)) {
16068 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16070 arg7
= static_cast< int >(val7
);
16073 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16074 if (!SWIG_IsOK(ecode8
)) {
16075 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16077 arg8
= static_cast< long >(val8
);
16080 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16081 if (!SWIG_IsOK(res9
)) {
16082 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16087 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16091 arg10
= wxString_in_helper(obj9
);
16092 if (arg10
== NULL
) SWIG_fail
;
16097 if (!wxPyCheckForApp()) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 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
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16109 if (temp6
) delete arg6
;
16122 if (temp6
) delete arg6
;
16132 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16133 PyObject
*resultobj
= 0;
16134 wxRadioBox
*result
= 0 ;
16136 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16138 if (!wxPyCheckForApp()) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (wxRadioBox
*)new wxRadioBox();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16151 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
= 0;
16153 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16154 wxWindow
*arg2
= (wxWindow
*) 0 ;
16155 int arg3
= (int) -1 ;
16156 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16158 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16159 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16160 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16161 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16162 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16163 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16164 int arg8
= (int) 0 ;
16165 long arg9
= (long) wxRA_HORIZONTAL
;
16166 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16167 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16168 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16169 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16177 bool temp4
= false ;
16180 bool temp7
= false ;
16187 bool temp11
= false ;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 PyObject
* obj2
= 0 ;
16191 PyObject
* obj3
= 0 ;
16192 PyObject
* obj4
= 0 ;
16193 PyObject
* obj5
= 0 ;
16194 PyObject
* obj6
= 0 ;
16195 PyObject
* obj7
= 0 ;
16196 PyObject
* obj8
= 0 ;
16197 PyObject
* obj9
= 0 ;
16198 PyObject
* obj10
= 0 ;
16199 char * kwnames
[] = {
16200 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16205 if (!SWIG_IsOK(res1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16208 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16210 if (!SWIG_IsOK(res2
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16213 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16216 if (!SWIG_IsOK(ecode3
)) {
16217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16219 arg3
= static_cast< int >(val3
);
16223 arg4
= wxString_in_helper(obj3
);
16224 if (arg4
== NULL
) SWIG_fail
;
16231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16242 if (! PySequence_Check(obj6
)) {
16243 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16246 arg7
= new wxArrayString
;
16248 int i
, len
=PySequence_Length(obj6
);
16249 for (i
=0; i
<len
; i
++) {
16250 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16251 wxString
* s
= wxString_in_helper(item
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16260 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16261 if (!SWIG_IsOK(ecode8
)) {
16262 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16264 arg8
= static_cast< int >(val8
);
16267 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16268 if (!SWIG_IsOK(ecode9
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16271 arg9
= static_cast< long >(val9
);
16274 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16275 if (!SWIG_IsOK(res10
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16281 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16285 arg11
= wxString_in_helper(obj10
);
16286 if (arg11
== NULL
) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 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
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 if (temp7
) delete arg7
;
16317 if (temp7
) delete arg7
;
16327 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= 0;
16329 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 char * kwnames
[] = {
16338 (char *) "self",(char *) "n", NULL
16341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16346 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16348 if (!SWIG_IsOK(ecode2
)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16351 arg2
= static_cast< int >(val2
);
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 (arg1
)->SetSelection(arg2
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= SWIG_Py_Void();
16365 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16366 PyObject
*resultobj
= 0;
16367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16371 PyObject
*swig_obj
[1] ;
16373 if (!args
) SWIG_fail
;
16374 swig_obj
[0] = args
;
16375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16376 if (!SWIG_IsOK(res1
)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16379 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_From_int(static_cast< int >(result
));
16393 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16394 PyObject
*resultobj
= 0;
16395 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16399 PyObject
*swig_obj
[1] ;
16401 if (!args
) SWIG_fail
;
16402 swig_obj
[0] = args
;
16403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16404 if (!SWIG_IsOK(res1
)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16407 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16427 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
= 0;
16429 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16430 wxString
*arg2
= 0 ;
16434 bool temp2
= false ;
16435 PyObject
* obj0
= 0 ;
16436 PyObject
* obj1
= 0 ;
16437 char * kwnames
[] = {
16438 (char *) "self",(char *) "s", NULL
16441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16443 if (!SWIG_IsOK(res1
)) {
16444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16446 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16448 arg2
= wxString_in_helper(obj1
);
16449 if (arg2
== NULL
) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16475 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16476 PyObject
*resultobj
= 0;
16477 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16481 PyObject
*swig_obj
[1] ;
16483 if (!args
) SWIG_fail
;
16484 swig_obj
[0] = args
;
16485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16486 if (!SWIG_IsOK(res1
)) {
16487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16489 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16503 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16506 wxString
*arg2
= 0 ;
16510 bool temp2
= false ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 char * kwnames
[] = {
16514 (char *) "self",(char *) "s", NULL
16517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16519 if (!SWIG_IsOK(res1
)) {
16520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16522 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16524 arg2
= wxString_in_helper(obj1
);
16525 if (arg2
== NULL
) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= SWIG_From_int(static_cast< int >(result
));
16549 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
= 0;
16551 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 char * kwnames
[] = {
16561 (char *) "self",(char *) "n", NULL
16564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16566 if (!SWIG_IsOK(res1
)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16569 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16571 if (!SWIG_IsOK(ecode2
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16574 arg2
= static_cast< int >(val2
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16594 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
= 0;
16596 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16598 wxString
*arg3
= 0 ;
16603 bool temp3
= false ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 PyObject
* obj2
= 0 ;
16607 char * kwnames
[] = {
16608 (char *) "self",(char *) "n",(char *) "label", NULL
16611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16613 if (!SWIG_IsOK(res1
)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16616 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16618 if (!SWIG_IsOK(ecode2
)) {
16619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16621 arg2
= static_cast< int >(val2
);
16623 arg3
= wxString_in_helper(obj2
);
16624 if (arg3
== NULL
) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_Py_Void();
16648 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16650 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16651 unsigned int arg2
;
16652 bool arg3
= (bool) true ;
16655 unsigned int val2
;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 PyObject
* obj2
= 0 ;
16662 char * kwnames
[] = {
16663 (char *) "self",(char *) "n",(char *) "enable", NULL
16666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16671 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16672 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16673 if (!SWIG_IsOK(ecode2
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16676 arg2
= static_cast< unsigned int >(val2
);
16678 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16679 if (!SWIG_IsOK(ecode3
)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16682 arg3
= static_cast< bool >(val3
);
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 (arg1
)->Enable(arg2
,arg3
);
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= SWIG_Py_Void();
16697 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
= 0;
16699 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16700 unsigned int arg2
;
16701 bool arg3
= (bool) true ;
16704 unsigned int val2
;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 PyObject
* obj2
= 0 ;
16711 char * kwnames
[] = {
16712 (char *) "self",(char *) "n",(char *) "show", NULL
16715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16717 if (!SWIG_IsOK(res1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16720 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16721 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16722 if (!SWIG_IsOK(ecode2
)) {
16723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16725 arg2
= static_cast< unsigned int >(val2
);
16727 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16728 if (!SWIG_IsOK(ecode3
)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16731 arg3
= static_cast< bool >(val3
);
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->Show(arg2
,arg3
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= SWIG_Py_Void();
16746 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
= 0;
16748 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16749 unsigned int arg2
;
16753 unsigned int val2
;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char * kwnames
[] = {
16758 (char *) "self",(char *) "n", NULL
16761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16763 if (!SWIG_IsOK(res1
)) {
16764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16766 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16767 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16768 if (!SWIG_IsOK(ecode2
)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16771 arg2
= static_cast< unsigned int >(val2
);
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16787 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
= 0;
16789 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16790 unsigned int arg2
;
16794 unsigned int val2
;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 char * kwnames
[] = {
16799 (char *) "self",(char *) "n", NULL
16802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16804 if (!SWIG_IsOK(res1
)) {
16805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16807 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16808 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16809 if (!SWIG_IsOK(ecode2
)) {
16810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16812 arg2
= static_cast< unsigned int >(val2
);
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16828 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16829 PyObject
*resultobj
= 0;
16830 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16831 unsigned int result
;
16834 PyObject
*swig_obj
[1] ;
16836 if (!args
) SWIG_fail
;
16837 swig_obj
[0] = args
;
16838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16839 if (!SWIG_IsOK(res1
)) {
16840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16842 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16856 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16857 PyObject
*resultobj
= 0;
16858 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16859 unsigned int result
;
16862 PyObject
*swig_obj
[1] ;
16864 if (!args
) SWIG_fail
;
16865 swig_obj
[0] = args
;
16866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16867 if (!SWIG_IsOK(res1
)) {
16868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16870 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16884 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
= 0;
16886 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 PyObject
* obj2
= 0 ;
16902 PyObject
* obj3
= 0 ;
16903 char * kwnames
[] = {
16904 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16909 if (!SWIG_IsOK(res1
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16912 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16914 if (!SWIG_IsOK(ecode2
)) {
16915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16917 arg2
= static_cast< int >(val2
);
16918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16919 if (!SWIG_IsOK(ecode3
)) {
16920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16922 arg3
= static_cast< wxDirection
>(val3
);
16923 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16924 if (!SWIG_IsOK(ecode4
)) {
16925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16927 arg4
= static_cast< long >(val4
);
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_From_int(static_cast< int >(result
));
16941 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
= 0;
16943 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16944 unsigned int arg2
;
16945 wxString
*arg3
= 0 ;
16948 unsigned int val2
;
16950 bool temp3
= false ;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 PyObject
* obj2
= 0 ;
16954 char * kwnames
[] = {
16955 (char *) "self",(char *) "item",(char *) "text", NULL
16958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16960 if (!SWIG_IsOK(res1
)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16963 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16964 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16965 if (!SWIG_IsOK(ecode2
)) {
16966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16968 arg2
= static_cast< unsigned int >(val2
);
16970 arg3
= wxString_in_helper(obj2
);
16971 if (arg3
== NULL
) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_Py_Void();
16995 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= 0;
16997 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16998 unsigned int arg2
;
16999 wxToolTip
*result
= 0 ;
17002 unsigned int val2
;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "self",(char *) "item", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17012 if (!SWIG_IsOK(res1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17015 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17016 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17017 if (!SWIG_IsOK(ecode2
)) {
17018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17020 arg2
= static_cast< unsigned int >(val2
);
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17036 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
= 0;
17038 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17039 unsigned int arg2
;
17040 wxString
*arg3
= 0 ;
17043 unsigned int val2
;
17045 bool temp3
= false ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 PyObject
* obj2
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "n",(char *) "helpText", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17058 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17059 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17060 if (!SWIG_IsOK(ecode2
)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17063 arg2
= static_cast< unsigned int >(val2
);
17065 arg3
= wxString_in_helper(obj2
);
17066 if (arg3
== NULL
) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_Py_Void();
17090 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
= 0;
17092 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17093 unsigned int arg2
;
17097 unsigned int val2
;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "n", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17110 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17111 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17112 if (!SWIG_IsOK(ecode2
)) {
17113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17115 arg2
= static_cast< unsigned int >(val2
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17135 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
= 0;
17137 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17138 SwigValueWrapper
<wxVisualAttributes
> result
;
17141 PyObject
* obj0
= 0 ;
17142 char * kwnames
[] = {
17143 (char *) "variant", NULL
17146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17149 if (!SWIG_IsOK(ecode1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17152 arg1
= static_cast< wxWindowVariant
>(val1
);
17155 if (!wxPyCheckForApp()) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17168 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17171 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17172 return SWIG_Py_Void();
17175 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17176 return SWIG_Python_InitShadowInstance(args
);
17179 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
= 0;
17181 wxWindow
*arg1
= (wxWindow
*) 0 ;
17182 int arg2
= (int) -1 ;
17183 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17184 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17189 long arg6
= (long) 0 ;
17190 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17191 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17192 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17193 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17194 wxRadioButton
*result
= 0 ;
17199 bool temp3
= false ;
17206 bool temp8
= false ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 PyObject
* obj3
= 0 ;
17211 PyObject
* obj4
= 0 ;
17212 PyObject
* obj5
= 0 ;
17213 PyObject
* obj6
= 0 ;
17214 PyObject
* obj7
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17227 if (!SWIG_IsOK(ecode2
)) {
17228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17230 arg2
= static_cast< int >(val2
);
17234 arg3
= wxString_in_helper(obj2
);
17235 if (arg3
== NULL
) SWIG_fail
;
17242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17252 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17253 if (!SWIG_IsOK(ecode6
)) {
17254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17256 arg6
= static_cast< long >(val6
);
17259 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17260 if (!SWIG_IsOK(res7
)) {
17261 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17266 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17270 arg8
= wxString_in_helper(obj7
);
17271 if (arg8
== NULL
) SWIG_fail
;
17276 if (!wxPyCheckForApp()) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17305 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17306 PyObject
*resultobj
= 0;
17307 wxRadioButton
*result
= 0 ;
17309 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17311 if (!wxPyCheckForApp()) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (wxRadioButton
*)new wxRadioButton();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17324 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
= 0;
17326 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17327 wxWindow
*arg2
= (wxWindow
*) 0 ;
17328 int arg3
= (int) -1 ;
17329 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17330 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17331 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17332 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17333 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17334 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17335 long arg7
= (long) 0 ;
17336 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17337 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17338 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17339 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17347 bool temp4
= false ;
17354 bool temp9
= false ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 PyObject
* obj2
= 0 ;
17358 PyObject
* obj3
= 0 ;
17359 PyObject
* obj4
= 0 ;
17360 PyObject
* obj5
= 0 ;
17361 PyObject
* obj6
= 0 ;
17362 PyObject
* obj7
= 0 ;
17363 PyObject
* obj8
= 0 ;
17364 char * kwnames
[] = {
17365 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17373 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17375 if (!SWIG_IsOK(res2
)) {
17376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17378 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17381 if (!SWIG_IsOK(ecode3
)) {
17382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17384 arg3
= static_cast< int >(val3
);
17388 arg4
= wxString_in_helper(obj3
);
17389 if (arg4
== NULL
) SWIG_fail
;
17396 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17402 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17406 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17407 if (!SWIG_IsOK(ecode7
)) {
17408 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17410 arg7
= static_cast< long >(val7
);
17413 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17414 if (!SWIG_IsOK(res8
)) {
17415 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17420 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17424 arg9
= wxString_in_helper(obj8
);
17425 if (arg9
== NULL
) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17460 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17461 PyObject
*resultobj
= 0;
17462 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17466 PyObject
*swig_obj
[1] ;
17468 if (!args
) SWIG_fail
;
17469 swig_obj
[0] = args
;
17470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17471 if (!SWIG_IsOK(res1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17474 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (bool)(arg1
)->GetValue();
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17490 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
= 0;
17492 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "value", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17509 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17511 if (!SWIG_IsOK(ecode2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17514 arg2
= static_cast< bool >(val2
);
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 (arg1
)->SetValue(arg2
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_Py_Void();
17528 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= 0;
17530 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17531 SwigValueWrapper
<wxVisualAttributes
> result
;
17534 PyObject
* obj0
= 0 ;
17535 char * kwnames
[] = {
17536 (char *) "variant", NULL
17539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17541 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17542 if (!SWIG_IsOK(ecode1
)) {
17543 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17545 arg1
= static_cast< wxWindowVariant
>(val1
);
17548 if (!wxPyCheckForApp()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17561 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17564 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17565 return SWIG_Py_Void();
17568 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17569 return SWIG_Python_InitShadowInstance(args
);
17572 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17573 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17578 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17579 PyObject
*pyobj
= 0;
17583 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17585 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17592 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
= 0;
17594 wxWindow
*arg1
= (wxWindow
*) 0 ;
17595 int arg2
= (int) -1 ;
17596 int arg3
= (int) 0 ;
17597 int arg4
= (int) 0 ;
17598 int arg5
= (int) 100 ;
17599 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17600 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17601 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17602 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17603 long arg8
= (long) wxSL_HORIZONTAL
;
17604 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17605 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17606 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17607 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17608 wxSlider
*result
= 0 ;
17625 bool temp10
= false ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 PyObject
* obj2
= 0 ;
17629 PyObject
* obj3
= 0 ;
17630 PyObject
* obj4
= 0 ;
17631 PyObject
* obj5
= 0 ;
17632 PyObject
* obj6
= 0 ;
17633 PyObject
* obj7
= 0 ;
17634 PyObject
* obj8
= 0 ;
17635 PyObject
* obj9
= 0 ;
17636 char * kwnames
[] = {
17637 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17642 if (!SWIG_IsOK(res1
)) {
17643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17648 if (!SWIG_IsOK(ecode2
)) {
17649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17651 arg2
= static_cast< int >(val2
);
17654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17655 if (!SWIG_IsOK(ecode3
)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17658 arg3
= static_cast< int >(val3
);
17661 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17662 if (!SWIG_IsOK(ecode4
)) {
17663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17665 arg4
= static_cast< int >(val4
);
17668 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17669 if (!SWIG_IsOK(ecode5
)) {
17670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17672 arg5
= static_cast< int >(val5
);
17677 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17683 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17687 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17688 if (!SWIG_IsOK(ecode8
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17691 arg8
= static_cast< long >(val8
);
17694 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17695 if (!SWIG_IsOK(res9
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17701 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17705 arg10
= wxString_in_helper(obj9
);
17706 if (arg10
== NULL
) SWIG_fail
;
17711 if (!wxPyCheckForApp()) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17732 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17733 PyObject
*resultobj
= 0;
17734 wxSlider
*result
= 0 ;
17736 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17738 if (!wxPyCheckForApp()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (wxSlider
*)new wxSlider();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17751 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
= 0;
17753 wxSlider
*arg1
= (wxSlider
*) 0 ;
17754 wxWindow
*arg2
= (wxWindow
*) 0 ;
17755 int arg3
= (int) -1 ;
17756 int arg4
= (int) 0 ;
17757 int arg5
= (int) 0 ;
17758 int arg6
= (int) 100 ;
17759 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17760 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17761 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17762 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17763 long arg9
= (long) wxSL_HORIZONTAL
;
17764 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17765 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17766 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17767 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17787 bool temp11
= false ;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 PyObject
* obj2
= 0 ;
17791 PyObject
* obj3
= 0 ;
17792 PyObject
* obj4
= 0 ;
17793 PyObject
* obj5
= 0 ;
17794 PyObject
* obj6
= 0 ;
17795 PyObject
* obj7
= 0 ;
17796 PyObject
* obj8
= 0 ;
17797 PyObject
* obj9
= 0 ;
17798 PyObject
* obj10
= 0 ;
17799 char * kwnames
[] = {
17800 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17805 if (!SWIG_IsOK(res1
)) {
17806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17808 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17810 if (!SWIG_IsOK(res2
)) {
17811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17813 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17816 if (!SWIG_IsOK(ecode3
)) {
17817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17819 arg3
= static_cast< int >(val3
);
17822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17823 if (!SWIG_IsOK(ecode4
)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17826 arg4
= static_cast< int >(val4
);
17829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17830 if (!SWIG_IsOK(ecode5
)) {
17831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17833 arg5
= static_cast< int >(val5
);
17836 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17837 if (!SWIG_IsOK(ecode6
)) {
17838 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17840 arg6
= static_cast< int >(val6
);
17845 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17851 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17855 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17856 if (!SWIG_IsOK(ecode9
)) {
17857 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17859 arg9
= static_cast< long >(val9
);
17862 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17863 if (!SWIG_IsOK(res10
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17869 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17873 arg11
= wxString_in_helper(obj10
);
17874 if (arg11
== NULL
) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17901 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17902 PyObject
*resultobj
= 0;
17903 wxSlider
*arg1
= (wxSlider
*) 0 ;
17907 PyObject
*swig_obj
[1] ;
17909 if (!args
) SWIG_fail
;
17910 swig_obj
[0] = args
;
17911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17912 if (!SWIG_IsOK(res1
)) {
17913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17915 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= SWIG_From_int(static_cast< int >(result
));
17929 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
= 0;
17931 wxSlider
*arg1
= (wxSlider
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char * kwnames
[] = {
17940 (char *) "self",(char *) "value", NULL
17943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17945 if (!SWIG_IsOK(res1
)) {
17946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17948 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17950 if (!SWIG_IsOK(ecode2
)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17953 arg2
= static_cast< int >(val2
);
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 (arg1
)->SetValue(arg2
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_Py_Void();
17967 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
= 0;
17969 wxSlider
*arg1
= (wxSlider
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 PyObject
* obj1
= 0 ;
17980 PyObject
* obj2
= 0 ;
17981 char * kwnames
[] = {
17982 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17987 if (!SWIG_IsOK(res1
)) {
17988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17990 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17992 if (!SWIG_IsOK(ecode2
)) {
17993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17995 arg2
= static_cast< int >(val2
);
17996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17997 if (!SWIG_IsOK(ecode3
)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18000 arg3
= static_cast< int >(val3
);
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->SetRange(arg2
,arg3
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_Py_Void();
18014 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18015 PyObject
*resultobj
= 0;
18016 wxSlider
*arg1
= (wxSlider
*) 0 ;
18020 PyObject
*swig_obj
[1] ;
18022 if (!args
) SWIG_fail
;
18023 swig_obj
[0] = args
;
18024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18028 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= SWIG_From_int(static_cast< int >(result
));
18042 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18043 PyObject
*resultobj
= 0;
18044 wxSlider
*arg1
= (wxSlider
*) 0 ;
18048 PyObject
*swig_obj
[1] ;
18050 if (!args
) SWIG_fail
;
18051 swig_obj
[0] = args
;
18052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18053 if (!SWIG_IsOK(res1
)) {
18054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18056 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_From_int(static_cast< int >(result
));
18070 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
= 0;
18072 wxSlider
*arg1
= (wxSlider
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 char * kwnames
[] = {
18081 (char *) "self",(char *) "minValue", NULL
18084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18086 if (!SWIG_IsOK(res1
)) {
18087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18089 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18091 if (!SWIG_IsOK(ecode2
)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18094 arg2
= static_cast< int >(val2
);
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 (arg1
)->SetMin(arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_Py_Void();
18108 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
= 0;
18110 wxSlider
*arg1
= (wxSlider
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 PyObject
* obj1
= 0 ;
18118 char * kwnames
[] = {
18119 (char *) "self",(char *) "maxValue", NULL
18122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18127 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18129 if (!SWIG_IsOK(ecode2
)) {
18130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18132 arg2
= static_cast< int >(val2
);
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 (arg1
)->SetMax(arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_Py_Void();
18146 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
= 0;
18148 wxSlider
*arg1
= (wxSlider
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 char * kwnames
[] = {
18157 (char *) "self",(char *) "lineSize", NULL
18160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18162 if (!SWIG_IsOK(res1
)) {
18163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18165 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18167 if (!SWIG_IsOK(ecode2
)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18170 arg2
= static_cast< int >(val2
);
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->SetLineSize(arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_Py_Void();
18184 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
= 0;
18186 wxSlider
*arg1
= (wxSlider
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 PyObject
* obj1
= 0 ;
18194 char * kwnames
[] = {
18195 (char *) "self",(char *) "pageSize", NULL
18198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18200 if (!SWIG_IsOK(res1
)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18203 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18205 if (!SWIG_IsOK(ecode2
)) {
18206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18208 arg2
= static_cast< int >(val2
);
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 (arg1
)->SetPageSize(arg2
);
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= SWIG_Py_Void();
18222 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18223 PyObject
*resultobj
= 0;
18224 wxSlider
*arg1
= (wxSlider
*) 0 ;
18228 PyObject
*swig_obj
[1] ;
18230 if (!args
) SWIG_fail
;
18231 swig_obj
[0] = args
;
18232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18233 if (!SWIG_IsOK(res1
)) {
18234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18236 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_From_int(static_cast< int >(result
));
18250 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18251 PyObject
*resultobj
= 0;
18252 wxSlider
*arg1
= (wxSlider
*) 0 ;
18256 PyObject
*swig_obj
[1] ;
18258 if (!args
) SWIG_fail
;
18259 swig_obj
[0] = args
;
18260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18261 if (!SWIG_IsOK(res1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18264 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= SWIG_From_int(static_cast< int >(result
));
18278 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
= 0;
18280 wxSlider
*arg1
= (wxSlider
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "self",(char *) "lenPixels", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18297 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18299 if (!SWIG_IsOK(ecode2
)) {
18300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18302 arg2
= static_cast< int >(val2
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->SetThumbLength(arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_Py_Void();
18316 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxSlider
*arg1
= (wxSlider
*) 0 ;
18322 PyObject
*swig_obj
[1] ;
18324 if (!args
) SWIG_fail
;
18325 swig_obj
[0] = args
;
18326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18330 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_From_int(static_cast< int >(result
));
18344 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
= 0;
18346 wxSlider
*arg1
= (wxSlider
*) 0 ;
18348 int arg3
= (int) 1 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 char * kwnames
[] = {
18359 (char *) "self",(char *) "n",(char *) "pos", NULL
18362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18367 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18369 if (!SWIG_IsOK(ecode2
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18372 arg2
= static_cast< int >(val2
);
18374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18375 if (!SWIG_IsOK(ecode3
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18378 arg3
= static_cast< int >(val3
);
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 (arg1
)->SetTickFreq(arg2
,arg3
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_Py_Void();
18393 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18394 PyObject
*resultobj
= 0;
18395 wxSlider
*arg1
= (wxSlider
*) 0 ;
18399 PyObject
*swig_obj
[1] ;
18401 if (!args
) SWIG_fail
;
18402 swig_obj
[0] = args
;
18403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18407 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_From_int(static_cast< int >(result
));
18421 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18422 PyObject
*resultobj
= 0;
18423 wxSlider
*arg1
= (wxSlider
*) 0 ;
18426 PyObject
*swig_obj
[1] ;
18428 if (!args
) SWIG_fail
;
18429 swig_obj
[0] = args
;
18430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18431 if (!SWIG_IsOK(res1
)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18434 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 (arg1
)->ClearTicks();
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_Py_Void();
18448 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
= 0;
18450 wxSlider
*arg1
= (wxSlider
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char * kwnames
[] = {
18459 (char *) "self",(char *) "tickPos", NULL
18462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18464 if (!SWIG_IsOK(res1
)) {
18465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18467 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18469 if (!SWIG_IsOK(ecode2
)) {
18470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18472 arg2
= static_cast< int >(val2
);
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->SetTick(arg2
);
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= SWIG_Py_Void();
18486 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18487 PyObject
*resultobj
= 0;
18488 wxSlider
*arg1
= (wxSlider
*) 0 ;
18491 PyObject
*swig_obj
[1] ;
18493 if (!args
) SWIG_fail
;
18494 swig_obj
[0] = args
;
18495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18496 if (!SWIG_IsOK(res1
)) {
18497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18499 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 (arg1
)->ClearSel();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_Py_Void();
18513 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18514 PyObject
*resultobj
= 0;
18515 wxSlider
*arg1
= (wxSlider
*) 0 ;
18519 PyObject
*swig_obj
[1] ;
18521 if (!args
) SWIG_fail
;
18522 swig_obj
[0] = args
;
18523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18524 if (!SWIG_IsOK(res1
)) {
18525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18527 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_From_int(static_cast< int >(result
));
18541 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18542 PyObject
*resultobj
= 0;
18543 wxSlider
*arg1
= (wxSlider
*) 0 ;
18547 PyObject
*swig_obj
[1] ;
18549 if (!args
) SWIG_fail
;
18550 swig_obj
[0] = args
;
18551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18552 if (!SWIG_IsOK(res1
)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18555 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 resultobj
= SWIG_From_int(static_cast< int >(result
));
18569 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
= 0;
18571 wxSlider
*arg1
= (wxSlider
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 PyObject
* obj2
= 0 ;
18583 char * kwnames
[] = {
18584 (char *) "self",(char *) "min",(char *) "max", NULL
18587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18592 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18594 if (!SWIG_IsOK(ecode2
)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18597 arg2
= static_cast< int >(val2
);
18598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18599 if (!SWIG_IsOK(ecode3
)) {
18600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18602 arg3
= static_cast< int >(val3
);
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 (arg1
)->SetSelection(arg2
,arg3
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_Py_Void();
18616 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
= 0;
18618 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18619 SwigValueWrapper
<wxVisualAttributes
> result
;
18622 PyObject
* obj0
= 0 ;
18623 char * kwnames
[] = {
18624 (char *) "variant", NULL
18627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18630 if (!SWIG_IsOK(ecode1
)) {
18631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18633 arg1
= static_cast< wxWindowVariant
>(val1
);
18636 if (!wxPyCheckForApp()) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18649 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18652 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18653 return SWIG_Py_Void();
18656 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18657 return SWIG_Python_InitShadowInstance(args
);
18660 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18661 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18666 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18667 PyObject
*pyobj
= 0;
18671 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18673 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18680 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
= 0;
18682 wxWindow
*arg1
= (wxWindow
*) 0 ;
18683 int arg2
= (int) -1 ;
18684 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18685 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18686 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18687 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18688 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18689 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18690 long arg6
= (long) 0 ;
18691 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18692 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18693 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18695 wxToggleButton
*result
= 0 ;
18700 bool temp3
= false ;
18707 bool temp8
= false ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 PyObject
* obj2
= 0 ;
18711 PyObject
* obj3
= 0 ;
18712 PyObject
* obj4
= 0 ;
18713 PyObject
* obj5
= 0 ;
18714 PyObject
* obj6
= 0 ;
18715 PyObject
* obj7
= 0 ;
18716 char * kwnames
[] = {
18717 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18722 if (!SWIG_IsOK(res1
)) {
18723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18728 if (!SWIG_IsOK(ecode2
)) {
18729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18731 arg2
= static_cast< int >(val2
);
18735 arg3
= wxString_in_helper(obj2
);
18736 if (arg3
== NULL
) SWIG_fail
;
18743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18753 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18754 if (!SWIG_IsOK(ecode6
)) {
18755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18757 arg6
= static_cast< long >(val6
);
18760 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18761 if (!SWIG_IsOK(res7
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18767 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18771 arg8
= wxString_in_helper(obj7
);
18772 if (arg8
== NULL
) SWIG_fail
;
18777 if (!wxPyCheckForApp()) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18806 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18807 PyObject
*resultobj
= 0;
18808 wxToggleButton
*result
= 0 ;
18810 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18812 if (!wxPyCheckForApp()) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (wxToggleButton
*)new wxToggleButton();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18825 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= 0;
18827 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18828 wxWindow
*arg2
= (wxWindow
*) 0 ;
18829 int arg3
= (int) -1 ;
18830 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18831 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18832 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18833 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18834 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18835 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18836 long arg7
= (long) 0 ;
18837 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18838 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18839 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18840 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18848 bool temp4
= false ;
18855 bool temp9
= false ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 PyObject
* obj2
= 0 ;
18859 PyObject
* obj3
= 0 ;
18860 PyObject
* obj4
= 0 ;
18861 PyObject
* obj5
= 0 ;
18862 PyObject
* obj6
= 0 ;
18863 PyObject
* obj7
= 0 ;
18864 PyObject
* obj8
= 0 ;
18865 char * kwnames
[] = {
18866 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18874 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18876 if (!SWIG_IsOK(res2
)) {
18877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18882 if (!SWIG_IsOK(ecode3
)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18885 arg3
= static_cast< int >(val3
);
18889 arg4
= wxString_in_helper(obj3
);
18890 if (arg4
== NULL
) SWIG_fail
;
18897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18907 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18908 if (!SWIG_IsOK(ecode7
)) {
18909 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18911 arg7
= static_cast< long >(val7
);
18914 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18915 if (!SWIG_IsOK(res8
)) {
18916 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18921 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18925 arg9
= wxString_in_helper(obj8
);
18926 if (arg9
== NULL
) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18961 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
= 0;
18963 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char * kwnames
[] = {
18972 (char *) "self",(char *) "value", NULL
18975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18980 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18981 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18982 if (!SWIG_IsOK(ecode2
)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18985 arg2
= static_cast< bool >(val2
);
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 (arg1
)->SetValue(arg2
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= SWIG_Py_Void();
18999 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19000 PyObject
*resultobj
= 0;
19001 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19005 PyObject
*swig_obj
[1] ;
19007 if (!args
) SWIG_fail
;
19008 swig_obj
[0] = args
;
19009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19010 if (!SWIG_IsOK(res1
)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19013 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19029 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
= 0;
19031 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19032 SwigValueWrapper
<wxVisualAttributes
> result
;
19035 PyObject
* obj0
= 0 ;
19036 char * kwnames
[] = {
19037 (char *) "variant", NULL
19040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19043 if (!SWIG_IsOK(ecode1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19046 arg1
= static_cast< wxWindowVariant
>(val1
);
19049 if (!wxPyCheckForApp()) SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19062 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19065 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19066 return SWIG_Py_Void();
19069 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19070 return SWIG_Python_InitShadowInstance(args
);
19073 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19074 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19079 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19080 PyObject
*pyobj
= 0;
19084 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19086 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19093 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19094 PyObject
*resultobj
= 0;
19095 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19099 PyObject
*swig_obj
[1] ;
19101 if (!args
) SWIG_fail
;
19102 swig_obj
[0] = args
;
19103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19104 if (!SWIG_IsOK(res1
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19107 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19121 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
= 0;
19123 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19125 wxWindow
*result
= 0 ;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 char * kwnames
[] = {
19133 (char *) "self",(char *) "n", NULL
19136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19138 if (!SWIG_IsOK(res1
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19141 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19142 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19143 if (!SWIG_IsOK(ecode2
)) {
19144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19146 arg2
= static_cast< size_t >(val2
);
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= wxPyMake_wxObject(result
, 0);
19162 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19163 PyObject
*resultobj
= 0;
19164 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19165 wxWindow
*result
= 0 ;
19168 PyObject
*swig_obj
[1] ;
19170 if (!args
) SWIG_fail
;
19171 swig_obj
[0] = args
;
19172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19176 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= wxPyMake_wxObject(result
, 0);
19192 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19193 PyObject
*resultobj
= 0;
19194 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19198 PyObject
*swig_obj
[1] ;
19200 if (!args
) SWIG_fail
;
19201 swig_obj
[0] = args
;
19202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19203 if (!SWIG_IsOK(res1
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19206 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_From_int(static_cast< int >(result
));
19220 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
= 0;
19222 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19224 wxString
*arg3
= 0 ;
19230 bool temp3
= false ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 PyObject
* obj2
= 0 ;
19234 char * kwnames
[] = {
19235 (char *) "self",(char *) "n",(char *) "strText", NULL
19238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19243 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19244 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19245 if (!SWIG_IsOK(ecode2
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19248 arg2
= static_cast< size_t >(val2
);
19250 arg3
= wxString_in_helper(obj2
);
19251 if (arg3
== NULL
) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19277 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
= 0;
19279 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char * kwnames
[] = {
19289 (char *) "self",(char *) "n", NULL
19292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19294 if (!SWIG_IsOK(res1
)) {
19295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19297 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19298 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19299 if (!SWIG_IsOK(ecode2
)) {
19300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19302 arg2
= static_cast< size_t >(val2
);
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19322 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
= 0;
19324 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19325 wxImageList
*arg2
= (wxImageList
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 char * kwnames
[] = {
19333 (char *) "self",(char *) "imageList", NULL
19336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19338 if (!SWIG_IsOK(res1
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19341 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19343 if (!SWIG_IsOK(res2
)) {
19344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19346 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 (arg1
)->SetImageList(arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_Py_Void();
19360 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
= 0;
19362 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19363 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_AssignImageList",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_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19378 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19379 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19380 if (!SWIG_IsOK(res2
)) {
19381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 (arg1
)->AssignImageList(arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_Py_Void();
19396 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19397 PyObject
*resultobj
= 0;
19398 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19399 wxImageList
*result
= 0 ;
19402 PyObject
*swig_obj
[1] ;
19404 if (!args
) SWIG_fail
;
19405 swig_obj
[0] = args
;
19406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19410 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19426 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
= 0;
19428 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char * kwnames
[] = {
19438 (char *) "self",(char *) "n", NULL
19441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19443 if (!SWIG_IsOK(res1
)) {
19444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19446 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19447 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19448 if (!SWIG_IsOK(ecode2
)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19451 arg2
= static_cast< size_t >(val2
);
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_From_int(static_cast< int >(result
));
19465 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
= 0;
19467 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 PyObject
* obj2
= 0 ;
19480 char * kwnames
[] = {
19481 (char *) "self",(char *) "n",(char *) "imageId", NULL
19484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19486 if (!SWIG_IsOK(res1
)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19489 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19490 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19491 if (!SWIG_IsOK(ecode2
)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19494 arg2
= static_cast< size_t >(val2
);
19495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19496 if (!SWIG_IsOK(ecode3
)) {
19497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19499 arg3
= static_cast< int >(val3
);
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19515 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
= 0;
19517 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char * kwnames
[] = {
19525 (char *) "self",(char *) "size", NULL
19528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19530 if (!SWIG_IsOK(res1
)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19533 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19536 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_Py_Void();
19551 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
= 0;
19553 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "self",(char *) "sizePage", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",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_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19570 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19588 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19589 PyObject
*resultobj
= 0;
19590 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19591 unsigned int result
;
19594 PyObject
*swig_obj
[1] ;
19596 if (!args
) SWIG_fail
;
19597 swig_obj
[0] = args
;
19598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19599 if (!SWIG_IsOK(res1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19602 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19616 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
= 0;
19618 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19619 unsigned int arg2
;
19622 unsigned int val2
;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char * kwnames
[] = {
19627 (char *) "self",(char *) "internalBorder", NULL
19630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19632 if (!SWIG_IsOK(res1
)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19635 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19636 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19637 if (!SWIG_IsOK(ecode2
)) {
19638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19640 arg2
= static_cast< unsigned int >(val2
);
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 (arg1
)->SetInternalBorder(arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_Py_Void();
19654 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19655 PyObject
*resultobj
= 0;
19656 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19660 PyObject
*swig_obj
[1] ;
19662 if (!args
) SWIG_fail
;
19663 swig_obj
[0] = args
;
19664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19665 if (!SWIG_IsOK(res1
)) {
19666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19668 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19684 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
= 0;
19686 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char * kwnames
[] = {
19695 (char *) "self",(char *) "margin", NULL
19698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19700 if (!SWIG_IsOK(res1
)) {
19701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19703 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19705 if (!SWIG_IsOK(ecode2
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19708 arg2
= static_cast< int >(val2
);
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->SetControlMargin(arg2
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_Py_Void();
19722 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19723 PyObject
*resultobj
= 0;
19724 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19728 PyObject
*swig_obj
[1] ;
19730 if (!args
) SWIG_fail
;
19731 swig_obj
[0] = args
;
19732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19733 if (!SWIG_IsOK(res1
)) {
19734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19736 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_From_int(static_cast< int >(result
));
19750 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
= 0;
19752 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 char * kwnames
[] = {
19761 (char *) "self",(char *) "fit", NULL
19764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19766 if (!SWIG_IsOK(res1
)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19769 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19771 if (!SWIG_IsOK(ecode2
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19774 arg2
= static_cast< bool >(val2
);
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 (arg1
)->SetFitToCurrentPage(arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= SWIG_Py_Void();
19788 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19789 PyObject
*resultobj
= 0;
19790 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19794 PyObject
*swig_obj
[1] ;
19796 if (!args
) SWIG_fail
;
19797 swig_obj
[0] = args
;
19798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19799 if (!SWIG_IsOK(res1
)) {
19800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19802 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19818 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19819 PyObject
*resultobj
= 0;
19820 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19821 wxSizer
*result
= 0 ;
19824 PyObject
*swig_obj
[1] ;
19826 if (!args
) SWIG_fail
;
19827 swig_obj
[0] = args
;
19828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19829 if (!SWIG_IsOK(res1
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19832 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19848 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
= 0;
19850 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19857 PyObject
* obj0
= 0 ;
19858 PyObject
* obj1
= 0 ;
19859 char * kwnames
[] = {
19860 (char *) "self",(char *) "n", NULL
19863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19868 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19869 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19870 if (!SWIG_IsOK(ecode2
)) {
19871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19873 arg2
= static_cast< size_t >(val2
);
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 result
= (bool)(arg1
)->DeletePage(arg2
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
= 0;
19891 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 char * kwnames
[] = {
19901 (char *) "self",(char *) "n", NULL
19904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19906 if (!SWIG_IsOK(res1
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19909 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19910 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19911 if (!SWIG_IsOK(ecode2
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19914 arg2
= static_cast< size_t >(val2
);
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (bool)(arg1
)->RemovePage(arg2
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19930 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19931 PyObject
*resultobj
= 0;
19932 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19936 PyObject
*swig_obj
[1] ;
19938 if (!args
) SWIG_fail
;
19939 swig_obj
[0] = args
;
19940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19941 if (!SWIG_IsOK(res1
)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19944 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (bool)(arg1
)->DeleteAllPages();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19960 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
= 0;
19962 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19963 wxWindow
*arg2
= (wxWindow
*) 0 ;
19964 wxString
*arg3
= 0 ;
19965 bool arg4
= (bool) false ;
19966 int arg5
= (int) -1 ;
19972 bool temp3
= false ;
19977 PyObject
* obj0
= 0 ;
19978 PyObject
* obj1
= 0 ;
19979 PyObject
* obj2
= 0 ;
19980 PyObject
* obj3
= 0 ;
19981 PyObject
* obj4
= 0 ;
19982 char * kwnames
[] = {
19983 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19988 if (!SWIG_IsOK(res1
)) {
19989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19991 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19993 if (!SWIG_IsOK(res2
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19998 arg3
= wxString_in_helper(obj2
);
19999 if (arg3
== NULL
) SWIG_fail
;
20003 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20004 if (!SWIG_IsOK(ecode4
)) {
20005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20007 arg4
= static_cast< bool >(val4
);
20010 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20011 if (!SWIG_IsOK(ecode5
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20014 arg5
= static_cast< int >(val5
);
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20039 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
= 0;
20041 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20043 wxWindow
*arg3
= (wxWindow
*) 0 ;
20044 wxString
*arg4
= 0 ;
20045 bool arg5
= (bool) false ;
20046 int arg6
= (int) -1 ;
20054 bool temp4
= false ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 PyObject
* obj2
= 0 ;
20062 PyObject
* obj3
= 0 ;
20063 PyObject
* obj4
= 0 ;
20064 PyObject
* obj5
= 0 ;
20065 char * kwnames
[] = {
20066 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20071 if (!SWIG_IsOK(res1
)) {
20072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20074 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20075 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20076 if (!SWIG_IsOK(ecode2
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20079 arg2
= static_cast< size_t >(val2
);
20080 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20081 if (!SWIG_IsOK(res3
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20084 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20086 arg4
= wxString_in_helper(obj3
);
20087 if (arg4
== NULL
) SWIG_fail
;
20091 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20092 if (!SWIG_IsOK(ecode5
)) {
20093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20095 arg5
= static_cast< bool >(val5
);
20098 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20099 if (!SWIG_IsOK(ecode6
)) {
20100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20102 arg6
= static_cast< int >(val6
);
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20127 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
= 0;
20129 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 char * kwnames
[] = {
20139 (char *) "self",(char *) "n", NULL
20142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20147 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20148 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20149 if (!SWIG_IsOK(ecode2
)) {
20150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20152 arg2
= static_cast< size_t >(val2
);
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (int)(arg1
)->SetSelection(arg2
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_From_int(static_cast< int >(result
));
20166 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= 0;
20168 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char * kwnames
[] = {
20178 (char *) "self",(char *) "n", NULL
20181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20183 if (!SWIG_IsOK(res1
)) {
20184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20186 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20187 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20188 if (!SWIG_IsOK(ecode2
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20191 arg2
= static_cast< size_t >(val2
);
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (int)(arg1
)->ChangeSelection(arg2
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_From_int(static_cast< int >(result
));
20205 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
= 0;
20207 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20208 bool arg2
= (bool) true ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char * kwnames
[] = {
20216 (char *) "self",(char *) "forward", NULL
20219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20221 if (!SWIG_IsOK(res1
)) {
20222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20224 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20226 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20227 if (!SWIG_IsOK(ecode2
)) {
20228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20230 arg2
= static_cast< bool >(val2
);
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 (arg1
)->AdvanceSelection(arg2
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_Py_Void();
20245 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
= 0;
20247 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20248 wxPoint
*arg2
= 0 ;
20249 long *arg3
= (long *) 0 ;
20255 int res3
= SWIG_TMPOBJ
;
20256 PyObject
* obj0
= 0 ;
20257 PyObject
* obj1
= 0 ;
20258 char * kwnames
[] = {
20259 (char *) "self",(char *) "pt", NULL
20263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20268 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_From_int(static_cast< int >(result
));
20280 if (SWIG_IsTmpObj(res3
)) {
20281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20283 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20292 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
= 0;
20294 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20295 SwigValueWrapper
<wxVisualAttributes
> result
;
20298 PyObject
* obj0
= 0 ;
20299 char * kwnames
[] = {
20300 (char *) "variant", NULL
20303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20305 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20306 if (!SWIG_IsOK(ecode1
)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20309 arg1
= static_cast< wxWindowVariant
>(val1
);
20312 if (!wxPyCheckForApp()) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20325 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20328 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20329 return SWIG_Py_Void();
20332 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
= 0;
20334 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20335 int arg2
= (int) 0 ;
20336 int arg3
= (int) -1 ;
20337 int arg4
= (int) -1 ;
20338 wxBookCtrlBaseEvent
*result
= 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 PyObject
* obj2
= 0 ;
20350 PyObject
* obj3
= 0 ;
20351 char * kwnames
[] = {
20352 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20358 if (!SWIG_IsOK(ecode1
)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20361 arg1
= static_cast< wxEventType
>(val1
);
20364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20365 if (!SWIG_IsOK(ecode2
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20368 arg2
= static_cast< int >(val2
);
20371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20372 if (!SWIG_IsOK(ecode3
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20375 arg3
= static_cast< int >(val3
);
20378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20379 if (!SWIG_IsOK(ecode4
)) {
20380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20382 arg4
= static_cast< int >(val4
);
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20397 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20398 PyObject
*resultobj
= 0;
20399 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20403 PyObject
*swig_obj
[1] ;
20405 if (!args
) SWIG_fail
;
20406 swig_obj
[0] = args
;
20407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20408 if (!SWIG_IsOK(res1
)) {
20409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20411 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_From_int(static_cast< int >(result
));
20425 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
= 0;
20427 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char * kwnames
[] = {
20436 (char *) "self",(char *) "nSel", NULL
20439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20441 if (!SWIG_IsOK(res1
)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20444 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20446 if (!SWIG_IsOK(ecode2
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20449 arg2
= static_cast< int >(val2
);
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 (arg1
)->SetSelection(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_Py_Void();
20463 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20464 PyObject
*resultobj
= 0;
20465 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20469 PyObject
*swig_obj
[1] ;
20471 if (!args
) SWIG_fail
;
20472 swig_obj
[0] = args
;
20473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20477 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_From_int(static_cast< int >(result
));
20491 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
= 0;
20493 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char * kwnames
[] = {
20502 (char *) "self",(char *) "nOldSel", NULL
20505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20510 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20512 if (!SWIG_IsOK(ecode2
)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20515 arg2
= static_cast< int >(val2
);
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->SetOldSelection(arg2
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_Py_Void();
20529 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20532 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20533 return SWIG_Py_Void();
20536 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 return SWIG_Python_InitShadowInstance(args
);
20540 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
= 0;
20542 wxWindow
*arg1
= (wxWindow
*) 0 ;
20543 int arg2
= (int) -1 ;
20544 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20545 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20546 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20547 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20548 long arg5
= (long) 0 ;
20549 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20550 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20551 wxNotebook
*result
= 0 ;
20560 bool temp6
= false ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 PyObject
* obj2
= 0 ;
20564 PyObject
* obj3
= 0 ;
20565 PyObject
* obj4
= 0 ;
20566 PyObject
* obj5
= 0 ;
20567 char * kwnames
[] = {
20568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20576 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20579 if (!SWIG_IsOK(ecode2
)) {
20580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20582 arg2
= static_cast< int >(val2
);
20587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20593 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20597 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20598 if (!SWIG_IsOK(ecode5
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20601 arg5
= static_cast< long >(val5
);
20605 arg6
= wxString_in_helper(obj5
);
20606 if (arg6
== NULL
) SWIG_fail
;
20611 if (!wxPyCheckForApp()) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20632 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20633 PyObject
*resultobj
= 0;
20634 wxNotebook
*result
= 0 ;
20636 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20638 if (!wxPyCheckForApp()) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (wxNotebook
*)new wxNotebook();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20651 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
= 0;
20653 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20654 wxWindow
*arg2
= (wxWindow
*) 0 ;
20655 int arg3
= (int) -1 ;
20656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20660 long arg6
= (long) 0 ;
20661 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20674 bool temp7
= false ;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20677 PyObject
* obj2
= 0 ;
20678 PyObject
* obj3
= 0 ;
20679 PyObject
* obj4
= 0 ;
20680 PyObject
* obj5
= 0 ;
20681 PyObject
* obj6
= 0 ;
20682 char * kwnames
[] = {
20683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20688 if (!SWIG_IsOK(res1
)) {
20689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20691 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20693 if (!SWIG_IsOK(res2
)) {
20694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20699 if (!SWIG_IsOK(ecode3
)) {
20700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20702 arg3
= static_cast< int >(val3
);
20707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20717 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20718 if (!SWIG_IsOK(ecode6
)) {
20719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20721 arg6
= static_cast< long >(val6
);
20725 arg7
= wxString_in_helper(obj6
);
20726 if (arg7
== NULL
) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 PyObject
*resultobj
= 0;
20755 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20759 PyObject
*swig_obj
[1] ;
20761 if (!args
) SWIG_fail
;
20762 swig_obj
[0] = args
;
20763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20764 if (!SWIG_IsOK(res1
)) {
20765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20767 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_From_int(static_cast< int >(result
));
20781 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
= 0;
20783 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 char * kwnames
[] = {
20791 (char *) "self",(char *) "padding", NULL
20794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20799 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20802 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_Py_Void();
20817 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
= 0;
20819 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char * kwnames
[] = {
20827 (char *) "self",(char *) "sz", NULL
20830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20832 if (!SWIG_IsOK(res1
)) {
20833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20835 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_Py_Void();
20853 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20854 PyObject
*resultobj
= 0;
20855 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20859 PyObject
*swig_obj
[1] ;
20861 if (!args
) SWIG_fail
;
20862 swig_obj
[0] = args
;
20863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20867 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20881 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
= 0;
20883 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20884 SwigValueWrapper
<wxVisualAttributes
> result
;
20887 PyObject
* obj0
= 0 ;
20888 char * kwnames
[] = {
20889 (char *) "variant", NULL
20892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20894 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20895 if (!SWIG_IsOK(ecode1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20898 arg1
= static_cast< wxWindowVariant
>(val1
);
20901 if (!wxPyCheckForApp()) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20914 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
= 0;
20916 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 char * kwnames
[] = {
20926 (char *) "self",(char *) "nPage", NULL
20929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20931 if (!SWIG_IsOK(res1
)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20934 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20936 if (!SWIG_IsOK(ecode2
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20939 arg2
= static_cast< int >(val2
);
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20955 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
= 0;
20957 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20959 int arg3
= (int) -1 ;
20966 PyObject
* obj0
= 0 ;
20967 PyObject
* obj1
= 0 ;
20968 PyObject
* obj2
= 0 ;
20969 char * kwnames
[] = {
20970 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20978 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20980 if (!SWIG_IsOK(ecode2
)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
20983 arg2
= static_cast< int >(val2
);
20985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20986 if (!SWIG_IsOK(ecode3
)) {
20987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
20989 arg3
= static_cast< int >(val3
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_Py_Void();
21004 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21007 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21008 return SWIG_Py_Void();
21011 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21012 return SWIG_Python_InitShadowInstance(args
);
21015 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
= 0;
21017 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21018 int arg2
= (int) 0 ;
21019 int arg3
= (int) -1 ;
21020 int arg4
= (int) -1 ;
21021 wxNotebookEvent
*result
= 0 ;
21030 PyObject
* obj0
= 0 ;
21031 PyObject
* obj1
= 0 ;
21032 PyObject
* obj2
= 0 ;
21033 PyObject
* obj3
= 0 ;
21034 char * kwnames
[] = {
21035 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21040 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21041 if (!SWIG_IsOK(ecode1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21044 arg1
= static_cast< wxEventType
>(val1
);
21047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21048 if (!SWIG_IsOK(ecode2
)) {
21049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21051 arg2
= static_cast< int >(val2
);
21054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21055 if (!SWIG_IsOK(ecode3
)) {
21056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21058 arg3
= static_cast< int >(val3
);
21061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21062 if (!SWIG_IsOK(ecode4
)) {
21063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21065 arg4
= static_cast< int >(val4
);
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21080 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21083 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21084 return SWIG_Py_Void();
21087 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21088 return SWIG_Python_InitShadowInstance(args
);
21091 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
= 0;
21093 wxWindow
*arg1
= (wxWindow
*) 0 ;
21094 int arg2
= (int) -1 ;
21095 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21096 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21097 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21098 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21099 long arg5
= (long) 0 ;
21100 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21101 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21102 wxListbook
*result
= 0 ;
21111 bool temp6
= false ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 PyObject
* obj2
= 0 ;
21115 PyObject
* obj3
= 0 ;
21116 PyObject
* obj4
= 0 ;
21117 PyObject
* obj5
= 0 ;
21118 char * kwnames
[] = {
21119 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21124 if (!SWIG_IsOK(res1
)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21127 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21130 if (!SWIG_IsOK(ecode2
)) {
21131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21133 arg2
= static_cast< int >(val2
);
21138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21148 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21149 if (!SWIG_IsOK(ecode5
)) {
21150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21152 arg5
= static_cast< long >(val5
);
21156 arg6
= wxString_in_helper(obj5
);
21157 if (arg6
== NULL
) SWIG_fail
;
21162 if (!wxPyCheckForApp()) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21183 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 PyObject
*resultobj
= 0;
21185 wxListbook
*result
= 0 ;
21187 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21189 if (!wxPyCheckForApp()) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= (wxListbook
*)new wxListbook();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21202 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
= 0;
21204 wxListbook
*arg1
= (wxListbook
*) 0 ;
21205 wxWindow
*arg2
= (wxWindow
*) 0 ;
21206 int arg3
= (int) -1 ;
21207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21211 long arg6
= (long) 0 ;
21212 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21213 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21225 bool temp7
= false ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 PyObject
* obj2
= 0 ;
21229 PyObject
* obj3
= 0 ;
21230 PyObject
* obj4
= 0 ;
21231 PyObject
* obj5
= 0 ;
21232 PyObject
* obj6
= 0 ;
21233 char * kwnames
[] = {
21234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21239 if (!SWIG_IsOK(res1
)) {
21240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21242 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21243 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21244 if (!SWIG_IsOK(res2
)) {
21245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21247 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21250 if (!SWIG_IsOK(ecode3
)) {
21251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21253 arg3
= static_cast< int >(val3
);
21258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21264 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21268 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21269 if (!SWIG_IsOK(ecode6
)) {
21270 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21272 arg6
= static_cast< long >(val6
);
21276 arg7
= wxString_in_helper(obj6
);
21277 if (arg7
== NULL
) SWIG_fail
;
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21304 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21305 PyObject
*resultobj
= 0;
21306 wxListbook
*arg1
= (wxListbook
*) 0 ;
21307 wxListView
*result
= 0 ;
21310 PyObject
*swig_obj
[1] ;
21312 if (!args
) SWIG_fail
;
21313 swig_obj
[0] = args
;
21314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21315 if (!SWIG_IsOK(res1
)) {
21316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21318 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (wxListView
*)(arg1
)->GetListView();
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21332 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21335 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21336 return SWIG_Py_Void();
21339 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21340 return SWIG_Python_InitShadowInstance(args
);
21343 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
= 0;
21345 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21346 int arg2
= (int) 0 ;
21347 int arg3
= (int) -1 ;
21348 int arg4
= (int) -1 ;
21349 wxListbookEvent
*result
= 0 ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 PyObject
* obj2
= 0 ;
21361 PyObject
* obj3
= 0 ;
21362 char * kwnames
[] = {
21363 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21369 if (!SWIG_IsOK(ecode1
)) {
21370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21372 arg1
= static_cast< wxEventType
>(val1
);
21375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21376 if (!SWIG_IsOK(ecode2
)) {
21377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21379 arg2
= static_cast< int >(val2
);
21382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21383 if (!SWIG_IsOK(ecode3
)) {
21384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21386 arg3
= static_cast< int >(val3
);
21389 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21390 if (!SWIG_IsOK(ecode4
)) {
21391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21393 arg4
= static_cast< int >(val4
);
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21408 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21411 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21412 return SWIG_Py_Void();
21415 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21416 return SWIG_Python_InitShadowInstance(args
);
21419 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
= 0;
21421 wxWindow
*arg1
= (wxWindow
*) 0 ;
21423 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21424 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21425 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21426 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21427 long arg5
= (long) 0 ;
21428 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21429 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21430 wxChoicebook
*result
= 0 ;
21439 bool temp6
= false ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 PyObject
* obj2
= 0 ;
21443 PyObject
* obj3
= 0 ;
21444 PyObject
* obj4
= 0 ;
21445 PyObject
* obj5
= 0 ;
21446 char * kwnames
[] = {
21447 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21452 if (!SWIG_IsOK(res1
)) {
21453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21457 if (!SWIG_IsOK(ecode2
)) {
21458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21460 arg2
= static_cast< int >(val2
);
21464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21470 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21474 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21475 if (!SWIG_IsOK(ecode5
)) {
21476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21478 arg5
= static_cast< long >(val5
);
21482 arg6
= wxString_in_helper(obj5
);
21483 if (arg6
== NULL
) SWIG_fail
;
21488 if (!wxPyCheckForApp()) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21509 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21510 PyObject
*resultobj
= 0;
21511 wxChoicebook
*result
= 0 ;
21513 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21515 if (!wxPyCheckForApp()) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (wxChoicebook
*)new wxChoicebook();
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21528 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
= 0;
21530 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21531 wxWindow
*arg2
= (wxWindow
*) 0 ;
21533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21537 long arg6
= (long) 0 ;
21538 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21539 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21551 bool temp7
= false ;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 PyObject
* obj2
= 0 ;
21555 PyObject
* obj3
= 0 ;
21556 PyObject
* obj4
= 0 ;
21557 PyObject
* obj5
= 0 ;
21558 PyObject
* obj6
= 0 ;
21559 char * kwnames
[] = {
21560 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21565 if (!SWIG_IsOK(res1
)) {
21566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21568 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21570 if (!SWIG_IsOK(res2
)) {
21571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21575 if (!SWIG_IsOK(ecode3
)) {
21576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21578 arg3
= static_cast< int >(val3
);
21582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21592 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21593 if (!SWIG_IsOK(ecode6
)) {
21594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21596 arg6
= static_cast< long >(val6
);
21600 arg7
= wxString_in_helper(obj6
);
21601 if (arg7
== NULL
) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21628 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21629 PyObject
*resultobj
= 0;
21630 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21631 wxChoice
*result
= 0 ;
21634 PyObject
*swig_obj
[1] ;
21636 if (!args
) SWIG_fail
;
21637 swig_obj
[0] = args
;
21638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21642 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21656 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21659 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21660 return SWIG_Py_Void();
21663 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21664 return SWIG_Python_InitShadowInstance(args
);
21667 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
= 0;
21669 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21670 int arg2
= (int) 0 ;
21671 int arg3
= (int) -1 ;
21672 int arg4
= (int) -1 ;
21673 wxChoicebookEvent
*result
= 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 PyObject
* obj3
= 0 ;
21686 char * kwnames
[] = {
21687 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21692 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21693 if (!SWIG_IsOK(ecode1
)) {
21694 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21696 arg1
= static_cast< wxEventType
>(val1
);
21699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21700 if (!SWIG_IsOK(ecode2
)) {
21701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21703 arg2
= static_cast< int >(val2
);
21706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21707 if (!SWIG_IsOK(ecode3
)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21710 arg3
= static_cast< int >(val3
);
21713 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21714 if (!SWIG_IsOK(ecode4
)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21717 arg4
= static_cast< int >(val4
);
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21732 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21735 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21736 return SWIG_Py_Void();
21739 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 return SWIG_Python_InitShadowInstance(args
);
21743 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
= 0;
21745 wxWindow
*arg1
= (wxWindow
*) 0 ;
21747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21751 long arg5
= (long) wxBK_DEFAULT
;
21752 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21753 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21754 wxTreebook
*result
= 0 ;
21763 bool temp6
= false ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 PyObject
* obj2
= 0 ;
21767 PyObject
* obj3
= 0 ;
21768 PyObject
* obj4
= 0 ;
21769 PyObject
* obj5
= 0 ;
21770 char * kwnames
[] = {
21771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21776 if (!SWIG_IsOK(res1
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21779 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21781 if (!SWIG_IsOK(ecode2
)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21784 arg2
= static_cast< int >(val2
);
21788 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21794 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21798 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21799 if (!SWIG_IsOK(ecode5
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21802 arg5
= static_cast< long >(val5
);
21806 arg6
= wxString_in_helper(obj5
);
21807 if (arg6
== NULL
) SWIG_fail
;
21812 if (!wxPyCheckForApp()) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21833 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 PyObject
*resultobj
= 0;
21835 wxTreebook
*result
= 0 ;
21837 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21839 if (!wxPyCheckForApp()) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (wxTreebook
*)new wxTreebook();
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21852 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
= 0;
21854 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21855 wxWindow
*arg2
= (wxWindow
*) 0 ;
21857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21861 long arg6
= (long) wxBK_DEFAULT
;
21862 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21875 bool temp7
= false ;
21876 PyObject
* obj0
= 0 ;
21877 PyObject
* obj1
= 0 ;
21878 PyObject
* obj2
= 0 ;
21879 PyObject
* obj3
= 0 ;
21880 PyObject
* obj4
= 0 ;
21881 PyObject
* obj5
= 0 ;
21882 PyObject
* obj6
= 0 ;
21883 char * kwnames
[] = {
21884 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21889 if (!SWIG_IsOK(res1
)) {
21890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21892 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21894 if (!SWIG_IsOK(res2
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21899 if (!SWIG_IsOK(ecode3
)) {
21900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21902 arg3
= static_cast< int >(val3
);
21906 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21912 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21916 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21917 if (!SWIG_IsOK(ecode6
)) {
21918 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21920 arg6
= static_cast< long >(val6
);
21924 arg7
= wxString_in_helper(obj6
);
21925 if (arg7
== NULL
) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21952 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
= 0;
21954 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21956 wxWindow
*arg3
= (wxWindow
*) 0 ;
21957 wxString
*arg4
= 0 ;
21958 bool arg5
= (bool) false ;
21959 int arg6
= (int) wxNOT_FOUND
;
21967 bool temp4
= false ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 PyObject
* obj3
= 0 ;
21976 PyObject
* obj4
= 0 ;
21977 PyObject
* obj5
= 0 ;
21978 char * kwnames
[] = {
21979 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21987 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21988 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21989 if (!SWIG_IsOK(ecode2
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21992 arg2
= static_cast< size_t >(val2
);
21993 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21994 if (!SWIG_IsOK(res3
)) {
21995 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21997 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21999 arg4
= wxString_in_helper(obj3
);
22000 if (arg4
== NULL
) SWIG_fail
;
22004 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22005 if (!SWIG_IsOK(ecode5
)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22008 arg5
= static_cast< bool >(val5
);
22011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22012 if (!SWIG_IsOK(ecode6
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22015 arg6
= static_cast< int >(val6
);
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22040 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
= 0;
22042 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22043 wxWindow
*arg2
= (wxWindow
*) 0 ;
22044 wxString
*arg3
= 0 ;
22045 bool arg4
= (bool) false ;
22046 int arg5
= (int) wxNOT_FOUND
;
22052 bool temp3
= false ;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 PyObject
* obj2
= 0 ;
22060 PyObject
* obj3
= 0 ;
22061 PyObject
* obj4
= 0 ;
22062 char * kwnames
[] = {
22063 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22068 if (!SWIG_IsOK(res1
)) {
22069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22071 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22073 if (!SWIG_IsOK(res2
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22078 arg3
= wxString_in_helper(obj2
);
22079 if (arg3
== NULL
) SWIG_fail
;
22083 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22084 if (!SWIG_IsOK(ecode4
)) {
22085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22087 arg4
= static_cast< bool >(val4
);
22090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22091 if (!SWIG_IsOK(ecode5
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22094 arg5
= static_cast< int >(val5
);
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22119 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= 0;
22121 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 char * kwnames
[] = {
22131 (char *) "self",(char *) "pos", NULL
22134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22139 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22140 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22141 if (!SWIG_IsOK(ecode2
)) {
22142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22144 arg2
= static_cast< size_t >(val2
);
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22160 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
= 0;
22162 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22164 bool arg3
= (bool) true ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 PyObject
* obj2
= 0 ;
22175 char * kwnames
[] = {
22176 (char *) "self",(char *) "pos",(char *) "expand", NULL
22179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22181 if (!SWIG_IsOK(res1
)) {
22182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22184 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22185 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22186 if (!SWIG_IsOK(ecode2
)) {
22187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22189 arg2
= static_cast< size_t >(val2
);
22191 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22192 if (!SWIG_IsOK(ecode3
)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22195 arg3
= static_cast< bool >(val3
);
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22212 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
= 0;
22214 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22221 PyObject
* obj0
= 0 ;
22222 PyObject
* obj1
= 0 ;
22223 char * kwnames
[] = {
22224 (char *) "self",(char *) "pos", NULL
22227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22229 if (!SWIG_IsOK(res1
)) {
22230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22232 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22233 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22234 if (!SWIG_IsOK(ecode2
)) {
22235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22237 arg2
= static_cast< size_t >(val2
);
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)(arg1
)->CollapseNode(arg2
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22253 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
= 0;
22255 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char * kwnames
[] = {
22265 (char *) "self",(char *) "pos", NULL
22268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22270 if (!SWIG_IsOK(res1
)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22273 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22274 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22275 if (!SWIG_IsOK(ecode2
)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22278 arg2
= static_cast< size_t >(val2
);
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_From_int(static_cast< int >(result
));
22292 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22293 PyObject
*resultobj
= 0;
22294 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22295 wxPyTreeCtrl
*result
= 0 ;
22298 PyObject
*swig_obj
[1] ;
22300 if (!args
) SWIG_fail
;
22301 swig_obj
[0] = args
;
22302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22303 if (!SWIG_IsOK(res1
)) {
22304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22306 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22322 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22325 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22326 return SWIG_Py_Void();
22329 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22330 return SWIG_Python_InitShadowInstance(args
);
22333 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
= 0;
22335 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22336 int arg2
= (int) 0 ;
22337 int arg3
= (int) wxNOT_FOUND
;
22338 int arg4
= (int) wxNOT_FOUND
;
22339 wxTreebookEvent
*result
= 0 ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 PyObject
* obj2
= 0 ;
22351 PyObject
* obj3
= 0 ;
22352 char * kwnames
[] = {
22353 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22359 if (!SWIG_IsOK(ecode1
)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22362 arg1
= static_cast< wxEventType
>(val1
);
22365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22366 if (!SWIG_IsOK(ecode2
)) {
22367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22369 arg2
= static_cast< int >(val2
);
22372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22373 if (!SWIG_IsOK(ecode3
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22376 arg3
= static_cast< int >(val3
);
22379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22380 if (!SWIG_IsOK(ecode4
)) {
22381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22383 arg4
= static_cast< int >(val4
);
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22398 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22401 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22402 return SWIG_Py_Void();
22405 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22406 return SWIG_Python_InitShadowInstance(args
);
22409 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
= 0;
22411 wxWindow
*arg1
= (wxWindow
*) 0 ;
22413 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22414 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22415 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22416 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22417 long arg5
= (long) wxBK_DEFAULT
;
22418 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22419 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22420 wxToolbook
*result
= 0 ;
22429 bool temp6
= false ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 PyObject
* obj2
= 0 ;
22433 PyObject
* obj3
= 0 ;
22434 PyObject
* obj4
= 0 ;
22435 PyObject
* obj5
= 0 ;
22436 char * kwnames
[] = {
22437 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22442 if (!SWIG_IsOK(res1
)) {
22443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22447 if (!SWIG_IsOK(ecode2
)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22450 arg2
= static_cast< int >(val2
);
22454 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22460 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22464 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22465 if (!SWIG_IsOK(ecode5
)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22468 arg5
= static_cast< long >(val5
);
22472 arg6
= wxString_in_helper(obj5
);
22473 if (arg6
== NULL
) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22498 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22499 PyObject
*resultobj
= 0;
22500 wxToolbook
*result
= 0 ;
22502 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (wxToolbook
*)new wxToolbook();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22516 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
= 0;
22518 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22519 wxWindow
*arg2
= (wxWindow
*) 0 ;
22521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22525 long arg6
= (long) 0 ;
22526 wxString
const &arg7_defvalue
= wxEmptyString
;
22527 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22539 bool temp7
= false ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 PyObject
* obj2
= 0 ;
22543 PyObject
* obj3
= 0 ;
22544 PyObject
* obj4
= 0 ;
22545 PyObject
* obj5
= 0 ;
22546 PyObject
* obj6
= 0 ;
22547 char * kwnames
[] = {
22548 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22556 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22558 if (!SWIG_IsOK(res2
)) {
22559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22561 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22563 if (!SWIG_IsOK(ecode3
)) {
22564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22566 arg3
= static_cast< int >(val3
);
22570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22580 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22581 if (!SWIG_IsOK(ecode6
)) {
22582 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22584 arg6
= static_cast< long >(val6
);
22588 arg7
= wxString_in_helper(obj6
);
22589 if (arg7
== NULL
) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22616 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22617 PyObject
*resultobj
= 0;
22618 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22619 wxToolBarBase
*result
= 0 ;
22622 PyObject
*swig_obj
[1] ;
22624 if (!args
) SWIG_fail
;
22625 swig_obj
[0] = args
;
22626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22627 if (!SWIG_IsOK(res1
)) {
22628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22630 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22646 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22647 PyObject
*resultobj
= 0;
22648 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22651 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22659 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_Py_Void();
22673 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22676 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22677 return SWIG_Py_Void();
22680 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22681 return SWIG_Python_InitShadowInstance(args
);
22684 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
= 0;
22686 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22687 int arg2
= (int) 0 ;
22688 int arg3
= (int) wxNOT_FOUND
;
22689 int arg4
= (int) wxNOT_FOUND
;
22690 wxToolbookEvent
*result
= 0 ;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 PyObject
* obj2
= 0 ;
22702 PyObject
* obj3
= 0 ;
22703 char * kwnames
[] = {
22704 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22710 if (!SWIG_IsOK(ecode1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22713 arg1
= static_cast< wxEventType
>(val1
);
22716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22717 if (!SWIG_IsOK(ecode2
)) {
22718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22720 arg2
= static_cast< int >(val2
);
22723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22724 if (!SWIG_IsOK(ecode3
)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22727 arg3
= static_cast< int >(val3
);
22730 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22731 if (!SWIG_IsOK(ecode4
)) {
22732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22734 arg4
= static_cast< int >(val4
);
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22749 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22752 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22753 return SWIG_Py_Void();
22756 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22757 return SWIG_Python_InitShadowInstance(args
);
22760 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22761 PyObject
*resultobj
= 0;
22762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22766 PyObject
*swig_obj
[1] ;
22768 if (!args
) SWIG_fail
;
22769 swig_obj
[0] = args
;
22770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22771 if (!SWIG_IsOK(res1
)) {
22772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22774 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= (int)(arg1
)->GetId();
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= SWIG_From_int(static_cast< int >(result
));
22788 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22789 PyObject
*resultobj
= 0;
22790 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22791 wxControl
*result
= 0 ;
22794 PyObject
*swig_obj
[1] ;
22796 if (!args
) SWIG_fail
;
22797 swig_obj
[0] = args
;
22798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22802 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (wxControl
*)(arg1
)->GetControl();
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= wxPyMake_wxObject(result
, 0);
22818 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 PyObject
*resultobj
= 0;
22820 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22821 wxToolBarBase
*result
= 0 ;
22824 PyObject
*swig_obj
[1] ;
22826 if (!args
) SWIG_fail
;
22827 swig_obj
[0] = args
;
22828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22832 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22848 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22849 PyObject
*resultobj
= 0;
22850 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22854 PyObject
*swig_obj
[1] ;
22856 if (!args
) SWIG_fail
;
22857 swig_obj
[0] = args
;
22858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22859 if (!SWIG_IsOK(res1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22862 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 result
= (int)(arg1
)->IsButton();
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_From_int(static_cast< int >(result
));
22876 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22877 PyObject
*resultobj
= 0;
22878 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22882 PyObject
*swig_obj
[1] ;
22884 if (!args
) SWIG_fail
;
22885 swig_obj
[0] = args
;
22886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22887 if (!SWIG_IsOK(res1
)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22890 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 result
= (int)(arg1
)->IsControl();
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_From_int(static_cast< int >(result
));
22904 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22905 PyObject
*resultobj
= 0;
22906 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22910 PyObject
*swig_obj
[1] ;
22912 if (!args
) SWIG_fail
;
22913 swig_obj
[0] = args
;
22914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22915 if (!SWIG_IsOK(res1
)) {
22916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22918 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (int)(arg1
)->IsSeparator();
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= SWIG_From_int(static_cast< int >(result
));
22932 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22933 PyObject
*resultobj
= 0;
22934 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22938 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22946 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)(arg1
)->GetStyle();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_From_int(static_cast< int >(result
));
22960 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22974 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (wxItemKind
)(arg1
)->GetKind();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_From_int(static_cast< int >(result
));
22988 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 PyObject
*resultobj
= 0;
22990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22994 PyObject
*swig_obj
[1] ;
22996 if (!args
) SWIG_fail
;
22997 swig_obj
[0] = args
;
22998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23002 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (bool)(arg1
)->IsEnabled();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23018 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 PyObject
*resultobj
= 0;
23020 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23024 PyObject
*swig_obj
[1] ;
23026 if (!args
) SWIG_fail
;
23027 swig_obj
[0] = args
;
23028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23029 if (!SWIG_IsOK(res1
)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23032 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (bool)(arg1
)->IsToggled();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23048 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23049 PyObject
*resultobj
= 0;
23050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23054 PyObject
*swig_obj
[1] ;
23056 if (!args
) SWIG_fail
;
23057 swig_obj
[0] = args
;
23058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23062 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (bool)(arg1
)->CanBeToggled();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23078 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23079 PyObject
*resultobj
= 0;
23080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23081 wxBitmap
*result
= 0 ;
23084 PyObject
*swig_obj
[1] ;
23086 if (!args
) SWIG_fail
;
23087 swig_obj
[0] = args
;
23088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23089 if (!SWIG_IsOK(res1
)) {
23090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23092 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23097 result
= (wxBitmap
*) &_result_ref
;
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23103 wxBitmap
* resultptr
= new wxBitmap(*result
);
23104 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23112 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23113 PyObject
*resultobj
= 0;
23114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23115 wxBitmap
*result
= 0 ;
23118 PyObject
*swig_obj
[1] ;
23120 if (!args
) SWIG_fail
;
23121 swig_obj
[0] = args
;
23122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23123 if (!SWIG_IsOK(res1
)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23126 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23131 result
= (wxBitmap
*) &_result_ref
;
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23137 wxBitmap
* resultptr
= new wxBitmap(*result
);
23138 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23146 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23147 PyObject
*resultobj
= 0;
23148 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23152 PyObject
*swig_obj
[1] ;
23154 if (!args
) SWIG_fail
;
23155 swig_obj
[0] = args
;
23156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23157 if (!SWIG_IsOK(res1
)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23160 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (arg1
)->GetBitmap();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23174 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23175 PyObject
*resultobj
= 0;
23176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23180 PyObject
*swig_obj
[1] ;
23182 if (!args
) SWIG_fail
;
23183 swig_obj
[0] = args
;
23184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23185 if (!SWIG_IsOK(res1
)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23188 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (arg1
)->GetLabel();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23208 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23209 PyObject
*resultobj
= 0;
23210 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23214 PyObject
*swig_obj
[1] ;
23216 if (!args
) SWIG_fail
;
23217 swig_obj
[0] = args
;
23218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23219 if (!SWIG_IsOK(res1
)) {
23220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23222 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (arg1
)->GetShortHelp();
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23242 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23243 PyObject
*resultobj
= 0;
23244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23248 PyObject
*swig_obj
[1] ;
23250 if (!args
) SWIG_fail
;
23251 swig_obj
[0] = args
;
23252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23253 if (!SWIG_IsOK(res1
)) {
23254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23256 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (arg1
)->GetLongHelp();
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23276 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
= 0;
23278 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 char * kwnames
[] = {
23288 (char *) "self",(char *) "enable", NULL
23291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23293 if (!SWIG_IsOK(res1
)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23296 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23298 if (!SWIG_IsOK(ecode2
)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23301 arg2
= static_cast< bool >(val2
);
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (bool)(arg1
)->Enable(arg2
);
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23317 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23318 PyObject
*resultobj
= 0;
23319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23322 PyObject
*swig_obj
[1] ;
23324 if (!args
) SWIG_fail
;
23325 swig_obj
[0] = args
;
23326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23327 if (!SWIG_IsOK(res1
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23330 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= SWIG_Py_Void();
23344 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
= 0;
23346 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 char * kwnames
[] = {
23356 (char *) "self",(char *) "toggle", NULL
23359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23361 if (!SWIG_IsOK(res1
)) {
23362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23364 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23365 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23366 if (!SWIG_IsOK(ecode2
)) {
23367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23369 arg2
= static_cast< bool >(val2
);
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (bool)(arg1
)->SetToggle(arg2
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23385 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
= 0;
23387 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23388 wxString
*arg2
= 0 ;
23392 bool temp2
= false ;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 char * kwnames
[] = {
23396 (char *) "self",(char *) "help", NULL
23399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23401 if (!SWIG_IsOK(res1
)) {
23402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23404 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23406 arg2
= wxString_in_helper(obj1
);
23407 if (arg2
== NULL
) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23433 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
= 0;
23435 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23436 wxString
*arg2
= 0 ;
23440 bool temp2
= false ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char * kwnames
[] = {
23444 (char *) "self",(char *) "help", NULL
23447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23452 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23454 arg2
= wxString_in_helper(obj1
);
23455 if (arg2
== NULL
) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23481 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
= 0;
23483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23484 wxBitmap
*arg2
= 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char * kwnames
[] = {
23492 (char *) "self",(char *) "bmp", NULL
23495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23500 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23502 if (!SWIG_IsOK(res2
)) {
23503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23508 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= SWIG_Py_Void();
23522 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= 0;
23524 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23525 wxBitmap
*arg2
= 0 ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 char * kwnames
[] = {
23533 (char *) "self",(char *) "bmp", NULL
23536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23538 if (!SWIG_IsOK(res1
)) {
23539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23541 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23543 if (!SWIG_IsOK(res2
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23549 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_Py_Void();
23563 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
= 0;
23565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23566 wxString
*arg2
= 0 ;
23569 bool temp2
= false ;
23570 PyObject
* obj0
= 0 ;
23571 PyObject
* obj1
= 0 ;
23572 char * kwnames
[] = {
23573 (char *) "self",(char *) "label", NULL
23576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23578 if (!SWIG_IsOK(res1
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23581 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23583 arg2
= wxString_in_helper(obj1
);
23584 if (arg2
== NULL
) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->SetLabel((wxString
const &)*arg2
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= SWIG_Py_Void();
23608 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23609 PyObject
*resultobj
= 0;
23610 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23613 PyObject
*swig_obj
[1] ;
23615 if (!args
) SWIG_fail
;
23616 swig_obj
[0] = args
;
23617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23618 if (!SWIG_IsOK(res1
)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23621 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_Py_Void();
23635 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
= 0;
23637 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23638 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 char * kwnames
[] = {
23646 (char *) "self",(char *) "tbar", NULL
23649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23651 if (!SWIG_IsOK(res1
)) {
23652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23654 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23656 if (!SWIG_IsOK(res2
)) {
23657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23659 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->Attach(arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_Py_Void();
23673 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 PyObject
*resultobj
= 0;
23675 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23676 PyObject
*result
= 0 ;
23679 PyObject
*swig_obj
[1] ;
23681 if (!args
) SWIG_fail
;
23682 swig_obj
[0] = args
;
23683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23687 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= result
;
23701 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
= 0;
23703 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23704 PyObject
*arg2
= (PyObject
*) 0 ;
23707 PyObject
* obj0
= 0 ;
23708 PyObject
* obj1
= 0 ;
23709 char * kwnames
[] = {
23710 (char *) "self",(char *) "clientData", NULL
23713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23715 if (!SWIG_IsOK(res1
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23718 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_Py_Void();
23733 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23736 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23737 return SWIG_Py_Void();
23740 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
= 0;
23742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23744 wxString
*arg3
= 0 ;
23745 wxBitmap
*arg4
= 0 ;
23746 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23747 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23748 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23749 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23750 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23751 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23752 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23753 PyObject
*arg9
= (PyObject
*) NULL
;
23754 wxToolBarToolBase
*result
= 0 ;
23759 bool temp3
= false ;
23766 bool temp7
= false ;
23767 bool temp8
= false ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 PyObject
* obj2
= 0 ;
23771 PyObject
* obj3
= 0 ;
23772 PyObject
* obj4
= 0 ;
23773 PyObject
* obj5
= 0 ;
23774 PyObject
* obj6
= 0 ;
23775 PyObject
* obj7
= 0 ;
23776 PyObject
* obj8
= 0 ;
23777 char * kwnames
[] = {
23778 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23783 if (!SWIG_IsOK(res1
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23786 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23788 if (!SWIG_IsOK(ecode2
)) {
23789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23791 arg2
= static_cast< int >(val2
);
23793 arg3
= wxString_in_helper(obj2
);
23794 if (arg3
== NULL
) SWIG_fail
;
23797 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23798 if (!SWIG_IsOK(res4
)) {
23799 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23804 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23806 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23807 if (!SWIG_IsOK(res5
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23813 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23816 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23817 if (!SWIG_IsOK(ecode6
)) {
23818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23820 arg6
= static_cast< wxItemKind
>(val6
);
23824 arg7
= wxString_in_helper(obj6
);
23825 if (arg7
== NULL
) SWIG_fail
;
23831 arg8
= wxString_in_helper(obj7
);
23832 if (arg8
== NULL
) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23878 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23883 wxString
*arg4
= 0 ;
23884 wxBitmap
*arg5
= 0 ;
23885 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23886 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23887 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23888 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23889 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23890 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23891 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23892 PyObject
*arg10
= (PyObject
*) NULL
;
23893 wxToolBarToolBase
*result
= 0 ;
23900 bool temp4
= false ;
23907 bool temp8
= false ;
23908 bool temp9
= false ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 PyObject
* obj2
= 0 ;
23912 PyObject
* obj3
= 0 ;
23913 PyObject
* obj4
= 0 ;
23914 PyObject
* obj5
= 0 ;
23915 PyObject
* obj6
= 0 ;
23916 PyObject
* obj7
= 0 ;
23917 PyObject
* obj8
= 0 ;
23918 PyObject
* obj9
= 0 ;
23919 char * kwnames
[] = {
23920 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23925 if (!SWIG_IsOK(res1
)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23928 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23929 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23930 if (!SWIG_IsOK(ecode2
)) {
23931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23933 arg2
= static_cast< size_t >(val2
);
23934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23935 if (!SWIG_IsOK(ecode3
)) {
23936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23938 arg3
= static_cast< int >(val3
);
23940 arg4
= wxString_in_helper(obj3
);
23941 if (arg4
== NULL
) SWIG_fail
;
23944 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23945 if (!SWIG_IsOK(res5
)) {
23946 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23951 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23953 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23954 if (!SWIG_IsOK(res6
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23960 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23963 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23964 if (!SWIG_IsOK(ecode7
)) {
23965 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23967 arg7
= static_cast< wxItemKind
>(val7
);
23971 arg8
= wxString_in_helper(obj7
);
23972 if (arg8
== NULL
) SWIG_fail
;
23978 arg9
= wxString_in_helper(obj8
);
23979 if (arg9
== NULL
) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24025 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
= 0;
24027 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24028 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24029 wxToolBarToolBase
*result
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char * kwnames
[] = {
24037 (char *) "self",(char *) "tool", NULL
24040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24042 if (!SWIG_IsOK(res1
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24045 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24047 if (!SWIG_IsOK(res2
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24050 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24066 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
= 0;
24068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24070 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24071 wxToolBarToolBase
*result
= 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 PyObject
* obj2
= 0 ;
24081 char * kwnames
[] = {
24082 (char *) "self",(char *) "pos",(char *) "tool", NULL
24085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24090 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24091 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24092 if (!SWIG_IsOK(ecode2
)) {
24093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24095 arg2
= static_cast< size_t >(val2
);
24096 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24097 if (!SWIG_IsOK(res3
)) {
24098 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24100 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24116 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
= 0;
24118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24119 wxControl
*arg2
= (wxControl
*) 0 ;
24120 wxToolBarToolBase
*result
= 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char * kwnames
[] = {
24128 (char *) "self",(char *) "control", NULL
24131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24133 if (!SWIG_IsOK(res1
)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24136 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24138 if (!SWIG_IsOK(res2
)) {
24139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24141 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24157 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
= 0;
24159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24161 wxControl
*arg3
= (wxControl
*) 0 ;
24162 wxToolBarToolBase
*result
= 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 PyObject
* obj2
= 0 ;
24172 char * kwnames
[] = {
24173 (char *) "self",(char *) "pos",(char *) "control", NULL
24176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24181 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24182 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24183 if (!SWIG_IsOK(ecode2
)) {
24184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24186 arg2
= static_cast< size_t >(val2
);
24187 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24188 if (!SWIG_IsOK(res3
)) {
24189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24191 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24207 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
= 0;
24209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24211 wxControl
*result
= 0 ;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 char * kwnames
[] = {
24219 (char *) "self",(char *) "id", NULL
24222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24224 if (!SWIG_IsOK(res1
)) {
24225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24227 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24229 if (!SWIG_IsOK(ecode2
)) {
24230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24232 arg2
= static_cast< int >(val2
);
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= wxPyMake_wxObject(result
, 0);
24248 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24249 PyObject
*resultobj
= 0;
24250 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24251 wxToolBarToolBase
*result
= 0 ;
24254 PyObject
*swig_obj
[1] ;
24256 if (!args
) SWIG_fail
;
24257 swig_obj
[0] = args
;
24258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24262 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24278 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
= 0;
24280 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24282 wxToolBarToolBase
*result
= 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char * kwnames
[] = {
24290 (char *) "self",(char *) "pos", NULL
24293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24295 if (!SWIG_IsOK(res1
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24298 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24299 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24300 if (!SWIG_IsOK(ecode2
)) {
24301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24303 arg2
= static_cast< size_t >(val2
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24319 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
= 0;
24321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24323 wxToolBarToolBase
*result
= 0 ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 char * kwnames
[] = {
24331 (char *) "self",(char *) "id", NULL
24334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24336 if (!SWIG_IsOK(res1
)) {
24337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24339 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24341 if (!SWIG_IsOK(ecode2
)) {
24342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24344 arg2
= static_cast< int >(val2
);
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24360 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
= 0;
24362 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char * kwnames
[] = {
24372 (char *) "self",(char *) "pos", NULL
24375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24377 if (!SWIG_IsOK(res1
)) {
24378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24380 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24381 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24382 if (!SWIG_IsOK(ecode2
)) {
24383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24385 arg2
= static_cast< size_t >(val2
);
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24401 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
= 0;
24403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char * kwnames
[] = {
24413 (char *) "self",(char *) "id", NULL
24416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24418 if (!SWIG_IsOK(res1
)) {
24419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24421 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24423 if (!SWIG_IsOK(ecode2
)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24426 arg2
= static_cast< int >(val2
);
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (bool)(arg1
)->DeleteTool(arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24442 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24443 PyObject
*resultobj
= 0;
24444 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24447 PyObject
*swig_obj
[1] ;
24449 if (!args
) SWIG_fail
;
24450 swig_obj
[0] = args
;
24451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24455 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 (arg1
)->ClearTools();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_Py_Void();
24469 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 PyObject
*resultobj
= 0;
24471 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24475 PyObject
*swig_obj
[1] ;
24477 if (!args
) SWIG_fail
;
24478 swig_obj
[0] = args
;
24479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24483 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (bool)(arg1
)->Realize();
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24499 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
= 0;
24501 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 PyObject
* obj2
= 0 ;
24513 char * kwnames
[] = {
24514 (char *) "self",(char *) "id",(char *) "enable", NULL
24517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24522 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24524 if (!SWIG_IsOK(ecode2
)) {
24525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24527 arg2
= static_cast< int >(val2
);
24528 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24529 if (!SWIG_IsOK(ecode3
)) {
24530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24532 arg3
= static_cast< bool >(val3
);
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 (arg1
)->EnableTool(arg2
,arg3
);
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= SWIG_Py_Void();
24546 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
= 0;
24548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 PyObject
* obj2
= 0 ;
24560 char * kwnames
[] = {
24561 (char *) "self",(char *) "id",(char *) "toggle", NULL
24564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24566 if (!SWIG_IsOK(res1
)) {
24567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24569 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24571 if (!SWIG_IsOK(ecode2
)) {
24572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24574 arg2
= static_cast< int >(val2
);
24575 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24576 if (!SWIG_IsOK(ecode3
)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24579 arg3
= static_cast< bool >(val3
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 (arg1
)->ToggleTool(arg2
,arg3
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_Py_Void();
24593 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
= 0;
24595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 PyObject
* obj2
= 0 ;
24607 char * kwnames
[] = {
24608 (char *) "self",(char *) "id",(char *) "toggle", NULL
24611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24616 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24618 if (!SWIG_IsOK(ecode2
)) {
24619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24621 arg2
= static_cast< int >(val2
);
24622 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24623 if (!SWIG_IsOK(ecode3
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24626 arg3
= static_cast< bool >(val3
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 (arg1
)->SetToggle(arg2
,arg3
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_Py_Void();
24640 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
= 0;
24642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24644 PyObject
*result
= 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "id", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24660 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24662 if (!SWIG_IsOK(ecode2
)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24665 arg2
= static_cast< int >(val2
);
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 resultobj
= result
;
24679 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
= 0;
24681 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24683 PyObject
*arg3
= (PyObject
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 PyObject
* obj2
= 0 ;
24691 char * kwnames
[] = {
24692 (char *) "self",(char *) "id",(char *) "clientData", NULL
24695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24697 if (!SWIG_IsOK(res1
)) {
24698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24700 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24702 if (!SWIG_IsOK(ecode2
)) {
24703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24705 arg2
= static_cast< int >(val2
);
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_Py_Void();
24720 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
= 0;
24722 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char * kwnames
[] = {
24732 (char *) "self",(char *) "id", NULL
24735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24740 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24742 if (!SWIG_IsOK(ecode2
)) {
24743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24745 arg2
= static_cast< int >(val2
);
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_From_int(static_cast< int >(result
));
24759 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
= 0;
24761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 char * kwnames
[] = {
24771 (char *) "self",(char *) "id", NULL
24774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24779 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24781 if (!SWIG_IsOK(ecode2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24784 arg2
= static_cast< int >(val2
);
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (bool)(arg1
)->GetToolState(arg2
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24800 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
= 0;
24802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char * kwnames
[] = {
24812 (char *) "self",(char *) "id", NULL
24815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24817 if (!SWIG_IsOK(res1
)) {
24818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24820 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24822 if (!SWIG_IsOK(ecode2
)) {
24823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24825 arg2
= static_cast< int >(val2
);
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24841 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
= 0;
24843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24845 wxString
*arg3
= 0 ;
24850 bool temp3
= false ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 PyObject
* obj2
= 0 ;
24854 char * kwnames
[] = {
24855 (char *) "self",(char *) "id",(char *) "helpString", NULL
24858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24863 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24865 if (!SWIG_IsOK(ecode2
)) {
24866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24868 arg2
= static_cast< int >(val2
);
24870 arg3
= wxString_in_helper(obj2
);
24871 if (arg3
== NULL
) SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_Py_Void();
24895 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
= 0;
24897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 PyObject
* obj1
= 0 ;
24906 char * kwnames
[] = {
24907 (char *) "self",(char *) "id", NULL
24910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24912 if (!SWIG_IsOK(res1
)) {
24913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24915 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24917 if (!SWIG_IsOK(ecode2
)) {
24918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24920 arg2
= static_cast< int >(val2
);
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (arg1
)->GetToolShortHelp(arg2
);
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24940 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
= 0;
24942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24944 wxString
*arg3
= 0 ;
24949 bool temp3
= false ;
24950 PyObject
* obj0
= 0 ;
24951 PyObject
* obj1
= 0 ;
24952 PyObject
* obj2
= 0 ;
24953 char * kwnames
[] = {
24954 (char *) "self",(char *) "id",(char *) "helpString", NULL
24957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24959 if (!SWIG_IsOK(res1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24962 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24964 if (!SWIG_IsOK(ecode2
)) {
24965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24967 arg2
= static_cast< int >(val2
);
24969 arg3
= wxString_in_helper(obj2
);
24970 if (arg3
== NULL
) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_Py_Void();
24994 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 char * kwnames
[] = {
25006 (char *) "self",(char *) "id", NULL
25009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25011 if (!SWIG_IsOK(res1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25014 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25016 if (!SWIG_IsOK(ecode2
)) {
25017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25019 arg2
= static_cast< int >(val2
);
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (arg1
)->GetToolLongHelp(arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25039 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
= 0;
25041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 PyObject
* obj2
= 0 ;
25053 char * kwnames
[] = {
25054 (char *) "self",(char *) "x",(char *) "y", NULL
25057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25059 if (!SWIG_IsOK(res1
)) {
25060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25062 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25064 if (!SWIG_IsOK(ecode2
)) {
25065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25067 arg2
= static_cast< int >(val2
);
25068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25069 if (!SWIG_IsOK(ecode3
)) {
25070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25072 arg3
= static_cast< int >(val3
);
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 (arg1
)->SetMargins(arg2
,arg3
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_Py_Void();
25086 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
= 0;
25088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char * kwnames
[] = {
25096 (char *) "self",(char *) "size", NULL
25099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25101 if (!SWIG_IsOK(res1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25104 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= SWIG_Py_Void();
25122 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
= 0;
25124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj1
= 0 ;
25132 char * kwnames
[] = {
25133 (char *) "self",(char *) "packing", NULL
25136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",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_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25141 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25143 if (!SWIG_IsOK(ecode2
)) {
25144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25146 arg2
= static_cast< int >(val2
);
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 (arg1
)->SetToolPacking(arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_Py_Void();
25160 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
= 0;
25162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 char * kwnames
[] = {
25171 (char *) "self",(char *) "separation", NULL
25174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25176 if (!SWIG_IsOK(res1
)) {
25177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25179 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25181 if (!SWIG_IsOK(ecode2
)) {
25182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25184 arg2
= static_cast< int >(val2
);
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 (arg1
)->SetToolSeparation(arg2
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_Py_Void();
25198 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25199 PyObject
*resultobj
= 0;
25200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25212 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (arg1
)->GetToolMargins();
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25226 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25227 PyObject
*resultobj
= 0;
25228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25232 PyObject
*swig_obj
[1] ;
25234 if (!args
) SWIG_fail
;
25235 swig_obj
[0] = args
;
25236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25240 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (arg1
)->GetMargins();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25254 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25255 PyObject
*resultobj
= 0;
25256 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25260 PyObject
*swig_obj
[1] ;
25262 if (!args
) SWIG_fail
;
25263 swig_obj
[0] = args
;
25264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25265 if (!SWIG_IsOK(res1
)) {
25266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25268 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= (int)(arg1
)->GetToolPacking();
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_From_int(static_cast< int >(result
));
25282 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25283 PyObject
*resultobj
= 0;
25284 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25288 PyObject
*swig_obj
[1] ;
25290 if (!args
) SWIG_fail
;
25291 swig_obj
[0] = args
;
25292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25293 if (!SWIG_IsOK(res1
)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25296 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (int)(arg1
)->GetToolSeparation();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_From_int(static_cast< int >(result
));
25310 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
= 0;
25312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char * kwnames
[] = {
25321 (char *) "self",(char *) "nRows", NULL
25324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25329 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25331 if (!SWIG_IsOK(ecode2
)) {
25332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25334 arg2
= static_cast< int >(val2
);
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 (arg1
)->SetRows(arg2
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_Py_Void();
25348 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
= 0;
25350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25359 PyObject
* obj0
= 0 ;
25360 PyObject
* obj1
= 0 ;
25361 PyObject
* obj2
= 0 ;
25362 char * kwnames
[] = {
25363 (char *) "self",(char *) "rows",(char *) "cols", NULL
25366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25371 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25373 if (!SWIG_IsOK(ecode2
)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25376 arg2
= static_cast< int >(val2
);
25377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25378 if (!SWIG_IsOK(ecode3
)) {
25379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25381 arg3
= static_cast< int >(val3
);
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= SWIG_Py_Void();
25395 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25396 PyObject
*resultobj
= 0;
25397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25401 PyObject
*swig_obj
[1] ;
25403 if (!args
) SWIG_fail
;
25404 swig_obj
[0] = args
;
25405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25409 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (int)(arg1
)->GetMaxRows();
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= SWIG_From_int(static_cast< int >(result
));
25423 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25424 PyObject
*resultobj
= 0;
25425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25429 PyObject
*swig_obj
[1] ;
25431 if (!args
) SWIG_fail
;
25432 swig_obj
[0] = args
;
25433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25434 if (!SWIG_IsOK(res1
)) {
25435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25437 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 result
= (int)(arg1
)->GetMaxCols();
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= SWIG_From_int(static_cast< int >(result
));
25451 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
= 0;
25453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char * kwnames
[] = {
25461 (char *) "self",(char *) "size", NULL
25464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25469 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= SWIG_Py_Void();
25487 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25488 PyObject
*resultobj
= 0;
25489 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25493 PyObject
*swig_obj
[1] ;
25495 if (!args
) SWIG_fail
;
25496 swig_obj
[0] = args
;
25497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25501 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (arg1
)->GetToolBitmapSize();
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25515 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 PyObject
*resultobj
= 0;
25517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25521 PyObject
*swig_obj
[1] ;
25523 if (!args
) SWIG_fail
;
25524 swig_obj
[0] = args
;
25525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25526 if (!SWIG_IsOK(res1
)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25529 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (arg1
)->GetToolSize();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25543 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
= 0;
25545 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25548 wxToolBarToolBase
*result
= 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 PyObject
* obj2
= 0 ;
25558 char * kwnames
[] = {
25559 (char *) "self",(char *) "x",(char *) "y", NULL
25562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25567 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25569 if (!SWIG_IsOK(ecode2
)) {
25570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25572 arg2
= static_cast< int >(val2
);
25573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25574 if (!SWIG_IsOK(ecode3
)) {
25575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25577 arg3
= static_cast< int >(val3
);
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25593 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
= 0;
25595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25597 wxToolBarToolBase
*result
= 0 ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 char * kwnames
[] = {
25605 (char *) "self",(char *) "toolid", NULL
25608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25610 if (!SWIG_IsOK(res1
)) {
25611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25613 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25615 if (!SWIG_IsOK(ecode2
)) {
25616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25618 arg2
= static_cast< int >(val2
);
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25634 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25635 PyObject
*resultobj
= 0;
25636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25640 PyObject
*swig_obj
[1] ;
25642 if (!args
) SWIG_fail
;
25643 swig_obj
[0] = args
;
25644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25645 if (!SWIG_IsOK(res1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25648 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (bool)(arg1
)->IsVertical();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25664 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25665 PyObject
*resultobj
= 0;
25666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25670 PyObject
*swig_obj
[1] ;
25672 if (!args
) SWIG_fail
;
25673 swig_obj
[0] = args
;
25674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25678 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25692 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25695 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25696 return SWIG_Py_Void();
25699 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
= 0;
25701 wxWindow
*arg1
= (wxWindow
*) 0 ;
25702 int arg2
= (int) -1 ;
25703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25707 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25708 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25709 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25710 wxToolBar
*result
= 0 ;
25719 bool temp6
= false ;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 PyObject
* obj2
= 0 ;
25723 PyObject
* obj3
= 0 ;
25724 PyObject
* obj4
= 0 ;
25725 PyObject
* obj5
= 0 ;
25726 char * kwnames
[] = {
25727 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25738 if (!SWIG_IsOK(ecode2
)) {
25739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25741 arg2
= static_cast< int >(val2
);
25746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25752 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25756 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25757 if (!SWIG_IsOK(ecode5
)) {
25758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25760 arg5
= static_cast< long >(val5
);
25764 arg6
= wxString_in_helper(obj5
);
25765 if (arg6
== NULL
) SWIG_fail
;
25770 if (!wxPyCheckForApp()) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25791 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25792 PyObject
*resultobj
= 0;
25793 wxToolBar
*result
= 0 ;
25795 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25797 if (!wxPyCheckForApp()) SWIG_fail
;
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= (wxToolBar
*)new wxToolBar();
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25810 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
= 0;
25812 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25813 wxWindow
*arg2
= (wxWindow
*) 0 ;
25814 int arg3
= (int) -1 ;
25815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25819 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25820 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25833 bool temp7
= false ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 PyObject
* obj2
= 0 ;
25837 PyObject
* obj3
= 0 ;
25838 PyObject
* obj4
= 0 ;
25839 PyObject
* obj5
= 0 ;
25840 PyObject
* obj6
= 0 ;
25841 char * kwnames
[] = {
25842 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25850 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25852 if (!SWIG_IsOK(res2
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25855 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25858 if (!SWIG_IsOK(ecode3
)) {
25859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25861 arg3
= static_cast< int >(val3
);
25866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25876 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25877 if (!SWIG_IsOK(ecode6
)) {
25878 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25880 arg6
= static_cast< long >(val6
);
25884 arg7
= wxString_in_helper(obj6
);
25885 if (arg7
== NULL
) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25912 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
= 0;
25914 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25915 SwigValueWrapper
<wxVisualAttributes
> result
;
25918 PyObject
* obj0
= 0 ;
25919 char * kwnames
[] = {
25920 (char *) "variant", NULL
25923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25926 if (!SWIG_IsOK(ecode1
)) {
25927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25929 arg1
= static_cast< wxWindowVariant
>(val1
);
25932 if (!wxPyCheckForApp()) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25945 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25948 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25949 return SWIG_Py_Void();
25952 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25953 return SWIG_Python_InitShadowInstance(args
);
25956 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25957 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25962 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25963 PyObject
*pyobj
= 0;
25967 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25969 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25976 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
= 0;
25978 wxColour
const &arg1_defvalue
= wxNullColour
;
25979 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25980 wxColour
const &arg2_defvalue
= wxNullColour
;
25981 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25982 wxFont
const &arg3_defvalue
= wxNullFont
;
25983 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25984 wxListItemAttr
*result
= 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 PyObject
* obj2
= 0 ;
25992 char * kwnames
[] = {
25993 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26000 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26006 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26010 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26011 if (!SWIG_IsOK(res3
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26017 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26032 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26033 PyObject
*resultobj
= 0;
26034 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26037 PyObject
*swig_obj
[1] ;
26039 if (!args
) SWIG_fail
;
26040 swig_obj
[0] = args
;
26041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26045 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_Py_Void();
26060 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
= 0;
26062 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26063 wxColour
*arg2
= 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 char * kwnames
[] = {
26070 (char *) "self",(char *) "colText", NULL
26073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26075 if (!SWIG_IsOK(res1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26078 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26081 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_Py_Void();
26096 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26099 wxColour
*arg2
= 0 ;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 char * kwnames
[] = {
26106 (char *) "self",(char *) "colBack", NULL
26109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26111 if (!SWIG_IsOK(res1
)) {
26112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26114 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26117 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= SWIG_Py_Void();
26132 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
= 0;
26134 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 char * kwnames
[] = {
26143 (char *) "self",(char *) "font", NULL
26146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",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_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26151 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26153 if (!SWIG_IsOK(res2
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26159 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->SetFont((wxFont
const &)*arg2
);
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_Py_Void();
26173 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26174 PyObject
*resultobj
= 0;
26175 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26179 PyObject
*swig_obj
[1] ;
26181 if (!args
) SWIG_fail
;
26182 swig_obj
[0] = args
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26187 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= (bool)(arg1
)->HasTextColour();
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26203 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26204 PyObject
*resultobj
= 0;
26205 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26209 PyObject
*swig_obj
[1] ;
26211 if (!args
) SWIG_fail
;
26212 swig_obj
[0] = args
;
26213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26214 if (!SWIG_IsOK(res1
)) {
26215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26217 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 result
= (bool)(arg1
)->HasBackgroundColour();
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26233 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26234 PyObject
*resultobj
= 0;
26235 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26239 PyObject
*swig_obj
[1] ;
26241 if (!args
) SWIG_fail
;
26242 swig_obj
[0] = args
;
26243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26247 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (bool)(arg1
)->HasFont();
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26263 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26264 PyObject
*resultobj
= 0;
26265 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26269 PyObject
*swig_obj
[1] ;
26271 if (!args
) SWIG_fail
;
26272 swig_obj
[0] = args
;
26273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26277 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (arg1
)->GetTextColour();
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26291 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26292 PyObject
*resultobj
= 0;
26293 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26297 PyObject
*swig_obj
[1] ;
26299 if (!args
) SWIG_fail
;
26300 swig_obj
[0] = args
;
26301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26302 if (!SWIG_IsOK(res1
)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26305 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 result
= (arg1
)->GetBackgroundColour();
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26319 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26320 PyObject
*resultobj
= 0;
26321 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26325 PyObject
*swig_obj
[1] ;
26327 if (!args
) SWIG_fail
;
26328 swig_obj
[0] = args
;
26329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26330 if (!SWIG_IsOK(res1
)) {
26331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26333 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 result
= (arg1
)->GetFont();
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26347 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
= 0;
26349 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26350 wxListItemAttr
*arg2
= 0 ;
26355 PyObject
* obj0
= 0 ;
26356 PyObject
* obj1
= 0 ;
26357 char * kwnames
[] = {
26358 (char *) "self",(char *) "source", NULL
26361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26363 if (!SWIG_IsOK(res1
)) {
26364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26366 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26368 if (!SWIG_IsOK(res2
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26374 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 PyObject
*resultobj
= 0;
26390 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26393 PyObject
*swig_obj
[1] ;
26395 if (!args
) SWIG_fail
;
26396 swig_obj
[0] = args
;
26397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26398 if (!SWIG_IsOK(res1
)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26401 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 wxListItemAttr_Destroy(arg1
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_Py_Void();
26415 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26418 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26419 return SWIG_Py_Void();
26422 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26423 return SWIG_Python_InitShadowInstance(args
);
26426 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26427 PyObject
*resultobj
= 0;
26428 wxListItem
*result
= 0 ;
26430 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= (wxListItem
*)new wxListItem();
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26444 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26445 PyObject
*resultobj
= 0;
26446 wxListItem
*arg1
= (wxListItem
*) 0 ;
26449 PyObject
*swig_obj
[1] ;
26451 if (!args
) SWIG_fail
;
26452 swig_obj
[0] = args
;
26453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26457 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_Py_Void();
26472 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26473 PyObject
*resultobj
= 0;
26474 wxListItem
*arg1
= (wxListItem
*) 0 ;
26477 PyObject
*swig_obj
[1] ;
26479 if (!args
) SWIG_fail
;
26480 swig_obj
[0] = args
;
26481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26485 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= SWIG_Py_Void();
26499 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26500 PyObject
*resultobj
= 0;
26501 wxListItem
*arg1
= (wxListItem
*) 0 ;
26504 PyObject
*swig_obj
[1] ;
26506 if (!args
) SWIG_fail
;
26507 swig_obj
[0] = args
;
26508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26509 if (!SWIG_IsOK(res1
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26512 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 (arg1
)->ClearAttributes();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_Py_Void();
26526 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
= 0;
26528 wxListItem
*arg1
= (wxListItem
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char * kwnames
[] = {
26537 (char *) "self",(char *) "mask", NULL
26540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26545 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26546 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26547 if (!SWIG_IsOK(ecode2
)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26550 arg2
= static_cast< long >(val2
);
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 (arg1
)->SetMask(arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_Py_Void();
26564 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
= 0;
26566 wxListItem
*arg1
= (wxListItem
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char * kwnames
[] = {
26575 (char *) "self",(char *) "id", NULL
26578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26583 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26585 if (!SWIG_IsOK(ecode2
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26588 arg2
= static_cast< long >(val2
);
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->SetId(arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= SWIG_Py_Void();
26602 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
= 0;
26604 wxListItem
*arg1
= (wxListItem
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "self",(char *) "col", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26621 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26623 if (!SWIG_IsOK(ecode2
)) {
26624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26626 arg2
= static_cast< int >(val2
);
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 (arg1
)->SetColumn(arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_Py_Void();
26640 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
= 0;
26642 wxListItem
*arg1
= (wxListItem
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "state", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26659 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26660 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26661 if (!SWIG_IsOK(ecode2
)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26664 arg2
= static_cast< long >(val2
);
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 (arg1
)->SetState(arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_Py_Void();
26678 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
= 0;
26680 wxListItem
*arg1
= (wxListItem
*) 0 ;
26686 PyObject
* obj0
= 0 ;
26687 PyObject
* obj1
= 0 ;
26688 char * kwnames
[] = {
26689 (char *) "self",(char *) "stateMask", NULL
26692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26694 if (!SWIG_IsOK(res1
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26697 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26698 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26699 if (!SWIG_IsOK(ecode2
)) {
26700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26702 arg2
= static_cast< long >(val2
);
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->SetStateMask(arg2
);
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
= 0;
26718 wxListItem
*arg1
= (wxListItem
*) 0 ;
26719 wxString
*arg2
= 0 ;
26722 bool temp2
= false ;
26723 PyObject
* obj0
= 0 ;
26724 PyObject
* obj1
= 0 ;
26725 char * kwnames
[] = {
26726 (char *) "self",(char *) "text", NULL
26729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",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_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26734 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26736 arg2
= wxString_in_helper(obj1
);
26737 if (arg2
== NULL
) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 (arg1
)->SetText((wxString
const &)*arg2
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= SWIG_Py_Void();
26761 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
= 0;
26763 wxListItem
*arg1
= (wxListItem
*) 0 ;
26769 PyObject
* obj0
= 0 ;
26770 PyObject
* obj1
= 0 ;
26771 char * kwnames
[] = {
26772 (char *) "self",(char *) "image", NULL
26775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26777 if (!SWIG_IsOK(res1
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26780 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26782 if (!SWIG_IsOK(ecode2
)) {
26783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26785 arg2
= static_cast< int >(val2
);
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 (arg1
)->SetImage(arg2
);
26789 wxPyEndAllowThreads(__tstate
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= SWIG_Py_Void();
26799 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26800 PyObject
*resultobj
= 0;
26801 wxListItem
*arg1
= (wxListItem
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 char * kwnames
[] = {
26810 (char *) "self",(char *) "data", NULL
26813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26818 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26820 if (!SWIG_IsOK(ecode2
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26823 arg2
= static_cast< long >(val2
);
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 (arg1
)->SetData(arg2
);
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26830 resultobj
= SWIG_Py_Void();
26837 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
= 0;
26839 wxListItem
*arg1
= (wxListItem
*) 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char * kwnames
[] = {
26848 (char *) "self",(char *) "width", NULL
26851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26853 if (!SWIG_IsOK(res1
)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26856 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26858 if (!SWIG_IsOK(ecode2
)) {
26859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26861 arg2
= static_cast< int >(val2
);
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 (arg1
)->SetWidth(arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_Py_Void();
26875 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
= 0;
26877 wxListItem
*arg1
= (wxListItem
*) 0 ;
26878 wxListColumnFormat arg2
;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char * kwnames
[] = {
26886 (char *) "self",(char *) "align", NULL
26889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26891 if (!SWIG_IsOK(res1
)) {
26892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26894 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26896 if (!SWIG_IsOK(ecode2
)) {
26897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26899 arg2
= static_cast< wxListColumnFormat
>(val2
);
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 (arg1
)->SetAlign(arg2
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= SWIG_Py_Void();
26913 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
= 0;
26915 wxListItem
*arg1
= (wxListItem
*) 0 ;
26916 wxColour
*arg2
= 0 ;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char * kwnames
[] = {
26923 (char *) "self",(char *) "colText", NULL
26926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",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_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26931 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26934 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= SWIG_Py_Void();
26949 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
= 0;
26951 wxListItem
*arg1
= (wxListItem
*) 0 ;
26952 wxColour
*arg2
= 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char * kwnames
[] = {
26959 (char *) "self",(char *) "colBack", NULL
26962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26964 if (!SWIG_IsOK(res1
)) {
26965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26967 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_Py_Void();
26985 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
= 0;
26987 wxListItem
*arg1
= (wxListItem
*) 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char * kwnames
[] = {
26996 (char *) "self",(char *) "font", NULL
26999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",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_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27004 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27006 if (!SWIG_IsOK(res2
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27012 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 (arg1
)->SetFont((wxFont
const &)*arg2
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 resultobj
= SWIG_Py_Void();
27026 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27027 PyObject
*resultobj
= 0;
27028 wxListItem
*arg1
= (wxListItem
*) 0 ;
27032 PyObject
*swig_obj
[1] ;
27034 if (!args
) SWIG_fail
;
27035 swig_obj
[0] = args
;
27036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27037 if (!SWIG_IsOK(res1
)) {
27038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27040 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= (long)(arg1
)->GetMask();
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_From_long(static_cast< long >(result
));
27054 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27055 PyObject
*resultobj
= 0;
27056 wxListItem
*arg1
= (wxListItem
*) 0 ;
27060 PyObject
*swig_obj
[1] ;
27062 if (!args
) SWIG_fail
;
27063 swig_obj
[0] = args
;
27064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27068 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (long)(arg1
)->GetId();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_From_long(static_cast< long >(result
));
27082 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27083 PyObject
*resultobj
= 0;
27084 wxListItem
*arg1
= (wxListItem
*) 0 ;
27088 PyObject
*swig_obj
[1] ;
27090 if (!args
) SWIG_fail
;
27091 swig_obj
[0] = args
;
27092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27093 if (!SWIG_IsOK(res1
)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27096 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (int)(arg1
)->GetColumn();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= SWIG_From_int(static_cast< int >(result
));
27110 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27111 PyObject
*resultobj
= 0;
27112 wxListItem
*arg1
= (wxListItem
*) 0 ;
27116 PyObject
*swig_obj
[1] ;
27118 if (!args
) SWIG_fail
;
27119 swig_obj
[0] = args
;
27120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27121 if (!SWIG_IsOK(res1
)) {
27122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27124 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (long)(arg1
)->GetState();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_From_long(static_cast< long >(result
));
27138 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27139 PyObject
*resultobj
= 0;
27140 wxListItem
*arg1
= (wxListItem
*) 0 ;
27141 wxString
*result
= 0 ;
27144 PyObject
*swig_obj
[1] ;
27146 if (!args
) SWIG_fail
;
27147 swig_obj
[0] = args
;
27148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27149 if (!SWIG_IsOK(res1
)) {
27150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27152 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 wxString
const &_result_ref
= (arg1
)->GetText();
27157 result
= (wxString
*) &_result_ref
;
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27166 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27175 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27176 PyObject
*resultobj
= 0;
27177 wxListItem
*arg1
= (wxListItem
*) 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_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27189 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (int)(arg1
)->GetImage();
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= SWIG_From_int(static_cast< int >(result
));
27203 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27204 PyObject
*resultobj
= 0;
27205 wxListItem
*arg1
= (wxListItem
*) 0 ;
27209 PyObject
*swig_obj
[1] ;
27211 if (!args
) SWIG_fail
;
27212 swig_obj
[0] = args
;
27213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27214 if (!SWIG_IsOK(res1
)) {
27215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27217 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 result
= (long)(arg1
)->GetData();
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= SWIG_From_long(static_cast< long >(result
));
27231 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27232 PyObject
*resultobj
= 0;
27233 wxListItem
*arg1
= (wxListItem
*) 0 ;
27237 PyObject
*swig_obj
[1] ;
27239 if (!args
) SWIG_fail
;
27240 swig_obj
[0] = args
;
27241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27245 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= (int)(arg1
)->GetWidth();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_From_int(static_cast< int >(result
));
27259 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27260 PyObject
*resultobj
= 0;
27261 wxListItem
*arg1
= (wxListItem
*) 0 ;
27262 wxListColumnFormat result
;
27265 PyObject
*swig_obj
[1] ;
27267 if (!args
) SWIG_fail
;
27268 swig_obj
[0] = args
;
27269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27270 if (!SWIG_IsOK(res1
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27273 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= SWIG_From_int(static_cast< int >(result
));
27287 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27288 PyObject
*resultobj
= 0;
27289 wxListItem
*arg1
= (wxListItem
*) 0 ;
27290 wxListItemAttr
*result
= 0 ;
27293 PyObject
*swig_obj
[1] ;
27295 if (!args
) SWIG_fail
;
27296 swig_obj
[0] = args
;
27297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27298 if (!SWIG_IsOK(res1
)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27301 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27315 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27316 PyObject
*resultobj
= 0;
27317 wxListItem
*arg1
= (wxListItem
*) 0 ;
27321 PyObject
*swig_obj
[1] ;
27323 if (!args
) SWIG_fail
;
27324 swig_obj
[0] = args
;
27325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27329 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= (bool)(arg1
)->HasAttributes();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27345 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27346 PyObject
*resultobj
= 0;
27347 wxListItem
*arg1
= (wxListItem
*) 0 ;
27351 PyObject
*swig_obj
[1] ;
27353 if (!args
) SWIG_fail
;
27354 swig_obj
[0] = args
;
27355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27356 if (!SWIG_IsOK(res1
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27359 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27373 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 PyObject
*resultobj
= 0;
27375 wxListItem
*arg1
= (wxListItem
*) 0 ;
27379 PyObject
*swig_obj
[1] ;
27381 if (!args
) SWIG_fail
;
27382 swig_obj
[0] = args
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27387 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27401 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 PyObject
*resultobj
= 0;
27403 wxListItem
*arg1
= (wxListItem
*) 0 ;
27407 PyObject
*swig_obj
[1] ;
27409 if (!args
) SWIG_fail
;
27410 swig_obj
[0] = args
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27415 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= ((wxListItem
const *)arg1
)->GetFont();
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27429 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27431 wxListItem
*arg1
= (wxListItem
*) 0 ;
27437 PyObject
*swig_obj
[2] ;
27439 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27444 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27445 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27446 if (!SWIG_IsOK(ecode2
)) {
27447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27449 arg2
= static_cast< long >(val2
);
27450 if (arg1
) (arg1
)->m_mask
= arg2
;
27452 resultobj
= SWIG_Py_Void();
27459 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxListItem
*arg1
= (wxListItem
*) 0 ;
27465 PyObject
*swig_obj
[1] ;
27467 if (!args
) SWIG_fail
;
27468 swig_obj
[0] = args
;
27469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27474 result
= (long) ((arg1
)->m_mask
);
27475 resultobj
= SWIG_From_long(static_cast< long >(result
));
27482 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27483 PyObject
*resultobj
= 0;
27484 wxListItem
*arg1
= (wxListItem
*) 0 ;
27490 PyObject
*swig_obj
[2] ;
27492 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27494 if (!SWIG_IsOK(res1
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27497 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27498 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27499 if (!SWIG_IsOK(ecode2
)) {
27500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27502 arg2
= static_cast< long >(val2
);
27503 if (arg1
) (arg1
)->m_itemId
= arg2
;
27505 resultobj
= SWIG_Py_Void();
27512 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27513 PyObject
*resultobj
= 0;
27514 wxListItem
*arg1
= (wxListItem
*) 0 ;
27518 PyObject
*swig_obj
[1] ;
27520 if (!args
) SWIG_fail
;
27521 swig_obj
[0] = args
;
27522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27523 if (!SWIG_IsOK(res1
)) {
27524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27526 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27527 result
= (long) ((arg1
)->m_itemId
);
27528 resultobj
= SWIG_From_long(static_cast< long >(result
));
27535 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27536 PyObject
*resultobj
= 0;
27537 wxListItem
*arg1
= (wxListItem
*) 0 ;
27543 PyObject
*swig_obj
[2] ;
27545 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27547 if (!SWIG_IsOK(res1
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27550 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27551 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27552 if (!SWIG_IsOK(ecode2
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27555 arg2
= static_cast< int >(val2
);
27556 if (arg1
) (arg1
)->m_col
= arg2
;
27558 resultobj
= SWIG_Py_Void();
27565 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxListItem
*arg1
= (wxListItem
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27579 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27580 result
= (int) ((arg1
)->m_col
);
27581 resultobj
= SWIG_From_int(static_cast< int >(result
));
27588 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27589 PyObject
*resultobj
= 0;
27590 wxListItem
*arg1
= (wxListItem
*) 0 ;
27596 PyObject
*swig_obj
[2] ;
27598 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27600 if (!SWIG_IsOK(res1
)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27603 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27604 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27605 if (!SWIG_IsOK(ecode2
)) {
27606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27608 arg2
= static_cast< long >(val2
);
27609 if (arg1
) (arg1
)->m_state
= arg2
;
27611 resultobj
= SWIG_Py_Void();
27618 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27619 PyObject
*resultobj
= 0;
27620 wxListItem
*arg1
= (wxListItem
*) 0 ;
27624 PyObject
*swig_obj
[1] ;
27626 if (!args
) SWIG_fail
;
27627 swig_obj
[0] = args
;
27628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27632 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27633 result
= (long) ((arg1
)->m_state
);
27634 resultobj
= SWIG_From_long(static_cast< long >(result
));
27641 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27642 PyObject
*resultobj
= 0;
27643 wxListItem
*arg1
= (wxListItem
*) 0 ;
27649 PyObject
*swig_obj
[2] ;
27651 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27653 if (!SWIG_IsOK(res1
)) {
27654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27656 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27657 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27658 if (!SWIG_IsOK(ecode2
)) {
27659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27661 arg2
= static_cast< long >(val2
);
27662 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27664 resultobj
= SWIG_Py_Void();
27671 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 PyObject
*resultobj
= 0;
27673 wxListItem
*arg1
= (wxListItem
*) 0 ;
27677 PyObject
*swig_obj
[1] ;
27679 if (!args
) SWIG_fail
;
27680 swig_obj
[0] = args
;
27681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27685 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27686 result
= (long) ((arg1
)->m_stateMask
);
27687 resultobj
= SWIG_From_long(static_cast< long >(result
));
27694 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27695 PyObject
*resultobj
= 0;
27696 wxListItem
*arg1
= (wxListItem
*) 0 ;
27697 wxString
*arg2
= (wxString
*) 0 ;
27700 bool temp2
= false ;
27701 PyObject
*swig_obj
[2] ;
27703 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27708 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27710 arg2
= wxString_in_helper(swig_obj
[1]);
27711 if (arg2
== NULL
) SWIG_fail
;
27714 if (arg1
) (arg1
)->m_text
= *arg2
;
27716 resultobj
= SWIG_Py_Void();
27731 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27732 PyObject
*resultobj
= 0;
27733 wxListItem
*arg1
= (wxListItem
*) 0 ;
27734 wxString
*result
= 0 ;
27737 PyObject
*swig_obj
[1] ;
27739 if (!args
) SWIG_fail
;
27740 swig_obj
[0] = args
;
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_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27745 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27746 result
= (wxString
*)& ((arg1
)->m_text
);
27749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27760 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27761 PyObject
*resultobj
= 0;
27762 wxListItem
*arg1
= (wxListItem
*) 0 ;
27768 PyObject
*swig_obj
[2] ;
27770 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27772 if (!SWIG_IsOK(res1
)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27775 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27776 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27777 if (!SWIG_IsOK(ecode2
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27780 arg2
= static_cast< int >(val2
);
27781 if (arg1
) (arg1
)->m_image
= arg2
;
27783 resultobj
= SWIG_Py_Void();
27790 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27791 PyObject
*resultobj
= 0;
27792 wxListItem
*arg1
= (wxListItem
*) 0 ;
27796 PyObject
*swig_obj
[1] ;
27798 if (!args
) SWIG_fail
;
27799 swig_obj
[0] = args
;
27800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27801 if (!SWIG_IsOK(res1
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27804 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27805 result
= (int) ((arg1
)->m_image
);
27806 resultobj
= SWIG_From_int(static_cast< int >(result
));
27813 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27814 PyObject
*resultobj
= 0;
27815 wxListItem
*arg1
= (wxListItem
*) 0 ;
27821 PyObject
*swig_obj
[2] ;
27823 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27825 if (!SWIG_IsOK(res1
)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27828 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27829 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27830 if (!SWIG_IsOK(ecode2
)) {
27831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27833 arg2
= static_cast< long >(val2
);
27834 if (arg1
) (arg1
)->m_data
= arg2
;
27836 resultobj
= SWIG_Py_Void();
27843 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27844 PyObject
*resultobj
= 0;
27845 wxListItem
*arg1
= (wxListItem
*) 0 ;
27849 PyObject
*swig_obj
[1] ;
27851 if (!args
) SWIG_fail
;
27852 swig_obj
[0] = args
;
27853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27857 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27858 result
= (long) ((arg1
)->m_data
);
27859 resultobj
= SWIG_From_long(static_cast< long >(result
));
27866 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27867 PyObject
*resultobj
= 0;
27868 wxListItem
*arg1
= (wxListItem
*) 0 ;
27874 PyObject
*swig_obj
[2] ;
27876 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27878 if (!SWIG_IsOK(res1
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27881 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27882 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27883 if (!SWIG_IsOK(ecode2
)) {
27884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27886 arg2
= static_cast< int >(val2
);
27887 if (arg1
) (arg1
)->m_format
= arg2
;
27889 resultobj
= SWIG_Py_Void();
27896 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27897 PyObject
*resultobj
= 0;
27898 wxListItem
*arg1
= (wxListItem
*) 0 ;
27902 PyObject
*swig_obj
[1] ;
27904 if (!args
) SWIG_fail
;
27905 swig_obj
[0] = args
;
27906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27907 if (!SWIG_IsOK(res1
)) {
27908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27910 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27911 result
= (int) ((arg1
)->m_format
);
27912 resultobj
= SWIG_From_int(static_cast< int >(result
));
27919 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27920 PyObject
*resultobj
= 0;
27921 wxListItem
*arg1
= (wxListItem
*) 0 ;
27927 PyObject
*swig_obj
[2] ;
27929 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27931 if (!SWIG_IsOK(res1
)) {
27932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27934 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27935 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27936 if (!SWIG_IsOK(ecode2
)) {
27937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27939 arg2
= static_cast< int >(val2
);
27940 if (arg1
) (arg1
)->m_width
= arg2
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27950 PyObject
*resultobj
= 0;
27951 wxListItem
*arg1
= (wxListItem
*) 0 ;
27955 PyObject
*swig_obj
[1] ;
27957 if (!args
) SWIG_fail
;
27958 swig_obj
[0] = args
;
27959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27963 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27964 result
= (int) ((arg1
)->m_width
);
27965 resultobj
= SWIG_From_int(static_cast< int >(result
));
27972 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27975 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27976 return SWIG_Py_Void();
27979 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27980 return SWIG_Python_InitShadowInstance(args
);
27983 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
= 0;
27985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27986 int arg2
= (int) 0 ;
27987 wxListEvent
*result
= 0 ;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "commandType",(char *) "id", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28001 if (!SWIG_IsOK(ecode1
)) {
28002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28004 arg1
= static_cast< wxEventType
>(val1
);
28007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28008 if (!SWIG_IsOK(ecode2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28011 arg2
= static_cast< int >(val2
);
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28026 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28027 PyObject
*resultobj
= 0;
28028 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28034 PyObject
*swig_obj
[2] ;
28036 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28041 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28042 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28043 if (!SWIG_IsOK(ecode2
)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28046 arg2
= static_cast< int >(val2
);
28047 if (arg1
) (arg1
)->m_code
= arg2
;
28049 resultobj
= SWIG_Py_Void();
28056 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28057 PyObject
*resultobj
= 0;
28058 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28062 PyObject
*swig_obj
[1] ;
28064 if (!args
) SWIG_fail
;
28065 swig_obj
[0] = args
;
28066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28070 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28071 result
= (int) ((arg1
)->m_code
);
28072 resultobj
= SWIG_From_int(static_cast< int >(result
));
28079 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28080 PyObject
*resultobj
= 0;
28081 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28087 PyObject
*swig_obj
[2] ;
28089 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28091 if (!SWIG_IsOK(res1
)) {
28092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28094 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28095 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28096 if (!SWIG_IsOK(ecode2
)) {
28097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28099 arg2
= static_cast< long >(val2
);
28100 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28102 resultobj
= SWIG_Py_Void();
28109 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28110 PyObject
*resultobj
= 0;
28111 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28115 PyObject
*swig_obj
[1] ;
28117 if (!args
) SWIG_fail
;
28118 swig_obj
[0] = args
;
28119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28123 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28124 result
= (long) ((arg1
)->m_oldItemIndex
);
28125 resultobj
= SWIG_From_long(static_cast< long >(result
));
28132 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28133 PyObject
*resultobj
= 0;
28134 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28140 PyObject
*swig_obj
[2] ;
28142 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28144 if (!SWIG_IsOK(res1
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28147 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28148 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28149 if (!SWIG_IsOK(ecode2
)) {
28150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28152 arg2
= static_cast< long >(val2
);
28153 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28155 resultobj
= SWIG_Py_Void();
28162 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28163 PyObject
*resultobj
= 0;
28164 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28168 PyObject
*swig_obj
[1] ;
28170 if (!args
) SWIG_fail
;
28171 swig_obj
[0] = args
;
28172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28173 if (!SWIG_IsOK(res1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28176 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28177 result
= (long) ((arg1
)->m_itemIndex
);
28178 resultobj
= SWIG_From_long(static_cast< long >(result
));
28185 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28186 PyObject
*resultobj
= 0;
28187 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28193 PyObject
*swig_obj
[2] ;
28195 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28197 if (!SWIG_IsOK(res1
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28200 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28201 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28202 if (!SWIG_IsOK(ecode2
)) {
28203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28205 arg2
= static_cast< int >(val2
);
28206 if (arg1
) (arg1
)->m_col
= arg2
;
28208 resultobj
= SWIG_Py_Void();
28215 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28216 PyObject
*resultobj
= 0;
28217 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28221 PyObject
*swig_obj
[1] ;
28223 if (!args
) SWIG_fail
;
28224 swig_obj
[0] = args
;
28225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28226 if (!SWIG_IsOK(res1
)) {
28227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28229 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28230 result
= (int) ((arg1
)->m_col
);
28231 resultobj
= SWIG_From_int(static_cast< int >(result
));
28238 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 PyObject
*resultobj
= 0;
28240 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28241 wxPoint
*arg2
= (wxPoint
*) 0 ;
28246 PyObject
*swig_obj
[2] ;
28248 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28253 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28254 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28255 if (!SWIG_IsOK(res2
)) {
28256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28258 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28259 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28261 resultobj
= SWIG_Py_Void();
28268 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28269 PyObject
*resultobj
= 0;
28270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28271 wxPoint
*result
= 0 ;
28274 PyObject
*swig_obj
[1] ;
28276 if (!args
) SWIG_fail
;
28277 swig_obj
[0] = args
;
28278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28279 if (!SWIG_IsOK(res1
)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28282 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28283 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28291 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28292 PyObject
*resultobj
= 0;
28293 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28294 wxListItem
*result
= 0 ;
28297 PyObject
*swig_obj
[1] ;
28299 if (!args
) SWIG_fail
;
28300 swig_obj
[0] = args
;
28301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28302 if (!SWIG_IsOK(res1
)) {
28303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28305 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28306 result
= (wxListItem
*)& ((arg1
)->m_item
);
28308 resultobj
= wxPyMake_wxObject(result
, 0);
28316 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28317 PyObject
*resultobj
= 0;
28318 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28322 PyObject
*swig_obj
[1] ;
28324 if (!args
) SWIG_fail
;
28325 swig_obj
[0] = args
;
28326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28327 if (!SWIG_IsOK(res1
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28330 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 result
= (int)(arg1
)->GetKeyCode();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= SWIG_From_int(static_cast< int >(result
));
28344 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28345 PyObject
*resultobj
= 0;
28346 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28350 PyObject
*swig_obj
[1] ;
28352 if (!args
) SWIG_fail
;
28353 swig_obj
[0] = args
;
28354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28355 if (!SWIG_IsOK(res1
)) {
28356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28358 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (long)(arg1
)->GetIndex();
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= SWIG_From_long(static_cast< long >(result
));
28372 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28373 PyObject
*resultobj
= 0;
28374 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28378 PyObject
*swig_obj
[1] ;
28380 if (!args
) SWIG_fail
;
28381 swig_obj
[0] = args
;
28382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28386 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (int)(arg1
)->GetColumn();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28393 resultobj
= SWIG_From_int(static_cast< int >(result
));
28400 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28401 PyObject
*resultobj
= 0;
28402 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28406 PyObject
*swig_obj
[1] ;
28408 if (!args
) SWIG_fail
;
28409 swig_obj
[0] = args
;
28410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28411 if (!SWIG_IsOK(res1
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28414 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (arg1
)->GetPoint();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28428 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28429 PyObject
*resultobj
= 0;
28430 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28431 wxString
*result
= 0 ;
28434 PyObject
*swig_obj
[1] ;
28436 if (!args
) SWIG_fail
;
28437 swig_obj
[0] = args
;
28438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28439 if (!SWIG_IsOK(res1
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28442 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 wxString
const &_result_ref
= (arg1
)->GetLabel();
28447 result
= (wxString
*) &_result_ref
;
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28456 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28465 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(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_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28479 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 wxString
const &_result_ref
= (arg1
)->GetText();
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_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 PyObject
*resultobj
= 0;
28504 wxListEvent
*arg1
= (wxListEvent
*) 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_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28516 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= (int)(arg1
)->GetImage();
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_From_int(static_cast< int >(result
));
28530 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28531 PyObject
*resultobj
= 0;
28532 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28536 PyObject
*swig_obj
[1] ;
28538 if (!args
) SWIG_fail
;
28539 swig_obj
[0] = args
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28544 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= (long)(arg1
)->GetData();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_From_long(static_cast< long >(result
));
28558 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28559 PyObject
*resultobj
= 0;
28560 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28564 PyObject
*swig_obj
[1] ;
28566 if (!args
) SWIG_fail
;
28567 swig_obj
[0] = args
;
28568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28569 if (!SWIG_IsOK(res1
)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28572 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (long)(arg1
)->GetMask();
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_From_long(static_cast< long >(result
));
28586 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28587 PyObject
*resultobj
= 0;
28588 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28589 wxListItem
*result
= 0 ;
28592 PyObject
*swig_obj
[1] ;
28594 if (!args
) SWIG_fail
;
28595 swig_obj
[0] = args
;
28596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28597 if (!SWIG_IsOK(res1
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28600 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28605 result
= (wxListItem
*) &_result_ref
;
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28617 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28618 PyObject
*resultobj
= 0;
28619 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28623 PyObject
*swig_obj
[1] ;
28625 if (!args
) SWIG_fail
;
28626 swig_obj
[0] = args
;
28627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28628 if (!SWIG_IsOK(res1
)) {
28629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28631 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= (long)(arg1
)->GetCacheFrom();
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= SWIG_From_long(static_cast< long >(result
));
28645 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28646 PyObject
*resultobj
= 0;
28647 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28651 PyObject
*swig_obj
[1] ;
28653 if (!args
) SWIG_fail
;
28654 swig_obj
[0] = args
;
28655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28656 if (!SWIG_IsOK(res1
)) {
28657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28659 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= (long)(arg1
)->GetCacheTo();
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_From_long(static_cast< long >(result
));
28673 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28674 PyObject
*resultobj
= 0;
28675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28679 PyObject
*swig_obj
[1] ;
28681 if (!args
) SWIG_fail
;
28682 swig_obj
[0] = args
;
28683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28684 if (!SWIG_IsOK(res1
)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28687 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28703 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
= 0;
28705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char * kwnames
[] = {
28714 (char *) "self",(char *) "editCancelled", NULL
28717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28719 if (!SWIG_IsOK(res1
)) {
28720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28722 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28723 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28724 if (!SWIG_IsOK(ecode2
)) {
28725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28727 arg2
= static_cast< bool >(val2
);
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 (arg1
)->SetEditCanceled(arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_Py_Void();
28741 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28744 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28745 return SWIG_Py_Void();
28748 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28749 return SWIG_Python_InitShadowInstance(args
);
28752 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
= 0;
28754 wxWindow
*arg1
= (wxWindow
*) 0 ;
28755 int arg2
= (int) -1 ;
28756 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28757 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28758 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28759 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28760 long arg5
= (long) wxLC_ICON
;
28761 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28762 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28763 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28764 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28765 wxPyListCtrl
*result
= 0 ;
28776 bool temp7
= false ;
28777 PyObject
* obj0
= 0 ;
28778 PyObject
* obj1
= 0 ;
28779 PyObject
* obj2
= 0 ;
28780 PyObject
* obj3
= 0 ;
28781 PyObject
* obj4
= 0 ;
28782 PyObject
* obj5
= 0 ;
28783 PyObject
* obj6
= 0 ;
28784 char * kwnames
[] = {
28785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28790 if (!SWIG_IsOK(res1
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28796 if (!SWIG_IsOK(ecode2
)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28799 arg2
= static_cast< int >(val2
);
28804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28814 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28815 if (!SWIG_IsOK(ecode5
)) {
28816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28818 arg5
= static_cast< long >(val5
);
28821 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28822 if (!SWIG_IsOK(res6
)) {
28823 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28828 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28832 arg7
= wxString_in_helper(obj6
);
28833 if (arg7
== NULL
) SWIG_fail
;
28838 if (!wxPyCheckForApp()) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28859 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28860 PyObject
*resultobj
= 0;
28861 wxPyListCtrl
*result
= 0 ;
28863 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28865 if (!wxPyCheckForApp()) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28878 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
= 0;
28880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28881 wxWindow
*arg2
= (wxWindow
*) 0 ;
28882 int arg3
= (int) -1 ;
28883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28887 long arg6
= (long) wxLC_ICON
;
28888 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28889 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28890 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28891 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28905 bool temp8
= false ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 PyObject
* obj2
= 0 ;
28909 PyObject
* obj3
= 0 ;
28910 PyObject
* obj4
= 0 ;
28911 PyObject
* obj5
= 0 ;
28912 PyObject
* obj6
= 0 ;
28913 PyObject
* obj7
= 0 ;
28914 char * kwnames
[] = {
28915 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28925 if (!SWIG_IsOK(res2
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28928 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28931 if (!SWIG_IsOK(ecode3
)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28934 arg3
= static_cast< int >(val3
);
28939 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28945 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28949 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28950 if (!SWIG_IsOK(ecode6
)) {
28951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28953 arg6
= static_cast< long >(val6
);
28956 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28957 if (!SWIG_IsOK(res7
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28963 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28967 arg8
= wxString_in_helper(obj7
);
28968 if (arg8
== NULL
) SWIG_fail
;
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28995 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
= 0;
28997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28998 PyObject
*arg2
= (PyObject
*) 0 ;
28999 PyObject
*arg3
= (PyObject
*) 0 ;
29002 PyObject
* obj0
= 0 ;
29003 PyObject
* obj1
= 0 ;
29004 PyObject
* obj2
= 0 ;
29005 char * kwnames
[] = {
29006 (char *) "self",(char *) "self",(char *) "_class", NULL
29009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29014 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= SWIG_Py_Void();
29030 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
= 0;
29032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29034 wxListItem
*result
= 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char * kwnames
[] = {
29042 (char *) "self",(char *) "col", NULL
29045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29047 if (!SWIG_IsOK(res1
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29050 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29052 if (!SWIG_IsOK(ecode2
)) {
29053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29055 arg2
= static_cast< int >(val2
);
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= wxPyMake_wxObject(result
, 0);
29071 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
= 0;
29073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29075 wxListItem
*arg3
= 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 PyObject
* obj2
= 0 ;
29086 char * kwnames
[] = {
29087 (char *) "self",(char *) "col",(char *) "item", NULL
29090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29092 if (!SWIG_IsOK(res1
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29097 if (!SWIG_IsOK(ecode2
)) {
29098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29100 arg2
= static_cast< int >(val2
);
29101 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29102 if (!SWIG_IsOK(res3
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29108 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29124 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
= 0;
29126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 char * kwnames
[] = {
29136 (char *) "self",(char *) "col", NULL
29139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29141 if (!SWIG_IsOK(res1
)) {
29142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29144 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29146 if (!SWIG_IsOK(ecode2
)) {
29147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29149 arg2
= static_cast< int >(val2
);
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29156 resultobj
= SWIG_From_int(static_cast< int >(result
));
29163 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
= 0;
29165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29175 PyObject
* obj0
= 0 ;
29176 PyObject
* obj1
= 0 ;
29177 PyObject
* obj2
= 0 ;
29178 char * kwnames
[] = {
29179 (char *) "self",(char *) "col",(char *) "width", NULL
29182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29184 if (!SWIG_IsOK(res1
)) {
29185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29187 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29189 if (!SWIG_IsOK(ecode2
)) {
29190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29192 arg2
= static_cast< int >(val2
);
29193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29194 if (!SWIG_IsOK(ecode3
)) {
29195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29197 arg3
= static_cast< int >(val3
);
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29213 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29214 PyObject
*resultobj
= 0;
29215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29219 PyObject
*swig_obj
[1] ;
29221 if (!args
) SWIG_fail
;
29222 swig_obj
[0] = args
;
29223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29224 if (!SWIG_IsOK(res1
)) {
29225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29227 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_From_int(static_cast< int >(result
));
29241 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29242 PyObject
*resultobj
= 0;
29243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29247 PyObject
*swig_obj
[1] ;
29249 if (!args
) SWIG_fail
;
29250 swig_obj
[0] = args
;
29251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29269 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29270 PyObject
*resultobj
= 0;
29271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29272 wxTextCtrl
*result
= 0 ;
29275 PyObject
*swig_obj
[1] ;
29277 if (!args
) SWIG_fail
;
29278 swig_obj
[0] = args
;
29279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29280 if (!SWIG_IsOK(res1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= wxPyMake_wxObject(result
, 0);
29299 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
= 0;
29301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29303 int arg3
= (int) 0 ;
29304 wxListItem
*result
= 0 ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 PyObject
* obj2
= 0 ;
29314 char * kwnames
[] = {
29315 (char *) "self",(char *) "itemId",(char *) "col", NULL
29318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29320 if (!SWIG_IsOK(res1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29323 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29324 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29325 if (!SWIG_IsOK(ecode2
)) {
29326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29328 arg2
= static_cast< long >(val2
);
29330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29331 if (!SWIG_IsOK(ecode3
)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29334 arg3
= static_cast< int >(val3
);
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= wxPyMake_wxObject(result
, 0);
29351 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29354 wxListItem
*arg2
= 0 ;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "self",(char *) "info", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29371 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29373 if (!SWIG_IsOK(res2
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29379 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= (bool)(arg1
)->SetItem(*arg2
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29395 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
= 0;
29397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29400 wxString
*arg4
= 0 ;
29401 int arg5
= (int) -1 ;
29409 bool temp4
= false ;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 PyObject
* obj2
= 0 ;
29415 PyObject
* obj3
= 0 ;
29416 PyObject
* obj4
= 0 ;
29417 char * kwnames
[] = {
29418 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29423 if (!SWIG_IsOK(res1
)) {
29424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29426 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29427 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29428 if (!SWIG_IsOK(ecode2
)) {
29429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29431 arg2
= static_cast< long >(val2
);
29432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29433 if (!SWIG_IsOK(ecode3
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29436 arg3
= static_cast< int >(val3
);
29438 arg4
= wxString_in_helper(obj3
);
29439 if (arg4
== NULL
) SWIG_fail
;
29443 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29444 if (!SWIG_IsOK(ecode5
)) {
29445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29447 arg5
= static_cast< int >(val5
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_From_long(static_cast< long >(result
));
29470 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
= 0;
29472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29482 PyObject
* obj0
= 0 ;
29483 PyObject
* obj1
= 0 ;
29484 PyObject
* obj2
= 0 ;
29485 char * kwnames
[] = {
29486 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29491 if (!SWIG_IsOK(res1
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29494 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29495 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29496 if (!SWIG_IsOK(ecode2
)) {
29497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29499 arg2
= static_cast< long >(val2
);
29500 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29501 if (!SWIG_IsOK(ecode3
)) {
29502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29504 arg3
= static_cast< long >(val3
);
29506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29507 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= SWIG_From_int(static_cast< int >(result
));
29518 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
= 0;
29520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 PyObject
* obj2
= 0 ;
29536 PyObject
* obj3
= 0 ;
29537 char * kwnames
[] = {
29538 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29543 if (!SWIG_IsOK(res1
)) {
29544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29546 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29547 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29548 if (!SWIG_IsOK(ecode2
)) {
29549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29551 arg2
= static_cast< long >(val2
);
29552 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29553 if (!SWIG_IsOK(ecode3
)) {
29554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29556 arg3
= static_cast< long >(val3
);
29557 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29558 if (!SWIG_IsOK(ecode4
)) {
29559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29561 arg4
= static_cast< long >(val4
);
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29577 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
= 0;
29579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29582 int arg4
= (int) -1 ;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 PyObject
* obj2
= 0 ;
29595 PyObject
* obj3
= 0 ;
29596 char * kwnames
[] = {
29597 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29602 if (!SWIG_IsOK(res1
)) {
29603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29605 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29606 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29607 if (!SWIG_IsOK(ecode2
)) {
29608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29610 arg2
= static_cast< long >(val2
);
29611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29612 if (!SWIG_IsOK(ecode3
)) {
29613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29615 arg3
= static_cast< int >(val3
);
29617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29618 if (!SWIG_IsOK(ecode4
)) {
29619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29621 arg4
= static_cast< int >(val4
);
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29638 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
= 0;
29640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 PyObject
* obj3
= 0 ;
29657 char * kwnames
[] = {
29658 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29667 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29668 if (!SWIG_IsOK(ecode2
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29671 arg2
= static_cast< long >(val2
);
29672 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29673 if (!SWIG_IsOK(ecode3
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29676 arg3
= static_cast< long >(val3
);
29677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29678 if (!SWIG_IsOK(ecode4
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29681 arg4
= static_cast< int >(val4
);
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "self",(char *) "item", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29717 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29719 if (!SWIG_IsOK(ecode2
)) {
29720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29722 arg2
= static_cast< long >(val2
);
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29742 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
= 0;
29744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29746 wxString
*arg3
= 0 ;
29751 bool temp3
= false ;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 PyObject
* obj2
= 0 ;
29755 char * kwnames
[] = {
29756 (char *) "self",(char *) "item",(char *) "str", NULL
29759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29761 if (!SWIG_IsOK(res1
)) {
29762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29764 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29765 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29766 if (!SWIG_IsOK(ecode2
)) {
29767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29769 arg2
= static_cast< long >(val2
);
29771 arg3
= wxString_in_helper(obj2
);
29772 if (arg3
== NULL
) SWIG_fail
;
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 resultobj
= SWIG_Py_Void();
29796 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
= 0;
29798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char * kwnames
[] = {
29808 (char *) "self",(char *) "item", NULL
29811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29816 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29818 if (!SWIG_IsOK(ecode2
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29821 arg2
= static_cast< long >(val2
);
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_From_long(static_cast< long >(result
));
29835 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
= 0;
29837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 PyObject
* obj2
= 0 ;
29850 char * kwnames
[] = {
29851 (char *) "self",(char *) "item",(char *) "data", NULL
29854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29856 if (!SWIG_IsOK(res1
)) {
29857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29861 if (!SWIG_IsOK(ecode2
)) {
29862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29864 arg2
= static_cast< long >(val2
);
29865 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29866 if (!SWIG_IsOK(ecode3
)) {
29867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29869 arg3
= static_cast< long >(val3
);
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29885 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
= 0;
29887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char * kwnames
[] = {
29897 (char *) "self",(char *) "item", NULL
29900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29905 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29906 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29907 if (!SWIG_IsOK(ecode2
)) {
29908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29910 arg2
= static_cast< long >(val2
);
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29924 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
= 0;
29926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29928 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 PyObject
* obj2
= 0 ;
29939 char * kwnames
[] = {
29940 (char *) "self",(char *) "item",(char *) "code", NULL
29943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29945 if (!SWIG_IsOK(res1
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29948 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29949 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29950 if (!SWIG_IsOK(ecode2
)) {
29951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29953 arg2
= static_cast< long >(val2
);
29955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29956 if (!SWIG_IsOK(ecode3
)) {
29957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29959 arg3
= static_cast< int >(val3
);
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29974 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29975 PyObject
*resultobj
= 0;
29976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29978 wxPoint
*arg3
= 0 ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 PyObject
* obj2
= 0 ;
29988 char * kwnames
[] = {
29989 (char *) "self",(char *) "item",(char *) "pos", NULL
29992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29994 if (!SWIG_IsOK(res1
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29997 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29999 if (!SWIG_IsOK(ecode2
)) {
30000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30002 arg2
= static_cast< long >(val2
);
30005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30022 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30023 PyObject
*resultobj
= 0;
30024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30028 PyObject
*swig_obj
[1] ;
30030 if (!args
) SWIG_fail
;
30031 swig_obj
[0] = args
;
30032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30033 if (!SWIG_IsOK(res1
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30036 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_From_int(static_cast< int >(result
));
30050 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30051 PyObject
*resultobj
= 0;
30052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30056 PyObject
*swig_obj
[1] ;
30058 if (!args
) SWIG_fail
;
30059 swig_obj
[0] = args
;
30060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30061 if (!SWIG_IsOK(res1
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30064 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30071 resultobj
= SWIG_From_int(static_cast< int >(result
));
30078 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30079 PyObject
*resultobj
= 0;
30080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30084 PyObject
*swig_obj
[1] ;
30086 if (!args
) SWIG_fail
;
30087 swig_obj
[0] = args
;
30088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30092 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30106 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
= 0;
30108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30110 bool arg3
= (bool) false ;
30117 PyObject
* obj0
= 0 ;
30118 PyObject
* obj1
= 0 ;
30119 PyObject
* obj2
= 0 ;
30120 char * kwnames
[] = {
30121 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30129 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30131 if (!SWIG_IsOK(ecode2
)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30134 arg2
= static_cast< int >(val2
);
30136 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30137 if (!SWIG_IsOK(ecode3
)) {
30138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30140 arg3
= static_cast< bool >(val3
);
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 (arg1
)->SetItemSpacing(arg2
,arg3
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_Py_Void();
30155 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30156 PyObject
*resultobj
= 0;
30157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30161 PyObject
*swig_obj
[1] ;
30163 if (!args
) SWIG_fail
;
30164 swig_obj
[0] = args
;
30165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 resultobj
= SWIG_From_int(static_cast< int >(result
));
30183 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30184 PyObject
*resultobj
= 0;
30185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30189 PyObject
*swig_obj
[1] ;
30191 if (!args
) SWIG_fail
;
30192 swig_obj
[0] = args
;
30193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30197 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30211 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
= 0;
30213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30214 wxColour
*arg2
= 0 ;
30218 PyObject
* obj0
= 0 ;
30219 PyObject
* obj1
= 0 ;
30220 char * kwnames
[] = {
30221 (char *) "self",(char *) "col", NULL
30224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30226 if (!SWIG_IsOK(res1
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30229 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_Py_Void();
30247 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30248 PyObject
*resultobj
= 0;
30249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30253 PyObject
*swig_obj
[1] ;
30255 if (!args
) SWIG_fail
;
30256 swig_obj
[0] = args
;
30257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30261 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= SWIG_From_long(static_cast< long >(result
));
30275 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
= 0;
30277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30279 bool arg3
= (bool) true ;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 PyObject
* obj2
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "self",(char *) "style",(char *) "add", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30299 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30300 if (!SWIG_IsOK(ecode2
)) {
30301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30303 arg2
= static_cast< long >(val2
);
30305 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30306 if (!SWIG_IsOK(ecode3
)) {
30307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30309 arg3
= static_cast< bool >(val3
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 (arg1
)->SetSingleStyle(arg2
,arg3
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_Py_Void();
30324 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
= 0;
30326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30328 int arg3
= (int) wxLIST_NEXT_ALL
;
30329 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 PyObject
* obj2
= 0 ;
30342 PyObject
* obj3
= 0 ;
30343 char * kwnames
[] = {
30344 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30354 if (!SWIG_IsOK(ecode2
)) {
30355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30357 arg2
= static_cast< long >(val2
);
30359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30360 if (!SWIG_IsOK(ecode3
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30363 arg3
= static_cast< int >(val3
);
30366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30367 if (!SWIG_IsOK(ecode4
)) {
30368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30370 arg4
= static_cast< int >(val4
);
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30375 wxPyEndAllowThreads(__tstate
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= SWIG_From_long(static_cast< long >(result
));
30385 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
= 0;
30387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30389 wxImageList
*result
= 0 ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 char * kwnames
[] = {
30397 (char *) "self",(char *) "which", NULL
30400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30402 if (!SWIG_IsOK(res1
)) {
30403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30405 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30407 if (!SWIG_IsOK(ecode2
)) {
30408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30410 arg2
= static_cast< int >(val2
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30426 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
= 0;
30428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30429 wxImageList
*arg2
= (wxImageList
*) 0 ;
30437 PyObject
* obj0
= 0 ;
30438 PyObject
* obj1
= 0 ;
30439 PyObject
* obj2
= 0 ;
30440 char * kwnames
[] = {
30441 (char *) "self",(char *) "imageList",(char *) "which", NULL
30444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30446 if (!SWIG_IsOK(res1
)) {
30447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30449 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30451 if (!SWIG_IsOK(res2
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30454 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30456 if (!SWIG_IsOK(ecode3
)) {
30457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30459 arg3
= static_cast< int >(val3
);
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 (arg1
)->SetImageList(arg2
,arg3
);
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= SWIG_Py_Void();
30473 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
= 0;
30475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30476 wxImageList
*arg2
= (wxImageList
*) 0 ;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 PyObject
* obj2
= 0 ;
30486 char * kwnames
[] = {
30487 (char *) "self",(char *) "imageList",(char *) "which", NULL
30490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30492 if (!SWIG_IsOK(res1
)) {
30493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30496 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30497 if (!SWIG_IsOK(res2
)) {
30498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30501 if (!SWIG_IsOK(ecode3
)) {
30502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30504 arg3
= static_cast< int >(val3
);
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 (arg1
)->AssignImageList(arg2
,arg3
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_Py_Void();
30518 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30519 PyObject
*resultobj
= 0;
30520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30524 PyObject
*swig_obj
[1] ;
30526 if (!args
) SWIG_fail
;
30527 swig_obj
[0] = args
;
30528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30548 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30549 PyObject
*resultobj
= 0;
30550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30554 PyObject
*swig_obj
[1] ;
30556 if (!args
) SWIG_fail
;
30557 swig_obj
[0] = args
;
30558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30562 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30578 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
= 0;
30580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 char * kwnames
[] = {
30589 (char *) "self",(char *) "item", NULL
30592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30599 if (!SWIG_IsOK(ecode2
)) {
30600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30602 arg2
= static_cast< long >(val2
);
30604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30605 (arg1
)->RefreshItem(arg2
);
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= SWIG_Py_Void();
30616 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
= 0;
30618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30627 PyObject
* obj0
= 0 ;
30628 PyObject
* obj1
= 0 ;
30629 PyObject
* obj2
= 0 ;
30630 char * kwnames
[] = {
30631 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30636 if (!SWIG_IsOK(res1
)) {
30637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30639 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30640 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30641 if (!SWIG_IsOK(ecode2
)) {
30642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30644 arg2
= static_cast< long >(val2
);
30645 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30646 if (!SWIG_IsOK(ecode3
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30649 arg3
= static_cast< long >(val3
);
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 (arg1
)->RefreshItems(arg2
,arg3
);
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= SWIG_Py_Void();
30663 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
= 0;
30665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30666 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char * kwnames
[] = {
30675 (char *) "self",(char *) "flag", NULL
30678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30680 if (!SWIG_IsOK(res1
)) {
30681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30683 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30686 if (!SWIG_IsOK(ecode2
)) {
30687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30689 arg2
= static_cast< int >(val2
);
30692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30693 result
= (bool)(arg1
)->Arrange(arg2
);
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30706 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30707 PyObject
*resultobj
= 0;
30708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 char * kwnames
[] = {
30718 (char *) "self",(char *) "item", NULL
30721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30723 if (!SWIG_IsOK(res1
)) {
30724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30726 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30727 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30728 if (!SWIG_IsOK(ecode2
)) {
30729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30731 arg2
= static_cast< long >(val2
);
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 result
= (bool)(arg1
)->DeleteItem(arg2
);
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30747 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30748 PyObject
*resultobj
= 0;
30749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30753 PyObject
*swig_obj
[1] ;
30755 if (!args
) SWIG_fail
;
30756 swig_obj
[0] = args
;
30757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30761 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 result
= (bool)(arg1
)->DeleteAllItems();
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30777 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
= 0;
30779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char * kwnames
[] = {
30789 (char *) "self",(char *) "col", NULL
30792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30794 if (!SWIG_IsOK(res1
)) {
30795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30797 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30799 if (!SWIG_IsOK(ecode2
)) {
30800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30802 arg2
= static_cast< int >(val2
);
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30818 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30819 PyObject
*resultobj
= 0;
30820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30824 PyObject
*swig_obj
[1] ;
30826 if (!args
) SWIG_fail
;
30827 swig_obj
[0] = args
;
30828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30829 if (!SWIG_IsOK(res1
)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30832 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 result
= (bool)(arg1
)->DeleteAllColumns();
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30848 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30849 PyObject
*resultobj
= 0;
30850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30853 PyObject
*swig_obj
[1] ;
30855 if (!args
) SWIG_fail
;
30856 swig_obj
[0] = args
;
30857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30861 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 (arg1
)->ClearAll();
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_Py_Void();
30875 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
= 0;
30877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30883 PyObject
* obj0
= 0 ;
30884 PyObject
* obj1
= 0 ;
30885 char * kwnames
[] = {
30886 (char *) "self",(char *) "item", NULL
30889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30891 if (!SWIG_IsOK(res1
)) {
30892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30894 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30895 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30896 if (!SWIG_IsOK(ecode2
)) {
30897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30899 arg2
= static_cast< long >(val2
);
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 (arg1
)->EditLabel(arg2
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= SWIG_Py_Void();
30913 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
= 0;
30915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30922 PyObject
* obj0
= 0 ;
30923 PyObject
* obj1
= 0 ;
30924 char * kwnames
[] = {
30925 (char *) "self",(char *) "item", NULL
30928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30933 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30934 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30935 if (!SWIG_IsOK(ecode2
)) {
30936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30938 arg2
= static_cast< long >(val2
);
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30954 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
= 0;
30956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30958 wxString
*arg3
= 0 ;
30959 bool arg4
= (bool) false ;
30965 bool temp3
= false ;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 PyObject
* obj2
= 0 ;
30971 PyObject
* obj3
= 0 ;
30972 char * kwnames
[] = {
30973 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30978 if (!SWIG_IsOK(res1
)) {
30979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30981 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30982 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30983 if (!SWIG_IsOK(ecode2
)) {
30984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30986 arg2
= static_cast< long >(val2
);
30988 arg3
= wxString_in_helper(obj2
);
30989 if (arg3
== NULL
) SWIG_fail
;
30993 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30994 if (!SWIG_IsOK(ecode4
)) {
30995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30997 arg4
= static_cast< bool >(val4
);
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= SWIG_From_long(static_cast< long >(result
));
31020 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= 0;
31022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 PyObject
* obj2
= 0 ;
31035 char * kwnames
[] = {
31036 (char *) "self",(char *) "start",(char *) "data", NULL
31039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31041 if (!SWIG_IsOK(res1
)) {
31042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31044 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31045 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31046 if (!SWIG_IsOK(ecode2
)) {
31047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31049 arg2
= static_cast< long >(val2
);
31050 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31051 if (!SWIG_IsOK(ecode3
)) {
31052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31054 arg3
= static_cast< long >(val3
);
31056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31057 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31058 wxPyEndAllowThreads(__tstate
);
31059 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= SWIG_From_long(static_cast< long >(result
));
31068 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
= 0;
31070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31072 wxPoint
*arg3
= 0 ;
31082 PyObject
* obj0
= 0 ;
31083 PyObject
* obj1
= 0 ;
31084 PyObject
* obj2
= 0 ;
31085 PyObject
* obj3
= 0 ;
31086 char * kwnames
[] = {
31087 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31096 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31097 if (!SWIG_IsOK(ecode2
)) {
31098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31100 arg2
= static_cast< long >(val2
);
31103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31105 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31106 if (!SWIG_IsOK(ecode4
)) {
31107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31109 arg4
= static_cast< int >(val4
);
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 resultobj
= SWIG_From_long(static_cast< long >(result
));
31123 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
= 0;
31125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31126 wxPoint
*arg2
= 0 ;
31133 int res3
= SWIG_TMPOBJ
;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 char * kwnames
[] = {
31137 (char *) "self",(char *) "point", NULL
31141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31143 if (!SWIG_IsOK(res1
)) {
31144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31146 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_From_long(static_cast< long >(result
));
31158 if (SWIG_IsTmpObj(res3
)) {
31159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31161 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31170 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31171 PyObject
*resultobj
= 0;
31172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31173 wxPoint
*arg2
= 0 ;
31175 long *arg4
= (long *) 0 ;
31181 int res3
= SWIG_TMPOBJ
;
31183 int res4
= SWIG_TMPOBJ
;
31184 PyObject
* obj0
= 0 ;
31185 PyObject
* obj1
= 0 ;
31186 char * kwnames
[] = {
31187 (char *) "self",(char *) "point", NULL
31192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31194 if (!SWIG_IsOK(res1
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31197 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= SWIG_From_long(static_cast< long >(result
));
31209 if (SWIG_IsTmpObj(res3
)) {
31210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31212 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31215 if (SWIG_IsTmpObj(res4
)) {
31216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31218 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31227 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
= 0;
31229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31230 wxListItem
*arg2
= 0 ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char * kwnames
[] = {
31239 (char *) "self",(char *) "info", NULL
31242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31244 if (!SWIG_IsOK(res1
)) {
31245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31247 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31249 if (!SWIG_IsOK(res2
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31255 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 result
= (long)(arg1
)->InsertItem(*arg2
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= SWIG_From_long(static_cast< long >(result
));
31269 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
= 0;
31271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31273 wxString
*arg3
= 0 ;
31274 int arg4
= (int) -1 ;
31280 bool temp3
= false ;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 PyObject
* obj2
= 0 ;
31286 PyObject
* obj3
= 0 ;
31287 char * kwnames
[] = {
31288 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31297 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31298 if (!SWIG_IsOK(ecode2
)) {
31299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31301 arg2
= static_cast< long >(val2
);
31303 arg3
= wxString_in_helper(obj2
);
31304 if (arg3
== NULL
) SWIG_fail
;
31308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31309 if (!SWIG_IsOK(ecode4
)) {
31310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31312 arg4
= static_cast< int >(val4
);
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31317 wxPyEndAllowThreads(__tstate
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= SWIG_From_long(static_cast< long >(result
));
31335 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
= 0;
31337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 PyObject
* obj2
= 0 ;
31350 char * kwnames
[] = {
31351 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31356 if (!SWIG_IsOK(res1
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31359 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31360 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31361 if (!SWIG_IsOK(ecode2
)) {
31362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31364 arg2
= static_cast< long >(val2
);
31365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31366 if (!SWIG_IsOK(ecode3
)) {
31367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31369 arg3
= static_cast< int >(val3
);
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= SWIG_From_long(static_cast< long >(result
));
31383 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
= 0;
31385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31387 wxString
*arg3
= 0 ;
31394 bool temp3
= false ;
31397 PyObject
* obj0
= 0 ;
31398 PyObject
* obj1
= 0 ;
31399 PyObject
* obj2
= 0 ;
31400 PyObject
* obj3
= 0 ;
31401 char * kwnames
[] = {
31402 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31407 if (!SWIG_IsOK(res1
)) {
31408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31410 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31411 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31412 if (!SWIG_IsOK(ecode2
)) {
31413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31415 arg2
= static_cast< long >(val2
);
31417 arg3
= wxString_in_helper(obj2
);
31418 if (arg3
== NULL
) SWIG_fail
;
31421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31422 if (!SWIG_IsOK(ecode4
)) {
31423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31425 arg4
= static_cast< int >(val4
);
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31428 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= SWIG_From_long(static_cast< long >(result
));
31447 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
= 0;
31449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31451 wxListItem
*arg3
= 0 ;
31459 PyObject
* obj0
= 0 ;
31460 PyObject
* obj1
= 0 ;
31461 PyObject
* obj2
= 0 ;
31462 char * kwnames
[] = {
31463 (char *) "self",(char *) "col",(char *) "info", NULL
31466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31468 if (!SWIG_IsOK(res1
)) {
31469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31471 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31473 if (!SWIG_IsOK(ecode2
)) {
31474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31476 arg2
= static_cast< long >(val2
);
31477 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31478 if (!SWIG_IsOK(res3
)) {
31479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31484 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 resultobj
= SWIG_From_long(static_cast< long >(result
));
31498 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
= 0;
31500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31502 wxString
*arg3
= 0 ;
31503 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31504 int arg5
= (int) -1 ;
31510 bool temp3
= false ;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 PyObject
* obj2
= 0 ;
31518 PyObject
* obj3
= 0 ;
31519 PyObject
* obj4
= 0 ;
31520 char * kwnames
[] = {
31521 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31526 if (!SWIG_IsOK(res1
)) {
31527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31529 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31530 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31531 if (!SWIG_IsOK(ecode2
)) {
31532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31534 arg2
= static_cast< long >(val2
);
31536 arg3
= wxString_in_helper(obj2
);
31537 if (arg3
== NULL
) SWIG_fail
;
31541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31542 if (!SWIG_IsOK(ecode4
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31545 arg4
= static_cast< int >(val4
);
31548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31549 if (!SWIG_IsOK(ecode5
)) {
31550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31552 arg5
= static_cast< int >(val5
);
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_From_long(static_cast< long >(result
));
31575 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
= 0;
31577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31583 PyObject
* obj0
= 0 ;
31584 PyObject
* obj1
= 0 ;
31585 char * kwnames
[] = {
31586 (char *) "self",(char *) "count", NULL
31589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31591 if (!SWIG_IsOK(res1
)) {
31592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31594 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31595 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31596 if (!SWIG_IsOK(ecode2
)) {
31597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31599 arg2
= static_cast< long >(val2
);
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 (arg1
)->SetItemCount(arg2
);
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 resultobj
= SWIG_Py_Void();
31613 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
= 0;
31615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 PyObject
* obj1
= 0 ;
31627 PyObject
* obj2
= 0 ;
31628 char * kwnames
[] = {
31629 (char *) "self",(char *) "dx",(char *) "dy", NULL
31632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31634 if (!SWIG_IsOK(res1
)) {
31635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31637 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31639 if (!SWIG_IsOK(ecode2
)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31642 arg2
= static_cast< int >(val2
);
31643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31644 if (!SWIG_IsOK(ecode3
)) {
31645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31647 arg3
= static_cast< int >(val3
);
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31663 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31664 PyObject
*resultobj
= 0;
31665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31667 wxColour
*arg3
= 0 ;
31673 PyObject
* obj0
= 0 ;
31674 PyObject
* obj1
= 0 ;
31675 PyObject
* obj2
= 0 ;
31676 char * kwnames
[] = {
31677 (char *) "self",(char *) "item",(char *) "col", NULL
31680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31682 if (!SWIG_IsOK(res1
)) {
31683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31685 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31687 if (!SWIG_IsOK(ecode2
)) {
31688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31690 arg2
= static_cast< long >(val2
);
31693 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 resultobj
= SWIG_Py_Void();
31708 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
= 0;
31710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31717 PyObject
* obj0
= 0 ;
31718 PyObject
* obj1
= 0 ;
31719 char * kwnames
[] = {
31720 (char *) "self",(char *) "item", NULL
31723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31725 if (!SWIG_IsOK(res1
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31730 if (!SWIG_IsOK(ecode2
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31733 arg2
= static_cast< long >(val2
);
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31740 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31747 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31748 PyObject
*resultobj
= 0;
31749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31751 wxColour
*arg3
= 0 ;
31757 PyObject
* obj0
= 0 ;
31758 PyObject
* obj1
= 0 ;
31759 PyObject
* obj2
= 0 ;
31760 char * kwnames
[] = {
31761 (char *) "self",(char *) "item",(char *) "col", NULL
31764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31766 if (!SWIG_IsOK(res1
)) {
31767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31769 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31771 if (!SWIG_IsOK(ecode2
)) {
31772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31774 arg2
= static_cast< long >(val2
);
31777 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31785 resultobj
= SWIG_Py_Void();
31792 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31793 PyObject
*resultobj
= 0;
31794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31801 PyObject
* obj0
= 0 ;
31802 PyObject
* obj1
= 0 ;
31803 char * kwnames
[] = {
31804 (char *) "self",(char *) "item", NULL
31807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31809 if (!SWIG_IsOK(res1
)) {
31810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31812 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31813 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31814 if (!SWIG_IsOK(ecode2
)) {
31815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31817 arg2
= static_cast< long >(val2
);
31819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31831 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31832 PyObject
*resultobj
= 0;
31833 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31842 PyObject
* obj0
= 0 ;
31843 PyObject
* obj1
= 0 ;
31844 PyObject
* obj2
= 0 ;
31845 char * kwnames
[] = {
31846 (char *) "self",(char *) "item",(char *) "f", NULL
31849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31851 if (!SWIG_IsOK(res1
)) {
31852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31854 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31856 if (!SWIG_IsOK(ecode2
)) {
31857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31859 arg2
= static_cast< long >(val2
);
31860 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31861 if (!SWIG_IsOK(res3
)) {
31862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31867 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_Py_Void();
31881 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
= 0;
31883 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31890 PyObject
* obj0
= 0 ;
31891 PyObject
* obj1
= 0 ;
31892 char * kwnames
[] = {
31893 (char *) "self",(char *) "item", NULL
31896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31898 if (!SWIG_IsOK(res1
)) {
31899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31903 if (!SWIG_IsOK(ecode2
)) {
31904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31906 arg2
= static_cast< long >(val2
);
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31920 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
= 0;
31922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31923 PyObject
*arg2
= (PyObject
*) 0 ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 char * kwnames
[] = {
31930 (char *) "self",(char *) "func", NULL
31933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",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_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31938 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31942 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31955 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31956 PyObject
*resultobj
= 0;
31957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31958 wxWindow
*result
= 0 ;
31961 PyObject
*swig_obj
[1] ;
31963 if (!args
) SWIG_fail
;
31964 swig_obj
[0] = args
;
31965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31966 if (!SWIG_IsOK(res1
)) {
31967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= wxPyMake_wxObject(result
, 0);
31985 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
= 0;
31987 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31988 SwigValueWrapper
<wxVisualAttributes
> result
;
31991 PyObject
* obj0
= 0 ;
31992 char * kwnames
[] = {
31993 (char *) "variant", NULL
31996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31999 if (!SWIG_IsOK(ecode1
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32002 arg1
= static_cast< wxWindowVariant
>(val1
);
32005 if (!wxPyCheckForApp()) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32008 wxPyEndAllowThreads(__tstate
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32011 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32018 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32020 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32021 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32022 return SWIG_Py_Void();
32025 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32026 return SWIG_Python_InitShadowInstance(args
);
32029 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32030 PyObject
*resultobj
= 0;
32031 wxWindow
*arg1
= (wxWindow
*) 0 ;
32032 int arg2
= (int) -1 ;
32033 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32034 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32035 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32036 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32037 long arg5
= (long) wxLC_REPORT
;
32038 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32039 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32040 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32041 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32042 wxListView
*result
= 0 ;
32053 bool temp7
= false ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 PyObject
* obj2
= 0 ;
32057 PyObject
* obj3
= 0 ;
32058 PyObject
* obj4
= 0 ;
32059 PyObject
* obj5
= 0 ;
32060 PyObject
* obj6
= 0 ;
32061 char * kwnames
[] = {
32062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32067 if (!SWIG_IsOK(res1
)) {
32068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32073 if (!SWIG_IsOK(ecode2
)) {
32074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32076 arg2
= static_cast< int >(val2
);
32081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32092 if (!SWIG_IsOK(ecode5
)) {
32093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32095 arg5
= static_cast< long >(val5
);
32098 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32099 if (!SWIG_IsOK(res6
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32105 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32109 arg7
= wxString_in_helper(obj6
);
32110 if (arg7
== NULL
) SWIG_fail
;
32115 if (!wxPyCheckForApp()) SWIG_fail
;
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32136 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32137 PyObject
*resultobj
= 0;
32138 wxListView
*result
= 0 ;
32140 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32142 if (!wxPyCheckForApp()) SWIG_fail
;
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 result
= (wxListView
*)new wxListView();
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32155 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
= 0;
32157 wxListView
*arg1
= (wxListView
*) 0 ;
32158 wxWindow
*arg2
= (wxWindow
*) 0 ;
32159 int arg3
= (int) -1 ;
32160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32164 long arg6
= (long) wxLC_REPORT
;
32165 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32166 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32167 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32168 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32182 bool temp8
= false ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 PyObject
* obj2
= 0 ;
32186 PyObject
* obj3
= 0 ;
32187 PyObject
* obj4
= 0 ;
32188 PyObject
* obj5
= 0 ;
32189 PyObject
* obj6
= 0 ;
32190 PyObject
* obj7
= 0 ;
32191 char * kwnames
[] = {
32192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32197 if (!SWIG_IsOK(res1
)) {
32198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32200 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32202 if (!SWIG_IsOK(res2
)) {
32203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32208 if (!SWIG_IsOK(ecode3
)) {
32209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32211 arg3
= static_cast< int >(val3
);
32216 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32222 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32226 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32227 if (!SWIG_IsOK(ecode6
)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32230 arg6
= static_cast< long >(val6
);
32233 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32234 if (!SWIG_IsOK(res7
)) {
32235 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32240 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32244 arg8
= wxString_in_helper(obj7
);
32245 if (arg8
== NULL
) SWIG_fail
;
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32252 wxPyEndAllowThreads(__tstate
);
32253 if (PyErr_Occurred()) SWIG_fail
;
32256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32272 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
= 0;
32274 wxListView
*arg1
= (wxListView
*) 0 ;
32276 bool arg3
= (bool) true ;
32283 PyObject
* obj0
= 0 ;
32284 PyObject
* obj1
= 0 ;
32285 PyObject
* obj2
= 0 ;
32286 char * kwnames
[] = {
32287 (char *) "self",(char *) "n",(char *) "on", NULL
32290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32292 if (!SWIG_IsOK(res1
)) {
32293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32295 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32296 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32297 if (!SWIG_IsOK(ecode2
)) {
32298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32300 arg2
= static_cast< long >(val2
);
32302 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32303 if (!SWIG_IsOK(ecode3
)) {
32304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32306 arg3
= static_cast< bool >(val3
);
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 (arg1
)->Select(arg2
,arg3
);
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 resultobj
= SWIG_Py_Void();
32321 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32322 PyObject
*resultobj
= 0;
32323 wxListView
*arg1
= (wxListView
*) 0 ;
32329 PyObject
* obj0
= 0 ;
32330 PyObject
* obj1
= 0 ;
32331 char * kwnames
[] = {
32332 (char *) "self",(char *) "index", NULL
32335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32337 if (!SWIG_IsOK(res1
)) {
32338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32340 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32341 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32342 if (!SWIG_IsOK(ecode2
)) {
32343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32345 arg2
= static_cast< long >(val2
);
32347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32348 (arg1
)->Focus(arg2
);
32349 wxPyEndAllowThreads(__tstate
);
32350 if (PyErr_Occurred()) SWIG_fail
;
32352 resultobj
= SWIG_Py_Void();
32359 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32360 PyObject
*resultobj
= 0;
32361 wxListView
*arg1
= (wxListView
*) 0 ;
32365 PyObject
*swig_obj
[1] ;
32367 if (!args
) SWIG_fail
;
32368 swig_obj
[0] = args
;
32369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32370 if (!SWIG_IsOK(res1
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32373 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32377 wxPyEndAllowThreads(__tstate
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32380 resultobj
= SWIG_From_long(static_cast< long >(result
));
32387 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32388 PyObject
*resultobj
= 0;
32389 wxListView
*arg1
= (wxListView
*) 0 ;
32396 PyObject
* obj0
= 0 ;
32397 PyObject
* obj1
= 0 ;
32398 char * kwnames
[] = {
32399 (char *) "self",(char *) "item", NULL
32402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32404 if (!SWIG_IsOK(res1
)) {
32405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32407 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32408 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32409 if (!SWIG_IsOK(ecode2
)) {
32410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32412 arg2
= static_cast< long >(val2
);
32414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32415 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= SWIG_From_long(static_cast< long >(result
));
32426 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32427 PyObject
*resultobj
= 0;
32428 wxListView
*arg1
= (wxListView
*) 0 ;
32432 PyObject
*swig_obj
[1] ;
32434 if (!args
) SWIG_fail
;
32435 swig_obj
[0] = args
;
32436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32437 if (!SWIG_IsOK(res1
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32440 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_From_long(static_cast< long >(result
));
32454 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
= 0;
32456 wxListView
*arg1
= (wxListView
*) 0 ;
32463 PyObject
* obj0
= 0 ;
32464 PyObject
* obj1
= 0 ;
32465 char * kwnames
[] = {
32466 (char *) "self",(char *) "index", NULL
32469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32471 if (!SWIG_IsOK(res1
)) {
32472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32474 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32475 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32476 if (!SWIG_IsOK(ecode2
)) {
32477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32479 arg2
= static_cast< long >(val2
);
32481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32482 result
= (bool)(arg1
)->IsSelected(arg2
);
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32495 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32496 PyObject
*resultobj
= 0;
32497 wxListView
*arg1
= (wxListView
*) 0 ;
32506 PyObject
* obj0
= 0 ;
32507 PyObject
* obj1
= 0 ;
32508 PyObject
* obj2
= 0 ;
32509 char * kwnames
[] = {
32510 (char *) "self",(char *) "col",(char *) "image", NULL
32513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32515 if (!SWIG_IsOK(res1
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32518 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32520 if (!SWIG_IsOK(ecode2
)) {
32521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32523 arg2
= static_cast< int >(val2
);
32524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32525 if (!SWIG_IsOK(ecode3
)) {
32526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32528 arg3
= static_cast< int >(val3
);
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32531 (arg1
)->SetColumnImage(arg2
,arg3
);
32532 wxPyEndAllowThreads(__tstate
);
32533 if (PyErr_Occurred()) SWIG_fail
;
32535 resultobj
= SWIG_Py_Void();
32542 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
= 0;
32544 wxListView
*arg1
= (wxListView
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 PyObject
* obj1
= 0 ;
32552 char * kwnames
[] = {
32553 (char *) "self",(char *) "col", NULL
32556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32558 if (!SWIG_IsOK(res1
)) {
32559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32561 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32563 if (!SWIG_IsOK(ecode2
)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32566 arg2
= static_cast< int >(val2
);
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32569 (arg1
)->ClearColumnImage(arg2
);
32570 wxPyEndAllowThreads(__tstate
);
32571 if (PyErr_Occurred()) SWIG_fail
;
32573 resultobj
= SWIG_Py_Void();
32580 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32583 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32584 return SWIG_Py_Void();
32587 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32588 return SWIG_Python_InitShadowInstance(args
);
32591 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32592 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32597 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32598 PyObject
*pyobj
= 0;
32602 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32604 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32611 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32612 PyObject
*resultobj
= 0;
32613 wxTreeItemId
*result
= 0 ;
32615 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32618 result
= (wxTreeItemId
*)new wxTreeItemId();
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32629 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32630 PyObject
*resultobj
= 0;
32631 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32634 PyObject
*swig_obj
[1] ;
32636 if (!args
) SWIG_fail
;
32637 swig_obj
[0] = args
;
32638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32639 if (!SWIG_IsOK(res1
)) {
32640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32642 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 wxPyEndAllowThreads(__tstate
);
32648 if (PyErr_Occurred()) SWIG_fail
;
32650 resultobj
= SWIG_Py_Void();
32657 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32658 PyObject
*resultobj
= 0;
32659 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32663 PyObject
*swig_obj
[1] ;
32665 if (!args
) SWIG_fail
;
32666 swig_obj
[0] = args
;
32667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32668 if (!SWIG_IsOK(res1
)) {
32669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32671 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32687 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32688 PyObject
*resultobj
= 0;
32689 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32690 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32696 PyObject
* obj0
= 0 ;
32697 PyObject
* obj1
= 0 ;
32698 char * kwnames
[] = {
32699 (char *) "self",(char *) "other", NULL
32702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32704 if (!SWIG_IsOK(res1
)) {
32705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32707 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32709 if (!SWIG_IsOK(res2
)) {
32710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32712 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32728 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32729 PyObject
*resultobj
= 0;
32730 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32731 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 char * kwnames
[] = {
32740 (char *) "self",(char *) "other", NULL
32743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32745 if (!SWIG_IsOK(res1
)) {
32746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32748 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32750 if (!SWIG_IsOK(res2
)) {
32751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32753 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32757 wxPyEndAllowThreads(__tstate
);
32758 if (PyErr_Occurred()) SWIG_fail
;
32761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32769 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32770 PyObject
*resultobj
= 0;
32771 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32772 void *arg2
= (void *) 0 ;
32776 PyObject
*swig_obj
[2] ;
32778 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32780 if (!SWIG_IsOK(res1
)) {
32781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32783 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32784 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32785 if (!SWIG_IsOK(res2
)) {
32786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32788 if (arg1
) (arg1
)->m_pItem
= arg2
;
32790 resultobj
= SWIG_Py_Void();
32797 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32798 PyObject
*resultobj
= 0;
32799 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32803 PyObject
*swig_obj
[1] ;
32805 if (!args
) SWIG_fail
;
32806 swig_obj
[0] = args
;
32807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32808 if (!SWIG_IsOK(res1
)) {
32809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32811 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32812 result
= (void *) ((arg1
)->m_pItem
);
32813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32820 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32823 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32824 return SWIG_Py_Void();
32827 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32828 return SWIG_Python_InitShadowInstance(args
);
32831 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
= 0;
32833 PyObject
*arg1
= (PyObject
*) NULL
;
32834 wxPyTreeItemData
*result
= 0 ;
32835 PyObject
* obj0
= 0 ;
32836 char * kwnames
[] = {
32837 (char *) "obj", NULL
32840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32846 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32857 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32858 PyObject
*resultobj
= 0;
32859 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32862 PyObject
*swig_obj
[1] ;
32864 if (!args
) SWIG_fail
;
32865 swig_obj
[0] = args
;
32866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32867 if (!SWIG_IsOK(res1
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32870 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= SWIG_Py_Void();
32885 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32886 PyObject
*resultobj
= 0;
32887 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32888 PyObject
*result
= 0 ;
32891 PyObject
*swig_obj
[1] ;
32893 if (!args
) SWIG_fail
;
32894 swig_obj
[0] = args
;
32895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32896 if (!SWIG_IsOK(res1
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32899 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= (PyObject
*)(arg1
)->GetData();
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= result
;
32913 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32914 PyObject
*resultobj
= 0;
32915 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32916 PyObject
*arg2
= (PyObject
*) 0 ;
32919 PyObject
* obj0
= 0 ;
32920 PyObject
* obj1
= 0 ;
32921 char * kwnames
[] = {
32922 (char *) "self",(char *) "obj", NULL
32925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32927 if (!SWIG_IsOK(res1
)) {
32928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32930 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32934 (arg1
)->SetData(arg2
);
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= SWIG_Py_Void();
32945 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32946 PyObject
*resultobj
= 0;
32947 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32948 wxTreeItemId
*result
= 0 ;
32951 PyObject
*swig_obj
[1] ;
32953 if (!args
) SWIG_fail
;
32954 swig_obj
[0] = args
;
32955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32956 if (!SWIG_IsOK(res1
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32959 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32963 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32964 result
= (wxTreeItemId
*) &_result_ref
;
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32976 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
= 0;
32978 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32979 wxTreeItemId
*arg2
= 0 ;
32984 PyObject
* obj0
= 0 ;
32985 PyObject
* obj1
= 0 ;
32986 char * kwnames
[] = {
32987 (char *) "self",(char *) "id", NULL
32990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32992 if (!SWIG_IsOK(res1
)) {
32993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32995 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32997 if (!SWIG_IsOK(res2
)) {
32998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_Py_Void();
33017 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33018 PyObject
*resultobj
= 0;
33019 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33022 PyObject
*swig_obj
[1] ;
33024 if (!args
) SWIG_fail
;
33025 swig_obj
[0] = args
;
33026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33027 if (!SWIG_IsOK(res1
)) {
33028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33030 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 wxPyTreeItemData_Destroy(arg1
);
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_Py_Void();
33044 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33048 return SWIG_Py_Void();
33051 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33052 return SWIG_Python_InitShadowInstance(args
);
33055 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33058 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33059 if (!SWIG_IsOK(res
)) {
33060 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33065 wxTreeItemId
* temp
;
33066 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33067 wxNullTreeItemId
= *temp
;
33068 if (SWIG_IsNewObj(res
)) delete temp
;
33077 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33078 PyObject
*pyobj
= 0;
33080 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33085 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33086 PyObject
*resultobj
= 0;
33087 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33088 int arg2
= (int) 0 ;
33089 wxTreeEvent
*result
= 0 ;
33095 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33097 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33098 if (!SWIG_IsOK(ecode1
)) {
33099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33101 arg1
= static_cast< wxEventType
>(val1
);
33104 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33105 if (!SWIG_IsOK(ecode2
)) {
33106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33108 arg2
= static_cast< int >(val2
);
33111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33112 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33123 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33124 PyObject
*resultobj
= 0;
33126 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33127 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33128 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33129 wxTreeEvent
*result
= 0 ;
33137 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33138 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33139 if (!SWIG_IsOK(ecode1
)) {
33140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33142 arg1
= static_cast< wxEventType
>(val1
);
33143 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33144 if (!SWIG_IsOK(res2
)) {
33145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33147 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33149 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33150 if (!SWIG_IsOK(res3
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33156 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33171 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33175 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33177 if ((argc
>= 0) && (argc
<= 2)) {
33182 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33183 _v
= SWIG_CheckState(res
);
33186 if (!_v
) goto check_1
;
33188 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33192 if ((argc
>= 2) && (argc
<= 3)) {
33193 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33202 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33203 PyObject
*resultobj
= 0;
33204 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33205 wxTreeItemId result
;
33208 PyObject
*swig_obj
[1] ;
33210 if (!args
) SWIG_fail
;
33211 swig_obj
[0] = args
;
33212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33213 if (!SWIG_IsOK(res1
)) {
33214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33216 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33219 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33220 wxPyEndAllowThreads(__tstate
);
33221 if (PyErr_Occurred()) SWIG_fail
;
33223 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33230 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33231 PyObject
*resultobj
= 0;
33232 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33233 wxTreeItemId
*arg2
= 0 ;
33238 PyObject
* obj0
= 0 ;
33239 PyObject
* obj1
= 0 ;
33240 char * kwnames
[] = {
33241 (char *) "self",(char *) "item", NULL
33244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33246 if (!SWIG_IsOK(res1
)) {
33247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33249 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33251 if (!SWIG_IsOK(res2
)) {
33252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33257 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33260 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33264 resultobj
= SWIG_Py_Void();
33271 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33272 PyObject
*resultobj
= 0;
33273 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33274 wxTreeItemId result
;
33277 PyObject
*swig_obj
[1] ;
33279 if (!args
) SWIG_fail
;
33280 swig_obj
[0] = args
;
33281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33282 if (!SWIG_IsOK(res1
)) {
33283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33285 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33289 wxPyEndAllowThreads(__tstate
);
33290 if (PyErr_Occurred()) SWIG_fail
;
33292 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33299 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33300 PyObject
*resultobj
= 0;
33301 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33302 wxTreeItemId
*arg2
= 0 ;
33307 PyObject
* obj0
= 0 ;
33308 PyObject
* obj1
= 0 ;
33309 char * kwnames
[] = {
33310 (char *) "self",(char *) "item", NULL
33313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33315 if (!SWIG_IsOK(res1
)) {
33316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33318 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33320 if (!SWIG_IsOK(res2
)) {
33321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33326 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_Py_Void();
33340 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33341 PyObject
*resultobj
= 0;
33342 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33346 PyObject
*swig_obj
[1] ;
33348 if (!args
) SWIG_fail
;
33349 swig_obj
[0] = args
;
33350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33351 if (!SWIG_IsOK(res1
)) {
33352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33354 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33361 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33368 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33369 PyObject
*resultobj
= 0;
33370 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33371 wxPoint
*arg2
= 0 ;
33375 PyObject
* obj0
= 0 ;
33376 PyObject
* obj1
= 0 ;
33377 char * kwnames
[] = {
33378 (char *) "self",(char *) "pt", NULL
33381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33383 if (!SWIG_IsOK(res1
)) {
33384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33386 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33394 wxPyEndAllowThreads(__tstate
);
33395 if (PyErr_Occurred()) SWIG_fail
;
33397 resultobj
= SWIG_Py_Void();
33404 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33405 PyObject
*resultobj
= 0;
33406 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33407 wxKeyEvent
*result
= 0 ;
33410 PyObject
*swig_obj
[1] ;
33412 if (!args
) SWIG_fail
;
33413 swig_obj
[0] = args
;
33414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33415 if (!SWIG_IsOK(res1
)) {
33416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33418 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33423 result
= (wxKeyEvent
*) &_result_ref
;
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33435 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33436 PyObject
*resultobj
= 0;
33437 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33441 PyObject
*swig_obj
[1] ;
33443 if (!args
) SWIG_fail
;
33444 swig_obj
[0] = args
;
33445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33446 if (!SWIG_IsOK(res1
)) {
33447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33449 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= SWIG_From_int(static_cast< int >(result
));
33463 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
= 0;
33465 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33466 wxKeyEvent
*arg2
= 0 ;
33471 PyObject
* obj0
= 0 ;
33472 PyObject
* obj1
= 0 ;
33473 char * kwnames
[] = {
33474 (char *) "self",(char *) "evt", NULL
33477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33479 if (!SWIG_IsOK(res1
)) {
33480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33482 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33484 if (!SWIG_IsOK(res2
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33490 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33493 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33494 wxPyEndAllowThreads(__tstate
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33497 resultobj
= SWIG_Py_Void();
33504 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33505 PyObject
*resultobj
= 0;
33506 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33507 wxString
*result
= 0 ;
33510 PyObject
*swig_obj
[1] ;
33512 if (!args
) SWIG_fail
;
33513 swig_obj
[0] = args
;
33514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33515 if (!SWIG_IsOK(res1
)) {
33516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33518 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33522 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33523 result
= (wxString
*) &_result_ref
;
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33541 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33542 PyObject
*resultobj
= 0;
33543 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33544 wxString
*arg2
= 0 ;
33547 bool temp2
= false ;
33548 PyObject
* obj0
= 0 ;
33549 PyObject
* obj1
= 0 ;
33550 char * kwnames
[] = {
33551 (char *) "self",(char *) "label", NULL
33554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33559 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33561 arg2
= wxString_in_helper(obj1
);
33562 if (arg2
== NULL
) SWIG_fail
;
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 (arg1
)->SetLabel((wxString
const &)*arg2
);
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= SWIG_Py_Void();
33586 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33587 PyObject
*resultobj
= 0;
33588 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33592 PyObject
*swig_obj
[1] ;
33594 if (!args
) SWIG_fail
;
33595 swig_obj
[0] = args
;
33596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33597 if (!SWIG_IsOK(res1
)) {
33598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33600 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33616 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
= 0;
33618 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33624 PyObject
* obj0
= 0 ;
33625 PyObject
* obj1
= 0 ;
33626 char * kwnames
[] = {
33627 (char *) "self",(char *) "editCancelled", NULL
33630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33632 if (!SWIG_IsOK(res1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33635 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33636 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33637 if (!SWIG_IsOK(ecode2
)) {
33638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33640 arg2
= static_cast< bool >(val2
);
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 (arg1
)->SetEditCanceled(arg2
);
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= SWIG_Py_Void();
33654 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
= 0;
33656 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33657 wxString
*arg2
= 0 ;
33660 bool temp2
= false ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 char * kwnames
[] = {
33664 (char *) "self",(char *) "toolTip", NULL
33667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",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_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33672 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33674 arg2
= wxString_in_helper(obj1
);
33675 if (arg2
== NULL
) SWIG_fail
;
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= SWIG_Py_Void();
33699 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33700 PyObject
*resultobj
= 0;
33701 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33705 PyObject
*swig_obj
[1] ;
33707 if (!args
) SWIG_fail
;
33708 swig_obj
[0] = args
;
33709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33710 if (!SWIG_IsOK(res1
)) {
33711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33713 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33716 result
= (arg1
)->GetToolTip();
33717 wxPyEndAllowThreads(__tstate
);
33718 if (PyErr_Occurred()) SWIG_fail
;
33722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33733 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33736 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33737 return SWIG_Py_Void();
33740 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33741 return SWIG_Python_InitShadowInstance(args
);
33744 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33745 PyObject
*resultobj
= 0;
33746 wxWindow
*arg1
= (wxWindow
*) 0 ;
33747 int arg2
= (int) -1 ;
33748 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33749 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33750 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33751 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33752 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33753 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33754 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33755 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33757 wxPyTreeCtrl
*result
= 0 ;
33768 bool temp7
= false ;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 PyObject
* obj2
= 0 ;
33772 PyObject
* obj3
= 0 ;
33773 PyObject
* obj4
= 0 ;
33774 PyObject
* obj5
= 0 ;
33775 PyObject
* obj6
= 0 ;
33776 char * kwnames
[] = {
33777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33788 if (!SWIG_IsOK(ecode2
)) {
33789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33791 arg2
= static_cast< int >(val2
);
33796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33806 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33807 if (!SWIG_IsOK(ecode5
)) {
33808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33810 arg5
= static_cast< long >(val5
);
33813 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33814 if (!SWIG_IsOK(res6
)) {
33815 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33820 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33824 arg7
= wxString_in_helper(obj6
);
33825 if (arg7
== NULL
) SWIG_fail
;
33830 if (!wxPyCheckForApp()) SWIG_fail
;
33831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33832 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33851 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33852 PyObject
*resultobj
= 0;
33853 wxPyTreeCtrl
*result
= 0 ;
33855 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33857 if (!wxPyCheckForApp()) SWIG_fail
;
33858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33859 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33860 wxPyEndAllowThreads(__tstate
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33870 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33871 PyObject
*resultobj
= 0;
33872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33873 wxWindow
*arg2
= (wxWindow
*) 0 ;
33874 int arg3
= (int) -1 ;
33875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33879 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33880 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33881 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33882 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33883 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33897 bool temp8
= false ;
33898 PyObject
* obj0
= 0 ;
33899 PyObject
* obj1
= 0 ;
33900 PyObject
* obj2
= 0 ;
33901 PyObject
* obj3
= 0 ;
33902 PyObject
* obj4
= 0 ;
33903 PyObject
* obj5
= 0 ;
33904 PyObject
* obj6
= 0 ;
33905 PyObject
* obj7
= 0 ;
33906 char * kwnames
[] = {
33907 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33912 if (!SWIG_IsOK(res1
)) {
33913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33915 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33916 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33917 if (!SWIG_IsOK(res2
)) {
33918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33920 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33923 if (!SWIG_IsOK(ecode3
)) {
33924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33926 arg3
= static_cast< int >(val3
);
33931 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33937 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33941 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33942 if (!SWIG_IsOK(ecode6
)) {
33943 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33945 arg6
= static_cast< long >(val6
);
33948 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33949 if (!SWIG_IsOK(res7
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33955 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33959 arg8
= wxString_in_helper(obj7
);
33960 if (arg8
== NULL
) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33987 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33988 PyObject
*resultobj
= 0;
33989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33990 PyObject
*arg2
= (PyObject
*) 0 ;
33991 PyObject
*arg3
= (PyObject
*) 0 ;
33994 PyObject
* obj0
= 0 ;
33995 PyObject
* obj1
= 0 ;
33996 PyObject
* obj2
= 0 ;
33997 char * kwnames
[] = {
33998 (char *) "self",(char *) "self",(char *) "_class", NULL
34001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34003 if (!SWIG_IsOK(res1
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34006 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= SWIG_Py_Void();
34022 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34023 PyObject
*resultobj
= 0;
34024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34025 unsigned int result
;
34028 PyObject
*swig_obj
[1] ;
34030 if (!args
) SWIG_fail
;
34031 swig_obj
[0] = args
;
34032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34033 if (!SWIG_IsOK(res1
)) {
34034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34036 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34043 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34050 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34051 PyObject
*resultobj
= 0;
34052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34053 unsigned int result
;
34056 PyObject
*swig_obj
[1] ;
34058 if (!args
) SWIG_fail
;
34059 swig_obj
[0] = args
;
34060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34061 if (!SWIG_IsOK(res1
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34078 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
= 0;
34080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34081 unsigned int arg2
;
34084 unsigned int val2
;
34086 PyObject
* obj0
= 0 ;
34087 PyObject
* obj1
= 0 ;
34088 char * kwnames
[] = {
34089 (char *) "self",(char *) "indent", NULL
34092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34094 if (!SWIG_IsOK(res1
)) {
34095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34097 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34098 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34099 if (!SWIG_IsOK(ecode2
)) {
34100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34102 arg2
= static_cast< unsigned int >(val2
);
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->SetIndent(arg2
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_Py_Void();
34116 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34117 PyObject
*resultobj
= 0;
34118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34119 unsigned int result
;
34122 PyObject
*swig_obj
[1] ;
34124 if (!args
) SWIG_fail
;
34125 swig_obj
[0] = args
;
34126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34127 if (!SWIG_IsOK(res1
)) {
34128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34137 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34144 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
= 0;
34146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34147 unsigned int arg2
;
34150 unsigned int val2
;
34152 PyObject
* obj0
= 0 ;
34153 PyObject
* obj1
= 0 ;
34154 char * kwnames
[] = {
34155 (char *) "self",(char *) "spacing", NULL
34158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34160 if (!SWIG_IsOK(res1
)) {
34161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34163 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34164 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34165 if (!SWIG_IsOK(ecode2
)) {
34166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34168 arg2
= static_cast< unsigned int >(val2
);
34170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34171 (arg1
)->SetSpacing(arg2
);
34172 wxPyEndAllowThreads(__tstate
);
34173 if (PyErr_Occurred()) SWIG_fail
;
34175 resultobj
= SWIG_Py_Void();
34182 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34183 PyObject
*resultobj
= 0;
34184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34185 wxImageList
*result
= 0 ;
34188 PyObject
*swig_obj
[1] ;
34190 if (!args
) SWIG_fail
;
34191 swig_obj
[0] = args
;
34192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34193 if (!SWIG_IsOK(res1
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34196 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34199 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34200 wxPyEndAllowThreads(__tstate
);
34201 if (PyErr_Occurred()) SWIG_fail
;
34204 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34212 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34213 PyObject
*resultobj
= 0;
34214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34215 wxImageList
*result
= 0 ;
34218 PyObject
*swig_obj
[1] ;
34220 if (!args
) SWIG_fail
;
34221 swig_obj
[0] = args
;
34222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34223 if (!SWIG_IsOK(res1
)) {
34224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34226 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34229 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34230 wxPyEndAllowThreads(__tstate
);
34231 if (PyErr_Occurred()) SWIG_fail
;
34234 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34242 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
= 0;
34244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34245 wxImageList
*arg2
= (wxImageList
*) 0 ;
34250 PyObject
* obj0
= 0 ;
34251 PyObject
* obj1
= 0 ;
34252 char * kwnames
[] = {
34253 (char *) "self",(char *) "imageList", NULL
34256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34258 if (!SWIG_IsOK(res1
)) {
34259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34261 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34263 if (!SWIG_IsOK(res2
)) {
34264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34266 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 (arg1
)->SetImageList(arg2
);
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34273 resultobj
= SWIG_Py_Void();
34280 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34281 PyObject
*resultobj
= 0;
34282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34283 wxImageList
*arg2
= (wxImageList
*) 0 ;
34288 PyObject
* obj0
= 0 ;
34289 PyObject
* obj1
= 0 ;
34290 char * kwnames
[] = {
34291 (char *) "self",(char *) "imageList", NULL
34294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34296 if (!SWIG_IsOK(res1
)) {
34297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34301 if (!SWIG_IsOK(res2
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34304 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 (arg1
)->SetStateImageList(arg2
);
34308 wxPyEndAllowThreads(__tstate
);
34309 if (PyErr_Occurred()) SWIG_fail
;
34311 resultobj
= SWIG_Py_Void();
34318 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34319 PyObject
*resultobj
= 0;
34320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34321 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_AssignImageList",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_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34336 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34337 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34338 if (!SWIG_IsOK(res2
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 (arg1
)->AssignImageList(arg2
);
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34347 resultobj
= SWIG_Py_Void();
34354 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
= 0;
34356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34357 wxImageList
*arg2
= (wxImageList
*) 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 char * kwnames
[] = {
34364 (char *) "self",(char *) "imageList", NULL
34367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34369 if (!SWIG_IsOK(res1
)) {
34370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34373 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34374 if (!SWIG_IsOK(res2
)) {
34375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 (arg1
)->AssignStateImageList(arg2
);
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34383 resultobj
= SWIG_Py_Void();
34390 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34391 PyObject
*resultobj
= 0;
34392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34393 wxTreeItemId
*arg2
= 0 ;
34399 PyObject
* obj0
= 0 ;
34400 PyObject
* obj1
= 0 ;
34401 char * kwnames
[] = {
34402 (char *) "self",(char *) "item", NULL
34405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34407 if (!SWIG_IsOK(res1
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34410 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34412 if (!SWIG_IsOK(res2
)) {
34413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34418 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34438 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
= 0;
34440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34441 wxTreeItemId
*arg2
= 0 ;
34442 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34450 PyObject
* obj0
= 0 ;
34451 PyObject
* obj1
= 0 ;
34452 PyObject
* obj2
= 0 ;
34453 char * kwnames
[] = {
34454 (char *) "self",(char *) "item",(char *) "which", NULL
34457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34459 if (!SWIG_IsOK(res1
)) {
34460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34462 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34464 if (!SWIG_IsOK(res2
)) {
34465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34473 if (!SWIG_IsOK(ecode3
)) {
34474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34476 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34481 wxPyEndAllowThreads(__tstate
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= SWIG_From_int(static_cast< int >(result
));
34491 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
= 0;
34493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34494 wxTreeItemId
*arg2
= 0 ;
34495 wxPyTreeItemData
*result
= 0 ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 char * kwnames
[] = {
34503 (char *) "self",(char *) "item", NULL
34506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34508 if (!SWIG_IsOK(res1
)) {
34509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34511 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34513 if (!SWIG_IsOK(res2
)) {
34514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34519 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34522 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34523 wxPyEndAllowThreads(__tstate
);
34524 if (PyErr_Occurred()) SWIG_fail
;
34526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34533 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34534 PyObject
*resultobj
= 0;
34535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34536 wxTreeItemId
*arg2
= 0 ;
34537 PyObject
*result
= 0 ;
34542 PyObject
* obj0
= 0 ;
34543 PyObject
* obj1
= 0 ;
34544 char * kwnames
[] = {
34545 (char *) "self",(char *) "item", NULL
34548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34550 if (!SWIG_IsOK(res1
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34553 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34555 if (!SWIG_IsOK(res2
)) {
34556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34561 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34568 resultobj
= result
;
34575 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
= 0;
34577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34578 wxTreeItemId
*arg2
= 0 ;
34584 PyObject
* obj0
= 0 ;
34585 PyObject
* obj1
= 0 ;
34586 char * kwnames
[] = {
34587 (char *) "self",(char *) "item", NULL
34590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34592 if (!SWIG_IsOK(res1
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34597 if (!SWIG_IsOK(res2
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34603 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34607 wxPyEndAllowThreads(__tstate
);
34608 if (PyErr_Occurred()) SWIG_fail
;
34610 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34617 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34618 PyObject
*resultobj
= 0;
34619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34620 wxTreeItemId
*arg2
= 0 ;
34626 PyObject
* obj0
= 0 ;
34627 PyObject
* obj1
= 0 ;
34628 char * kwnames
[] = {
34629 (char *) "self",(char *) "item", NULL
34632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34634 if (!SWIG_IsOK(res1
)) {
34635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34639 if (!SWIG_IsOK(res2
)) {
34640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34645 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34649 wxPyEndAllowThreads(__tstate
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34659 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34660 PyObject
*resultobj
= 0;
34661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34662 wxTreeItemId
*arg2
= 0 ;
34668 PyObject
* obj0
= 0 ;
34669 PyObject
* obj1
= 0 ;
34670 char * kwnames
[] = {
34671 (char *) "self",(char *) "item", NULL
34674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34676 if (!SWIG_IsOK(res1
)) {
34677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34681 if (!SWIG_IsOK(res2
)) {
34682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34687 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34701 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
= 0;
34703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34704 wxTreeItemId
*arg2
= 0 ;
34705 wxString
*arg3
= 0 ;
34710 bool temp3
= false ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 PyObject
* obj2
= 0 ;
34714 char * kwnames
[] = {
34715 (char *) "self",(char *) "item",(char *) "text", NULL
34718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34723 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34725 if (!SWIG_IsOK(res2
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34731 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34733 arg3
= wxString_in_helper(obj2
);
34734 if (arg3
== NULL
) SWIG_fail
;
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34740 wxPyEndAllowThreads(__tstate
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 resultobj
= SWIG_Py_Void();
34758 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
= 0;
34760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34761 wxTreeItemId
*arg2
= 0 ;
34763 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34772 PyObject
* obj0
= 0 ;
34773 PyObject
* obj1
= 0 ;
34774 PyObject
* obj2
= 0 ;
34775 PyObject
* obj3
= 0 ;
34776 char * kwnames
[] = {
34777 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34782 if (!SWIG_IsOK(res1
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34785 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34787 if (!SWIG_IsOK(res2
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34793 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34795 if (!SWIG_IsOK(ecode3
)) {
34796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34798 arg3
= static_cast< int >(val3
);
34800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34801 if (!SWIG_IsOK(ecode4
)) {
34802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34804 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= SWIG_Py_Void();
34819 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34820 PyObject
*resultobj
= 0;
34821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34822 wxTreeItemId
*arg2
= 0 ;
34823 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 PyObject
* obj1
= 0 ;
34831 PyObject
* obj2
= 0 ;
34832 char * kwnames
[] = {
34833 (char *) "self",(char *) "item",(char *) "data", NULL
34836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34838 if (!SWIG_IsOK(res1
)) {
34839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34841 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34843 if (!SWIG_IsOK(res2
)) {
34844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34850 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34851 if (!SWIG_IsOK(res3
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34856 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34857 wxPyEndAllowThreads(__tstate
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34860 resultobj
= SWIG_Py_Void();
34867 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34868 PyObject
*resultobj
= 0;
34869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34870 wxTreeItemId
*arg2
= 0 ;
34871 PyObject
*arg3
= (PyObject
*) 0 ;
34876 PyObject
* obj0
= 0 ;
34877 PyObject
* obj1
= 0 ;
34878 PyObject
* obj2
= 0 ;
34879 char * kwnames
[] = {
34880 (char *) "self",(char *) "item",(char *) "obj", NULL
34883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34885 if (!SWIG_IsOK(res1
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34888 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34890 if (!SWIG_IsOK(res2
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34896 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34900 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 resultobj
= SWIG_Py_Void();
34911 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34912 PyObject
*resultobj
= 0;
34913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34914 wxTreeItemId
*arg2
= 0 ;
34915 bool arg3
= (bool) true ;
34922 PyObject
* obj0
= 0 ;
34923 PyObject
* obj1
= 0 ;
34924 PyObject
* obj2
= 0 ;
34925 char * kwnames
[] = {
34926 (char *) "self",(char *) "item",(char *) "has", NULL
34929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34931 if (!SWIG_IsOK(res1
)) {
34932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34934 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34936 if (!SWIG_IsOK(res2
)) {
34937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34942 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34944 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34945 if (!SWIG_IsOK(ecode3
)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34948 arg3
= static_cast< bool >(val3
);
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= SWIG_Py_Void();
34963 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34964 PyObject
*resultobj
= 0;
34965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34966 wxTreeItemId
*arg2
= 0 ;
34967 bool arg3
= (bool) true ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 char * kwnames
[] = {
34978 (char *) "self",(char *) "item",(char *) "bold", NULL
34981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34983 if (!SWIG_IsOK(res1
)) {
34984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34986 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34988 if (!SWIG_IsOK(res2
)) {
34989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34994 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34996 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34997 if (!SWIG_IsOK(ecode3
)) {
34998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35000 arg3
= static_cast< bool >(val3
);
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35004 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35005 wxPyEndAllowThreads(__tstate
);
35006 if (PyErr_Occurred()) SWIG_fail
;
35008 resultobj
= SWIG_Py_Void();
35015 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35016 PyObject
*resultobj
= 0;
35017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35018 wxTreeItemId
*arg2
= 0 ;
35019 bool arg3
= (bool) true ;
35026 PyObject
* obj0
= 0 ;
35027 PyObject
* obj1
= 0 ;
35028 PyObject
* obj2
= 0 ;
35029 char * kwnames
[] = {
35030 (char *) "self",(char *) "item",(char *) "highlight", NULL
35033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35035 if (!SWIG_IsOK(res1
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35038 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35040 if (!SWIG_IsOK(res2
)) {
35041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35046 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35048 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35049 if (!SWIG_IsOK(ecode3
)) {
35050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35052 arg3
= static_cast< bool >(val3
);
35055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35056 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35060 resultobj
= SWIG_Py_Void();
35067 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35068 PyObject
*resultobj
= 0;
35069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35070 wxTreeItemId
*arg2
= 0 ;
35071 wxColour
*arg3
= 0 ;
35077 PyObject
* obj0
= 0 ;
35078 PyObject
* obj1
= 0 ;
35079 PyObject
* obj2
= 0 ;
35080 char * kwnames
[] = {
35081 (char *) "self",(char *) "item",(char *) "col", NULL
35084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35086 if (!SWIG_IsOK(res1
)) {
35087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35089 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35091 if (!SWIG_IsOK(res2
)) {
35092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35097 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35100 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35104 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35105 wxPyEndAllowThreads(__tstate
);
35106 if (PyErr_Occurred()) SWIG_fail
;
35108 resultobj
= SWIG_Py_Void();
35115 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35116 PyObject
*resultobj
= 0;
35117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35118 wxTreeItemId
*arg2
= 0 ;
35119 wxColour
*arg3
= 0 ;
35125 PyObject
* obj0
= 0 ;
35126 PyObject
* obj1
= 0 ;
35127 PyObject
* obj2
= 0 ;
35128 char * kwnames
[] = {
35129 (char *) "self",(char *) "item",(char *) "col", NULL
35132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35134 if (!SWIG_IsOK(res1
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35137 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35139 if (!SWIG_IsOK(res2
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35145 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35148 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35153 wxPyEndAllowThreads(__tstate
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35156 resultobj
= SWIG_Py_Void();
35163 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35164 PyObject
*resultobj
= 0;
35165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35166 wxTreeItemId
*arg2
= 0 ;
35174 PyObject
* obj0
= 0 ;
35175 PyObject
* obj1
= 0 ;
35176 PyObject
* obj2
= 0 ;
35177 char * kwnames
[] = {
35178 (char *) "self",(char *) "item",(char *) "font", NULL
35181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35183 if (!SWIG_IsOK(res1
)) {
35184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35186 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35188 if (!SWIG_IsOK(res2
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35194 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35195 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35196 if (!SWIG_IsOK(res3
)) {
35197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35202 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35205 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35209 resultobj
= SWIG_Py_Void();
35216 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35217 PyObject
*resultobj
= 0;
35218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35219 wxTreeItemId
*arg2
= 0 ;
35225 PyObject
* obj0
= 0 ;
35226 PyObject
* obj1
= 0 ;
35227 char * kwnames
[] = {
35228 (char *) "self",(char *) "item", NULL
35231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35233 if (!SWIG_IsOK(res1
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35236 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35238 if (!SWIG_IsOK(res2
)) {
35239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35244 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35247 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35260 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
= 0;
35262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35263 wxTreeItemId
*arg2
= 0 ;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 char * kwnames
[] = {
35272 (char *) "self",(char *) "item", NULL
35275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35280 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35282 if (!SWIG_IsOK(res2
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35288 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35292 wxPyEndAllowThreads(__tstate
);
35293 if (PyErr_Occurred()) SWIG_fail
;
35296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35304 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35305 PyObject
*resultobj
= 0;
35306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35307 wxTreeItemId
*arg2
= 0 ;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 char * kwnames
[] = {
35316 (char *) "self",(char *) "item", NULL
35319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35321 if (!SWIG_IsOK(res1
)) {
35322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35324 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35326 if (!SWIG_IsOK(res2
)) {
35327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35332 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35348 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35349 PyObject
*resultobj
= 0;
35350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35351 wxTreeItemId
*arg2
= 0 ;
35357 PyObject
* obj0
= 0 ;
35358 PyObject
* obj1
= 0 ;
35359 char * kwnames
[] = {
35360 (char *) "self",(char *) "item", NULL
35363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35365 if (!SWIG_IsOK(res1
)) {
35366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35368 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35370 if (!SWIG_IsOK(res2
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35376 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35392 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35393 PyObject
*resultobj
= 0;
35394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35395 wxTreeItemId
*arg2
= 0 ;
35401 PyObject
* obj0
= 0 ;
35402 PyObject
* obj1
= 0 ;
35403 char * kwnames
[] = {
35404 (char *) "self",(char *) "item", NULL
35407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35409 if (!SWIG_IsOK(res1
)) {
35410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35412 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35414 if (!SWIG_IsOK(res2
)) {
35415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35420 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35423 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35424 wxPyEndAllowThreads(__tstate
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35436 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
= 0;
35438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35439 wxTreeItemId
*arg2
= 0 ;
35440 bool arg3
= (bool) true ;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 PyObject
* obj2
= 0 ;
35451 char * kwnames
[] = {
35452 (char *) "self",(char *) "item",(char *) "recursively", NULL
35455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35457 if (!SWIG_IsOK(res1
)) {
35458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35462 if (!SWIG_IsOK(res2
)) {
35463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35468 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35470 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35471 if (!SWIG_IsOK(ecode3
)) {
35472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35474 arg3
= static_cast< bool >(val3
);
35477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35478 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35479 wxPyEndAllowThreads(__tstate
);
35480 if (PyErr_Occurred()) SWIG_fail
;
35482 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35489 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35490 PyObject
*resultobj
= 0;
35491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35492 wxTreeItemId result
;
35495 PyObject
*swig_obj
[1] ;
35497 if (!args
) SWIG_fail
;
35498 swig_obj
[0] = args
;
35499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35500 if (!SWIG_IsOK(res1
)) {
35501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35503 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35506 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35510 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35517 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35518 PyObject
*resultobj
= 0;
35519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35520 wxTreeItemId result
;
35523 PyObject
*swig_obj
[1] ;
35525 if (!args
) SWIG_fail
;
35526 swig_obj
[0] = args
;
35527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35528 if (!SWIG_IsOK(res1
)) {
35529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35531 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35538 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35545 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35546 PyObject
*resultobj
= 0;
35547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35548 PyObject
*result
= 0 ;
35551 PyObject
*swig_obj
[1] ;
35553 if (!args
) SWIG_fail
;
35554 swig_obj
[0] = args
;
35555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35556 if (!SWIG_IsOK(res1
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35559 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35562 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35563 wxPyEndAllowThreads(__tstate
);
35564 if (PyErr_Occurred()) SWIG_fail
;
35566 resultobj
= result
;
35573 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35574 PyObject
*resultobj
= 0;
35575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35576 wxTreeItemId
*arg2
= 0 ;
35577 wxTreeItemId result
;
35582 PyObject
* obj0
= 0 ;
35583 PyObject
* obj1
= 0 ;
35584 char * kwnames
[] = {
35585 (char *) "self",(char *) "item", NULL
35588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35590 if (!SWIG_IsOK(res1
)) {
35591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35593 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35595 if (!SWIG_IsOK(res2
)) {
35596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35601 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35604 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35605 wxPyEndAllowThreads(__tstate
);
35606 if (PyErr_Occurred()) SWIG_fail
;
35608 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35615 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35616 PyObject
*resultobj
= 0;
35617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35618 wxTreeItemId
*arg2
= 0 ;
35619 PyObject
*result
= 0 ;
35624 PyObject
* obj0
= 0 ;
35625 PyObject
* obj1
= 0 ;
35626 char * kwnames
[] = {
35627 (char *) "self",(char *) "item", NULL
35630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35632 if (!SWIG_IsOK(res1
)) {
35633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35635 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35637 if (!SWIG_IsOK(res2
)) {
35638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35643 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35646 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35647 wxPyEndAllowThreads(__tstate
);
35648 if (PyErr_Occurred()) SWIG_fail
;
35650 resultobj
= result
;
35657 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35658 PyObject
*resultobj
= 0;
35659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35660 wxTreeItemId
*arg2
= 0 ;
35661 void *arg3
= (void *) 0 ;
35662 PyObject
*result
= 0 ;
35668 PyObject
* obj0
= 0 ;
35669 PyObject
* obj1
= 0 ;
35670 PyObject
* obj2
= 0 ;
35671 char * kwnames
[] = {
35672 (char *) "self",(char *) "item",(char *) "cookie", NULL
35675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35677 if (!SWIG_IsOK(res1
)) {
35678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35680 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35682 if (!SWIG_IsOK(res2
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35688 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35689 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35690 if (!SWIG_IsOK(res3
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35695 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35696 wxPyEndAllowThreads(__tstate
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35699 resultobj
= result
;
35706 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35707 PyObject
*resultobj
= 0;
35708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35709 wxTreeItemId
*arg2
= 0 ;
35710 wxTreeItemId result
;
35715 PyObject
* obj0
= 0 ;
35716 PyObject
* obj1
= 0 ;
35717 char * kwnames
[] = {
35718 (char *) "self",(char *) "item", NULL
35721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35723 if (!SWIG_IsOK(res1
)) {
35724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35726 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35728 if (!SWIG_IsOK(res2
)) {
35729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35734 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35748 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
= 0;
35750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35751 wxTreeItemId
*arg2
= 0 ;
35752 wxTreeItemId result
;
35757 PyObject
* obj0
= 0 ;
35758 PyObject
* obj1
= 0 ;
35759 char * kwnames
[] = {
35760 (char *) "self",(char *) "item", NULL
35763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35765 if (!SWIG_IsOK(res1
)) {
35766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35768 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35770 if (!SWIG_IsOK(res2
)) {
35771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35776 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35780 wxPyEndAllowThreads(__tstate
);
35781 if (PyErr_Occurred()) SWIG_fail
;
35783 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35790 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35791 PyObject
*resultobj
= 0;
35792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35793 wxTreeItemId
*arg2
= 0 ;
35794 wxTreeItemId result
;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 char * kwnames
[] = {
35802 (char *) "self",(char *) "item", NULL
35805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35807 if (!SWIG_IsOK(res1
)) {
35808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35812 if (!SWIG_IsOK(res2
)) {
35813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35821 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35832 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35833 PyObject
*resultobj
= 0;
35834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35835 wxTreeItemId result
;
35838 PyObject
*swig_obj
[1] ;
35840 if (!args
) SWIG_fail
;
35841 swig_obj
[0] = args
;
35842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35843 if (!SWIG_IsOK(res1
)) {
35844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35846 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35850 wxPyEndAllowThreads(__tstate
);
35851 if (PyErr_Occurred()) SWIG_fail
;
35853 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35860 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35861 PyObject
*resultobj
= 0;
35862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35863 wxTreeItemId
*arg2
= 0 ;
35864 wxTreeItemId result
;
35869 PyObject
* obj0
= 0 ;
35870 PyObject
* obj1
= 0 ;
35871 char * kwnames
[] = {
35872 (char *) "self",(char *) "item", NULL
35875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35877 if (!SWIG_IsOK(res1
)) {
35878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35880 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35882 if (!SWIG_IsOK(res2
)) {
35883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35888 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35891 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35902 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35903 PyObject
*resultobj
= 0;
35904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35905 wxTreeItemId
*arg2
= 0 ;
35906 wxTreeItemId result
;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 char * kwnames
[] = {
35914 (char *) "self",(char *) "item", NULL
35917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35919 if (!SWIG_IsOK(res1
)) {
35920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35924 if (!SWIG_IsOK(res2
)) {
35925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35930 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35937 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35944 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35945 PyObject
*resultobj
= 0;
35946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35947 wxString
*arg2
= 0 ;
35948 int arg3
= (int) -1 ;
35949 int arg4
= (int) -1 ;
35950 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35951 wxTreeItemId result
;
35954 bool temp2
= false ;
35960 PyObject
* obj0
= 0 ;
35961 PyObject
* obj1
= 0 ;
35962 PyObject
* obj2
= 0 ;
35963 PyObject
* obj3
= 0 ;
35964 PyObject
* obj4
= 0 ;
35965 char * kwnames
[] = {
35966 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35971 if (!SWIG_IsOK(res1
)) {
35972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35974 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35976 arg2
= wxString_in_helper(obj1
);
35977 if (arg2
== NULL
) SWIG_fail
;
35981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35982 if (!SWIG_IsOK(ecode3
)) {
35983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35985 arg3
= static_cast< int >(val3
);
35988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35989 if (!SWIG_IsOK(ecode4
)) {
35990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35992 arg4
= static_cast< int >(val4
);
35995 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35996 if (!SWIG_IsOK(res5
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36002 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36003 wxPyEndAllowThreads(__tstate
);
36004 if (PyErr_Occurred()) SWIG_fail
;
36006 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36021 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
= 0;
36023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36024 wxTreeItemId
*arg2
= 0 ;
36025 wxString
*arg3
= 0 ;
36026 int arg4
= (int) -1 ;
36027 int arg5
= (int) -1 ;
36028 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36029 wxTreeItemId result
;
36034 bool temp3
= false ;
36040 PyObject
* obj0
= 0 ;
36041 PyObject
* obj1
= 0 ;
36042 PyObject
* obj2
= 0 ;
36043 PyObject
* obj3
= 0 ;
36044 PyObject
* obj4
= 0 ;
36045 PyObject
* obj5
= 0 ;
36046 char * kwnames
[] = {
36047 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36052 if (!SWIG_IsOK(res1
)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36057 if (!SWIG_IsOK(res2
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36065 arg3
= wxString_in_helper(obj2
);
36066 if (arg3
== NULL
) SWIG_fail
;
36070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36071 if (!SWIG_IsOK(ecode4
)) {
36072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36074 arg4
= static_cast< int >(val4
);
36077 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36078 if (!SWIG_IsOK(ecode5
)) {
36079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36081 arg5
= static_cast< int >(val5
);
36084 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36085 if (!SWIG_IsOK(res6
)) {
36086 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36110 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
= 0;
36112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36113 wxTreeItemId
*arg2
= 0 ;
36114 wxTreeItemId
*arg3
= 0 ;
36115 wxString
*arg4
= 0 ;
36116 int arg5
= (int) -1 ;
36117 int arg6
= (int) -1 ;
36118 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36119 wxTreeItemId result
;
36126 bool temp4
= false ;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 PyObject
* obj2
= 0 ;
36135 PyObject
* obj3
= 0 ;
36136 PyObject
* obj4
= 0 ;
36137 PyObject
* obj5
= 0 ;
36138 PyObject
* obj6
= 0 ;
36139 char * kwnames
[] = {
36140 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36145 if (!SWIG_IsOK(res1
)) {
36146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36150 if (!SWIG_IsOK(res2
)) {
36151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36157 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36158 if (!SWIG_IsOK(res3
)) {
36159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36164 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36166 arg4
= wxString_in_helper(obj3
);
36167 if (arg4
== NULL
) SWIG_fail
;
36171 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36172 if (!SWIG_IsOK(ecode5
)) {
36173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36175 arg5
= static_cast< int >(val5
);
36178 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36179 if (!SWIG_IsOK(ecode6
)) {
36180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36182 arg6
= static_cast< int >(val6
);
36185 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36186 if (!SWIG_IsOK(res7
)) {
36187 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36192 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36193 wxPyEndAllowThreads(__tstate
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36196 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36211 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36212 PyObject
*resultobj
= 0;
36213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36214 wxTreeItemId
*arg2
= 0 ;
36216 wxString
*arg4
= 0 ;
36217 int arg5
= (int) -1 ;
36218 int arg6
= (int) -1 ;
36219 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36220 wxTreeItemId result
;
36227 bool temp4
= false ;
36233 PyObject
* obj0
= 0 ;
36234 PyObject
* obj1
= 0 ;
36235 PyObject
* obj2
= 0 ;
36236 PyObject
* obj3
= 0 ;
36237 PyObject
* obj4
= 0 ;
36238 PyObject
* obj5
= 0 ;
36239 PyObject
* obj6
= 0 ;
36240 char * kwnames
[] = {
36241 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36246 if (!SWIG_IsOK(res1
)) {
36247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36249 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36251 if (!SWIG_IsOK(res2
)) {
36252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36257 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36258 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36259 if (!SWIG_IsOK(ecode3
)) {
36260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36262 arg3
= static_cast< size_t >(val3
);
36264 arg4
= wxString_in_helper(obj3
);
36265 if (arg4
== NULL
) SWIG_fail
;
36269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36270 if (!SWIG_IsOK(ecode5
)) {
36271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36273 arg5
= static_cast< int >(val5
);
36276 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36277 if (!SWIG_IsOK(ecode6
)) {
36278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36280 arg6
= static_cast< int >(val6
);
36283 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36284 if (!SWIG_IsOK(res7
)) {
36285 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36290 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36291 wxPyEndAllowThreads(__tstate
);
36292 if (PyErr_Occurred()) SWIG_fail
;
36294 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36309 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36310 PyObject
*resultobj
= 0;
36311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36312 wxTreeItemId
*arg2
= 0 ;
36313 wxString
*arg3
= 0 ;
36314 int arg4
= (int) -1 ;
36315 int arg5
= (int) -1 ;
36316 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36317 wxTreeItemId result
;
36322 bool temp3
= false ;
36328 PyObject
* obj0
= 0 ;
36329 PyObject
* obj1
= 0 ;
36330 PyObject
* obj2
= 0 ;
36331 PyObject
* obj3
= 0 ;
36332 PyObject
* obj4
= 0 ;
36333 PyObject
* obj5
= 0 ;
36334 char * kwnames
[] = {
36335 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36340 if (!SWIG_IsOK(res1
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36345 if (!SWIG_IsOK(res2
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36351 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36353 arg3
= wxString_in_helper(obj2
);
36354 if (arg3
== NULL
) SWIG_fail
;
36358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36359 if (!SWIG_IsOK(ecode4
)) {
36360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36362 arg4
= static_cast< int >(val4
);
36365 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36366 if (!SWIG_IsOK(ecode5
)) {
36367 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36369 arg5
= static_cast< int >(val5
);
36372 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36373 if (!SWIG_IsOK(res6
)) {
36374 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36379 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36380 wxPyEndAllowThreads(__tstate
);
36381 if (PyErr_Occurred()) SWIG_fail
;
36383 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36398 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36399 PyObject
*resultobj
= 0;
36400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36401 wxTreeItemId
*arg2
= 0 ;
36406 PyObject
* obj0
= 0 ;
36407 PyObject
* obj1
= 0 ;
36408 char * kwnames
[] = {
36409 (char *) "self",(char *) "item", NULL
36412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36414 if (!SWIG_IsOK(res1
)) {
36415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36417 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36419 if (!SWIG_IsOK(res2
)) {
36420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36425 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36432 resultobj
= SWIG_Py_Void();
36439 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36440 PyObject
*resultobj
= 0;
36441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36442 wxTreeItemId
*arg2
= 0 ;
36447 PyObject
* obj0
= 0 ;
36448 PyObject
* obj1
= 0 ;
36449 char * kwnames
[] = {
36450 (char *) "self",(char *) "item", NULL
36453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36455 if (!SWIG_IsOK(res1
)) {
36456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36458 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36460 if (!SWIG_IsOK(res2
)) {
36461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36466 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36469 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36470 wxPyEndAllowThreads(__tstate
);
36471 if (PyErr_Occurred()) SWIG_fail
;
36473 resultobj
= SWIG_Py_Void();
36480 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36481 PyObject
*resultobj
= 0;
36482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36485 PyObject
*swig_obj
[1] ;
36487 if (!args
) SWIG_fail
;
36488 swig_obj
[0] = args
;
36489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36490 if (!SWIG_IsOK(res1
)) {
36491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36493 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36496 (arg1
)->DeleteAllItems();
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36500 resultobj
= SWIG_Py_Void();
36507 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36508 PyObject
*resultobj
= 0;
36509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36510 wxTreeItemId
*arg2
= 0 ;
36515 PyObject
* obj0
= 0 ;
36516 PyObject
* obj1
= 0 ;
36517 char * kwnames
[] = {
36518 (char *) "self",(char *) "item", NULL
36521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36523 if (!SWIG_IsOK(res1
)) {
36524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36528 if (!SWIG_IsOK(res2
)) {
36529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36534 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_Py_Void();
36548 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
= 0;
36550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36551 wxTreeItemId
*arg2
= 0 ;
36556 PyObject
* obj0
= 0 ;
36557 PyObject
* obj1
= 0 ;
36558 char * kwnames
[] = {
36559 (char *) "self",(char *) "item", NULL
36562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36564 if (!SWIG_IsOK(res1
)) {
36565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36567 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36569 if (!SWIG_IsOK(res2
)) {
36570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36575 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36578 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36579 wxPyEndAllowThreads(__tstate
);
36580 if (PyErr_Occurred()) SWIG_fail
;
36582 resultobj
= SWIG_Py_Void();
36589 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36590 PyObject
*resultobj
= 0;
36591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36594 PyObject
*swig_obj
[1] ;
36596 if (!args
) SWIG_fail
;
36597 swig_obj
[0] = args
;
36598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36599 if (!SWIG_IsOK(res1
)) {
36600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36605 (arg1
)->ExpandAll();
36606 wxPyEndAllowThreads(__tstate
);
36607 if (PyErr_Occurred()) SWIG_fail
;
36609 resultobj
= SWIG_Py_Void();
36616 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36617 PyObject
*resultobj
= 0;
36618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36619 wxTreeItemId
*arg2
= 0 ;
36624 PyObject
* obj0
= 0 ;
36625 PyObject
* obj1
= 0 ;
36626 char * kwnames
[] = {
36627 (char *) "self",(char *) "item", NULL
36630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36632 if (!SWIG_IsOK(res1
)) {
36633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36635 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36637 if (!SWIG_IsOK(res2
)) {
36638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36643 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36646 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36647 wxPyEndAllowThreads(__tstate
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36650 resultobj
= SWIG_Py_Void();
36657 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36658 PyObject
*resultobj
= 0;
36659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36660 wxTreeItemId
*arg2
= 0 ;
36665 PyObject
* obj0
= 0 ;
36666 PyObject
* obj1
= 0 ;
36667 char * kwnames
[] = {
36668 (char *) "self",(char *) "item", NULL
36671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36673 if (!SWIG_IsOK(res1
)) {
36674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36676 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36678 if (!SWIG_IsOK(res2
)) {
36679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36684 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36687 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36688 wxPyEndAllowThreads(__tstate
);
36689 if (PyErr_Occurred()) SWIG_fail
;
36691 resultobj
= SWIG_Py_Void();
36698 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36699 PyObject
*resultobj
= 0;
36700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36701 wxTreeItemId
*arg2
= 0 ;
36706 PyObject
* obj0
= 0 ;
36707 PyObject
* obj1
= 0 ;
36708 char * kwnames
[] = {
36709 (char *) "self",(char *) "item", NULL
36712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36714 if (!SWIG_IsOK(res1
)) {
36715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36717 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36719 if (!SWIG_IsOK(res2
)) {
36720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36725 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 resultobj
= SWIG_Py_Void();
36739 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36740 PyObject
*resultobj
= 0;
36741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36744 PyObject
*swig_obj
[1] ;
36746 if (!args
) SWIG_fail
;
36747 swig_obj
[0] = args
;
36748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36752 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36755 (arg1
)->Unselect();
36756 wxPyEndAllowThreads(__tstate
);
36757 if (PyErr_Occurred()) SWIG_fail
;
36759 resultobj
= SWIG_Py_Void();
36766 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36767 PyObject
*resultobj
= 0;
36768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36769 wxTreeItemId
*arg2
= 0 ;
36774 PyObject
* obj0
= 0 ;
36775 PyObject
* obj1
= 0 ;
36776 char * kwnames
[] = {
36777 (char *) "self",(char *) "item", NULL
36780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36782 if (!SWIG_IsOK(res1
)) {
36783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36785 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36787 if (!SWIG_IsOK(res2
)) {
36788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36793 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36796 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36797 wxPyEndAllowThreads(__tstate
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36800 resultobj
= SWIG_Py_Void();
36807 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36808 PyObject
*resultobj
= 0;
36809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36812 PyObject
*swig_obj
[1] ;
36814 if (!args
) SWIG_fail
;
36815 swig_obj
[0] = args
;
36816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36817 if (!SWIG_IsOK(res1
)) {
36818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36820 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36823 (arg1
)->UnselectAll();
36824 wxPyEndAllowThreads(__tstate
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36827 resultobj
= SWIG_Py_Void();
36834 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36835 PyObject
*resultobj
= 0;
36836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36837 wxTreeItemId
*arg2
= 0 ;
36838 bool arg3
= (bool) true ;
36845 PyObject
* obj0
= 0 ;
36846 PyObject
* obj1
= 0 ;
36847 PyObject
* obj2
= 0 ;
36848 char * kwnames
[] = {
36849 (char *) "self",(char *) "item",(char *) "select", NULL
36852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36854 if (!SWIG_IsOK(res1
)) {
36855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36857 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36859 if (!SWIG_IsOK(res2
)) {
36860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36865 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36867 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36868 if (!SWIG_IsOK(ecode3
)) {
36869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36871 arg3
= static_cast< bool >(val3
);
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36876 wxPyEndAllowThreads(__tstate
);
36877 if (PyErr_Occurred()) SWIG_fail
;
36879 resultobj
= SWIG_Py_Void();
36886 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36887 PyObject
*resultobj
= 0;
36888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36889 wxTreeItemId
*arg2
= 0 ;
36894 PyObject
* obj0
= 0 ;
36895 PyObject
* obj1
= 0 ;
36896 char * kwnames
[] = {
36897 (char *) "self",(char *) "item", NULL
36900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36902 if (!SWIG_IsOK(res1
)) {
36903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36905 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36907 if (!SWIG_IsOK(res2
)) {
36908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36913 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 resultobj
= SWIG_Py_Void();
36927 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
= 0;
36929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36930 wxTreeItemId
*arg2
= 0 ;
36935 PyObject
* obj0
= 0 ;
36936 PyObject
* obj1
= 0 ;
36937 char * kwnames
[] = {
36938 (char *) "self",(char *) "item", NULL
36941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36943 if (!SWIG_IsOK(res1
)) {
36944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36946 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36948 if (!SWIG_IsOK(res2
)) {
36949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36954 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36957 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36958 wxPyEndAllowThreads(__tstate
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36961 resultobj
= SWIG_Py_Void();
36968 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36969 PyObject
*resultobj
= 0;
36970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36971 wxTreeItemId
*arg2
= 0 ;
36976 PyObject
* obj0
= 0 ;
36977 PyObject
* obj1
= 0 ;
36978 char * kwnames
[] = {
36979 (char *) "self",(char *) "item", NULL
36982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36984 if (!SWIG_IsOK(res1
)) {
36985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36989 if (!SWIG_IsOK(res2
)) {
36990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36995 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36999 wxPyEndAllowThreads(__tstate
);
37000 if (PyErr_Occurred()) SWIG_fail
;
37002 resultobj
= SWIG_Py_Void();
37009 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37010 PyObject
*resultobj
= 0;
37011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37012 wxTreeItemId
*arg2
= 0 ;
37017 PyObject
* obj0
= 0 ;
37018 PyObject
* obj1
= 0 ;
37019 char * kwnames
[] = {
37020 (char *) "self",(char *) "item", NULL
37023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37025 if (!SWIG_IsOK(res1
)) {
37026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37028 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37030 if (!SWIG_IsOK(res2
)) {
37031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37036 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37040 wxPyEndAllowThreads(__tstate
);
37041 if (PyErr_Occurred()) SWIG_fail
;
37043 resultobj
= SWIG_Py_Void();
37050 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37051 PyObject
*resultobj
= 0;
37052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37053 wxTextCtrl
*result
= 0 ;
37056 PyObject
*swig_obj
[1] ;
37058 if (!args
) SWIG_fail
;
37059 swig_obj
[0] = args
;
37060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37061 if (!SWIG_IsOK(res1
)) {
37062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37067 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= wxPyMake_wxObject(result
, 0);
37080 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
= 0;
37082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37083 wxTreeItemId
*arg2
= 0 ;
37088 PyObject
* obj0
= 0 ;
37089 PyObject
* obj1
= 0 ;
37090 char * kwnames
[] = {
37091 (char *) "self",(char *) "item", NULL
37094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37096 if (!SWIG_IsOK(res1
)) {
37097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37099 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37101 if (!SWIG_IsOK(res2
)) {
37102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37107 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= SWIG_Py_Void();
37121 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37122 PyObject
*resultobj
= 0;
37123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37124 wxPoint
*arg2
= 0 ;
37126 wxTreeItemId result
;
37131 int res3
= SWIG_TMPOBJ
;
37132 PyObject
* obj0
= 0 ;
37133 PyObject
* obj1
= 0 ;
37134 char * kwnames
[] = {
37135 (char *) "self",(char *) "point", NULL
37139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37141 if (!SWIG_IsOK(res1
)) {
37142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37144 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37151 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37152 wxPyEndAllowThreads(__tstate
);
37153 if (PyErr_Occurred()) SWIG_fail
;
37155 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37156 if (SWIG_IsTmpObj(res3
)) {
37157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37159 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37168 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
= 0;
37170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37171 wxTreeItemId
*arg2
= 0 ;
37172 bool arg3
= (bool) false ;
37173 PyObject
*result
= 0 ;
37180 PyObject
* obj0
= 0 ;
37181 PyObject
* obj1
= 0 ;
37182 PyObject
* obj2
= 0 ;
37183 char * kwnames
[] = {
37184 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37189 if (!SWIG_IsOK(res1
)) {
37190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37192 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37194 if (!SWIG_IsOK(res2
)) {
37195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37200 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37202 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37203 if (!SWIG_IsOK(ecode3
)) {
37204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37206 arg3
= static_cast< bool >(val3
);
37209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37210 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37211 wxPyEndAllowThreads(__tstate
);
37212 if (PyErr_Occurred()) SWIG_fail
;
37214 resultobj
= result
;
37221 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37222 PyObject
*resultobj
= 0;
37223 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37224 SwigValueWrapper
<wxVisualAttributes
> result
;
37227 PyObject
* obj0
= 0 ;
37228 char * kwnames
[] = {
37229 (char *) "variant", NULL
37232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37235 if (!SWIG_IsOK(ecode1
)) {
37236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37238 arg1
= static_cast< wxWindowVariant
>(val1
);
37241 if (!wxPyCheckForApp()) SWIG_fail
;
37242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37243 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37247 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37254 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
= 0;
37256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37262 PyObject
* obj0
= 0 ;
37263 PyObject
* obj1
= 0 ;
37264 char * kwnames
[] = {
37265 (char *) "self",(char *) "q", NULL
37268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37270 if (!SWIG_IsOK(res1
)) {
37271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37273 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37275 if (!SWIG_IsOK(ecode2
)) {
37276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37278 arg2
= static_cast< bool >(val2
);
37280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37281 (arg1
)->SetQuickBestSize(arg2
);
37282 wxPyEndAllowThreads(__tstate
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 resultobj
= SWIG_Py_Void();
37292 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37293 PyObject
*resultobj
= 0;
37294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37298 PyObject
*swig_obj
[1] ;
37300 if (!args
) SWIG_fail
;
37301 swig_obj
[0] = args
;
37302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37303 if (!SWIG_IsOK(res1
)) {
37304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37306 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37309 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37310 wxPyEndAllowThreads(__tstate
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37322 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37325 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37326 return SWIG_Py_Void();
37329 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37330 return SWIG_Python_InitShadowInstance(args
);
37333 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37334 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37339 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37340 PyObject
*pyobj
= 0;
37344 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37346 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37353 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37354 PyObject
*resultobj
= 0;
37355 wxWindow
*arg1
= (wxWindow
*) 0 ;
37356 int arg2
= (int) (int)-1 ;
37357 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37363 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37364 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37365 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37366 int arg8
= (int) 0 ;
37367 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37368 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37369 wxGenericDirCtrl
*result
= 0 ;
37374 bool temp3
= false ;
37379 bool temp7
= false ;
37382 bool temp9
= false ;
37383 PyObject
* obj0
= 0 ;
37384 PyObject
* obj1
= 0 ;
37385 PyObject
* obj2
= 0 ;
37386 PyObject
* obj3
= 0 ;
37387 PyObject
* obj4
= 0 ;
37388 PyObject
* obj5
= 0 ;
37389 PyObject
* obj6
= 0 ;
37390 PyObject
* obj7
= 0 ;
37391 PyObject
* obj8
= 0 ;
37392 char * kwnames
[] = {
37393 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37398 if (!SWIG_IsOK(res1
)) {
37399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37404 if (!SWIG_IsOK(ecode2
)) {
37405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37407 arg2
= static_cast< int >(val2
);
37411 arg3
= wxString_in_helper(obj2
);
37412 if (arg3
== NULL
) SWIG_fail
;
37419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37429 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37430 if (!SWIG_IsOK(ecode6
)) {
37431 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37433 arg6
= static_cast< long >(val6
);
37437 arg7
= wxString_in_helper(obj6
);
37438 if (arg7
== NULL
) SWIG_fail
;
37443 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37444 if (!SWIG_IsOK(ecode8
)) {
37445 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37447 arg8
= static_cast< int >(val8
);
37451 arg9
= wxString_in_helper(obj8
);
37452 if (arg9
== NULL
) SWIG_fail
;
37457 if (!wxPyCheckForApp()) SWIG_fail
;
37458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37459 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37460 wxPyEndAllowThreads(__tstate
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37494 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37495 PyObject
*resultobj
= 0;
37496 wxGenericDirCtrl
*result
= 0 ;
37498 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37500 if (!wxPyCheckForApp()) SWIG_fail
;
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37503 wxPyEndAllowThreads(__tstate
);
37504 if (PyErr_Occurred()) SWIG_fail
;
37506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37513 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37514 PyObject
*resultobj
= 0;
37515 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37516 wxWindow
*arg2
= (wxWindow
*) 0 ;
37517 int arg3
= (int) (int)-1 ;
37518 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37519 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37520 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37521 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37522 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37523 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37524 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37525 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37526 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37527 int arg9
= (int) 0 ;
37528 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37529 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37537 bool temp4
= false ;
37542 bool temp8
= false ;
37545 bool temp10
= false ;
37546 PyObject
* obj0
= 0 ;
37547 PyObject
* obj1
= 0 ;
37548 PyObject
* obj2
= 0 ;
37549 PyObject
* obj3
= 0 ;
37550 PyObject
* obj4
= 0 ;
37551 PyObject
* obj5
= 0 ;
37552 PyObject
* obj6
= 0 ;
37553 PyObject
* obj7
= 0 ;
37554 PyObject
* obj8
= 0 ;
37555 PyObject
* obj9
= 0 ;
37556 char * kwnames
[] = {
37557 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37562 if (!SWIG_IsOK(res1
)) {
37563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37565 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37567 if (!SWIG_IsOK(res2
)) {
37568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37573 if (!SWIG_IsOK(ecode3
)) {
37574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37576 arg3
= static_cast< int >(val3
);
37580 arg4
= wxString_in_helper(obj3
);
37581 if (arg4
== NULL
) SWIG_fail
;
37588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37599 if (!SWIG_IsOK(ecode7
)) {
37600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37602 arg7
= static_cast< long >(val7
);
37606 arg8
= wxString_in_helper(obj7
);
37607 if (arg8
== NULL
) SWIG_fail
;
37612 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37613 if (!SWIG_IsOK(ecode9
)) {
37614 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37616 arg9
= static_cast< int >(val9
);
37620 arg10
= wxString_in_helper(obj9
);
37621 if (arg10
== NULL
) SWIG_fail
;
37626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37664 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37665 PyObject
*resultobj
= 0;
37666 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37667 wxString
*arg2
= 0 ;
37671 bool temp2
= false ;
37672 PyObject
* obj0
= 0 ;
37673 PyObject
* obj1
= 0 ;
37674 char * kwnames
[] = {
37675 (char *) "self",(char *) "path", NULL
37678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37680 if (!SWIG_IsOK(res1
)) {
37681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37683 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37685 arg2
= wxString_in_helper(obj1
);
37686 if (arg2
== NULL
) SWIG_fail
;
37690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37691 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37712 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37713 PyObject
*resultobj
= 0;
37714 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37715 wxString
*arg2
= 0 ;
37719 bool temp2
= false ;
37720 PyObject
* obj0
= 0 ;
37721 PyObject
* obj1
= 0 ;
37722 char * kwnames
[] = {
37723 (char *) "self",(char *) "path", NULL
37726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37728 if (!SWIG_IsOK(res1
)) {
37729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37731 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37733 arg2
= wxString_in_helper(obj1
);
37734 if (arg2
== NULL
) SWIG_fail
;
37738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37739 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37760 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37761 PyObject
*resultobj
= 0;
37762 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37766 PyObject
*swig_obj
[1] ;
37768 if (!args
) SWIG_fail
;
37769 swig_obj
[0] = args
;
37770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37771 if (!SWIG_IsOK(res1
)) {
37772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37774 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37777 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37778 wxPyEndAllowThreads(__tstate
);
37779 if (PyErr_Occurred()) SWIG_fail
;
37783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37794 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37795 PyObject
*resultobj
= 0;
37796 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37797 wxString
*arg2
= 0 ;
37800 bool temp2
= false ;
37801 PyObject
* obj0
= 0 ;
37802 PyObject
* obj1
= 0 ;
37803 char * kwnames
[] = {
37804 (char *) "self",(char *) "path", NULL
37807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37809 if (!SWIG_IsOK(res1
)) {
37810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37812 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37814 arg2
= wxString_in_helper(obj1
);
37815 if (arg2
== NULL
) SWIG_fail
;
37819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37820 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37821 wxPyEndAllowThreads(__tstate
);
37822 if (PyErr_Occurred()) SWIG_fail
;
37824 resultobj
= SWIG_Py_Void();
37839 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37840 PyObject
*resultobj
= 0;
37841 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37845 PyObject
*swig_obj
[1] ;
37847 if (!args
) SWIG_fail
;
37848 swig_obj
[0] = args
;
37849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37850 if (!SWIG_IsOK(res1
)) {
37851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37853 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37856 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37857 wxPyEndAllowThreads(__tstate
);
37858 if (PyErr_Occurred()) SWIG_fail
;
37862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37873 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37874 PyObject
*resultobj
= 0;
37875 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37879 PyObject
*swig_obj
[1] ;
37881 if (!args
) SWIG_fail
;
37882 swig_obj
[0] = args
;
37883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37884 if (!SWIG_IsOK(res1
)) {
37885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37887 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37907 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37908 PyObject
*resultobj
= 0;
37909 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37910 wxString
*arg2
= 0 ;
37913 bool temp2
= false ;
37914 PyObject
* obj0
= 0 ;
37915 PyObject
* obj1
= 0 ;
37916 char * kwnames
[] = {
37917 (char *) "self",(char *) "path", NULL
37920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37922 if (!SWIG_IsOK(res1
)) {
37923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37925 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37927 arg2
= wxString_in_helper(obj1
);
37928 if (arg2
== NULL
) SWIG_fail
;
37932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 (arg1
)->SetPath((wxString
const &)*arg2
);
37934 wxPyEndAllowThreads(__tstate
);
37935 if (PyErr_Occurred()) SWIG_fail
;
37937 resultobj
= SWIG_Py_Void();
37952 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37953 PyObject
*resultobj
= 0;
37954 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "self",(char *) "show", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37971 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37972 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37973 if (!SWIG_IsOK(ecode2
)) {
37974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37976 arg2
= static_cast< bool >(val2
);
37978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37979 (arg1
)->ShowHidden(arg2
);
37980 wxPyEndAllowThreads(__tstate
);
37981 if (PyErr_Occurred()) SWIG_fail
;
37983 resultobj
= SWIG_Py_Void();
37990 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37991 PyObject
*resultobj
= 0;
37992 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37996 PyObject
*swig_obj
[1] ;
37998 if (!args
) SWIG_fail
;
37999 swig_obj
[0] = args
;
38000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38001 if (!SWIG_IsOK(res1
)) {
38002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38004 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38007 result
= (bool)(arg1
)->GetShowHidden();
38008 wxPyEndAllowThreads(__tstate
);
38009 if (PyErr_Occurred()) SWIG_fail
;
38012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38020 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38021 PyObject
*resultobj
= 0;
38022 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38026 PyObject
*swig_obj
[1] ;
38028 if (!args
) SWIG_fail
;
38029 swig_obj
[0] = args
;
38030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38031 if (!SWIG_IsOK(res1
)) {
38032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38034 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38037 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38038 wxPyEndAllowThreads(__tstate
);
38039 if (PyErr_Occurred()) SWIG_fail
;
38043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38054 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38055 PyObject
*resultobj
= 0;
38056 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38057 wxString
*arg2
= 0 ;
38060 bool temp2
= false ;
38061 PyObject
* obj0
= 0 ;
38062 PyObject
* obj1
= 0 ;
38063 char * kwnames
[] = {
38064 (char *) "self",(char *) "filter", NULL
38067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38069 if (!SWIG_IsOK(res1
)) {
38070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38072 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38074 arg2
= wxString_in_helper(obj1
);
38075 if (arg2
== NULL
) SWIG_fail
;
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 (arg1
)->SetFilter((wxString
const &)*arg2
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38084 resultobj
= SWIG_Py_Void();
38099 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38100 PyObject
*resultobj
= 0;
38101 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38105 PyObject
*swig_obj
[1] ;
38107 if (!args
) SWIG_fail
;
38108 swig_obj
[0] = args
;
38109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38110 if (!SWIG_IsOK(res1
)) {
38111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38113 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38120 resultobj
= SWIG_From_int(static_cast< int >(result
));
38127 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38128 PyObject
*resultobj
= 0;
38129 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38135 PyObject
* obj0
= 0 ;
38136 PyObject
* obj1
= 0 ;
38137 char * kwnames
[] = {
38138 (char *) "self",(char *) "n", NULL
38141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38143 if (!SWIG_IsOK(res1
)) {
38144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38146 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38148 if (!SWIG_IsOK(ecode2
)) {
38149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38151 arg2
= static_cast< int >(val2
);
38153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38154 (arg1
)->SetFilterIndex(arg2
);
38155 wxPyEndAllowThreads(__tstate
);
38156 if (PyErr_Occurred()) SWIG_fail
;
38158 resultobj
= SWIG_Py_Void();
38165 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38166 PyObject
*resultobj
= 0;
38167 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38168 wxTreeItemId result
;
38171 PyObject
*swig_obj
[1] ;
38173 if (!args
) SWIG_fail
;
38174 swig_obj
[0] = args
;
38175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38176 if (!SWIG_IsOK(res1
)) {
38177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38179 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38182 result
= (arg1
)->GetRootId();
38183 wxPyEndAllowThreads(__tstate
);
38184 if (PyErr_Occurred()) SWIG_fail
;
38186 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38193 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38194 PyObject
*resultobj
= 0;
38195 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38196 wxPyTreeCtrl
*result
= 0 ;
38199 PyObject
*swig_obj
[1] ;
38201 if (!args
) SWIG_fail
;
38202 swig_obj
[0] = args
;
38203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38204 if (!SWIG_IsOK(res1
)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38207 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38210 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38215 resultobj
= wxPyMake_wxObject(result
, 0);
38223 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38224 PyObject
*resultobj
= 0;
38225 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38226 wxDirFilterListCtrl
*result
= 0 ;
38229 PyObject
*swig_obj
[1] ;
38231 if (!args
) SWIG_fail
;
38232 swig_obj
[0] = args
;
38233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38234 if (!SWIG_IsOK(res1
)) {
38235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38237 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38240 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38241 wxPyEndAllowThreads(__tstate
);
38242 if (PyErr_Occurred()) SWIG_fail
;
38244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38251 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38252 PyObject
*resultobj
= 0;
38253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38254 wxTreeItemId arg2
;
38255 wxString
*arg3
= 0 ;
38257 wxTreeItemId result
;
38262 bool temp3
= false ;
38264 int res4
= SWIG_TMPOBJ
;
38265 PyObject
* obj0
= 0 ;
38266 PyObject
* obj1
= 0 ;
38267 PyObject
* obj2
= 0 ;
38268 char * kwnames
[] = {
38269 (char *) "self",(char *) "parentId",(char *) "path", NULL
38273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38275 if (!SWIG_IsOK(res1
)) {
38276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38278 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38281 if (!SWIG_IsOK(res2
)) {
38282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38287 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38289 if (SWIG_IsNewObj(res2
)) delete temp
;
38293 arg3
= wxString_in_helper(obj2
);
38294 if (arg3
== NULL
) SWIG_fail
;
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38300 wxPyEndAllowThreads(__tstate
);
38301 if (PyErr_Occurred()) SWIG_fail
;
38303 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38304 if (SWIG_IsTmpObj(res4
)) {
38305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38307 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38324 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38325 PyObject
*resultobj
= 0;
38326 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38329 PyObject
*swig_obj
[1] ;
38331 if (!args
) SWIG_fail
;
38332 swig_obj
[0] = args
;
38333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38334 if (!SWIG_IsOK(res1
)) {
38335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38337 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38340 (arg1
)->DoResize();
38341 wxPyEndAllowThreads(__tstate
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38344 resultobj
= SWIG_Py_Void();
38351 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38352 PyObject
*resultobj
= 0;
38353 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38356 PyObject
*swig_obj
[1] ;
38358 if (!args
) SWIG_fail
;
38359 swig_obj
[0] = args
;
38360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38361 if (!SWIG_IsOK(res1
)) {
38362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38364 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38367 (arg1
)->ReCreateTree();
38368 wxPyEndAllowThreads(__tstate
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38371 resultobj
= SWIG_Py_Void();
38378 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38381 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38382 return SWIG_Py_Void();
38385 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38386 return SWIG_Python_InitShadowInstance(args
);
38389 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38390 PyObject
*resultobj
= 0;
38391 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38392 int arg2
= (int) (int)-1 ;
38393 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38394 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38395 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38396 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38397 long arg5
= (long) 0 ;
38398 wxDirFilterListCtrl
*result
= 0 ;
38407 PyObject
* obj0
= 0 ;
38408 PyObject
* obj1
= 0 ;
38409 PyObject
* obj2
= 0 ;
38410 PyObject
* obj3
= 0 ;
38411 PyObject
* obj4
= 0 ;
38412 char * kwnames
[] = {
38413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38418 if (!SWIG_IsOK(res1
)) {
38419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38421 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38424 if (!SWIG_IsOK(ecode2
)) {
38425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38427 arg2
= static_cast< int >(val2
);
38432 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38438 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38442 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38443 if (!SWIG_IsOK(ecode5
)) {
38444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38446 arg5
= static_cast< long >(val5
);
38449 if (!wxPyCheckForApp()) SWIG_fail
;
38450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38451 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38452 wxPyEndAllowThreads(__tstate
);
38453 if (PyErr_Occurred()) SWIG_fail
;
38455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38462 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38463 PyObject
*resultobj
= 0;
38464 wxDirFilterListCtrl
*result
= 0 ;
38466 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38468 if (!wxPyCheckForApp()) SWIG_fail
;
38469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38470 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38481 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38482 PyObject
*resultobj
= 0;
38483 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38484 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38485 int arg3
= (int) (int)-1 ;
38486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38490 long arg6
= (long) 0 ;
38502 PyObject
* obj0
= 0 ;
38503 PyObject
* obj1
= 0 ;
38504 PyObject
* obj2
= 0 ;
38505 PyObject
* obj3
= 0 ;
38506 PyObject
* obj4
= 0 ;
38507 PyObject
* obj5
= 0 ;
38508 char * kwnames
[] = {
38509 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38514 if (!SWIG_IsOK(res1
)) {
38515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38517 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38519 if (!SWIG_IsOK(res2
)) {
38520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38522 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38525 if (!SWIG_IsOK(ecode3
)) {
38526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38528 arg3
= static_cast< int >(val3
);
38533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38543 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38544 if (!SWIG_IsOK(ecode6
)) {
38545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38547 arg6
= static_cast< long >(val6
);
38550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38551 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38552 wxPyEndAllowThreads(__tstate
);
38553 if (PyErr_Occurred()) SWIG_fail
;
38556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38564 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38565 PyObject
*resultobj
= 0;
38566 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38567 wxString
*arg2
= 0 ;
38571 bool temp2
= false ;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 PyObject
* obj2
= 0 ;
38577 char * kwnames
[] = {
38578 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38583 if (!SWIG_IsOK(res1
)) {
38584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38586 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38588 arg2
= wxString_in_helper(obj1
);
38589 if (arg2
== NULL
) SWIG_fail
;
38592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38593 if (!SWIG_IsOK(ecode3
)) {
38594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38596 arg3
= static_cast< int >(val3
);
38598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38599 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38600 wxPyEndAllowThreads(__tstate
);
38601 if (PyErr_Occurred()) SWIG_fail
;
38603 resultobj
= SWIG_Py_Void();
38618 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38621 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38622 return SWIG_Py_Void();
38625 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38626 return SWIG_Python_InitShadowInstance(args
);
38629 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38630 PyObject
*resultobj
= 0;
38631 wxWindow
*arg1
= (wxWindow
*) 0 ;
38632 int arg2
= (int) (int)-1 ;
38633 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38634 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38635 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38636 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38637 long arg5
= (long) 0 ;
38638 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38639 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38640 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38642 wxPyControl
*result
= 0 ;
38653 bool temp7
= false ;
38654 PyObject
* obj0
= 0 ;
38655 PyObject
* obj1
= 0 ;
38656 PyObject
* obj2
= 0 ;
38657 PyObject
* obj3
= 0 ;
38658 PyObject
* obj4
= 0 ;
38659 PyObject
* obj5
= 0 ;
38660 PyObject
* obj6
= 0 ;
38661 char * kwnames
[] = {
38662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38667 if (!SWIG_IsOK(res1
)) {
38668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38673 if (!SWIG_IsOK(ecode2
)) {
38674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38676 arg2
= static_cast< int >(val2
);
38681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38687 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38691 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38692 if (!SWIG_IsOK(ecode5
)) {
38693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38695 arg5
= static_cast< long >(val5
);
38698 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38699 if (!SWIG_IsOK(res6
)) {
38700 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38705 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38709 arg7
= wxString_in_helper(obj6
);
38710 if (arg7
== NULL
) SWIG_fail
;
38715 if (!wxPyCheckForApp()) SWIG_fail
;
38716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38717 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38718 wxPyEndAllowThreads(__tstate
);
38719 if (PyErr_Occurred()) SWIG_fail
;
38721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38736 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38737 PyObject
*resultobj
= 0;
38738 wxPyControl
*result
= 0 ;
38740 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38742 if (!wxPyCheckForApp()) SWIG_fail
;
38743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38744 result
= (wxPyControl
*)new wxPyControl();
38745 wxPyEndAllowThreads(__tstate
);
38746 if (PyErr_Occurred()) SWIG_fail
;
38748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38755 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38756 PyObject
*resultobj
= 0;
38757 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38758 PyObject
*arg2
= (PyObject
*) 0 ;
38759 PyObject
*arg3
= (PyObject
*) 0 ;
38762 PyObject
* obj0
= 0 ;
38763 PyObject
* obj1
= 0 ;
38764 PyObject
* obj2
= 0 ;
38765 char * kwnames
[] = {
38766 (char *) "self",(char *) "self",(char *) "_class", NULL
38769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38771 if (!SWIG_IsOK(res1
)) {
38772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38774 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38783 resultobj
= SWIG_Py_Void();
38790 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38791 PyObject
*resultobj
= 0;
38792 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38793 wxDC
*arg2
= (wxDC
*) 0 ;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38801 char * kwnames
[] = {
38802 (char *) "self",(char *) "dc", NULL
38805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38807 if (!SWIG_IsOK(res1
)) {
38808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38810 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38812 if (!SWIG_IsOK(res2
)) {
38813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38815 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38818 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38819 wxPyEndAllowThreads(__tstate
);
38820 if (PyErr_Occurred()) SWIG_fail
;
38823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38831 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38832 PyObject
*resultobj
= 0;
38833 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38848 PyObject
* obj0
= 0 ;
38849 PyObject
* obj1
= 0 ;
38850 PyObject
* obj2
= 0 ;
38851 PyObject
* obj3
= 0 ;
38852 PyObject
* obj4
= 0 ;
38853 char * kwnames
[] = {
38854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38859 if (!SWIG_IsOK(res1
)) {
38860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38862 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38864 if (!SWIG_IsOK(ecode2
)) {
38865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38867 arg2
= static_cast< int >(val2
);
38868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38869 if (!SWIG_IsOK(ecode3
)) {
38870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38872 arg3
= static_cast< int >(val3
);
38873 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38874 if (!SWIG_IsOK(ecode4
)) {
38875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38877 arg4
= static_cast< int >(val4
);
38878 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38879 if (!SWIG_IsOK(ecode5
)) {
38880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38882 arg5
= static_cast< int >(val5
);
38884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38885 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38886 wxPyEndAllowThreads(__tstate
);
38887 if (PyErr_Occurred()) SWIG_fail
;
38889 resultobj
= SWIG_Py_Void();
38896 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38897 PyObject
*resultobj
= 0;
38898 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38903 int arg6
= (int) wxSIZE_AUTO
;
38916 PyObject
* obj0
= 0 ;
38917 PyObject
* obj1
= 0 ;
38918 PyObject
* obj2
= 0 ;
38919 PyObject
* obj3
= 0 ;
38920 PyObject
* obj4
= 0 ;
38921 PyObject
* obj5
= 0 ;
38922 char * kwnames
[] = {
38923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38928 if (!SWIG_IsOK(res1
)) {
38929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38931 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38933 if (!SWIG_IsOK(ecode2
)) {
38934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38936 arg2
= static_cast< int >(val2
);
38937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38938 if (!SWIG_IsOK(ecode3
)) {
38939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38941 arg3
= static_cast< int >(val3
);
38942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38943 if (!SWIG_IsOK(ecode4
)) {
38944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38946 arg4
= static_cast< int >(val4
);
38947 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38948 if (!SWIG_IsOK(ecode5
)) {
38949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38951 arg5
= static_cast< int >(val5
);
38953 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38954 if (!SWIG_IsOK(ecode6
)) {
38955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38957 arg6
= static_cast< int >(val6
);
38960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38961 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38965 resultobj
= SWIG_Py_Void();
38972 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38973 PyObject
*resultobj
= 0;
38974 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38983 PyObject
* obj0
= 0 ;
38984 PyObject
* obj1
= 0 ;
38985 PyObject
* obj2
= 0 ;
38986 char * kwnames
[] = {
38987 (char *) "self",(char *) "width",(char *) "height", NULL
38990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38992 if (!SWIG_IsOK(res1
)) {
38993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38995 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38997 if (!SWIG_IsOK(ecode2
)) {
38998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39000 arg2
= static_cast< int >(val2
);
39001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39002 if (!SWIG_IsOK(ecode3
)) {
39003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39005 arg3
= static_cast< int >(val3
);
39007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39008 (arg1
)->DoSetClientSize(arg2
,arg3
);
39009 wxPyEndAllowThreads(__tstate
);
39010 if (PyErr_Occurred()) SWIG_fail
;
39012 resultobj
= SWIG_Py_Void();
39019 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39020 PyObject
*resultobj
= 0;
39021 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39030 PyObject
* obj0
= 0 ;
39031 PyObject
* obj1
= 0 ;
39032 PyObject
* obj2
= 0 ;
39033 char * kwnames
[] = {
39034 (char *) "self",(char *) "x",(char *) "y", NULL
39037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39039 if (!SWIG_IsOK(res1
)) {
39040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39042 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39044 if (!SWIG_IsOK(ecode2
)) {
39045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39047 arg2
= static_cast< int >(val2
);
39048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39049 if (!SWIG_IsOK(ecode3
)) {
39050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39052 arg3
= static_cast< int >(val3
);
39054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39055 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39056 wxPyEndAllowThreads(__tstate
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39059 resultobj
= SWIG_Py_Void();
39066 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39067 PyObject
*resultobj
= 0;
39068 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39069 int *arg2
= (int *) 0 ;
39070 int *arg3
= (int *) 0 ;
39074 int res2
= SWIG_TMPOBJ
;
39076 int res3
= SWIG_TMPOBJ
;
39077 PyObject
*swig_obj
[1] ;
39081 if (!args
) SWIG_fail
;
39082 swig_obj
[0] = args
;
39083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39084 if (!SWIG_IsOK(res1
)) {
39085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39087 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39090 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39091 wxPyEndAllowThreads(__tstate
);
39092 if (PyErr_Occurred()) SWIG_fail
;
39094 resultobj
= SWIG_Py_Void();
39095 if (SWIG_IsTmpObj(res2
)) {
39096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39098 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39101 if (SWIG_IsTmpObj(res3
)) {
39102 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39104 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39113 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39114 PyObject
*resultobj
= 0;
39115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39116 int *arg2
= (int *) 0 ;
39117 int *arg3
= (int *) 0 ;
39121 int res2
= SWIG_TMPOBJ
;
39123 int res3
= SWIG_TMPOBJ
;
39124 PyObject
*swig_obj
[1] ;
39128 if (!args
) SWIG_fail
;
39129 swig_obj
[0] = args
;
39130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39131 if (!SWIG_IsOK(res1
)) {
39132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39134 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39137 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39138 wxPyEndAllowThreads(__tstate
);
39139 if (PyErr_Occurred()) SWIG_fail
;
39141 resultobj
= SWIG_Py_Void();
39142 if (SWIG_IsTmpObj(res2
)) {
39143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39145 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39148 if (SWIG_IsTmpObj(res3
)) {
39149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39151 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39160 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39161 PyObject
*resultobj
= 0;
39162 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39163 int *arg2
= (int *) 0 ;
39164 int *arg3
= (int *) 0 ;
39168 int res2
= SWIG_TMPOBJ
;
39170 int res3
= SWIG_TMPOBJ
;
39171 PyObject
*swig_obj
[1] ;
39175 if (!args
) SWIG_fail
;
39176 swig_obj
[0] = args
;
39177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39178 if (!SWIG_IsOK(res1
)) {
39179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39181 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39184 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39185 wxPyEndAllowThreads(__tstate
);
39186 if (PyErr_Occurred()) SWIG_fail
;
39188 resultobj
= SWIG_Py_Void();
39189 if (SWIG_IsTmpObj(res2
)) {
39190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39192 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39195 if (SWIG_IsTmpObj(res3
)) {
39196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39198 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39207 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39208 PyObject
*resultobj
= 0;
39209 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39213 PyObject
*swig_obj
[1] ;
39215 if (!args
) SWIG_fail
;
39216 swig_obj
[0] = args
;
39217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39218 if (!SWIG_IsOK(res1
)) {
39219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39221 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39224 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39225 wxPyEndAllowThreads(__tstate
);
39226 if (PyErr_Occurred()) SWIG_fail
;
39228 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39235 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39236 PyObject
*resultobj
= 0;
39237 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39241 PyObject
*swig_obj
[1] ;
39243 if (!args
) SWIG_fail
;
39244 swig_obj
[0] = args
;
39245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39246 if (!SWIG_IsOK(res1
)) {
39247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39249 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39252 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39256 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39263 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39264 PyObject
*resultobj
= 0;
39265 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39266 SwigValueWrapper
<wxVisualAttributes
> result
;
39269 PyObject
*swig_obj
[1] ;
39271 if (!args
) SWIG_fail
;
39272 swig_obj
[0] = args
;
39273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39274 if (!SWIG_IsOK(res1
)) {
39275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39277 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39280 result
= (arg1
)->GetDefaultAttributes();
39281 wxPyEndAllowThreads(__tstate
);
39282 if (PyErr_Occurred()) SWIG_fail
;
39284 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39291 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39292 PyObject
*resultobj
= 0;
39293 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39296 PyObject
*swig_obj
[1] ;
39298 if (!args
) SWIG_fail
;
39299 swig_obj
[0] = args
;
39300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39301 if (!SWIG_IsOK(res1
)) {
39302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39304 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39307 (arg1
)->OnInternalIdle();
39308 wxPyEndAllowThreads(__tstate
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39311 resultobj
= SWIG_Py_Void();
39318 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39321 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39322 return SWIG_Py_Void();
39325 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39326 return SWIG_Python_InitShadowInstance(args
);
39329 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39330 PyObject
*resultobj
= 0;
39331 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39332 int arg2
= (int) 0 ;
39333 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39334 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39335 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39336 wxHelpEvent
*result
= 0 ;
39344 PyObject
* obj0
= 0 ;
39345 PyObject
* obj1
= 0 ;
39346 PyObject
* obj2
= 0 ;
39347 PyObject
* obj3
= 0 ;
39348 char * kwnames
[] = {
39349 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39354 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39355 if (!SWIG_IsOK(ecode1
)) {
39356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39358 arg1
= static_cast< wxEventType
>(val1
);
39361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39362 if (!SWIG_IsOK(ecode2
)) {
39363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39365 arg2
= static_cast< int >(val2
);
39370 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39375 if (!SWIG_IsOK(ecode4
)) {
39376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39378 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39382 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39383 wxPyEndAllowThreads(__tstate
);
39384 if (PyErr_Occurred()) SWIG_fail
;
39386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39393 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39394 PyObject
*resultobj
= 0;
39395 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39399 PyObject
*swig_obj
[1] ;
39401 if (!args
) SWIG_fail
;
39402 swig_obj
[0] = args
;
39403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39404 if (!SWIG_IsOK(res1
)) {
39405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39407 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39410 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39411 wxPyEndAllowThreads(__tstate
);
39412 if (PyErr_Occurred()) SWIG_fail
;
39414 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39421 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39422 PyObject
*resultobj
= 0;
39423 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39424 wxPoint
*arg2
= 0 ;
39428 PyObject
* obj0
= 0 ;
39429 PyObject
* obj1
= 0 ;
39430 char * kwnames
[] = {
39431 (char *) "self",(char *) "pos", NULL
39434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39436 if (!SWIG_IsOK(res1
)) {
39437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39439 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39446 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39447 wxPyEndAllowThreads(__tstate
);
39448 if (PyErr_Occurred()) SWIG_fail
;
39450 resultobj
= SWIG_Py_Void();
39457 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39458 PyObject
*resultobj
= 0;
39459 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39460 wxString
*result
= 0 ;
39463 PyObject
*swig_obj
[1] ;
39465 if (!args
) SWIG_fail
;
39466 swig_obj
[0] = args
;
39467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39468 if (!SWIG_IsOK(res1
)) {
39469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39471 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39475 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39476 result
= (wxString
*) &_result_ref
;
39478 wxPyEndAllowThreads(__tstate
);
39479 if (PyErr_Occurred()) SWIG_fail
;
39483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39494 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39495 PyObject
*resultobj
= 0;
39496 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39497 wxString
*arg2
= 0 ;
39500 bool temp2
= false ;
39501 PyObject
* obj0
= 0 ;
39502 PyObject
* obj1
= 0 ;
39503 char * kwnames
[] = {
39504 (char *) "self",(char *) "link", NULL
39507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39509 if (!SWIG_IsOK(res1
)) {
39510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39512 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39514 arg2
= wxString_in_helper(obj1
);
39515 if (arg2
== NULL
) SWIG_fail
;
39519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39520 (arg1
)->SetLink((wxString
const &)*arg2
);
39521 wxPyEndAllowThreads(__tstate
);
39522 if (PyErr_Occurred()) SWIG_fail
;
39524 resultobj
= SWIG_Py_Void();
39539 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39540 PyObject
*resultobj
= 0;
39541 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39542 wxString
*result
= 0 ;
39545 PyObject
*swig_obj
[1] ;
39547 if (!args
) SWIG_fail
;
39548 swig_obj
[0] = args
;
39549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39550 if (!SWIG_IsOK(res1
)) {
39551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39553 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39557 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39558 result
= (wxString
*) &_result_ref
;
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39565 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39567 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39576 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39577 PyObject
*resultobj
= 0;
39578 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39579 wxString
*arg2
= 0 ;
39582 bool temp2
= false ;
39583 PyObject
* obj0
= 0 ;
39584 PyObject
* obj1
= 0 ;
39585 char * kwnames
[] = {
39586 (char *) "self",(char *) "target", NULL
39589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39591 if (!SWIG_IsOK(res1
)) {
39592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39594 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39596 arg2
= wxString_in_helper(obj1
);
39597 if (arg2
== NULL
) SWIG_fail
;
39601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39602 (arg1
)->SetTarget((wxString
const &)*arg2
);
39603 wxPyEndAllowThreads(__tstate
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39606 resultobj
= SWIG_Py_Void();
39621 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39622 PyObject
*resultobj
= 0;
39623 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39624 wxHelpEvent::Origin result
;
39627 PyObject
*swig_obj
[1] ;
39629 if (!args
) SWIG_fail
;
39630 swig_obj
[0] = args
;
39631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39632 if (!SWIG_IsOK(res1
)) {
39633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39635 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39638 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39639 wxPyEndAllowThreads(__tstate
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39642 resultobj
= SWIG_From_int(static_cast< int >(result
));
39649 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39650 PyObject
*resultobj
= 0;
39651 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39652 wxHelpEvent::Origin arg2
;
39657 PyObject
* obj0
= 0 ;
39658 PyObject
* obj1
= 0 ;
39659 char * kwnames
[] = {
39660 (char *) "self",(char *) "origin", NULL
39663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39665 if (!SWIG_IsOK(res1
)) {
39666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39668 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39670 if (!SWIG_IsOK(ecode2
)) {
39671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39673 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39676 (arg1
)->SetOrigin(arg2
);
39677 wxPyEndAllowThreads(__tstate
);
39678 if (PyErr_Occurred()) SWIG_fail
;
39680 resultobj
= SWIG_Py_Void();
39687 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39690 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39691 return SWIG_Py_Void();
39694 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39695 return SWIG_Python_InitShadowInstance(args
);
39698 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39699 PyObject
*resultobj
= 0;
39700 wxWindow
*arg1
= (wxWindow
*) NULL
;
39701 bool arg2
= (bool) true ;
39702 wxContextHelp
*result
= 0 ;
39707 PyObject
* obj0
= 0 ;
39708 PyObject
* obj1
= 0 ;
39709 char * kwnames
[] = {
39710 (char *) "window",(char *) "doNow", NULL
39713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39716 if (!SWIG_IsOK(res1
)) {
39717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39722 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39723 if (!SWIG_IsOK(ecode2
)) {
39724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39726 arg2
= static_cast< bool >(val2
);
39729 if (!wxPyCheckForApp()) SWIG_fail
;
39730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39731 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39732 wxPyEndAllowThreads(__tstate
);
39733 if (PyErr_Occurred()) SWIG_fail
;
39735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39742 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39743 PyObject
*resultobj
= 0;
39744 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39747 PyObject
*swig_obj
[1] ;
39749 if (!args
) SWIG_fail
;
39750 swig_obj
[0] = args
;
39751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39752 if (!SWIG_IsOK(res1
)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39755 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 wxPyEndAllowThreads(__tstate
);
39761 if (PyErr_Occurred()) SWIG_fail
;
39763 resultobj
= SWIG_Py_Void();
39770 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39771 PyObject
*resultobj
= 0;
39772 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39773 wxWindow
*arg2
= (wxWindow
*) NULL
;
39779 PyObject
* obj0
= 0 ;
39780 PyObject
* obj1
= 0 ;
39781 char * kwnames
[] = {
39782 (char *) "self",(char *) "window", NULL
39785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39787 if (!SWIG_IsOK(res1
)) {
39788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39790 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39793 if (!SWIG_IsOK(res2
)) {
39794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39796 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39800 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39801 wxPyEndAllowThreads(__tstate
);
39802 if (PyErr_Occurred()) SWIG_fail
;
39805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39813 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39814 PyObject
*resultobj
= 0;
39815 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39819 PyObject
*swig_obj
[1] ;
39821 if (!args
) SWIG_fail
;
39822 swig_obj
[0] = args
;
39823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39824 if (!SWIG_IsOK(res1
)) {
39825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39827 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39830 result
= (bool)(arg1
)->EndContextHelp();
39831 wxPyEndAllowThreads(__tstate
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39843 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39846 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39847 return SWIG_Py_Void();
39850 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39851 return SWIG_Python_InitShadowInstance(args
);
39854 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39855 PyObject
*resultobj
= 0;
39856 wxWindow
*arg1
= (wxWindow
*) 0 ;
39857 int arg2
= (int) wxID_CONTEXT_HELP
;
39858 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39859 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39860 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39861 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39862 long arg5
= (long) wxBU_AUTODRAW
;
39863 wxContextHelpButton
*result
= 0 ;
39872 PyObject
* obj0
= 0 ;
39873 PyObject
* obj1
= 0 ;
39874 PyObject
* obj2
= 0 ;
39875 PyObject
* obj3
= 0 ;
39876 PyObject
* obj4
= 0 ;
39877 char * kwnames
[] = {
39878 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39883 if (!SWIG_IsOK(res1
)) {
39884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39889 if (!SWIG_IsOK(ecode2
)) {
39890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39892 arg2
= static_cast< int >(val2
);
39897 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39903 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39907 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39908 if (!SWIG_IsOK(ecode5
)) {
39909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39911 arg5
= static_cast< long >(val5
);
39914 if (!wxPyCheckForApp()) SWIG_fail
;
39915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39916 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39917 wxPyEndAllowThreads(__tstate
);
39918 if (PyErr_Occurred()) SWIG_fail
;
39920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39927 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39930 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39931 return SWIG_Py_Void();
39934 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39935 return SWIG_Python_InitShadowInstance(args
);
39938 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39939 PyObject
*resultobj
= 0;
39940 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39943 PyObject
*swig_obj
[1] ;
39945 if (!args
) SWIG_fail
;
39946 swig_obj
[0] = args
;
39947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39948 if (!SWIG_IsOK(res1
)) {
39949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39951 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39956 wxPyEndAllowThreads(__tstate
);
39957 if (PyErr_Occurred()) SWIG_fail
;
39959 resultobj
= SWIG_Py_Void();
39966 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39967 PyObject
*resultobj
= 0;
39968 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39969 wxHelpProvider
*result
= 0 ;
39971 PyObject
* obj0
= 0 ;
39972 char * kwnames
[] = {
39973 (char *) "helpProvider", NULL
39976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39977 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39978 if (!SWIG_IsOK(res1
)) {
39979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39983 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39984 wxPyEndAllowThreads(__tstate
);
39985 if (PyErr_Occurred()) SWIG_fail
;
39987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39994 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39995 PyObject
*resultobj
= 0;
39996 wxHelpProvider
*result
= 0 ;
39998 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40001 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40002 wxPyEndAllowThreads(__tstate
);
40003 if (PyErr_Occurred()) SWIG_fail
;
40005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40012 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40013 PyObject
*resultobj
= 0;
40014 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40015 wxWindow
*arg2
= (wxWindow
*) 0 ;
40021 PyObject
* obj0
= 0 ;
40022 PyObject
* obj1
= 0 ;
40023 char * kwnames
[] = {
40024 (char *) "self",(char *) "window", NULL
40027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40029 if (!SWIG_IsOK(res1
)) {
40030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40032 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40033 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40034 if (!SWIG_IsOK(res2
)) {
40035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40037 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40040 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40041 wxPyEndAllowThreads(__tstate
);
40042 if (PyErr_Occurred()) SWIG_fail
;
40046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40057 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40058 PyObject
*resultobj
= 0;
40059 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40060 wxWindow
*arg2
= (wxWindow
*) 0 ;
40066 PyObject
* obj0
= 0 ;
40067 PyObject
* obj1
= 0 ;
40068 char * kwnames
[] = {
40069 (char *) "self",(char *) "window", NULL
40072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40074 if (!SWIG_IsOK(res1
)) {
40075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40077 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40079 if (!SWIG_IsOK(res2
)) {
40080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40085 result
= (bool)(arg1
)->ShowHelp(arg2
);
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40098 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40099 PyObject
*resultobj
= 0;
40100 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40101 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40102 wxPoint
*arg3
= 0 ;
40103 wxHelpEvent::Origin arg4
;
40112 PyObject
* obj0
= 0 ;
40113 PyObject
* obj1
= 0 ;
40114 PyObject
* obj2
= 0 ;
40115 PyObject
* obj3
= 0 ;
40116 char * kwnames
[] = {
40117 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40122 if (!SWIG_IsOK(res1
)) {
40123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40125 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40127 if (!SWIG_IsOK(res2
)) {
40128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40130 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40136 if (!SWIG_IsOK(ecode4
)) {
40137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40139 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40155 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40156 PyObject
*resultobj
= 0;
40157 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40158 wxWindow
*arg2
= (wxWindow
*) 0 ;
40159 wxString
*arg3
= 0 ;
40164 bool temp3
= false ;
40165 PyObject
* obj0
= 0 ;
40166 PyObject
* obj1
= 0 ;
40167 PyObject
* obj2
= 0 ;
40168 char * kwnames
[] = {
40169 (char *) "self",(char *) "window",(char *) "text", NULL
40172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40174 if (!SWIG_IsOK(res1
)) {
40175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40177 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40179 if (!SWIG_IsOK(res2
)) {
40180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40182 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40184 arg3
= wxString_in_helper(obj2
);
40185 if (arg3
== NULL
) SWIG_fail
;
40189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40190 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40191 wxPyEndAllowThreads(__tstate
);
40192 if (PyErr_Occurred()) SWIG_fail
;
40194 resultobj
= SWIG_Py_Void();
40209 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40210 PyObject
*resultobj
= 0;
40211 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40213 wxString
*arg3
= 0 ;
40218 bool temp3
= false ;
40219 PyObject
* obj0
= 0 ;
40220 PyObject
* obj1
= 0 ;
40221 PyObject
* obj2
= 0 ;
40222 char * kwnames
[] = {
40223 (char *) "self",(char *) "id",(char *) "text", NULL
40226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40228 if (!SWIG_IsOK(res1
)) {
40229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40231 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40233 if (!SWIG_IsOK(ecode2
)) {
40234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40236 arg2
= static_cast< int >(val2
);
40238 arg3
= wxString_in_helper(obj2
);
40239 if (arg3
== NULL
) SWIG_fail
;
40243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40245 wxPyEndAllowThreads(__tstate
);
40246 if (PyErr_Occurred()) SWIG_fail
;
40248 resultobj
= SWIG_Py_Void();
40263 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40264 PyObject
*resultobj
= 0;
40265 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40266 wxWindow
*arg2
= (wxWindow
*) 0 ;
40271 PyObject
* obj0
= 0 ;
40272 PyObject
* obj1
= 0 ;
40273 char * kwnames
[] = {
40274 (char *) "self",(char *) "window", NULL
40277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40279 if (!SWIG_IsOK(res1
)) {
40280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40282 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40284 if (!SWIG_IsOK(res2
)) {
40285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40287 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40290 (arg1
)->RemoveHelp(arg2
);
40291 wxPyEndAllowThreads(__tstate
);
40292 if (PyErr_Occurred()) SWIG_fail
;
40294 resultobj
= SWIG_Py_Void();
40301 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40302 PyObject
*resultobj
= 0;
40303 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40306 PyObject
*swig_obj
[1] ;
40308 if (!args
) SWIG_fail
;
40309 swig_obj
[0] = args
;
40310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40311 if (!SWIG_IsOK(res1
)) {
40312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40314 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40317 wxHelpProvider_Destroy(arg1
);
40318 wxPyEndAllowThreads(__tstate
);
40319 if (PyErr_Occurred()) SWIG_fail
;
40321 resultobj
= SWIG_Py_Void();
40328 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40331 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40332 return SWIG_Py_Void();
40335 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40336 PyObject
*resultobj
= 0;
40337 wxSimpleHelpProvider
*result
= 0 ;
40339 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40342 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40343 wxPyEndAllowThreads(__tstate
);
40344 if (PyErr_Occurred()) SWIG_fail
;
40346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40353 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40356 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40357 return SWIG_Py_Void();
40360 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40361 return SWIG_Python_InitShadowInstance(args
);
40364 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40365 PyObject
*resultobj
= 0;
40366 wxBitmap
*arg1
= 0 ;
40367 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40368 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40369 wxGenericDragImage
*result
= 0 ;
40374 PyObject
* obj0
= 0 ;
40375 PyObject
* obj1
= 0 ;
40376 char * kwnames
[] = {
40377 (char *) "image",(char *) "cursor", NULL
40380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40381 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40382 if (!SWIG_IsOK(res1
)) {
40383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40388 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40391 if (!SWIG_IsOK(res2
)) {
40392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40397 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40400 if (!wxPyCheckForApp()) SWIG_fail
;
40401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40402 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40403 wxPyEndAllowThreads(__tstate
);
40404 if (PyErr_Occurred()) SWIG_fail
;
40406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40413 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40414 PyObject
*resultobj
= 0;
40416 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40417 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40418 wxGenericDragImage
*result
= 0 ;
40423 PyObject
* obj0
= 0 ;
40424 PyObject
* obj1
= 0 ;
40425 char * kwnames
[] = {
40426 (char *) "image",(char *) "cursor", NULL
40429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40430 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40431 if (!SWIG_IsOK(res1
)) {
40432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40437 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40440 if (!SWIG_IsOK(res2
)) {
40441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40446 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40449 if (!wxPyCheckForApp()) SWIG_fail
;
40450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40451 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40452 wxPyEndAllowThreads(__tstate
);
40453 if (PyErr_Occurred()) SWIG_fail
;
40455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40462 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40463 PyObject
*resultobj
= 0;
40464 wxString
*arg1
= 0 ;
40465 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40466 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40467 wxGenericDragImage
*result
= 0 ;
40468 bool temp1
= false ;
40471 PyObject
* obj0
= 0 ;
40472 PyObject
* obj1
= 0 ;
40473 char * kwnames
[] = {
40474 (char *) "str",(char *) "cursor", NULL
40477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40479 arg1
= wxString_in_helper(obj0
);
40480 if (arg1
== NULL
) SWIG_fail
;
40484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40485 if (!SWIG_IsOK(res2
)) {
40486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40491 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40494 if (!wxPyCheckForApp()) SWIG_fail
;
40495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40496 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40497 wxPyEndAllowThreads(__tstate
);
40498 if (PyErr_Occurred()) SWIG_fail
;
40500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40515 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40516 PyObject
*resultobj
= 0;
40517 wxPyTreeCtrl
*arg1
= 0 ;
40518 wxTreeItemId
*arg2
= 0 ;
40519 wxGenericDragImage
*result
= 0 ;
40524 PyObject
* obj0
= 0 ;
40525 PyObject
* obj1
= 0 ;
40526 char * kwnames
[] = {
40527 (char *) "treeCtrl",(char *) "id", NULL
40530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40531 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40532 if (!SWIG_IsOK(res1
)) {
40533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40538 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40540 if (!SWIG_IsOK(res2
)) {
40541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40546 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40548 if (!wxPyCheckForApp()) SWIG_fail
;
40549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40550 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40561 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
= 0;
40563 wxPyListCtrl
*arg1
= 0 ;
40565 wxGenericDragImage
*result
= 0 ;
40570 PyObject
* obj0
= 0 ;
40571 PyObject
* obj1
= 0 ;
40572 char * kwnames
[] = {
40573 (char *) "listCtrl",(char *) "id", NULL
40576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40577 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40578 if (!SWIG_IsOK(res1
)) {
40579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40584 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40585 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40586 if (!SWIG_IsOK(ecode2
)) {
40587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40589 arg2
= static_cast< long >(val2
);
40591 if (!wxPyCheckForApp()) SWIG_fail
;
40592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40593 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40594 wxPyEndAllowThreads(__tstate
);
40595 if (PyErr_Occurred()) SWIG_fail
;
40597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40604 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40605 PyObject
*resultobj
= 0;
40606 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40609 PyObject
*swig_obj
[1] ;
40611 if (!args
) SWIG_fail
;
40612 swig_obj
[0] = args
;
40613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40614 if (!SWIG_IsOK(res1
)) {
40615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40617 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40622 wxPyEndAllowThreads(__tstate
);
40623 if (PyErr_Occurred()) SWIG_fail
;
40625 resultobj
= SWIG_Py_Void();
40632 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40633 PyObject
*resultobj
= 0;
40634 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40635 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40640 PyObject
* obj0
= 0 ;
40641 PyObject
* obj1
= 0 ;
40642 char * kwnames
[] = {
40643 (char *) "self",(char *) "bitmap", NULL
40646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40648 if (!SWIG_IsOK(res1
)) {
40649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40651 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40653 if (!SWIG_IsOK(res2
)) {
40654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40656 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40659 (arg1
)->SetBackingBitmap(arg2
);
40660 wxPyEndAllowThreads(__tstate
);
40661 if (PyErr_Occurred()) SWIG_fail
;
40663 resultobj
= SWIG_Py_Void();
40670 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40671 PyObject
*resultobj
= 0;
40672 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40673 wxPoint
*arg2
= 0 ;
40674 wxWindow
*arg3
= (wxWindow
*) 0 ;
40675 bool arg4
= (bool) false ;
40676 wxRect
*arg5
= (wxRect
*) NULL
;
40687 PyObject
* obj0
= 0 ;
40688 PyObject
* obj1
= 0 ;
40689 PyObject
* obj2
= 0 ;
40690 PyObject
* obj3
= 0 ;
40691 PyObject
* obj4
= 0 ;
40692 char * kwnames
[] = {
40693 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40698 if (!SWIG_IsOK(res1
)) {
40699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40701 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40704 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40706 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40707 if (!SWIG_IsOK(res3
)) {
40708 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40710 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40712 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40713 if (!SWIG_IsOK(ecode4
)) {
40714 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40716 arg4
= static_cast< bool >(val4
);
40719 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40720 if (!SWIG_IsOK(res5
)) {
40721 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40723 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40727 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40728 wxPyEndAllowThreads(__tstate
);
40729 if (PyErr_Occurred()) SWIG_fail
;
40732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40740 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40741 PyObject
*resultobj
= 0;
40742 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40743 wxPoint
*arg2
= 0 ;
40744 wxWindow
*arg3
= (wxWindow
*) 0 ;
40745 wxWindow
*arg4
= (wxWindow
*) 0 ;
40754 PyObject
* obj0
= 0 ;
40755 PyObject
* obj1
= 0 ;
40756 PyObject
* obj2
= 0 ;
40757 PyObject
* obj3
= 0 ;
40758 char * kwnames
[] = {
40759 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40764 if (!SWIG_IsOK(res1
)) {
40765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40767 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40773 if (!SWIG_IsOK(res3
)) {
40774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40776 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40777 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40778 if (!SWIG_IsOK(res4
)) {
40779 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40781 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40784 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40785 wxPyEndAllowThreads(__tstate
);
40786 if (PyErr_Occurred()) SWIG_fail
;
40789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40797 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40798 PyObject
*resultobj
= 0;
40799 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40803 PyObject
*swig_obj
[1] ;
40805 if (!args
) SWIG_fail
;
40806 swig_obj
[0] = args
;
40807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40808 if (!SWIG_IsOK(res1
)) {
40809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40811 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40814 result
= (bool)(arg1
)->EndDrag();
40815 wxPyEndAllowThreads(__tstate
);
40816 if (PyErr_Occurred()) SWIG_fail
;
40819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40827 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40828 PyObject
*resultobj
= 0;
40829 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40830 wxPoint
*arg2
= 0 ;
40835 PyObject
* obj0
= 0 ;
40836 PyObject
* obj1
= 0 ;
40837 char * kwnames
[] = {
40838 (char *) "self",(char *) "pt", NULL
40841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40843 if (!SWIG_IsOK(res1
)) {
40844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40846 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40853 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40854 wxPyEndAllowThreads(__tstate
);
40855 if (PyErr_Occurred()) SWIG_fail
;
40858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40866 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40867 PyObject
*resultobj
= 0;
40868 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40872 PyObject
*swig_obj
[1] ;
40874 if (!args
) SWIG_fail
;
40875 swig_obj
[0] = args
;
40876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40877 if (!SWIG_IsOK(res1
)) {
40878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40880 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40883 result
= (bool)(arg1
)->Show();
40884 wxPyEndAllowThreads(__tstate
);
40885 if (PyErr_Occurred()) SWIG_fail
;
40888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40896 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40897 PyObject
*resultobj
= 0;
40898 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40902 PyObject
*swig_obj
[1] ;
40904 if (!args
) SWIG_fail
;
40905 swig_obj
[0] = args
;
40906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40907 if (!SWIG_IsOK(res1
)) {
40908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40910 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40913 result
= (bool)(arg1
)->Hide();
40914 wxPyEndAllowThreads(__tstate
);
40915 if (PyErr_Occurred()) SWIG_fail
;
40918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40926 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40927 PyObject
*resultobj
= 0;
40928 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40929 wxPoint
*arg2
= 0 ;
40934 PyObject
* obj0
= 0 ;
40935 PyObject
* obj1
= 0 ;
40936 char * kwnames
[] = {
40937 (char *) "self",(char *) "pos", NULL
40940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40942 if (!SWIG_IsOK(res1
)) {
40943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40945 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40952 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40953 wxPyEndAllowThreads(__tstate
);
40954 if (PyErr_Occurred()) SWIG_fail
;
40956 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40963 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40964 PyObject
*resultobj
= 0;
40965 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40967 wxPoint
*arg3
= 0 ;
40974 PyObject
* obj0
= 0 ;
40975 PyObject
* obj1
= 0 ;
40976 PyObject
* obj2
= 0 ;
40977 char * kwnames
[] = {
40978 (char *) "self",(char *) "dc",(char *) "pos", NULL
40981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40983 if (!SWIG_IsOK(res1
)) {
40984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40986 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40988 if (!SWIG_IsOK(res2
)) {
40989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40994 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41001 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41002 wxPyEndAllowThreads(__tstate
);
41003 if (PyErr_Occurred()) SWIG_fail
;
41006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41014 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41015 PyObject
*resultobj
= 0;
41016 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41018 wxMemoryDC
*arg3
= 0 ;
41030 PyObject
* obj0
= 0 ;
41031 PyObject
* obj1
= 0 ;
41032 PyObject
* obj2
= 0 ;
41033 PyObject
* obj3
= 0 ;
41034 PyObject
* obj4
= 0 ;
41035 char * kwnames
[] = {
41036 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41041 if (!SWIG_IsOK(res1
)) {
41042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41044 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41046 if (!SWIG_IsOK(res2
)) {
41047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41052 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41053 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41054 if (!SWIG_IsOK(res3
)) {
41055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41060 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41063 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41067 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41071 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41072 wxPyEndAllowThreads(__tstate
);
41073 if (PyErr_Occurred()) SWIG_fail
;
41076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41084 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41085 PyObject
*resultobj
= 0;
41086 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41087 wxPoint
*arg2
= 0 ;
41088 wxPoint
*arg3
= 0 ;
41100 PyObject
* obj0
= 0 ;
41101 PyObject
* obj1
= 0 ;
41102 PyObject
* obj2
= 0 ;
41103 PyObject
* obj3
= 0 ;
41104 PyObject
* obj4
= 0 ;
41105 char * kwnames
[] = {
41106 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41111 if (!SWIG_IsOK(res1
)) {
41112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41114 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41121 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41123 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41124 if (!SWIG_IsOK(ecode4
)) {
41125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41127 arg4
= static_cast< bool >(val4
);
41128 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41129 if (!SWIG_IsOK(ecode5
)) {
41130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41132 arg5
= static_cast< bool >(val5
);
41134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41135 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41136 wxPyEndAllowThreads(__tstate
);
41137 if (PyErr_Occurred()) SWIG_fail
;
41140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41148 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41151 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41152 return SWIG_Py_Void();
41155 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41156 return SWIG_Python_InitShadowInstance(args
);
41159 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41160 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41165 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41166 PyObject
*pyobj
= 0;
41170 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41172 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41179 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41180 PyObject
*resultobj
= 0;
41181 wxWindow
*arg1
= (wxWindow
*) 0 ;
41182 int arg2
= (int) -1 ;
41183 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41184 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41189 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41190 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41191 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41192 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41193 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41194 wxDatePickerCtrl
*result
= 0 ;
41207 bool temp8
= false ;
41208 PyObject
* obj0
= 0 ;
41209 PyObject
* obj1
= 0 ;
41210 PyObject
* obj2
= 0 ;
41211 PyObject
* obj3
= 0 ;
41212 PyObject
* obj4
= 0 ;
41213 PyObject
* obj5
= 0 ;
41214 PyObject
* obj6
= 0 ;
41215 PyObject
* obj7
= 0 ;
41216 char * kwnames
[] = {
41217 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41222 if (!SWIG_IsOK(res1
)) {
41223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41228 if (!SWIG_IsOK(ecode2
)) {
41229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41231 arg2
= static_cast< int >(val2
);
41234 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41235 if (!SWIG_IsOK(res3
)) {
41236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41241 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41256 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41257 if (!SWIG_IsOK(ecode6
)) {
41258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41260 arg6
= static_cast< long >(val6
);
41263 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41264 if (!SWIG_IsOK(res7
)) {
41265 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41270 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41274 arg8
= wxString_in_helper(obj7
);
41275 if (arg8
== NULL
) SWIG_fail
;
41280 if (!wxPyCheckForApp()) SWIG_fail
;
41281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41282 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41283 wxPyEndAllowThreads(__tstate
);
41284 if (PyErr_Occurred()) SWIG_fail
;
41286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41301 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41302 PyObject
*resultobj
= 0;
41303 wxDatePickerCtrl
*result
= 0 ;
41305 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41307 if (!wxPyCheckForApp()) SWIG_fail
;
41308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41309 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41310 wxPyEndAllowThreads(__tstate
);
41311 if (PyErr_Occurred()) SWIG_fail
;
41313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41320 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41321 PyObject
*resultobj
= 0;
41322 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41323 wxWindow
*arg2
= (wxWindow
*) 0 ;
41324 int arg3
= (int) -1 ;
41325 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41326 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41327 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41328 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41329 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41330 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41331 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41332 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41333 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41334 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41335 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41351 bool temp9
= false ;
41352 PyObject
* obj0
= 0 ;
41353 PyObject
* obj1
= 0 ;
41354 PyObject
* obj2
= 0 ;
41355 PyObject
* obj3
= 0 ;
41356 PyObject
* obj4
= 0 ;
41357 PyObject
* obj5
= 0 ;
41358 PyObject
* obj6
= 0 ;
41359 PyObject
* obj7
= 0 ;
41360 PyObject
* obj8
= 0 ;
41361 char * kwnames
[] = {
41362 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41367 if (!SWIG_IsOK(res1
)) {
41368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41370 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41371 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41372 if (!SWIG_IsOK(res2
)) {
41373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41375 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41378 if (!SWIG_IsOK(ecode3
)) {
41379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41381 arg3
= static_cast< int >(val3
);
41384 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41385 if (!SWIG_IsOK(res4
)) {
41386 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41391 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41396 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41402 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41406 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41407 if (!SWIG_IsOK(ecode7
)) {
41408 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41410 arg7
= static_cast< long >(val7
);
41413 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41414 if (!SWIG_IsOK(res8
)) {
41415 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41420 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41424 arg9
= wxString_in_helper(obj8
);
41425 if (arg9
== NULL
) SWIG_fail
;
41430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41431 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41432 wxPyEndAllowThreads(__tstate
);
41433 if (PyErr_Occurred()) SWIG_fail
;
41436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41452 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41453 PyObject
*resultobj
= 0;
41454 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41455 wxDateTime
*arg2
= 0 ;
41460 PyObject
* obj0
= 0 ;
41461 PyObject
* obj1
= 0 ;
41462 char * kwnames
[] = {
41463 (char *) "self",(char *) "dt", NULL
41466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41468 if (!SWIG_IsOK(res1
)) {
41469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41471 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41473 if (!SWIG_IsOK(res2
)) {
41474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41479 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41482 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41483 wxPyEndAllowThreads(__tstate
);
41484 if (PyErr_Occurred()) SWIG_fail
;
41486 resultobj
= SWIG_Py_Void();
41493 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41494 PyObject
*resultobj
= 0;
41495 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41499 PyObject
*swig_obj
[1] ;
41501 if (!args
) SWIG_fail
;
41502 swig_obj
[0] = args
;
41503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41504 if (!SWIG_IsOK(res1
)) {
41505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41507 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41510 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41511 wxPyEndAllowThreads(__tstate
);
41512 if (PyErr_Occurred()) SWIG_fail
;
41514 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41521 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41522 PyObject
*resultobj
= 0;
41523 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41524 wxDateTime
*arg2
= 0 ;
41525 wxDateTime
*arg3
= 0 ;
41532 PyObject
* obj0
= 0 ;
41533 PyObject
* obj1
= 0 ;
41534 PyObject
* obj2
= 0 ;
41535 char * kwnames
[] = {
41536 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41541 if (!SWIG_IsOK(res1
)) {
41542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41544 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41546 if (!SWIG_IsOK(res2
)) {
41547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41552 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41553 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41554 if (!SWIG_IsOK(res3
)) {
41555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41560 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41563 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41564 wxPyEndAllowThreads(__tstate
);
41565 if (PyErr_Occurred()) SWIG_fail
;
41567 resultobj
= SWIG_Py_Void();
41574 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41575 PyObject
*resultobj
= 0;
41576 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41580 PyObject
*swig_obj
[1] ;
41582 if (!args
) SWIG_fail
;
41583 swig_obj
[0] = args
;
41584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41585 if (!SWIG_IsOK(res1
)) {
41586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41588 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41591 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41592 wxPyEndAllowThreads(__tstate
);
41593 if (PyErr_Occurred()) SWIG_fail
;
41595 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41602 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41603 PyObject
*resultobj
= 0;
41604 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41608 PyObject
*swig_obj
[1] ;
41610 if (!args
) SWIG_fail
;
41611 swig_obj
[0] = args
;
41612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41613 if (!SWIG_IsOK(res1
)) {
41614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41616 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41619 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41620 wxPyEndAllowThreads(__tstate
);
41621 if (PyErr_Occurred()) SWIG_fail
;
41623 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41630 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41633 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41634 return SWIG_Py_Void();
41637 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41638 return SWIG_Python_InitShadowInstance(args
);
41641 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41642 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41647 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41648 PyObject
*pyobj
= 0;
41652 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41654 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41661 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41662 PyObject
*resultobj
= 0;
41663 wxWindow
*arg1
= (wxWindow
*) 0 ;
41665 wxString
*arg3
= 0 ;
41666 wxString
*arg4
= 0 ;
41667 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41668 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41669 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41670 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41671 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41672 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41673 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41674 wxHyperlinkCtrl
*result
= 0 ;
41679 bool temp3
= false ;
41680 bool temp4
= false ;
41685 bool temp8
= false ;
41686 PyObject
* obj0
= 0 ;
41687 PyObject
* obj1
= 0 ;
41688 PyObject
* obj2
= 0 ;
41689 PyObject
* obj3
= 0 ;
41690 PyObject
* obj4
= 0 ;
41691 PyObject
* obj5
= 0 ;
41692 PyObject
* obj6
= 0 ;
41693 PyObject
* obj7
= 0 ;
41694 char * kwnames
[] = {
41695 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41700 if (!SWIG_IsOK(res1
)) {
41701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41703 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41705 if (!SWIG_IsOK(ecode2
)) {
41706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41708 arg2
= static_cast< int >(val2
);
41710 arg3
= wxString_in_helper(obj2
);
41711 if (arg3
== NULL
) SWIG_fail
;
41715 arg4
= wxString_in_helper(obj3
);
41716 if (arg4
== NULL
) SWIG_fail
;
41722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41732 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41733 if (!SWIG_IsOK(ecode7
)) {
41734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41736 arg7
= static_cast< long >(val7
);
41740 arg8
= wxString_in_helper(obj7
);
41741 if (arg8
== NULL
) SWIG_fail
;
41746 if (!wxPyCheckForApp()) SWIG_fail
;
41747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41748 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41749 wxPyEndAllowThreads(__tstate
);
41750 if (PyErr_Occurred()) SWIG_fail
;
41752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41783 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41784 PyObject
*resultobj
= 0;
41785 wxHyperlinkCtrl
*result
= 0 ;
41787 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41789 if (!wxPyCheckForApp()) SWIG_fail
;
41790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41791 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41792 wxPyEndAllowThreads(__tstate
);
41793 if (PyErr_Occurred()) SWIG_fail
;
41795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41802 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41803 PyObject
*resultobj
= 0;
41804 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41805 wxWindow
*arg2
= (wxWindow
*) 0 ;
41807 wxString
*arg4
= 0 ;
41808 wxString
*arg5
= 0 ;
41809 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41810 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41811 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41812 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41813 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41814 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41815 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41823 bool temp4
= false ;
41824 bool temp5
= false ;
41829 bool temp9
= false ;
41830 PyObject
* obj0
= 0 ;
41831 PyObject
* obj1
= 0 ;
41832 PyObject
* obj2
= 0 ;
41833 PyObject
* obj3
= 0 ;
41834 PyObject
* obj4
= 0 ;
41835 PyObject
* obj5
= 0 ;
41836 PyObject
* obj6
= 0 ;
41837 PyObject
* obj7
= 0 ;
41838 PyObject
* obj8
= 0 ;
41839 char * kwnames
[] = {
41840 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41845 if (!SWIG_IsOK(res1
)) {
41846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41848 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41850 if (!SWIG_IsOK(res2
)) {
41851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41853 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41855 if (!SWIG_IsOK(ecode3
)) {
41856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41858 arg3
= static_cast< int >(val3
);
41860 arg4
= wxString_in_helper(obj3
);
41861 if (arg4
== NULL
) SWIG_fail
;
41865 arg5
= wxString_in_helper(obj4
);
41866 if (arg5
== NULL
) SWIG_fail
;
41872 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41878 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41882 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41883 if (!SWIG_IsOK(ecode8
)) {
41884 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41886 arg8
= static_cast< long >(val8
);
41890 arg9
= wxString_in_helper(obj8
);
41891 if (arg9
== NULL
) SWIG_fail
;
41896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41898 wxPyEndAllowThreads(__tstate
);
41899 if (PyErr_Occurred()) SWIG_fail
;
41902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41934 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41935 PyObject
*resultobj
= 0;
41936 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41940 PyObject
*swig_obj
[1] ;
41942 if (!args
) SWIG_fail
;
41943 swig_obj
[0] = args
;
41944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41945 if (!SWIG_IsOK(res1
)) {
41946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41948 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41951 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41952 wxPyEndAllowThreads(__tstate
);
41953 if (PyErr_Occurred()) SWIG_fail
;
41955 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41962 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41963 PyObject
*resultobj
= 0;
41964 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41965 wxColour
*arg2
= 0 ;
41969 PyObject
* obj0
= 0 ;
41970 PyObject
* obj1
= 0 ;
41971 char * kwnames
[] = {
41972 (char *) "self",(char *) "colour", NULL
41975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41977 if (!SWIG_IsOK(res1
)) {
41978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41980 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41983 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41987 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41988 wxPyEndAllowThreads(__tstate
);
41989 if (PyErr_Occurred()) SWIG_fail
;
41991 resultobj
= SWIG_Py_Void();
41998 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41999 PyObject
*resultobj
= 0;
42000 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42004 PyObject
*swig_obj
[1] ;
42006 if (!args
) SWIG_fail
;
42007 swig_obj
[0] = args
;
42008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42009 if (!SWIG_IsOK(res1
)) {
42010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42012 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42015 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42016 wxPyEndAllowThreads(__tstate
);
42017 if (PyErr_Occurred()) SWIG_fail
;
42019 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42026 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42027 PyObject
*resultobj
= 0;
42028 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42029 wxColour
*arg2
= 0 ;
42033 PyObject
* obj0
= 0 ;
42034 PyObject
* obj1
= 0 ;
42035 char * kwnames
[] = {
42036 (char *) "self",(char *) "colour", NULL
42039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42041 if (!SWIG_IsOK(res1
)) {
42042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42044 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42051 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42052 wxPyEndAllowThreads(__tstate
);
42053 if (PyErr_Occurred()) SWIG_fail
;
42055 resultobj
= SWIG_Py_Void();
42062 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42063 PyObject
*resultobj
= 0;
42064 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42068 PyObject
*swig_obj
[1] ;
42070 if (!args
) SWIG_fail
;
42071 swig_obj
[0] = args
;
42072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42073 if (!SWIG_IsOK(res1
)) {
42074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42076 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42079 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42080 wxPyEndAllowThreads(__tstate
);
42081 if (PyErr_Occurred()) SWIG_fail
;
42083 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42090 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42091 PyObject
*resultobj
= 0;
42092 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42093 wxColour
*arg2
= 0 ;
42097 PyObject
* obj0
= 0 ;
42098 PyObject
* obj1
= 0 ;
42099 char * kwnames
[] = {
42100 (char *) "self",(char *) "colour", NULL
42103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42105 if (!SWIG_IsOK(res1
)) {
42106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42108 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42111 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42115 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42116 wxPyEndAllowThreads(__tstate
);
42117 if (PyErr_Occurred()) SWIG_fail
;
42119 resultobj
= SWIG_Py_Void();
42126 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42127 PyObject
*resultobj
= 0;
42128 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42132 PyObject
*swig_obj
[1] ;
42134 if (!args
) SWIG_fail
;
42135 swig_obj
[0] = args
;
42136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42137 if (!SWIG_IsOK(res1
)) {
42138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42140 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42143 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42144 wxPyEndAllowThreads(__tstate
);
42145 if (PyErr_Occurred()) SWIG_fail
;
42149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42160 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42161 PyObject
*resultobj
= 0;
42162 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42163 wxString
*arg2
= 0 ;
42166 bool temp2
= false ;
42167 PyObject
* obj0
= 0 ;
42168 PyObject
* obj1
= 0 ;
42169 char * kwnames
[] = {
42170 (char *) "self",(char *) "url", NULL
42173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42175 if (!SWIG_IsOK(res1
)) {
42176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42178 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42180 arg2
= wxString_in_helper(obj1
);
42181 if (arg2
== NULL
) SWIG_fail
;
42185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42186 (arg1
)->SetURL((wxString
const &)*arg2
);
42187 wxPyEndAllowThreads(__tstate
);
42188 if (PyErr_Occurred()) SWIG_fail
;
42190 resultobj
= SWIG_Py_Void();
42205 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42206 PyObject
*resultobj
= 0;
42207 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42208 bool arg2
= (bool) true ;
42213 PyObject
* obj0
= 0 ;
42214 PyObject
* obj1
= 0 ;
42215 char * kwnames
[] = {
42216 (char *) "self",(char *) "visited", NULL
42219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42221 if (!SWIG_IsOK(res1
)) {
42222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42224 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42226 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42227 if (!SWIG_IsOK(ecode2
)) {
42228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42230 arg2
= static_cast< bool >(val2
);
42233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42234 (arg1
)->SetVisited(arg2
);
42235 wxPyEndAllowThreads(__tstate
);
42236 if (PyErr_Occurred()) SWIG_fail
;
42238 resultobj
= SWIG_Py_Void();
42245 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42246 PyObject
*resultobj
= 0;
42247 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42251 PyObject
*swig_obj
[1] ;
42253 if (!args
) SWIG_fail
;
42254 swig_obj
[0] = args
;
42255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42256 if (!SWIG_IsOK(res1
)) {
42257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42259 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42262 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42263 wxPyEndAllowThreads(__tstate
);
42264 if (PyErr_Occurred()) SWIG_fail
;
42267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42275 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42278 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42279 return SWIG_Py_Void();
42282 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42283 return SWIG_Python_InitShadowInstance(args
);
42286 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42287 PyObject
*resultobj
= 0;
42288 wxObject
*arg1
= (wxObject
*) 0 ;
42290 wxString
*arg3
= 0 ;
42291 wxHyperlinkEvent
*result
= 0 ;
42296 bool temp3
= false ;
42297 PyObject
* obj0
= 0 ;
42298 PyObject
* obj1
= 0 ;
42299 PyObject
* obj2
= 0 ;
42300 char * kwnames
[] = {
42301 (char *) "generator",(char *) "id",(char *) "url", NULL
42304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42306 if (!SWIG_IsOK(res1
)) {
42307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42309 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42311 if (!SWIG_IsOK(ecode2
)) {
42312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42314 arg2
= static_cast< int >(val2
);
42316 arg3
= wxString_in_helper(obj2
);
42317 if (arg3
== NULL
) SWIG_fail
;
42321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42322 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42323 wxPyEndAllowThreads(__tstate
);
42324 if (PyErr_Occurred()) SWIG_fail
;
42326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42341 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42342 PyObject
*resultobj
= 0;
42343 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42347 PyObject
*swig_obj
[1] ;
42349 if (!args
) SWIG_fail
;
42350 swig_obj
[0] = args
;
42351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42352 if (!SWIG_IsOK(res1
)) {
42353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42355 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42358 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42359 wxPyEndAllowThreads(__tstate
);
42360 if (PyErr_Occurred()) SWIG_fail
;
42364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42375 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42376 PyObject
*resultobj
= 0;
42377 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42378 wxString
*arg2
= 0 ;
42381 bool temp2
= false ;
42382 PyObject
* obj0
= 0 ;
42383 PyObject
* obj1
= 0 ;
42384 char * kwnames
[] = {
42385 (char *) "self",(char *) "url", NULL
42388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42390 if (!SWIG_IsOK(res1
)) {
42391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42393 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42395 arg2
= wxString_in_helper(obj1
);
42396 if (arg2
== NULL
) SWIG_fail
;
42400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42401 (arg1
)->SetURL((wxString
const &)*arg2
);
42402 wxPyEndAllowThreads(__tstate
);
42403 if (PyErr_Occurred()) SWIG_fail
;
42405 resultobj
= SWIG_Py_Void();
42420 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42423 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42424 return SWIG_Py_Void();
42427 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42428 return SWIG_Python_InitShadowInstance(args
);
42431 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42432 PyObject
*resultobj
= 0;
42433 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42434 wxWindow
*arg2
= (wxWindow
*) 0 ;
42436 wxString
const &arg4_defvalue
= wxEmptyString
;
42437 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42438 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42439 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42440 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42441 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42442 long arg7
= (long) 0 ;
42443 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42444 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42445 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42446 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42454 bool temp4
= false ;
42461 bool temp9
= false ;
42462 PyObject
* obj0
= 0 ;
42463 PyObject
* obj1
= 0 ;
42464 PyObject
* obj2
= 0 ;
42465 PyObject
* obj3
= 0 ;
42466 PyObject
* obj4
= 0 ;
42467 PyObject
* obj5
= 0 ;
42468 PyObject
* obj6
= 0 ;
42469 PyObject
* obj7
= 0 ;
42470 PyObject
* obj8
= 0 ;
42471 char * kwnames
[] = {
42472 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42477 if (!SWIG_IsOK(res1
)) {
42478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42480 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42482 if (!SWIG_IsOK(res2
)) {
42483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42485 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42487 if (!SWIG_IsOK(ecode3
)) {
42488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42490 arg3
= static_cast< int >(val3
);
42493 arg4
= wxString_in_helper(obj3
);
42494 if (arg4
== NULL
) SWIG_fail
;
42501 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42507 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42511 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42512 if (!SWIG_IsOK(ecode7
)) {
42513 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42515 arg7
= static_cast< long >(val7
);
42518 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42519 if (!SWIG_IsOK(res8
)) {
42520 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42525 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42529 arg9
= wxString_in_helper(obj8
);
42530 if (arg9
== NULL
) SWIG_fail
;
42535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42536 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42537 wxPyEndAllowThreads(__tstate
);
42538 if (PyErr_Occurred()) SWIG_fail
;
42541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42565 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42566 PyObject
*resultobj
= 0;
42567 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42573 PyObject
* obj0
= 0 ;
42574 PyObject
* obj1
= 0 ;
42575 char * kwnames
[] = {
42576 (char *) "self",(char *) "newmargin", NULL
42579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42581 if (!SWIG_IsOK(res1
)) {
42582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42584 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42586 if (!SWIG_IsOK(ecode2
)) {
42587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42589 arg2
= static_cast< int >(val2
);
42591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42592 (arg1
)->SetInternalMargin(arg2
);
42593 wxPyEndAllowThreads(__tstate
);
42594 if (PyErr_Occurred()) SWIG_fail
;
42596 resultobj
= SWIG_Py_Void();
42603 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42604 PyObject
*resultobj
= 0;
42605 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42609 PyObject
*swig_obj
[1] ;
42611 if (!args
) SWIG_fail
;
42612 swig_obj
[0] = args
;
42613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42614 if (!SWIG_IsOK(res1
)) {
42615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42617 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42620 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42621 wxPyEndAllowThreads(__tstate
);
42622 if (PyErr_Occurred()) SWIG_fail
;
42624 resultobj
= SWIG_From_int(static_cast< int >(result
));
42631 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42632 PyObject
*resultobj
= 0;
42633 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42639 PyObject
* obj0
= 0 ;
42640 PyObject
* obj1
= 0 ;
42641 char * kwnames
[] = {
42642 (char *) "self",(char *) "prop", NULL
42645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42647 if (!SWIG_IsOK(res1
)) {
42648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42650 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42652 if (!SWIG_IsOK(ecode2
)) {
42653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42655 arg2
= static_cast< int >(val2
);
42657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42658 (arg1
)->SetTextCtrlProportion(arg2
);
42659 wxPyEndAllowThreads(__tstate
);
42660 if (PyErr_Occurred()) SWIG_fail
;
42662 resultobj
= SWIG_Py_Void();
42669 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42670 PyObject
*resultobj
= 0;
42671 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42675 PyObject
*swig_obj
[1] ;
42677 if (!args
) SWIG_fail
;
42678 swig_obj
[0] = args
;
42679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42680 if (!SWIG_IsOK(res1
)) {
42681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42683 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42686 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42687 wxPyEndAllowThreads(__tstate
);
42688 if (PyErr_Occurred()) SWIG_fail
;
42690 resultobj
= SWIG_From_int(static_cast< int >(result
));
42697 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42698 PyObject
*resultobj
= 0;
42699 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42705 PyObject
* obj0
= 0 ;
42706 PyObject
* obj1
= 0 ;
42707 char * kwnames
[] = {
42708 (char *) "self",(char *) "prop", NULL
42711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42713 if (!SWIG_IsOK(res1
)) {
42714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42716 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42718 if (!SWIG_IsOK(ecode2
)) {
42719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42721 arg2
= static_cast< int >(val2
);
42723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42724 (arg1
)->SetPickerCtrlProportion(arg2
);
42725 wxPyEndAllowThreads(__tstate
);
42726 if (PyErr_Occurred()) SWIG_fail
;
42728 resultobj
= SWIG_Py_Void();
42735 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42736 PyObject
*resultobj
= 0;
42737 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42741 PyObject
*swig_obj
[1] ;
42743 if (!args
) SWIG_fail
;
42744 swig_obj
[0] = args
;
42745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42746 if (!SWIG_IsOK(res1
)) {
42747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42749 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42752 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42753 wxPyEndAllowThreads(__tstate
);
42754 if (PyErr_Occurred()) SWIG_fail
;
42756 resultobj
= SWIG_From_int(static_cast< int >(result
));
42763 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42764 PyObject
*resultobj
= 0;
42765 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42769 PyObject
*swig_obj
[1] ;
42771 if (!args
) SWIG_fail
;
42772 swig_obj
[0] = args
;
42773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42774 if (!SWIG_IsOK(res1
)) {
42775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42777 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42780 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42781 wxPyEndAllowThreads(__tstate
);
42782 if (PyErr_Occurred()) SWIG_fail
;
42785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42793 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42794 PyObject
*resultobj
= 0;
42795 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42796 bool arg2
= (bool) true ;
42801 PyObject
* obj0
= 0 ;
42802 PyObject
* obj1
= 0 ;
42803 char * kwnames
[] = {
42804 (char *) "self",(char *) "grow", NULL
42807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42809 if (!SWIG_IsOK(res1
)) {
42810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42812 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42815 if (!SWIG_IsOK(ecode2
)) {
42816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42818 arg2
= static_cast< bool >(val2
);
42821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42822 (arg1
)->SetTextCtrlGrowable(arg2
);
42823 wxPyEndAllowThreads(__tstate
);
42824 if (PyErr_Occurred()) SWIG_fail
;
42826 resultobj
= SWIG_Py_Void();
42833 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42834 PyObject
*resultobj
= 0;
42835 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42839 PyObject
*swig_obj
[1] ;
42841 if (!args
) SWIG_fail
;
42842 swig_obj
[0] = args
;
42843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42844 if (!SWIG_IsOK(res1
)) {
42845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42847 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42850 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42851 wxPyEndAllowThreads(__tstate
);
42852 if (PyErr_Occurred()) SWIG_fail
;
42855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42863 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42864 PyObject
*resultobj
= 0;
42865 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42866 bool arg2
= (bool) true ;
42871 PyObject
* obj0
= 0 ;
42872 PyObject
* obj1
= 0 ;
42873 char * kwnames
[] = {
42874 (char *) "self",(char *) "grow", NULL
42877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42879 if (!SWIG_IsOK(res1
)) {
42880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42882 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42885 if (!SWIG_IsOK(ecode2
)) {
42886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42888 arg2
= static_cast< bool >(val2
);
42891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42892 (arg1
)->SetPickerCtrlGrowable(arg2
);
42893 wxPyEndAllowThreads(__tstate
);
42894 if (PyErr_Occurred()) SWIG_fail
;
42896 resultobj
= SWIG_Py_Void();
42903 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42904 PyObject
*resultobj
= 0;
42905 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42909 PyObject
*swig_obj
[1] ;
42911 if (!args
) SWIG_fail
;
42912 swig_obj
[0] = args
;
42913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42914 if (!SWIG_IsOK(res1
)) {
42915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42917 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42920 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42921 wxPyEndAllowThreads(__tstate
);
42922 if (PyErr_Occurred()) SWIG_fail
;
42925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42933 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42934 PyObject
*resultobj
= 0;
42935 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42936 wxTextCtrl
*result
= 0 ;
42939 PyObject
*swig_obj
[1] ;
42941 if (!args
) SWIG_fail
;
42942 swig_obj
[0] = args
;
42943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42944 if (!SWIG_IsOK(res1
)) {
42945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42947 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42950 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42951 wxPyEndAllowThreads(__tstate
);
42952 if (PyErr_Occurred()) SWIG_fail
;
42955 resultobj
= wxPyMake_wxObject(result
, 0);
42963 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42964 PyObject
*resultobj
= 0;
42965 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42966 wxControl
*result
= 0 ;
42969 PyObject
*swig_obj
[1] ;
42971 if (!args
) SWIG_fail
;
42972 swig_obj
[0] = args
;
42973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42974 if (!SWIG_IsOK(res1
)) {
42975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42977 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42980 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42981 wxPyEndAllowThreads(__tstate
);
42982 if (PyErr_Occurred()) SWIG_fail
;
42985 resultobj
= wxPyMake_wxObject(result
, 0);
42993 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42996 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42997 return SWIG_Py_Void();
43000 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43001 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43006 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43007 PyObject
*pyobj
= 0;
43011 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43013 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43020 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43021 PyObject
*resultobj
= 0;
43022 wxWindow
*arg1
= (wxWindow
*) 0 ;
43023 int arg2
= (int) -1 ;
43024 wxColour
const &arg3_defvalue
= *wxBLACK
;
43025 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43026 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43027 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43028 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43029 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43030 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43031 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43032 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43033 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43034 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43035 wxColourPickerCtrl
*result
= 0 ;
43047 bool temp8
= false ;
43048 PyObject
* obj0
= 0 ;
43049 PyObject
* obj1
= 0 ;
43050 PyObject
* obj2
= 0 ;
43051 PyObject
* obj3
= 0 ;
43052 PyObject
* obj4
= 0 ;
43053 PyObject
* obj5
= 0 ;
43054 PyObject
* obj6
= 0 ;
43055 PyObject
* obj7
= 0 ;
43056 char * kwnames
[] = {
43057 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43062 if (!SWIG_IsOK(res1
)) {
43063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43065 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43068 if (!SWIG_IsOK(ecode2
)) {
43069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43071 arg2
= static_cast< int >(val2
);
43076 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43092 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43093 if (!SWIG_IsOK(ecode6
)) {
43094 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43096 arg6
= static_cast< long >(val6
);
43099 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43100 if (!SWIG_IsOK(res7
)) {
43101 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43106 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43110 arg8
= wxString_in_helper(obj7
);
43111 if (arg8
== NULL
) SWIG_fail
;
43116 if (!wxPyCheckForApp()) SWIG_fail
;
43117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43118 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43119 wxPyEndAllowThreads(__tstate
);
43120 if (PyErr_Occurred()) SWIG_fail
;
43122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43137 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43138 PyObject
*resultobj
= 0;
43139 wxColourPickerCtrl
*result
= 0 ;
43141 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43143 if (!wxPyCheckForApp()) SWIG_fail
;
43144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43145 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43146 wxPyEndAllowThreads(__tstate
);
43147 if (PyErr_Occurred()) SWIG_fail
;
43149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43156 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43157 PyObject
*resultobj
= 0;
43158 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43159 wxWindow
*arg2
= (wxWindow
*) 0 ;
43161 wxColour
const &arg4_defvalue
= *wxBLACK
;
43162 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43167 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43168 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43169 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43170 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43171 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43186 bool temp9
= false ;
43187 PyObject
* obj0
= 0 ;
43188 PyObject
* obj1
= 0 ;
43189 PyObject
* obj2
= 0 ;
43190 PyObject
* obj3
= 0 ;
43191 PyObject
* obj4
= 0 ;
43192 PyObject
* obj5
= 0 ;
43193 PyObject
* obj6
= 0 ;
43194 PyObject
* obj7
= 0 ;
43195 PyObject
* obj8
= 0 ;
43196 char * kwnames
[] = {
43197 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43202 if (!SWIG_IsOK(res1
)) {
43203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43205 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43207 if (!SWIG_IsOK(res2
)) {
43208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43212 if (!SWIG_IsOK(ecode3
)) {
43213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43215 arg3
= static_cast< int >(val3
);
43219 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43225 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43231 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43235 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43236 if (!SWIG_IsOK(ecode7
)) {
43237 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43239 arg7
= static_cast< long >(val7
);
43242 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43243 if (!SWIG_IsOK(res8
)) {
43244 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43249 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43253 arg9
= wxString_in_helper(obj8
);
43254 if (arg9
== NULL
) SWIG_fail
;
43259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43261 wxPyEndAllowThreads(__tstate
);
43262 if (PyErr_Occurred()) SWIG_fail
;
43265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43281 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43282 PyObject
*resultobj
= 0;
43283 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43287 PyObject
*swig_obj
[1] ;
43289 if (!args
) SWIG_fail
;
43290 swig_obj
[0] = args
;
43291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43292 if (!SWIG_IsOK(res1
)) {
43293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43295 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43298 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43299 wxPyEndAllowThreads(__tstate
);
43300 if (PyErr_Occurred()) SWIG_fail
;
43302 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43309 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43310 PyObject
*resultobj
= 0;
43311 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43312 wxColour
*arg2
= 0 ;
43316 PyObject
* obj0
= 0 ;
43317 PyObject
* obj1
= 0 ;
43318 char * kwnames
[] = {
43319 (char *) "self",(char *) "col", NULL
43322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43324 if (!SWIG_IsOK(res1
)) {
43325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43327 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43334 (arg1
)->SetColour((wxColour
const &)*arg2
);
43335 wxPyEndAllowThreads(__tstate
);
43336 if (PyErr_Occurred()) SWIG_fail
;
43338 resultobj
= SWIG_Py_Void();
43345 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43348 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43349 return SWIG_Py_Void();
43352 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43353 return SWIG_Python_InitShadowInstance(args
);
43356 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43357 PyObject
*resultobj
= 0;
43358 wxObject
*arg1
= (wxObject
*) 0 ;
43360 wxColour
*arg3
= 0 ;
43361 wxColourPickerEvent
*result
= 0 ;
43367 PyObject
* obj0
= 0 ;
43368 PyObject
* obj1
= 0 ;
43369 PyObject
* obj2
= 0 ;
43370 char * kwnames
[] = {
43371 (char *) "generator",(char *) "id",(char *) "col", NULL
43374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43376 if (!SWIG_IsOK(res1
)) {
43377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43379 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43381 if (!SWIG_IsOK(ecode2
)) {
43382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43384 arg2
= static_cast< int >(val2
);
43387 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43391 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43392 wxPyEndAllowThreads(__tstate
);
43393 if (PyErr_Occurred()) SWIG_fail
;
43395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43402 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43403 PyObject
*resultobj
= 0;
43404 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43408 PyObject
*swig_obj
[1] ;
43410 if (!args
) SWIG_fail
;
43411 swig_obj
[0] = args
;
43412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43413 if (!SWIG_IsOK(res1
)) {
43414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43416 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43419 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43420 wxPyEndAllowThreads(__tstate
);
43421 if (PyErr_Occurred()) SWIG_fail
;
43423 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43430 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43431 PyObject
*resultobj
= 0;
43432 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43433 wxColour
*arg2
= 0 ;
43437 PyObject
* obj0
= 0 ;
43438 PyObject
* obj1
= 0 ;
43439 char * kwnames
[] = {
43440 (char *) "self",(char *) "c", NULL
43443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43445 if (!SWIG_IsOK(res1
)) {
43446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43448 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43451 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43455 (arg1
)->SetColour((wxColour
const &)*arg2
);
43456 wxPyEndAllowThreads(__tstate
);
43457 if (PyErr_Occurred()) SWIG_fail
;
43459 resultobj
= SWIG_Py_Void();
43466 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43469 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43470 return SWIG_Py_Void();
43473 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43474 return SWIG_Python_InitShadowInstance(args
);
43477 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43478 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43483 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43484 PyObject
*pyobj
= 0;
43488 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43490 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43497 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43498 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43503 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43504 PyObject
*pyobj
= 0;
43508 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43510 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43517 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43518 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43523 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43524 PyObject
*pyobj
= 0;
43528 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43530 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43537 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43538 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43543 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43544 PyObject
*pyobj
= 0;
43548 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43550 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43557 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43558 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43563 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43564 PyObject
*pyobj
= 0;
43568 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43570 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43577 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43578 PyObject
*resultobj
= 0;
43579 wxWindow
*arg1
= (wxWindow
*) 0 ;
43580 int arg2
= (int) -1 ;
43581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43583 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43584 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43585 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43586 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43587 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43588 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43589 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43590 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43591 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43592 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43593 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43594 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43595 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43596 wxFilePickerCtrl
*result
= 0 ;
43601 bool temp3
= false ;
43602 bool temp4
= false ;
43603 bool temp5
= false ;
43610 bool temp10
= false ;
43611 PyObject
* obj0
= 0 ;
43612 PyObject
* obj1
= 0 ;
43613 PyObject
* obj2
= 0 ;
43614 PyObject
* obj3
= 0 ;
43615 PyObject
* obj4
= 0 ;
43616 PyObject
* obj5
= 0 ;
43617 PyObject
* obj6
= 0 ;
43618 PyObject
* obj7
= 0 ;
43619 PyObject
* obj8
= 0 ;
43620 PyObject
* obj9
= 0 ;
43621 char * kwnames
[] = {
43622 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43627 if (!SWIG_IsOK(res1
)) {
43628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43630 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43633 if (!SWIG_IsOK(ecode2
)) {
43634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43636 arg2
= static_cast< int >(val2
);
43640 arg3
= wxString_in_helper(obj2
);
43641 if (arg3
== NULL
) SWIG_fail
;
43647 arg4
= wxString_in_helper(obj3
);
43648 if (arg4
== NULL
) SWIG_fail
;
43654 arg5
= wxString_in_helper(obj4
);
43655 if (arg5
== NULL
) SWIG_fail
;
43662 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43668 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43672 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43673 if (!SWIG_IsOK(ecode8
)) {
43674 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43676 arg8
= static_cast< long >(val8
);
43679 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43680 if (!SWIG_IsOK(res9
)) {
43681 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43686 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43690 arg10
= wxString_in_helper(obj9
);
43691 if (arg10
== NULL
) SWIG_fail
;
43696 if (!wxPyCheckForApp()) SWIG_fail
;
43697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43698 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
);
43699 wxPyEndAllowThreads(__tstate
);
43700 if (PyErr_Occurred()) SWIG_fail
;
43702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43741 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43742 PyObject
*resultobj
= 0;
43743 wxFilePickerCtrl
*result
= 0 ;
43745 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43747 if (!wxPyCheckForApp()) SWIG_fail
;
43748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43749 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43750 wxPyEndAllowThreads(__tstate
);
43751 if (PyErr_Occurred()) SWIG_fail
;
43753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43760 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43761 PyObject
*resultobj
= 0;
43762 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43763 wxWindow
*arg2
= (wxWindow
*) 0 ;
43764 int arg3
= (int) -1 ;
43765 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43766 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43767 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43768 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43769 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43771 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43772 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43773 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43774 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43775 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43776 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43777 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43778 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43779 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43787 bool temp4
= false ;
43788 bool temp5
= false ;
43789 bool temp6
= false ;
43796 bool temp11
= false ;
43797 PyObject
* obj0
= 0 ;
43798 PyObject
* obj1
= 0 ;
43799 PyObject
* obj2
= 0 ;
43800 PyObject
* obj3
= 0 ;
43801 PyObject
* obj4
= 0 ;
43802 PyObject
* obj5
= 0 ;
43803 PyObject
* obj6
= 0 ;
43804 PyObject
* obj7
= 0 ;
43805 PyObject
* obj8
= 0 ;
43806 PyObject
* obj9
= 0 ;
43807 PyObject
* obj10
= 0 ;
43808 char * kwnames
[] = {
43809 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43814 if (!SWIG_IsOK(res1
)) {
43815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43817 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43819 if (!SWIG_IsOK(res2
)) {
43820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43822 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43825 if (!SWIG_IsOK(ecode3
)) {
43826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43828 arg3
= static_cast< int >(val3
);
43832 arg4
= wxString_in_helper(obj3
);
43833 if (arg4
== NULL
) SWIG_fail
;
43839 arg5
= wxString_in_helper(obj4
);
43840 if (arg5
== NULL
) SWIG_fail
;
43846 arg6
= wxString_in_helper(obj5
);
43847 if (arg6
== NULL
) SWIG_fail
;
43854 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43860 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43864 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43865 if (!SWIG_IsOK(ecode9
)) {
43866 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43868 arg9
= static_cast< long >(val9
);
43871 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43872 if (!SWIG_IsOK(res10
)) {
43873 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43878 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43882 arg11
= wxString_in_helper(obj10
);
43883 if (arg11
== NULL
) SWIG_fail
;
43888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43889 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
);
43890 wxPyEndAllowThreads(__tstate
);
43891 if (PyErr_Occurred()) SWIG_fail
;
43894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43934 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43935 PyObject
*resultobj
= 0;
43936 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43940 PyObject
*swig_obj
[1] ;
43942 if (!args
) SWIG_fail
;
43943 swig_obj
[0] = args
;
43944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43945 if (!SWIG_IsOK(res1
)) {
43946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43948 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43951 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43952 wxPyEndAllowThreads(__tstate
);
43953 if (PyErr_Occurred()) SWIG_fail
;
43957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43968 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43969 PyObject
*resultobj
= 0;
43970 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43971 wxString
*arg2
= 0 ;
43974 bool temp2
= false ;
43975 PyObject
* obj0
= 0 ;
43976 PyObject
* obj1
= 0 ;
43977 char * kwnames
[] = {
43978 (char *) "self",(char *) "str", NULL
43981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43983 if (!SWIG_IsOK(res1
)) {
43984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43986 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43988 arg2
= wxString_in_helper(obj1
);
43989 if (arg2
== NULL
) SWIG_fail
;
43993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43994 (arg1
)->SetPath((wxString
const &)*arg2
);
43995 wxPyEndAllowThreads(__tstate
);
43996 if (PyErr_Occurred()) SWIG_fail
;
43998 resultobj
= SWIG_Py_Void();
44013 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44014 PyObject
*resultobj
= 0;
44015 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44016 wxString
*arg2
= 0 ;
44020 bool temp2
= false ;
44021 PyObject
* obj0
= 0 ;
44022 PyObject
* obj1
= 0 ;
44023 char * kwnames
[] = {
44024 (char *) "self",(char *) "path", NULL
44027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44029 if (!SWIG_IsOK(res1
)) {
44030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44032 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44034 arg2
= wxString_in_helper(obj1
);
44035 if (arg2
== NULL
) SWIG_fail
;
44039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44040 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44041 wxPyEndAllowThreads(__tstate
);
44042 if (PyErr_Occurred()) SWIG_fail
;
44045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44061 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44062 PyObject
*resultobj
= 0;
44063 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44067 PyObject
*swig_obj
[1] ;
44069 if (!args
) SWIG_fail
;
44070 swig_obj
[0] = args
;
44071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44072 if (!SWIG_IsOK(res1
)) {
44073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44075 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44078 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44079 wxPyEndAllowThreads(__tstate
);
44080 if (PyErr_Occurred()) SWIG_fail
;
44084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44095 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44098 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44099 return SWIG_Py_Void();
44102 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44103 return SWIG_Python_InitShadowInstance(args
);
44106 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44107 PyObject
*resultobj
= 0;
44108 wxWindow
*arg1
= (wxWindow
*) 0 ;
44109 int arg2
= (int) -1 ;
44110 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44111 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44112 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44113 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44114 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44115 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44116 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44117 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44118 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44119 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44120 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44121 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44122 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44123 wxDirPickerCtrl
*result
= 0 ;
44128 bool temp3
= false ;
44129 bool temp4
= false ;
44136 bool temp9
= false ;
44137 PyObject
* obj0
= 0 ;
44138 PyObject
* obj1
= 0 ;
44139 PyObject
* obj2
= 0 ;
44140 PyObject
* obj3
= 0 ;
44141 PyObject
* obj4
= 0 ;
44142 PyObject
* obj5
= 0 ;
44143 PyObject
* obj6
= 0 ;
44144 PyObject
* obj7
= 0 ;
44145 PyObject
* obj8
= 0 ;
44146 char * kwnames
[] = {
44147 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44152 if (!SWIG_IsOK(res1
)) {
44153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44158 if (!SWIG_IsOK(ecode2
)) {
44159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44161 arg2
= static_cast< int >(val2
);
44165 arg3
= wxString_in_helper(obj2
);
44166 if (arg3
== NULL
) SWIG_fail
;
44172 arg4
= wxString_in_helper(obj3
);
44173 if (arg4
== NULL
) SWIG_fail
;
44180 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44186 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44190 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44191 if (!SWIG_IsOK(ecode7
)) {
44192 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44194 arg7
= static_cast< long >(val7
);
44197 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44198 if (!SWIG_IsOK(res8
)) {
44199 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44204 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44208 arg9
= wxString_in_helper(obj8
);
44209 if (arg9
== NULL
) SWIG_fail
;
44214 if (!wxPyCheckForApp()) SWIG_fail
;
44215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44216 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
);
44217 wxPyEndAllowThreads(__tstate
);
44218 if (PyErr_Occurred()) SWIG_fail
;
44220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44251 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44252 PyObject
*resultobj
= 0;
44253 wxDirPickerCtrl
*result
= 0 ;
44255 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44257 if (!wxPyCheckForApp()) SWIG_fail
;
44258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44259 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44260 wxPyEndAllowThreads(__tstate
);
44261 if (PyErr_Occurred()) SWIG_fail
;
44263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44270 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44271 PyObject
*resultobj
= 0;
44272 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44273 wxWindow
*arg2
= (wxWindow
*) 0 ;
44274 int arg3
= (int) -1 ;
44275 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44276 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44277 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44278 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44279 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44280 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44281 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44282 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44283 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44284 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44285 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44286 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44287 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44295 bool temp4
= false ;
44296 bool temp5
= false ;
44303 bool temp10
= false ;
44304 PyObject
* obj0
= 0 ;
44305 PyObject
* obj1
= 0 ;
44306 PyObject
* obj2
= 0 ;
44307 PyObject
* obj3
= 0 ;
44308 PyObject
* obj4
= 0 ;
44309 PyObject
* obj5
= 0 ;
44310 PyObject
* obj6
= 0 ;
44311 PyObject
* obj7
= 0 ;
44312 PyObject
* obj8
= 0 ;
44313 PyObject
* obj9
= 0 ;
44314 char * kwnames
[] = {
44315 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44320 if (!SWIG_IsOK(res1
)) {
44321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44323 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44325 if (!SWIG_IsOK(res2
)) {
44326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44328 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44331 if (!SWIG_IsOK(ecode3
)) {
44332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44334 arg3
= static_cast< int >(val3
);
44338 arg4
= wxString_in_helper(obj3
);
44339 if (arg4
== NULL
) SWIG_fail
;
44345 arg5
= wxString_in_helper(obj4
);
44346 if (arg5
== NULL
) SWIG_fail
;
44353 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44359 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44363 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44364 if (!SWIG_IsOK(ecode8
)) {
44365 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44367 arg8
= static_cast< long >(val8
);
44370 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44371 if (!SWIG_IsOK(res9
)) {
44372 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44377 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44381 arg10
= wxString_in_helper(obj9
);
44382 if (arg10
== NULL
) SWIG_fail
;
44387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44388 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
);
44389 wxPyEndAllowThreads(__tstate
);
44390 if (PyErr_Occurred()) SWIG_fail
;
44393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44425 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44426 PyObject
*resultobj
= 0;
44427 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44431 PyObject
*swig_obj
[1] ;
44433 if (!args
) SWIG_fail
;
44434 swig_obj
[0] = args
;
44435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44436 if (!SWIG_IsOK(res1
)) {
44437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44439 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44442 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44443 wxPyEndAllowThreads(__tstate
);
44444 if (PyErr_Occurred()) SWIG_fail
;
44448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44459 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44460 PyObject
*resultobj
= 0;
44461 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44462 wxString
*arg2
= 0 ;
44465 bool temp2
= false ;
44466 PyObject
* obj0
= 0 ;
44467 PyObject
* obj1
= 0 ;
44468 char * kwnames
[] = {
44469 (char *) "self",(char *) "str", NULL
44472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44474 if (!SWIG_IsOK(res1
)) {
44475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44477 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44479 arg2
= wxString_in_helper(obj1
);
44480 if (arg2
== NULL
) SWIG_fail
;
44484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44485 (arg1
)->SetPath((wxString
const &)*arg2
);
44486 wxPyEndAllowThreads(__tstate
);
44487 if (PyErr_Occurred()) SWIG_fail
;
44489 resultobj
= SWIG_Py_Void();
44504 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44505 PyObject
*resultobj
= 0;
44506 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44507 wxString
*arg2
= 0 ;
44511 bool temp2
= false ;
44512 PyObject
* obj0
= 0 ;
44513 PyObject
* obj1
= 0 ;
44514 char * kwnames
[] = {
44515 (char *) "self",(char *) "path", NULL
44518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44520 if (!SWIG_IsOK(res1
)) {
44521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44523 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44525 arg2
= wxString_in_helper(obj1
);
44526 if (arg2
== NULL
) SWIG_fail
;
44530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44531 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44532 wxPyEndAllowThreads(__tstate
);
44533 if (PyErr_Occurred()) SWIG_fail
;
44536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44552 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44553 PyObject
*resultobj
= 0;
44554 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44558 PyObject
*swig_obj
[1] ;
44560 if (!args
) SWIG_fail
;
44561 swig_obj
[0] = args
;
44562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44563 if (!SWIG_IsOK(res1
)) {
44564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44566 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44569 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44570 wxPyEndAllowThreads(__tstate
);
44571 if (PyErr_Occurred()) SWIG_fail
;
44575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44586 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44589 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44590 return SWIG_Py_Void();
44593 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44594 return SWIG_Python_InitShadowInstance(args
);
44597 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44598 PyObject
*resultobj
= 0;
44600 wxObject
*arg2
= (wxObject
*) 0 ;
44602 wxString
*arg4
= 0 ;
44603 wxFileDirPickerEvent
*result
= 0 ;
44610 bool temp4
= false ;
44611 PyObject
* obj0
= 0 ;
44612 PyObject
* obj1
= 0 ;
44613 PyObject
* obj2
= 0 ;
44614 PyObject
* obj3
= 0 ;
44615 char * kwnames
[] = {
44616 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44620 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44621 if (!SWIG_IsOK(ecode1
)) {
44622 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44624 arg1
= static_cast< wxEventType
>(val1
);
44625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44626 if (!SWIG_IsOK(res2
)) {
44627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44629 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44631 if (!SWIG_IsOK(ecode3
)) {
44632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44634 arg3
= static_cast< int >(val3
);
44636 arg4
= wxString_in_helper(obj3
);
44637 if (arg4
== NULL
) SWIG_fail
;
44641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44642 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44643 wxPyEndAllowThreads(__tstate
);
44644 if (PyErr_Occurred()) SWIG_fail
;
44646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44661 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44662 PyObject
*resultobj
= 0;
44663 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44667 PyObject
*swig_obj
[1] ;
44669 if (!args
) SWIG_fail
;
44670 swig_obj
[0] = args
;
44671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44672 if (!SWIG_IsOK(res1
)) {
44673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44675 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44678 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44679 wxPyEndAllowThreads(__tstate
);
44680 if (PyErr_Occurred()) SWIG_fail
;
44684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44695 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44696 PyObject
*resultobj
= 0;
44697 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44698 wxString
*arg2
= 0 ;
44701 bool temp2
= false ;
44702 PyObject
* obj0
= 0 ;
44703 PyObject
* obj1
= 0 ;
44704 char * kwnames
[] = {
44705 (char *) "self",(char *) "p", NULL
44708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44710 if (!SWIG_IsOK(res1
)) {
44711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44713 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44715 arg2
= wxString_in_helper(obj1
);
44716 if (arg2
== NULL
) SWIG_fail
;
44720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44721 (arg1
)->SetPath((wxString
const &)*arg2
);
44722 wxPyEndAllowThreads(__tstate
);
44723 if (PyErr_Occurred()) SWIG_fail
;
44725 resultobj
= SWIG_Py_Void();
44740 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44743 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44744 return SWIG_Py_Void();
44747 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44748 return SWIG_Python_InitShadowInstance(args
);
44751 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44752 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44757 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44758 PyObject
*pyobj
= 0;
44762 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44764 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44771 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44772 PyObject
*resultobj
= 0;
44773 wxWindow
*arg1
= (wxWindow
*) 0 ;
44774 int arg2
= (int) -1 ;
44775 wxFont
const &arg3_defvalue
= wxNullFont
;
44776 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44781 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44784 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44786 wxFontPickerCtrl
*result
= 0 ;
44799 bool temp8
= false ;
44800 PyObject
* obj0
= 0 ;
44801 PyObject
* obj1
= 0 ;
44802 PyObject
* obj2
= 0 ;
44803 PyObject
* obj3
= 0 ;
44804 PyObject
* obj4
= 0 ;
44805 PyObject
* obj5
= 0 ;
44806 PyObject
* obj6
= 0 ;
44807 PyObject
* obj7
= 0 ;
44808 char * kwnames
[] = {
44809 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44814 if (!SWIG_IsOK(res1
)) {
44815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44820 if (!SWIG_IsOK(ecode2
)) {
44821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44823 arg2
= static_cast< int >(val2
);
44826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44827 if (!SWIG_IsOK(res3
)) {
44828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44833 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44848 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44849 if (!SWIG_IsOK(ecode6
)) {
44850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44852 arg6
= static_cast< long >(val6
);
44855 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44856 if (!SWIG_IsOK(res7
)) {
44857 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44862 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44866 arg8
= wxString_in_helper(obj7
);
44867 if (arg8
== NULL
) SWIG_fail
;
44872 if (!wxPyCheckForApp()) SWIG_fail
;
44873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44874 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44875 wxPyEndAllowThreads(__tstate
);
44876 if (PyErr_Occurred()) SWIG_fail
;
44878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44893 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44894 PyObject
*resultobj
= 0;
44895 wxFontPickerCtrl
*result
= 0 ;
44897 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44899 if (!wxPyCheckForApp()) SWIG_fail
;
44900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44901 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44902 wxPyEndAllowThreads(__tstate
);
44903 if (PyErr_Occurred()) SWIG_fail
;
44905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44912 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44913 PyObject
*resultobj
= 0;
44914 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44915 wxWindow
*arg2
= (wxWindow
*) 0 ;
44916 int arg3
= (int) -1 ;
44917 wxFont
const &arg4_defvalue
= wxNullFont
;
44918 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44919 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44920 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44921 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44922 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44923 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44926 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44943 bool temp9
= false ;
44944 PyObject
* obj0
= 0 ;
44945 PyObject
* obj1
= 0 ;
44946 PyObject
* obj2
= 0 ;
44947 PyObject
* obj3
= 0 ;
44948 PyObject
* obj4
= 0 ;
44949 PyObject
* obj5
= 0 ;
44950 PyObject
* obj6
= 0 ;
44951 PyObject
* obj7
= 0 ;
44952 PyObject
* obj8
= 0 ;
44953 char * kwnames
[] = {
44954 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44959 if (!SWIG_IsOK(res1
)) {
44960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44962 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44964 if (!SWIG_IsOK(res2
)) {
44965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44970 if (!SWIG_IsOK(ecode3
)) {
44971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44973 arg3
= static_cast< int >(val3
);
44976 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44977 if (!SWIG_IsOK(res4
)) {
44978 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44983 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44999 if (!SWIG_IsOK(ecode7
)) {
45000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45002 arg7
= static_cast< long >(val7
);
45005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45006 if (!SWIG_IsOK(res8
)) {
45007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45016 arg9
= wxString_in_helper(obj8
);
45017 if (arg9
== NULL
) SWIG_fail
;
45022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45024 wxPyEndAllowThreads(__tstate
);
45025 if (PyErr_Occurred()) SWIG_fail
;
45028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45044 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45045 PyObject
*resultobj
= 0;
45046 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45050 PyObject
*swig_obj
[1] ;
45052 if (!args
) SWIG_fail
;
45053 swig_obj
[0] = args
;
45054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45055 if (!SWIG_IsOK(res1
)) {
45056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45058 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45061 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45062 wxPyEndAllowThreads(__tstate
);
45063 if (PyErr_Occurred()) SWIG_fail
;
45065 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45072 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45073 PyObject
*resultobj
= 0;
45074 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45080 PyObject
* obj0
= 0 ;
45081 PyObject
* obj1
= 0 ;
45082 char * kwnames
[] = {
45083 (char *) "self",(char *) "f", NULL
45086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45088 if (!SWIG_IsOK(res1
)) {
45089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45091 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45093 if (!SWIG_IsOK(res2
)) {
45094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45099 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45102 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45103 wxPyEndAllowThreads(__tstate
);
45104 if (PyErr_Occurred()) SWIG_fail
;
45106 resultobj
= SWIG_Py_Void();
45113 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45114 PyObject
*resultobj
= 0;
45115 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45116 unsigned int arg2
;
45119 unsigned int val2
;
45121 PyObject
* obj0
= 0 ;
45122 PyObject
* obj1
= 0 ;
45123 char * kwnames
[] = {
45124 (char *) "self",(char *) "max", NULL
45127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45129 if (!SWIG_IsOK(res1
)) {
45130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45132 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45133 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45134 if (!SWIG_IsOK(ecode2
)) {
45135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45137 arg2
= static_cast< unsigned int >(val2
);
45139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45140 (arg1
)->SetMaxPointSize(arg2
);
45141 wxPyEndAllowThreads(__tstate
);
45142 if (PyErr_Occurred()) SWIG_fail
;
45144 resultobj
= SWIG_Py_Void();
45151 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45152 PyObject
*resultobj
= 0;
45153 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45154 unsigned int result
;
45157 PyObject
*swig_obj
[1] ;
45159 if (!args
) SWIG_fail
;
45160 swig_obj
[0] = args
;
45161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45162 if (!SWIG_IsOK(res1
)) {
45163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45165 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45168 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45169 wxPyEndAllowThreads(__tstate
);
45170 if (PyErr_Occurred()) SWIG_fail
;
45172 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45179 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45182 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45183 return SWIG_Py_Void();
45186 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45187 return SWIG_Python_InitShadowInstance(args
);
45190 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45191 PyObject
*resultobj
= 0;
45192 wxObject
*arg1
= (wxObject
*) 0 ;
45195 wxFontPickerEvent
*result
= 0 ;
45202 PyObject
* obj0
= 0 ;
45203 PyObject
* obj1
= 0 ;
45204 PyObject
* obj2
= 0 ;
45205 char * kwnames
[] = {
45206 (char *) "generator",(char *) "id",(char *) "f", NULL
45209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45211 if (!SWIG_IsOK(res1
)) {
45212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45214 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45216 if (!SWIG_IsOK(ecode2
)) {
45217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45219 arg2
= static_cast< int >(val2
);
45220 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45221 if (!SWIG_IsOK(res3
)) {
45222 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45227 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45230 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45231 wxPyEndAllowThreads(__tstate
);
45232 if (PyErr_Occurred()) SWIG_fail
;
45234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45241 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45242 PyObject
*resultobj
= 0;
45243 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45247 PyObject
*swig_obj
[1] ;
45249 if (!args
) SWIG_fail
;
45250 swig_obj
[0] = args
;
45251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45252 if (!SWIG_IsOK(res1
)) {
45253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45255 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45258 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45259 wxPyEndAllowThreads(__tstate
);
45260 if (PyErr_Occurred()) SWIG_fail
;
45262 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45269 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45270 PyObject
*resultobj
= 0;
45271 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45277 PyObject
* obj0
= 0 ;
45278 PyObject
* obj1
= 0 ;
45279 char * kwnames
[] = {
45280 (char *) "self",(char *) "c", NULL
45283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45285 if (!SWIG_IsOK(res1
)) {
45286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45288 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45290 if (!SWIG_IsOK(res2
)) {
45291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45296 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45299 (arg1
)->SetFont((wxFont
const &)*arg2
);
45300 wxPyEndAllowThreads(__tstate
);
45301 if (PyErr_Occurred()) SWIG_fail
;
45303 resultobj
= SWIG_Py_Void();
45310 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45313 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45314 return SWIG_Py_Void();
45317 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45318 return SWIG_Python_InitShadowInstance(args
);
45321 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45322 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45327 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45328 PyObject
*pyobj
= 0;
45332 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45334 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45341 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45342 PyObject
*resultobj
= 0;
45343 wxWindow
*arg1
= (wxWindow
*) 0 ;
45344 int arg2
= (int) -1 ;
45345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45347 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45348 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45349 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45350 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45351 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45352 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45353 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45354 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45355 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45356 wxCollapsiblePane
*result
= 0 ;
45361 bool temp3
= false ;
45368 bool temp8
= false ;
45369 PyObject
* obj0
= 0 ;
45370 PyObject
* obj1
= 0 ;
45371 PyObject
* obj2
= 0 ;
45372 PyObject
* obj3
= 0 ;
45373 PyObject
* obj4
= 0 ;
45374 PyObject
* obj5
= 0 ;
45375 PyObject
* obj6
= 0 ;
45376 PyObject
* obj7
= 0 ;
45377 char * kwnames
[] = {
45378 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45383 if (!SWIG_IsOK(res1
)) {
45384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45389 if (!SWIG_IsOK(ecode2
)) {
45390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45392 arg2
= static_cast< int >(val2
);
45396 arg3
= wxString_in_helper(obj2
);
45397 if (arg3
== NULL
) SWIG_fail
;
45404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45414 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45415 if (!SWIG_IsOK(ecode6
)) {
45416 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45418 arg6
= static_cast< long >(val6
);
45421 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45422 if (!SWIG_IsOK(res7
)) {
45423 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45428 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45432 arg8
= wxString_in_helper(obj7
);
45433 if (arg8
== NULL
) SWIG_fail
;
45438 if (!wxPyCheckForApp()) SWIG_fail
;
45439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45440 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45441 wxPyEndAllowThreads(__tstate
);
45442 if (PyErr_Occurred()) SWIG_fail
;
45444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45467 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45468 PyObject
*resultobj
= 0;
45469 wxCollapsiblePane
*result
= 0 ;
45471 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45473 if (!wxPyCheckForApp()) SWIG_fail
;
45474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45475 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45476 wxPyEndAllowThreads(__tstate
);
45477 if (PyErr_Occurred()) SWIG_fail
;
45479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45486 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45487 PyObject
*resultobj
= 0;
45488 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45489 wxWindow
*arg2
= (wxWindow
*) 0 ;
45490 int arg3
= (int) -1 ;
45491 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45492 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45493 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45494 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45495 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45496 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45497 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45500 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45509 bool temp4
= false ;
45516 bool temp9
= false ;
45517 PyObject
* obj0
= 0 ;
45518 PyObject
* obj1
= 0 ;
45519 PyObject
* obj2
= 0 ;
45520 PyObject
* obj3
= 0 ;
45521 PyObject
* obj4
= 0 ;
45522 PyObject
* obj5
= 0 ;
45523 PyObject
* obj6
= 0 ;
45524 PyObject
* obj7
= 0 ;
45525 PyObject
* obj8
= 0 ;
45526 char * kwnames
[] = {
45527 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45532 if (!SWIG_IsOK(res1
)) {
45533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45535 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45537 if (!SWIG_IsOK(res2
)) {
45538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45543 if (!SWIG_IsOK(ecode3
)) {
45544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45546 arg3
= static_cast< int >(val3
);
45550 arg4
= wxString_in_helper(obj3
);
45551 if (arg4
== NULL
) SWIG_fail
;
45558 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45564 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45568 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45569 if (!SWIG_IsOK(ecode7
)) {
45570 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45572 arg7
= static_cast< long >(val7
);
45575 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45576 if (!SWIG_IsOK(res8
)) {
45577 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45582 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45586 arg9
= wxString_in_helper(obj8
);
45587 if (arg9
== NULL
) SWIG_fail
;
45592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45593 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45594 wxPyEndAllowThreads(__tstate
);
45595 if (PyErr_Occurred()) SWIG_fail
;
45598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45622 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45623 PyObject
*resultobj
= 0;
45624 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45625 bool arg2
= (bool) true ;
45630 PyObject
* obj0
= 0 ;
45631 PyObject
* obj1
= 0 ;
45632 char * kwnames
[] = {
45633 (char *) "self",(char *) "collapse", NULL
45636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45638 if (!SWIG_IsOK(res1
)) {
45639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45641 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45644 if (!SWIG_IsOK(ecode2
)) {
45645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45647 arg2
= static_cast< bool >(val2
);
45650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45651 (arg1
)->Collapse(arg2
);
45652 wxPyEndAllowThreads(__tstate
);
45653 if (PyErr_Occurred()) SWIG_fail
;
45655 resultobj
= SWIG_Py_Void();
45662 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45663 PyObject
*resultobj
= 0;
45664 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45667 PyObject
*swig_obj
[1] ;
45669 if (!args
) SWIG_fail
;
45670 swig_obj
[0] = args
;
45671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45672 if (!SWIG_IsOK(res1
)) {
45673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45675 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45679 wxPyEndAllowThreads(__tstate
);
45680 if (PyErr_Occurred()) SWIG_fail
;
45682 resultobj
= SWIG_Py_Void();
45689 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45690 PyObject
*resultobj
= 0;
45691 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45695 PyObject
*swig_obj
[1] ;
45697 if (!args
) SWIG_fail
;
45698 swig_obj
[0] = args
;
45699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45700 if (!SWIG_IsOK(res1
)) {
45701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45703 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45706 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45707 wxPyEndAllowThreads(__tstate
);
45708 if (PyErr_Occurred()) SWIG_fail
;
45711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45719 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45720 PyObject
*resultobj
= 0;
45721 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45725 PyObject
*swig_obj
[1] ;
45727 if (!args
) SWIG_fail
;
45728 swig_obj
[0] = args
;
45729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45730 if (!SWIG_IsOK(res1
)) {
45731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45733 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45736 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45737 wxPyEndAllowThreads(__tstate
);
45738 if (PyErr_Occurred()) SWIG_fail
;
45741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45749 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45750 PyObject
*resultobj
= 0;
45751 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45752 wxWindow
*result
= 0 ;
45755 PyObject
*swig_obj
[1] ;
45757 if (!args
) SWIG_fail
;
45758 swig_obj
[0] = args
;
45759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45760 if (!SWIG_IsOK(res1
)) {
45761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45763 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45766 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45767 wxPyEndAllowThreads(__tstate
);
45768 if (PyErr_Occurred()) SWIG_fail
;
45771 resultobj
= wxPyMake_wxObject(result
, 0);
45779 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45782 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45783 return SWIG_Py_Void();
45786 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45787 return SWIG_Python_InitShadowInstance(args
);
45790 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45791 PyObject
*resultobj
= 0;
45792 wxObject
*arg1
= (wxObject
*) 0 ;
45795 wxCollapsiblePaneEvent
*result
= 0 ;
45802 PyObject
* obj0
= 0 ;
45803 PyObject
* obj1
= 0 ;
45804 PyObject
* obj2
= 0 ;
45805 char * kwnames
[] = {
45806 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45811 if (!SWIG_IsOK(res1
)) {
45812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45814 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45816 if (!SWIG_IsOK(ecode2
)) {
45817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45819 arg2
= static_cast< int >(val2
);
45820 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45821 if (!SWIG_IsOK(ecode3
)) {
45822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45824 arg3
= static_cast< bool >(val3
);
45826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45827 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45828 wxPyEndAllowThreads(__tstate
);
45829 if (PyErr_Occurred()) SWIG_fail
;
45831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45838 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45839 PyObject
*resultobj
= 0;
45840 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45844 PyObject
*swig_obj
[1] ;
45846 if (!args
) SWIG_fail
;
45847 swig_obj
[0] = args
;
45848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45849 if (!SWIG_IsOK(res1
)) {
45850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45852 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45855 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45856 wxPyEndAllowThreads(__tstate
);
45857 if (PyErr_Occurred()) SWIG_fail
;
45860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45868 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45869 PyObject
*resultobj
= 0;
45870 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45876 PyObject
* obj0
= 0 ;
45877 PyObject
* obj1
= 0 ;
45878 char * kwnames
[] = {
45879 (char *) "self",(char *) "c", NULL
45882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45884 if (!SWIG_IsOK(res1
)) {
45885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45887 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45888 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45889 if (!SWIG_IsOK(ecode2
)) {
45890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45892 arg2
= static_cast< bool >(val2
);
45894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45895 (arg1
)->SetCollapsed(arg2
);
45896 wxPyEndAllowThreads(__tstate
);
45897 if (PyErr_Occurred()) SWIG_fail
;
45899 resultobj
= SWIG_Py_Void();
45906 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45909 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
45910 return SWIG_Py_Void();
45913 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45914 return SWIG_Python_InitShadowInstance(args
);
45917 static PyMethodDef SwigMethods
[] = {
45918 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45920 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45922 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45923 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45925 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45926 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45928 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45930 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45931 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45932 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45933 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45934 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45941 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45942 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45943 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45944 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45946 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45948 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45949 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45951 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45953 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45954 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45956 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45957 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45959 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45961 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45963 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45964 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45966 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45968 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45970 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45971 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45972 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45974 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45975 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45978 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45981 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45983 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45984 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45985 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45986 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45987 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45988 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45989 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45990 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45991 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45993 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45994 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45996 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45999 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46001 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46002 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46003 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46005 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46007 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46009 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46010 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46012 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46015 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46016 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46018 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46020 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46021 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46023 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46024 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46026 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46030 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46031 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46033 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46035 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46040 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46042 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46053 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46058 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46064 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46065 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46067 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46071 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46072 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46074 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46075 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46085 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46086 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46087 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46088 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46089 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46090 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46091 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46093 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46094 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46095 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46096 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46097 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46098 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46099 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46100 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46101 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46102 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46104 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46105 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46107 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46109 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46111 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46116 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46117 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46118 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46119 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46120 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46121 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46122 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46123 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46128 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46129 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46138 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46144 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46145 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46146 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46147 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46148 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46149 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46150 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46151 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46152 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46153 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46155 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46156 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46157 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46159 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46162 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46166 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46167 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46169 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46170 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46171 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46172 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46173 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46175 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46177 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46178 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46179 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46180 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46181 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46184 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46185 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46187 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46189 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46190 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46191 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46196 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46198 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46199 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46201 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46203 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46207 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46208 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46211 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46212 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46214 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46216 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46217 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46219 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46222 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46223 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46225 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46233 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46234 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46241 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46242 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46244 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46246 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46249 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46250 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46252 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46254 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46257 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46258 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46263 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46264 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46266 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46268 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46269 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46271 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46272 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46273 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46276 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46277 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46279 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46282 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46284 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46285 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46286 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46288 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46289 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46294 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46299 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46301 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46303 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46305 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46306 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46309 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46317 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46319 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46321 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46323 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46324 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46326 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46328 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46331 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46335 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46336 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46338 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46339 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46341 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46343 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46344 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46345 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46347 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46348 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46350 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46352 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46353 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46354 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46356 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46357 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46359 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46367 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46368 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46369 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46371 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46372 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46374 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46376 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46377 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46378 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46379 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46381 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46382 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46383 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46384 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46385 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46386 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46387 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46388 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46389 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46390 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46391 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46392 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46393 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46394 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46395 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46396 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46397 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46398 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46399 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46401 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46408 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46410 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46412 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46420 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46425 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46426 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46443 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46444 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46445 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46446 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46449 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46450 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46452 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46453 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46456 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46457 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46458 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46460 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46463 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46464 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46466 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46470 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46471 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46472 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46473 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46474 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46475 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46477 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46478 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46479 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46480 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46481 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46482 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46483 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46497 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46498 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46499 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46500 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46501 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46502 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46503 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46504 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46505 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46506 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46507 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46508 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46509 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46510 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46511 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46512 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46513 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46514 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46515 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46516 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46517 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46518 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46519 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46520 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46521 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46522 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46523 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46524 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46525 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46526 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46527 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46528 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46529 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46530 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46531 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46532 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46534 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46535 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46536 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46537 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46538 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46539 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46540 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46541 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46542 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46543 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46544 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46545 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46546 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46547 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46548 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46549 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46550 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46551 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46552 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46553 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46554 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46555 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46556 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46557 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46559 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46560 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46562 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46569 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46570 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46571 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46586 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46587 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46588 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46590 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46591 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46593 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46599 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46600 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46605 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46607 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46608 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46631 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46633 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46634 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46636 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46640 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46642 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46646 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46647 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46648 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46649 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46650 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46653 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46654 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46655 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46656 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46658 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46659 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46661 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46663 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46664 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46665 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46666 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46667 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46669 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46671 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46673 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46674 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46676 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46678 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46681 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46682 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46683 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46685 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46688 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46689 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46691 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46693 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46694 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46722 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46723 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46724 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46731 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46741 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46744 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46748 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46750 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46756 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46762 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46763 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46764 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46766 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46770 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46772 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46773 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46776 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46777 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46779 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46781 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46782 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46783 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46785 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46786 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46787 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46788 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46790 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46793 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46794 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46796 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46803 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46804 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46805 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46806 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46807 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46808 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46809 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46810 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46811 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46813 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46815 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46817 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46819 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46821 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46822 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46824 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46826 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46827 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46828 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46830 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46831 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46832 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46834 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46837 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46841 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46842 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46843 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46844 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46845 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46851 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46855 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46857 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46858 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46859 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46863 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46864 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46866 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46869 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46871 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46872 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46873 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46874 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46876 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46878 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46880 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46882 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46884 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46887 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46888 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46889 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46891 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46893 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46894 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46897 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46899 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46901 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46902 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46904 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46906 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46907 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46908 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46909 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46911 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46913 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46915 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46916 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46918 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46920 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46921 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46923 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46925 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46928 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46929 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46930 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46932 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46934 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46937 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46938 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46939 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46941 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46943 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46944 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46946 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46948 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46951 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46952 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46953 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46955 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46957 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46958 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
46960 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
46963 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
46964 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
46965 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
46966 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
46967 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
46968 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
46970 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
46972 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
46973 { NULL
, NULL
, 0, NULL
}
46977 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46979 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46982 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46983 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46985 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46986 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46988 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46989 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46991 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46992 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46994 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46995 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46997 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46998 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47000 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47001 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47003 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47004 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47006 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47007 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47009 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47010 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47012 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47013 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47015 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47018 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47019 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47021 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47022 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47024 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47025 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47027 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47028 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47030 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47031 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47033 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47034 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47036 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47037 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47039 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47040 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47042 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47043 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47045 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47046 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47048 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47051 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47052 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47054 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47055 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47057 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47058 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47060 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47061 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47063 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47064 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47066 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47067 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47069 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47070 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47072 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47073 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47075 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47078 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47081 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47082 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47084 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47085 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47087 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47090 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47093 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47094 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47096 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47097 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47099 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47100 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47102 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47103 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47105 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47108 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47109 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47111 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47112 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47114 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47117 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47118 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47120 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47121 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47123 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47126 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47129 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47130 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47132 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47133 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47135 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47136 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47138 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47139 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47141 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47142 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47144 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47145 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47147 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47148 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47150 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47151 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47153 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47154 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47156 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47157 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47159 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47160 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47162 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47163 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47165 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47166 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47168 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47169 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47171 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47172 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47174 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47175 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47177 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47178 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47180 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47181 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47183 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47184 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47186 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47187 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47189 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47190 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47192 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47193 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47195 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47196 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47198 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47199 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47201 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47202 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47204 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47205 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47207 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47208 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47210 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47211 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47213 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47214 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47216 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47217 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47219 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47220 return (void *)((wxControl
*) ((wxGauge
*) x
));
47222 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47223 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47225 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47226 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47228 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47229 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47231 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47232 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47234 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47235 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47237 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47238 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47240 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47241 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47243 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47244 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47246 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47247 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47249 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47250 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47252 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47253 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47255 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47256 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47258 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47259 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47261 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47262 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47264 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47265 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47267 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47268 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47270 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47271 return (void *)((wxControl
*) ((wxSlider
*) x
));
47273 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47274 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47276 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47277 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47279 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47280 return (void *)((wxControl
*) ((wxButton
*) x
));
47282 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47283 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47285 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47286 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47288 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47289 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47291 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47292 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47294 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47295 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47297 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47298 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47300 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47301 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47303 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47304 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47306 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47307 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47309 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47310 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47312 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47313 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47315 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47316 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47318 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47319 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47321 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47322 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47324 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47325 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47327 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47328 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47330 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47331 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47333 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47334 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47336 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47337 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47339 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47340 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47342 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47343 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47345 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47346 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47348 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47349 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47351 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47352 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47354 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47357 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47358 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47360 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47363 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47364 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47366 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47367 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47369 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47372 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47375 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47376 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47378 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47381 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47384 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47387 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47388 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47390 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47391 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47393 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47396 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47399 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47402 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47405 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47408 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47409 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47411 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47414 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47417 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47420 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47423 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47426 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47429 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47432 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47435 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47438 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47441 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47444 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47447 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47450 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47453 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47456 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47459 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47462 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47465 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47468 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47471 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47474 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47477 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47480 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47483 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47486 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47489 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47492 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47495 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47498 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47501 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47504 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47507 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47508 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47510 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47511 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47513 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47514 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47516 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47517 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47519 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47520 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47522 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47523 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47525 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47528 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47529 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47531 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47532 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47534 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47537 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47538 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47540 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47543 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47544 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47546 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47547 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47549 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47550 return (void *)((wxObject
*) ((wxSizer
*) x
));
47552 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47553 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47555 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47558 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47561 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47564 static void *_p_wxEventTo_p_wxObject(void *x
) {
47565 return (void *)((wxObject
*) ((wxEvent
*) x
));
47567 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47568 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47570 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47571 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47573 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47574 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47576 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47579 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47582 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47585 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47588 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47591 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47592 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47594 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47595 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47597 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47598 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47600 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47601 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47603 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47604 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47606 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47607 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47609 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47612 static void *_p_wxControlTo_p_wxObject(void *x
) {
47613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47615 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47618 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47621 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47624 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47627 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47630 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47633 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47636 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47639 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47642 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47645 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47648 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47651 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47654 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47657 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47660 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47663 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47666 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47669 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47672 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47675 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47678 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47679 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47681 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47684 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47687 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47688 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47690 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47693 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47694 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47696 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47699 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47700 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47702 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47703 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47705 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47706 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47708 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47709 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47711 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47712 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47714 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47715 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47717 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47720 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47721 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47723 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
47724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47726 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47729 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47732 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47735 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47738 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47741 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47744 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47745 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47747 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47748 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47750 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47751 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47753 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47756 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47759 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47760 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47762 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47765 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47768 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47771 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47772 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47774 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47775 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47777 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47780 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47783 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47786 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47789 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47792 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47795 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47798 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47799 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47801 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47802 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47804 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47807 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47810 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47813 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47816 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47817 return (void *)((wxObject
*) ((wxListItem
*) x
));
47819 static void *_p_wxImageTo_p_wxObject(void *x
) {
47820 return (void *)((wxObject
*) ((wxImage
*) x
));
47822 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47823 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47825 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47828 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47829 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47831 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47834 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47837 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47840 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47843 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47846 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47849 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47852 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47853 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47855 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47856 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47858 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47859 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47861 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47862 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47864 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47867 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47868 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47870 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
47871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47873 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47876 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47877 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47879 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47880 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47882 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47883 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47885 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47886 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47888 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47889 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47891 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47894 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47897 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47898 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47900 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47901 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47903 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47906 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47907 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47909 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47910 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47912 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47915 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47918 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47921 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47924 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47927 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47930 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47933 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47936 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47937 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47939 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47942 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47945 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47946 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47948 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
47949 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
47951 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47952 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47954 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47955 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47957 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47958 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47960 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47961 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47963 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47964 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47966 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47967 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47969 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47970 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47972 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47973 return (void *)((wxWindow
*) ((wxControl
*) x
));
47975 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47976 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47978 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47979 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47981 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47982 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47984 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47985 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47987 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47988 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47990 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47991 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47993 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47994 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47996 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47997 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47999 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48000 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48002 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48003 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48005 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48006 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48008 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48009 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48011 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48012 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48014 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48015 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48017 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48018 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48020 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48021 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48023 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48024 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48026 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48027 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48029 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48030 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48032 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48033 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48035 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48036 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48038 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48039 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48041 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48042 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48044 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48045 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48047 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48048 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48050 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48051 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48053 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48054 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48056 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48057 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48059 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48060 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48062 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48063 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48065 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48066 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48068 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48069 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48071 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48072 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48074 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48075 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48077 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48078 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48080 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48081 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48083 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48084 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48086 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48087 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48089 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48090 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48092 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48093 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48095 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48096 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48098 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48099 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48101 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48102 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48104 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48105 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48107 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48108 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48110 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48111 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48113 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48114 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48116 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48117 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48119 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48120 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48122 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48123 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48125 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48126 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48128 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48129 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48131 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48132 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48134 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48135 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48137 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48138 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48140 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48141 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48143 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48144 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48146 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48147 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48149 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48150 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48152 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48153 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48155 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48156 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48158 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48159 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48161 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48162 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48164 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48165 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48167 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48168 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48170 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48171 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48173 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48174 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48176 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48177 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48179 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48180 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48182 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48183 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48185 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48186 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48188 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48189 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48191 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48192 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48194 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48195 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48196 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};
48197 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48198 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48199 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48200 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48201 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48202 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48203 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48204 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48205 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48206 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48207 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48208 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48209 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48210 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48211 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48212 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48213 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48214 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48215 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48216 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48217 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48218 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48219 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48220 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48221 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48222 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48223 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48224 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48225 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48226 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48227 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48228 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48229 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48230 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48231 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48232 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48233 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48234 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48235 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48236 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48237 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48238 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48239 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48240 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48241 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48242 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48243 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48244 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48245 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48246 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48247 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48248 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48249 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48250 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48251 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48252 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48253 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48254 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48255 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48256 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48257 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48258 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48259 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48260 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48261 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48262 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48263 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48264 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48265 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48266 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48267 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48268 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48269 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48270 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48271 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48272 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48273 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48274 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48275 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48276 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48277 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48278 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48279 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48280 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48281 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48282 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48283 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48284 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48285 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48286 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48287 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48288 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48289 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48290 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48291 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48292 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48293 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48294 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48295 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48296 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48297 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48298 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48299 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48300 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48301 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48302 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48303 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48304 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48305 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48306 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48307 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48308 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48309 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48310 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48311 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48312 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48313 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48314 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48315 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48316 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48317 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48318 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48319 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48320 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48321 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48322 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48323 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48324 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48325 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48326 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48327 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48328 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48329 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48330 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48331 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48332 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48333 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48334 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48335 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48336 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48337 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48338 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48339 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48340 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48341 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48342 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48343 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48344 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48345 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48346 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48347 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48348 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48349 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48350 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48351 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48352 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48353 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48354 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48355 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48356 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48357 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48358 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48359 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48360 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48361 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48362 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48363 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48364 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48365 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48366 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48367 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48368 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48369 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48370 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48371 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48373 static swig_type_info
*swig_type_initial
[] = {
48376 &_swigt__p_form_ops_t
,
48379 &_swigt__p_unsigned_char
,
48380 &_swigt__p_unsigned_int
,
48381 &_swigt__p_unsigned_long
,
48383 &_swigt__p_wxANIHandler
,
48384 &_swigt__p_wxAcceleratorTable
,
48385 &_swigt__p_wxActivateEvent
,
48386 &_swigt__p_wxArrayInt
,
48387 &_swigt__p_wxArrayString
,
48388 &_swigt__p_wxBMPHandler
,
48389 &_swigt__p_wxBitmap
,
48390 &_swigt__p_wxBitmapButton
,
48391 &_swigt__p_wxBookCtrlBase
,
48392 &_swigt__p_wxBookCtrlBaseEvent
,
48393 &_swigt__p_wxBoxSizer
,
48394 &_swigt__p_wxButton
,
48395 &_swigt__p_wxCURHandler
,
48396 &_swigt__p_wxCheckBox
,
48397 &_swigt__p_wxCheckListBox
,
48398 &_swigt__p_wxChildFocusEvent
,
48399 &_swigt__p_wxChoice
,
48400 &_swigt__p_wxChoicebook
,
48401 &_swigt__p_wxChoicebookEvent
,
48402 &_swigt__p_wxClipboardTextEvent
,
48403 &_swigt__p_wxCloseEvent
,
48404 &_swigt__p_wxCollapsiblePane
,
48405 &_swigt__p_wxCollapsiblePaneEvent
,
48406 &_swigt__p_wxColour
,
48407 &_swigt__p_wxColourPickerCtrl
,
48408 &_swigt__p_wxColourPickerEvent
,
48409 &_swigt__p_wxComboBox
,
48410 &_swigt__p_wxCommandEvent
,
48411 &_swigt__p_wxContextHelp
,
48412 &_swigt__p_wxContextHelpButton
,
48413 &_swigt__p_wxContextMenuEvent
,
48414 &_swigt__p_wxControl
,
48415 &_swigt__p_wxControlWithItems
,
48416 &_swigt__p_wxCursor
,
48418 &_swigt__p_wxDateEvent
,
48419 &_swigt__p_wxDatePickerCtrl
,
48420 &_swigt__p_wxDateTime
,
48421 &_swigt__p_wxDirFilterListCtrl
,
48422 &_swigt__p_wxDirPickerCtrl
,
48423 &_swigt__p_wxDisplayChangedEvent
,
48424 &_swigt__p_wxDropFilesEvent
,
48425 &_swigt__p_wxDuplexMode
,
48426 &_swigt__p_wxEraseEvent
,
48427 &_swigt__p_wxEvent
,
48428 &_swigt__p_wxEvtHandler
,
48429 &_swigt__p_wxFSFile
,
48430 &_swigt__p_wxFileDirPickerEvent
,
48431 &_swigt__p_wxFilePickerCtrl
,
48432 &_swigt__p_wxFileSystem
,
48433 &_swigt__p_wxFlexGridSizer
,
48434 &_swigt__p_wxFocusEvent
,
48436 &_swigt__p_wxFontPickerCtrl
,
48437 &_swigt__p_wxFontPickerEvent
,
48438 &_swigt__p_wxGBSizerItem
,
48439 &_swigt__p_wxGIFHandler
,
48440 &_swigt__p_wxGauge
,
48441 &_swigt__p_wxGenericDirCtrl
,
48442 &_swigt__p_wxGenericDragImage
,
48443 &_swigt__p_wxGridBagSizer
,
48444 &_swigt__p_wxGridSizer
,
48445 &_swigt__p_wxHelpEvent
,
48446 &_swigt__p_wxHelpProvider
,
48447 &_swigt__p_wxHyperlinkCtrl
,
48448 &_swigt__p_wxHyperlinkEvent
,
48449 &_swigt__p_wxICOHandler
,
48451 &_swigt__p_wxIconizeEvent
,
48452 &_swigt__p_wxIdleEvent
,
48453 &_swigt__p_wxImage
,
48454 &_swigt__p_wxImageHandler
,
48455 &_swigt__p_wxImageList
,
48456 &_swigt__p_wxIndividualLayoutConstraint
,
48457 &_swigt__p_wxInitDialogEvent
,
48458 &_swigt__p_wxItemContainer
,
48459 &_swigt__p_wxJPEGHandler
,
48460 &_swigt__p_wxKeyEvent
,
48461 &_swigt__p_wxLayoutConstraints
,
48462 &_swigt__p_wxListBox
,
48463 &_swigt__p_wxListEvent
,
48464 &_swigt__p_wxListItem
,
48465 &_swigt__p_wxListItemAttr
,
48466 &_swigt__p_wxListView
,
48467 &_swigt__p_wxListbook
,
48468 &_swigt__p_wxListbookEvent
,
48469 &_swigt__p_wxMaximizeEvent
,
48470 &_swigt__p_wxMemoryDC
,
48472 &_swigt__p_wxMenuBar
,
48473 &_swigt__p_wxMenuEvent
,
48474 &_swigt__p_wxMenuItem
,
48475 &_swigt__p_wxMouseCaptureChangedEvent
,
48476 &_swigt__p_wxMouseCaptureLostEvent
,
48477 &_swigt__p_wxMouseEvent
,
48478 &_swigt__p_wxMoveEvent
,
48479 &_swigt__p_wxNavigationKeyEvent
,
48480 &_swigt__p_wxNcPaintEvent
,
48481 &_swigt__p_wxNotebook
,
48482 &_swigt__p_wxNotebookEvent
,
48483 &_swigt__p_wxNotifyEvent
,
48484 &_swigt__p_wxObject
,
48485 &_swigt__p_wxPCXHandler
,
48486 &_swigt__p_wxPNGHandler
,
48487 &_swigt__p_wxPNMHandler
,
48488 &_swigt__p_wxPaintEvent
,
48489 &_swigt__p_wxPaletteChangedEvent
,
48490 &_swigt__p_wxPaperSize
,
48491 &_swigt__p_wxPickerBase
,
48492 &_swigt__p_wxPoint
,
48493 &_swigt__p_wxPyApp
,
48494 &_swigt__p_wxPyCommandEvent
,
48495 &_swigt__p_wxPyControl
,
48496 &_swigt__p_wxPyEvent
,
48497 &_swigt__p_wxPyImageHandler
,
48498 &_swigt__p_wxPyListCtrl
,
48499 &_swigt__p_wxPySizer
,
48500 &_swigt__p_wxPyTreeCtrl
,
48501 &_swigt__p_wxPyTreeItemData
,
48502 &_swigt__p_wxPyValidator
,
48503 &_swigt__p_wxQueryNewPaletteEvent
,
48504 &_swigt__p_wxRadioBox
,
48505 &_swigt__p_wxRadioButton
,
48507 &_swigt__p_wxScrollBar
,
48508 &_swigt__p_wxScrollEvent
,
48509 &_swigt__p_wxScrollWinEvent
,
48510 &_swigt__p_wxSetCursorEvent
,
48511 &_swigt__p_wxShowEvent
,
48512 &_swigt__p_wxSimpleHelpProvider
,
48514 &_swigt__p_wxSizeEvent
,
48515 &_swigt__p_wxSizer
,
48516 &_swigt__p_wxSizerItem
,
48517 &_swigt__p_wxSlider
,
48518 &_swigt__p_wxSpinButton
,
48519 &_swigt__p_wxSpinCtrl
,
48520 &_swigt__p_wxSpinEvent
,
48521 &_swigt__p_wxStaticBitmap
,
48522 &_swigt__p_wxStaticBox
,
48523 &_swigt__p_wxStaticBoxSizer
,
48524 &_swigt__p_wxStaticLine
,
48525 &_swigt__p_wxStaticText
,
48526 &_swigt__p_wxStdDialogButtonSizer
,
48527 &_swigt__p_wxString
,
48528 &_swigt__p_wxSysColourChangedEvent
,
48529 &_swigt__p_wxTGAHandler
,
48530 &_swigt__p_wxTIFFHandler
,
48531 &_swigt__p_wxTextAttr
,
48532 &_swigt__p_wxTextCtrl
,
48533 &_swigt__p_wxTextUrlEvent
,
48534 &_swigt__p_wxToggleButton
,
48535 &_swigt__p_wxToolBar
,
48536 &_swigt__p_wxToolBarBase
,
48537 &_swigt__p_wxToolBarToolBase
,
48538 &_swigt__p_wxToolbook
,
48539 &_swigt__p_wxToolbookEvent
,
48540 &_swigt__p_wxTreeEvent
,
48541 &_swigt__p_wxTreeItemId
,
48542 &_swigt__p_wxTreebook
,
48543 &_swigt__p_wxTreebookEvent
,
48544 &_swigt__p_wxUpdateUIEvent
,
48545 &_swigt__p_wxValidator
,
48546 &_swigt__p_wxVisualAttributes
,
48547 &_swigt__p_wxWindow
,
48548 &_swigt__p_wxWindowBase
,
48549 &_swigt__p_wxWindowCreateEvent
,
48550 &_swigt__p_wxWindowDestroyEvent
,
48551 &_swigt__p_wxXPMHandler
,
48554 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48555 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48556 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48557 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48558 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48559 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48560 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48561 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48562 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48563 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48564 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48565 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48566 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}};
48567 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}};
48568 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}};
48569 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}};
48570 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48571 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48572 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}};
48573 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48574 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48575 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48576 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48577 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48578 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48579 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48580 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48581 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48582 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48583 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48584 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48585 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48586 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48587 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48588 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48589 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48590 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}};
48591 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48592 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48593 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}};
48594 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}};
48595 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48596 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48597 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48598 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48599 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48600 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48601 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48602 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48603 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48604 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48605 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48606 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48607 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48608 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48609 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48610 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48611 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48612 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48613 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48614 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48615 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48616 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48617 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48618 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48619 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48620 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48621 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48622 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48623 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48624 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48625 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48626 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48627 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}};
48628 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48629 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48630 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48631 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48632 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}};
48633 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48634 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48635 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48636 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48637 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48638 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48639 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48640 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48641 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48642 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}};
48643 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48644 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48645 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48646 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48647 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}};
48648 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48649 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}};
48650 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48651 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48652 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48653 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48654 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48655 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48656 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48657 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48658 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48659 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48660 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}};
48661 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48662 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48663 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48664 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48665 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48666 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48667 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48668 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48669 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48670 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48671 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48672 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48673 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48674 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48675 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48676 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48677 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48678 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48679 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48680 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48681 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48682 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48683 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48684 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48685 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48686 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48687 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48688 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48689 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48690 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48691 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48692 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}};
48693 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48694 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}};
48695 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48696 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48697 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}};
48698 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48699 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48700 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48701 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48702 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48703 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48704 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48705 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48706 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48707 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48708 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48709 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48710 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48711 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48712 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48713 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48714 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48715 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48716 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48717 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48718 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48719 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48720 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}};
48721 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48722 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48723 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48724 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48725 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48726 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48727 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48728 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}};
48729 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48730 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}};
48731 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48733 static swig_cast_info
*swig_cast_initial
[] = {
48736 _swigc__p_form_ops_t
,
48739 _swigc__p_unsigned_char
,
48740 _swigc__p_unsigned_int
,
48741 _swigc__p_unsigned_long
,
48743 _swigc__p_wxANIHandler
,
48744 _swigc__p_wxAcceleratorTable
,
48745 _swigc__p_wxActivateEvent
,
48746 _swigc__p_wxArrayInt
,
48747 _swigc__p_wxArrayString
,
48748 _swigc__p_wxBMPHandler
,
48749 _swigc__p_wxBitmap
,
48750 _swigc__p_wxBitmapButton
,
48751 _swigc__p_wxBookCtrlBase
,
48752 _swigc__p_wxBookCtrlBaseEvent
,
48753 _swigc__p_wxBoxSizer
,
48754 _swigc__p_wxButton
,
48755 _swigc__p_wxCURHandler
,
48756 _swigc__p_wxCheckBox
,
48757 _swigc__p_wxCheckListBox
,
48758 _swigc__p_wxChildFocusEvent
,
48759 _swigc__p_wxChoice
,
48760 _swigc__p_wxChoicebook
,
48761 _swigc__p_wxChoicebookEvent
,
48762 _swigc__p_wxClipboardTextEvent
,
48763 _swigc__p_wxCloseEvent
,
48764 _swigc__p_wxCollapsiblePane
,
48765 _swigc__p_wxCollapsiblePaneEvent
,
48766 _swigc__p_wxColour
,
48767 _swigc__p_wxColourPickerCtrl
,
48768 _swigc__p_wxColourPickerEvent
,
48769 _swigc__p_wxComboBox
,
48770 _swigc__p_wxCommandEvent
,
48771 _swigc__p_wxContextHelp
,
48772 _swigc__p_wxContextHelpButton
,
48773 _swigc__p_wxContextMenuEvent
,
48774 _swigc__p_wxControl
,
48775 _swigc__p_wxControlWithItems
,
48776 _swigc__p_wxCursor
,
48778 _swigc__p_wxDateEvent
,
48779 _swigc__p_wxDatePickerCtrl
,
48780 _swigc__p_wxDateTime
,
48781 _swigc__p_wxDirFilterListCtrl
,
48782 _swigc__p_wxDirPickerCtrl
,
48783 _swigc__p_wxDisplayChangedEvent
,
48784 _swigc__p_wxDropFilesEvent
,
48785 _swigc__p_wxDuplexMode
,
48786 _swigc__p_wxEraseEvent
,
48788 _swigc__p_wxEvtHandler
,
48789 _swigc__p_wxFSFile
,
48790 _swigc__p_wxFileDirPickerEvent
,
48791 _swigc__p_wxFilePickerCtrl
,
48792 _swigc__p_wxFileSystem
,
48793 _swigc__p_wxFlexGridSizer
,
48794 _swigc__p_wxFocusEvent
,
48796 _swigc__p_wxFontPickerCtrl
,
48797 _swigc__p_wxFontPickerEvent
,
48798 _swigc__p_wxGBSizerItem
,
48799 _swigc__p_wxGIFHandler
,
48801 _swigc__p_wxGenericDirCtrl
,
48802 _swigc__p_wxGenericDragImage
,
48803 _swigc__p_wxGridBagSizer
,
48804 _swigc__p_wxGridSizer
,
48805 _swigc__p_wxHelpEvent
,
48806 _swigc__p_wxHelpProvider
,
48807 _swigc__p_wxHyperlinkCtrl
,
48808 _swigc__p_wxHyperlinkEvent
,
48809 _swigc__p_wxICOHandler
,
48811 _swigc__p_wxIconizeEvent
,
48812 _swigc__p_wxIdleEvent
,
48814 _swigc__p_wxImageHandler
,
48815 _swigc__p_wxImageList
,
48816 _swigc__p_wxIndividualLayoutConstraint
,
48817 _swigc__p_wxInitDialogEvent
,
48818 _swigc__p_wxItemContainer
,
48819 _swigc__p_wxJPEGHandler
,
48820 _swigc__p_wxKeyEvent
,
48821 _swigc__p_wxLayoutConstraints
,
48822 _swigc__p_wxListBox
,
48823 _swigc__p_wxListEvent
,
48824 _swigc__p_wxListItem
,
48825 _swigc__p_wxListItemAttr
,
48826 _swigc__p_wxListView
,
48827 _swigc__p_wxListbook
,
48828 _swigc__p_wxListbookEvent
,
48829 _swigc__p_wxMaximizeEvent
,
48830 _swigc__p_wxMemoryDC
,
48832 _swigc__p_wxMenuBar
,
48833 _swigc__p_wxMenuEvent
,
48834 _swigc__p_wxMenuItem
,
48835 _swigc__p_wxMouseCaptureChangedEvent
,
48836 _swigc__p_wxMouseCaptureLostEvent
,
48837 _swigc__p_wxMouseEvent
,
48838 _swigc__p_wxMoveEvent
,
48839 _swigc__p_wxNavigationKeyEvent
,
48840 _swigc__p_wxNcPaintEvent
,
48841 _swigc__p_wxNotebook
,
48842 _swigc__p_wxNotebookEvent
,
48843 _swigc__p_wxNotifyEvent
,
48844 _swigc__p_wxObject
,
48845 _swigc__p_wxPCXHandler
,
48846 _swigc__p_wxPNGHandler
,
48847 _swigc__p_wxPNMHandler
,
48848 _swigc__p_wxPaintEvent
,
48849 _swigc__p_wxPaletteChangedEvent
,
48850 _swigc__p_wxPaperSize
,
48851 _swigc__p_wxPickerBase
,
48854 _swigc__p_wxPyCommandEvent
,
48855 _swigc__p_wxPyControl
,
48856 _swigc__p_wxPyEvent
,
48857 _swigc__p_wxPyImageHandler
,
48858 _swigc__p_wxPyListCtrl
,
48859 _swigc__p_wxPySizer
,
48860 _swigc__p_wxPyTreeCtrl
,
48861 _swigc__p_wxPyTreeItemData
,
48862 _swigc__p_wxPyValidator
,
48863 _swigc__p_wxQueryNewPaletteEvent
,
48864 _swigc__p_wxRadioBox
,
48865 _swigc__p_wxRadioButton
,
48867 _swigc__p_wxScrollBar
,
48868 _swigc__p_wxScrollEvent
,
48869 _swigc__p_wxScrollWinEvent
,
48870 _swigc__p_wxSetCursorEvent
,
48871 _swigc__p_wxShowEvent
,
48872 _swigc__p_wxSimpleHelpProvider
,
48874 _swigc__p_wxSizeEvent
,
48876 _swigc__p_wxSizerItem
,
48877 _swigc__p_wxSlider
,
48878 _swigc__p_wxSpinButton
,
48879 _swigc__p_wxSpinCtrl
,
48880 _swigc__p_wxSpinEvent
,
48881 _swigc__p_wxStaticBitmap
,
48882 _swigc__p_wxStaticBox
,
48883 _swigc__p_wxStaticBoxSizer
,
48884 _swigc__p_wxStaticLine
,
48885 _swigc__p_wxStaticText
,
48886 _swigc__p_wxStdDialogButtonSizer
,
48887 _swigc__p_wxString
,
48888 _swigc__p_wxSysColourChangedEvent
,
48889 _swigc__p_wxTGAHandler
,
48890 _swigc__p_wxTIFFHandler
,
48891 _swigc__p_wxTextAttr
,
48892 _swigc__p_wxTextCtrl
,
48893 _swigc__p_wxTextUrlEvent
,
48894 _swigc__p_wxToggleButton
,
48895 _swigc__p_wxToolBar
,
48896 _swigc__p_wxToolBarBase
,
48897 _swigc__p_wxToolBarToolBase
,
48898 _swigc__p_wxToolbook
,
48899 _swigc__p_wxToolbookEvent
,
48900 _swigc__p_wxTreeEvent
,
48901 _swigc__p_wxTreeItemId
,
48902 _swigc__p_wxTreebook
,
48903 _swigc__p_wxTreebookEvent
,
48904 _swigc__p_wxUpdateUIEvent
,
48905 _swigc__p_wxValidator
,
48906 _swigc__p_wxVisualAttributes
,
48907 _swigc__p_wxWindow
,
48908 _swigc__p_wxWindowBase
,
48909 _swigc__p_wxWindowCreateEvent
,
48910 _swigc__p_wxWindowDestroyEvent
,
48911 _swigc__p_wxXPMHandler
,
48915 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48917 static swig_const_info swig_const_table
[] = {
48918 {0, 0, 0, 0.0, 0, 0}};
48923 /* -----------------------------------------------------------------------------
48924 * Type initialization:
48925 * This problem is tough by the requirement that no dynamic
48926 * memory is used. Also, since swig_type_info structures store pointers to
48927 * swig_cast_info structures and swig_cast_info structures store pointers back
48928 * to swig_type_info structures, we need some lookup code at initialization.
48929 * The idea is that swig generates all the structures that are needed.
48930 * The runtime then collects these partially filled structures.
48931 * The SWIG_InitializeModule function takes these initial arrays out of
48932 * swig_module, and does all the lookup, filling in the swig_module.types
48933 * array with the correct data and linking the correct swig_cast_info
48934 * structures together.
48936 * The generated swig_type_info structures are assigned staticly to an initial
48937 * array. We just loop though that array, and handle each type individually.
48938 * First we lookup if this type has been already loaded, and if so, use the
48939 * loaded structure instead of the generated one. Then we have to fill in the
48940 * cast linked list. The cast data is initially stored in something like a
48941 * two-dimensional array. Each row corresponds to a type (there are the same
48942 * number of rows as there are in the swig_type_initial array). Each entry in
48943 * a column is one of the swig_cast_info structures for that type.
48944 * The cast_initial array is actually an array of arrays, because each row has
48945 * a variable number of columns. So to actually build the cast linked list,
48946 * we find the array of casts associated with the type, and loop through it
48947 * adding the casts to the list. The one last trick we need to do is making
48948 * sure the type pointer in the swig_cast_info struct is correct.
48950 * First off, we lookup the cast->type name to see if it is already loaded.
48951 * There are three cases to handle:
48952 * 1) If the cast->type has already been loaded AND the type we are adding
48953 * casting info to has not been loaded (it is in this module), THEN we
48954 * replace the cast->type pointer with the type pointer that has already
48956 * 2) If BOTH types (the one we are adding casting info to, and the
48957 * cast->type) are loaded, THEN the cast info has already been loaded by
48958 * the previous module so we just ignore it.
48959 * 3) Finally, if cast->type has not already been loaded, then we add that
48960 * swig_cast_info to the linked list (because the cast->type) pointer will
48962 * ----------------------------------------------------------------------------- */
48972 #define SWIGRUNTIME_DEBUG
48976 SWIG_InitializeModule(void *clientdata
) {
48978 swig_module_info
*module_head
;
48979 static int init_run
= 0;
48981 clientdata
= clientdata
;
48983 if (init_run
) return;
48986 /* Initialize the swig_module */
48987 swig_module
.type_initial
= swig_type_initial
;
48988 swig_module
.cast_initial
= swig_cast_initial
;
48990 /* Try and load any already created modules */
48991 module_head
= SWIG_GetModule(clientdata
);
48993 swig_module
.next
= module_head
->next
;
48994 module_head
->next
= &swig_module
;
48996 /* This is the first module loaded */
48997 swig_module
.next
= &swig_module
;
48998 SWIG_SetModule(clientdata
, &swig_module
);
49001 /* Now work on filling in swig_module.types */
49002 #ifdef SWIGRUNTIME_DEBUG
49003 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49005 for (i
= 0; i
< swig_module
.size
; ++i
) {
49006 swig_type_info
*type
= 0;
49007 swig_type_info
*ret
;
49008 swig_cast_info
*cast
;
49010 #ifdef SWIGRUNTIME_DEBUG
49011 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49014 /* if there is another module already loaded */
49015 if (swig_module
.next
!= &swig_module
) {
49016 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49019 /* Overwrite clientdata field */
49020 #ifdef SWIGRUNTIME_DEBUG
49021 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49023 if (swig_module
.type_initial
[i
]->clientdata
) {
49024 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49025 #ifdef SWIGRUNTIME_DEBUG
49026 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49030 type
= swig_module
.type_initial
[i
];
49033 /* Insert casting types */
49034 cast
= swig_module
.cast_initial
[i
];
49035 while (cast
->type
) {
49036 /* Don't need to add information already in the list */
49038 #ifdef SWIGRUNTIME_DEBUG
49039 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49041 if (swig_module
.next
!= &swig_module
) {
49042 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49043 #ifdef SWIGRUNTIME_DEBUG
49044 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49048 if (type
== swig_module
.type_initial
[i
]) {
49049 #ifdef SWIGRUNTIME_DEBUG
49050 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49055 /* Check for casting already in the list */
49056 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49057 #ifdef SWIGRUNTIME_DEBUG
49058 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49060 if (!ocast
) ret
= 0;
49065 #ifdef SWIGRUNTIME_DEBUG
49066 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49069 type
->cast
->prev
= cast
;
49070 cast
->next
= type
->cast
;
49076 /* Set entry in modules->types array equal to the type */
49077 swig_module
.types
[i
] = type
;
49079 swig_module
.types
[i
] = 0;
49081 #ifdef SWIGRUNTIME_DEBUG
49082 printf("**** SWIG_InitializeModule: Cast List ******\n");
49083 for (i
= 0; i
< swig_module
.size
; ++i
) {
49085 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49086 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49087 while (cast
->type
) {
49088 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49092 printf("---- Total casts: %d\n",j
);
49094 printf("**** SWIG_InitializeModule: Cast List ******\n");
49098 /* This function will propagate the clientdata field of type to
49099 * any new swig_type_info structures that have been added into the list
49100 * of equivalent types. It is like calling
49101 * SWIG_TypeClientData(type, clientdata) a second time.
49104 SWIG_PropagateClientData(void) {
49106 swig_cast_info
*equiv
;
49107 static int init_run
= 0;
49109 if (init_run
) return;
49112 for (i
= 0; i
< swig_module
.size
; i
++) {
49113 if (swig_module
.types
[i
]->clientdata
) {
49114 equiv
= swig_module
.types
[i
]->cast
;
49116 if (!equiv
->converter
) {
49117 if (equiv
->type
&& !equiv
->type
->clientdata
)
49118 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49120 equiv
= equiv
->next
;
49140 /* Python-specific SWIG API */
49141 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49142 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49143 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49145 /* -----------------------------------------------------------------------------
49146 * global variable support code.
49147 * ----------------------------------------------------------------------------- */
49149 typedef struct swig_globalvar
{
49150 char *name
; /* Name of global variable */
49151 PyObject
*(*get_attr
)(void); /* Return the current value */
49152 int (*set_attr
)(PyObject
*); /* Set the value */
49153 struct swig_globalvar
*next
;
49156 typedef struct swig_varlinkobject
{
49158 swig_globalvar
*vars
;
49159 } swig_varlinkobject
;
49161 SWIGINTERN PyObject
*
49162 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49163 return PyString_FromString("<Swig global variables>");
49166 SWIGINTERN PyObject
*
49167 swig_varlink_str(swig_varlinkobject
*v
) {
49168 PyObject
*str
= PyString_FromString("(");
49169 swig_globalvar
*var
;
49170 for (var
= v
->vars
; var
; var
=var
->next
) {
49171 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49172 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49174 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49179 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49180 PyObject
*str
= swig_varlink_str(v
);
49181 fprintf(fp
,"Swig global variables ");
49182 fprintf(fp
,"%s\n", PyString_AsString(str
));
49188 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49189 swig_globalvar
*var
= v
->vars
;
49191 swig_globalvar
*n
= var
->next
;
49198 SWIGINTERN PyObject
*
49199 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49200 PyObject
*res
= NULL
;
49201 swig_globalvar
*var
= v
->vars
;
49203 if (strcmp(var
->name
,n
) == 0) {
49204 res
= (*var
->get_attr
)();
49209 if (res
== NULL
&& !PyErr_Occurred()) {
49210 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49216 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49218 swig_globalvar
*var
= v
->vars
;
49220 if (strcmp(var
->name
,n
) == 0) {
49221 res
= (*var
->set_attr
)(p
);
49226 if (res
== 1 && !PyErr_Occurred()) {
49227 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49232 SWIGINTERN PyTypeObject
*
49233 swig_varlink_type(void) {
49234 static char varlink__doc__
[] = "Swig var link object";
49235 static PyTypeObject varlink_type
;
49236 static int type_init
= 0;
49238 const PyTypeObject tmp
49240 PyObject_HEAD_INIT(NULL
)
49241 0, /* Number of items in variable part (ob_size) */
49242 (char *)"swigvarlink", /* Type name (tp_name) */
49243 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49244 0, /* Itemsize (tp_itemsize) */
49245 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49246 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49247 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49248 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49249 0, /* tp_compare */
49250 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49251 0, /* tp_as_number */
49252 0, /* tp_as_sequence */
49253 0, /* tp_as_mapping */
49256 (reprfunc
)swig_varlink_str
, /* tp_str */
49257 0, /* tp_getattro */
49258 0, /* tp_setattro */
49259 0, /* tp_as_buffer */
49261 varlink__doc__
, /* tp_doc */
49262 0, /* tp_traverse */
49264 0, /* tp_richcompare */
49265 0, /* tp_weaklistoffset */
49266 #if PY_VERSION_HEX >= 0x02020000
49267 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49269 #if PY_VERSION_HEX >= 0x02030000
49272 #ifdef COUNT_ALLOCS
49273 0,0,0,0 /* tp_alloc -> tp_next */
49276 varlink_type
= tmp
;
49277 varlink_type
.ob_type
= &PyType_Type
;
49280 return &varlink_type
;
49283 /* Create a variable linking object for use later */
49284 SWIGINTERN PyObject
*
49285 SWIG_Python_newvarlink(void) {
49286 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49290 return ((PyObject
*) result
);
49294 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49295 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49296 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49298 size_t size
= strlen(name
)+1;
49299 gv
->name
= (char *)malloc(size
);
49301 strncpy(gv
->name
,name
,size
);
49302 gv
->get_attr
= get_attr
;
49303 gv
->set_attr
= set_attr
;
49304 gv
->next
= v
->vars
;
49310 SWIGINTERN PyObject
*
49312 static PyObject
*_SWIG_globals
= 0;
49313 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49314 return _SWIG_globals
;
49317 /* -----------------------------------------------------------------------------
49318 * constants/methods manipulation
49319 * ----------------------------------------------------------------------------- */
49321 /* Install Constants */
49323 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49326 for (i
= 0; constants
[i
].type
; ++i
) {
49327 switch(constants
[i
].type
) {
49328 case SWIG_PY_POINTER
:
49329 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49331 case SWIG_PY_BINARY
:
49332 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49339 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49345 /* -----------------------------------------------------------------------------*/
49346 /* Fix SwigMethods to carry the callback ptrs when needed */
49347 /* -----------------------------------------------------------------------------*/
49350 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49351 swig_const_info
*const_table
,
49352 swig_type_info
**types
,
49353 swig_type_info
**types_initial
) {
49355 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49356 const char *c
= methods
[i
].ml_doc
;
49357 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49359 swig_const_info
*ci
= 0;
49360 const char *name
= c
+ 10;
49361 for (j
= 0; const_table
[j
].type
; ++j
) {
49362 if (strncmp(const_table
[j
].name
, name
,
49363 strlen(const_table
[j
].name
)) == 0) {
49364 ci
= &(const_table
[j
]);
49369 size_t shift
= (ci
->ptype
) - types
;
49370 swig_type_info
*ty
= types_initial
[shift
];
49371 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49372 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49373 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49376 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49378 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49380 strncpy(buff
, "swig_ptr: ", 10);
49382 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49383 methods
[i
].ml_doc
= ndoc
;
49395 /* -----------------------------------------------------------------------------*
49396 * Partial Init method
49397 * -----------------------------------------------------------------------------*/
49402 SWIGEXPORT
void SWIG_init(void) {
49405 /* Fix SwigMethods to carry the callback ptrs when needed */
49406 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49408 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49409 d
= PyModule_GetDict(m
);
49411 SWIG_InitializeModule(0);
49412 SWIG_InstallConstants(d
,swig_const_table
);
49415 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49416 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49417 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49418 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49419 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49420 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49421 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49422 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49423 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49424 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49425 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49426 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49427 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49428 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49429 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49430 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49431 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49432 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49433 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49434 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49435 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49436 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49437 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49438 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49439 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49440 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49441 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49442 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49443 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49444 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49445 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49446 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49447 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49448 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49449 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49450 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49451 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49452 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49453 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49454 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49455 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49456 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49457 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49458 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49459 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49460 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49461 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49462 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49463 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49464 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49465 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49466 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49467 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49468 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49469 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49470 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49471 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49472 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49473 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49474 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49475 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49476 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49477 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49478 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49479 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49480 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49481 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49482 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49483 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49484 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49485 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49486 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49487 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49492 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49493 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49494 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49495 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49496 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49497 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49498 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49499 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49500 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49501 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49502 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49503 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49504 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49505 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49506 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49507 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49508 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49509 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49510 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49511 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49512 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49513 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49514 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49515 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49516 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49517 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49518 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49519 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49520 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49521 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49522 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49523 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49524 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49525 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49526 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49527 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49528 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49529 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49530 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49531 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49532 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49533 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49534 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49535 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49536 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49537 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49538 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49539 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49540 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49541 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49542 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49543 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49544 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49545 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49546 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49547 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49548 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49549 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49550 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49551 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49552 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49553 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49554 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49555 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49556 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49557 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49558 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49559 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49561 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49563 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49566 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49567 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49568 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49569 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49570 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49571 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49572 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49573 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49574 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49575 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49576 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49577 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49578 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49579 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49580 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49581 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49582 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49583 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49584 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49585 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49586 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49587 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49588 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49589 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49590 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49591 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49592 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49593 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49594 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49595 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49596 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49597 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49598 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49599 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49600 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49601 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49602 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49603 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49604 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49605 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49606 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49607 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49608 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49609 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49610 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49611 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49612 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49613 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49614 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49615 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49616 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49617 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49618 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49619 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49620 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49621 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49622 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49623 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49624 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49625 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49626 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49627 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49628 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49629 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49630 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49631 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49632 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49633 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49634 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49635 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49636 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49637 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49638 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49639 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49640 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49641 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49642 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49643 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49644 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49645 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49646 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49647 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49648 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49649 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49650 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49651 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49652 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49653 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49654 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49655 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49656 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49658 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49659 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49660 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49661 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49662 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49663 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49664 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49665 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49666 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49667 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49668 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49669 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49670 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49671 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49672 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49673 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49674 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49676 // Map renamed classes back to their common name for OOR
49677 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49679 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49680 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49681 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49682 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49683 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49684 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49685 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49686 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49687 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49688 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49689 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49690 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49691 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49692 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49693 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49694 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49695 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49696 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49697 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49698 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49699 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49700 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49701 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49702 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49703 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49704 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49705 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49706 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49707 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49708 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49709 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49710 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49711 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49712 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49713 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49714 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49715 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49716 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49717 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49718 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49720 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49721 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49722 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49723 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49724 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49725 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49726 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49727 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49728 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49729 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49730 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49731 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49732 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49734 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49736 // Map renamed classes back to their common name for OOR
49737 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49738 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49740 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49741 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49742 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49743 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49744 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49745 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49746 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49747 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49748 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49749 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49750 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49752 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49754 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49755 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49756 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49757 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49758 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49759 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49760 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49761 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49762 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49763 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49764 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49765 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49766 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49767 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49768 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49769 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49770 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49771 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49772 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49773 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49774 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49775 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49776 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49777 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49778 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49779 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49780 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49781 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49782 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49783 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49784 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49785 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49786 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49787 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49788 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49789 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49790 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49791 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49792 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49793 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49794 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49795 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49796 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
49797 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
49798 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
49799 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
49800 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));