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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxComboBox swig_types[31]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelp swig_types[33]
2496 #define SWIGTYPE_p_wxContextHelpButton swig_types[34]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
2498 #define SWIGTYPE_p_wxControl swig_types[36]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[37]
2500 #define SWIGTYPE_p_wxCursor swig_types[38]
2501 #define SWIGTYPE_p_wxDC swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime swig_types[42]
2505 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512 #define SWIGTYPE_p_wxFSFile swig_types[50]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[51]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[53]
2516 #define SWIGTYPE_p_wxFont swig_types[54]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[56]
2519 #define SWIGTYPE_p_wxGauge swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[58]
2521 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
2522 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2523 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2524 #define SWIGTYPE_p_wxHelpEvent swig_types[62]
2525 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
2526 #define SWIGTYPE_p_wxICOHandler swig_types[64]
2527 #define SWIGTYPE_p_wxIcon swig_types[65]
2528 #define SWIGTYPE_p_wxIconizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxIdleEvent swig_types[67]
2530 #define SWIGTYPE_p_wxImage swig_types[68]
2531 #define SWIGTYPE_p_wxImageHandler swig_types[69]
2532 #define SWIGTYPE_p_wxImageList swig_types[70]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
2535 #define SWIGTYPE_p_wxItemContainer swig_types[73]
2536 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2537 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2538 #define SWIGTYPE_p_wxLayoutConstraints swig_types[76]
2539 #define SWIGTYPE_p_wxListBox swig_types[77]
2540 #define SWIGTYPE_p_wxListEvent swig_types[78]
2541 #define SWIGTYPE_p_wxListItem swig_types[79]
2542 #define SWIGTYPE_p_wxListItemAttr swig_types[80]
2543 #define SWIGTYPE_p_wxListView swig_types[81]
2544 #define SWIGTYPE_p_wxListbook swig_types[82]
2545 #define SWIGTYPE_p_wxListbookEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[84]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[85]
2548 #define SWIGTYPE_p_wxMenu swig_types[86]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[87]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[88]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[89]
2552 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNcPaintEvent swig_types[94]
2557 #define SWIGTYPE_p_wxNotebook swig_types[95]
2558 #define SWIGTYPE_p_wxNotebookEvent swig_types[96]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[97]
2560 #define SWIGTYPE_p_wxObject swig_types[98]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[101]
2564 #define SWIGTYPE_p_wxPaintEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPaperSize swig_types[104]
2567 #define SWIGTYPE_p_wxPoint swig_types[105]
2568 #define SWIGTYPE_p_wxPyApp swig_types[106]
2569 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyControl swig_types[108]
2571 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPyListCtrl swig_types[111]
2574 #define SWIGTYPE_p_wxPySizer swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[113]
2576 #define SWIGTYPE_p_wxPyTreeItemData swig_types[114]
2577 #define SWIGTYPE_p_wxPyValidator swig_types[115]
2578 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[116]
2579 #define SWIGTYPE_p_wxRadioBox swig_types[117]
2580 #define SWIGTYPE_p_wxRadioButton swig_types[118]
2581 #define SWIGTYPE_p_wxRect swig_types[119]
2582 #define SWIGTYPE_p_wxScrollBar swig_types[120]
2583 #define SWIGTYPE_p_wxScrollEvent swig_types[121]
2584 #define SWIGTYPE_p_wxScrollWinEvent swig_types[122]
2585 #define SWIGTYPE_p_wxSetCursorEvent swig_types[123]
2586 #define SWIGTYPE_p_wxShowEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[125]
2588 #define SWIGTYPE_p_wxSize swig_types[126]
2589 #define SWIGTYPE_p_wxSizeEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSizer swig_types[128]
2591 #define SWIGTYPE_p_wxSizerItem swig_types[129]
2592 #define SWIGTYPE_p_wxSlider swig_types[130]
2593 #define SWIGTYPE_p_wxSpinButton swig_types[131]
2594 #define SWIGTYPE_p_wxSpinCtrl swig_types[132]
2595 #define SWIGTYPE_p_wxSpinEvent swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBitmap swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBox swig_types[135]
2598 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[136]
2599 #define SWIGTYPE_p_wxStaticLine swig_types[137]
2600 #define SWIGTYPE_p_wxStaticText swig_types[138]
2601 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[139]
2602 #define SWIGTYPE_p_wxString swig_types[140]
2603 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[141]
2604 #define SWIGTYPE_p_wxTIFFHandler swig_types[142]
2605 #define SWIGTYPE_p_wxTextAttr swig_types[143]
2606 #define SWIGTYPE_p_wxTextCtrl swig_types[144]
2607 #define SWIGTYPE_p_wxTextUrlEvent swig_types[145]
2608 #define SWIGTYPE_p_wxToggleButton swig_types[146]
2609 #define SWIGTYPE_p_wxToolBar swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolBarToolBase swig_types[149]
2612 #define SWIGTYPE_p_wxToolbook swig_types[150]
2613 #define SWIGTYPE_p_wxToolbookEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTreeCtrl swig_types[152]
2615 #define SWIGTYPE_p_wxTreeEvent swig_types[153]
2616 #define SWIGTYPE_p_wxTreeItemId swig_types[154]
2617 #define SWIGTYPE_p_wxTreebook swig_types[155]
2618 #define SWIGTYPE_p_wxTreebookEvent swig_types[156]
2619 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2620 #define SWIGTYPE_p_wxValidator swig_types[158]
2621 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2622 #define SWIGTYPE_p_wxWindow swig_types[160]
2623 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2624 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2625 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2626 static swig_type_info
*swig_types
[165];
2627 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2628 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2629 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2631 /* -------- TYPES TABLE (END) -------- */
2633 #if (PY_VERSION_HEX <= 0x02000000)
2634 # if !defined(SWIG_PYTHON_CLASSIC)
2635 # error "This python version requires to use swig with the '-classic' option"
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodern' option"
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodernargs' option"
2645 # error "This python version requires to use swig with the '-nofastunpack' option"
2648 /*-----------------------------------------------
2649 @(target):= _controls_.so
2650 ------------------------------------------------*/
2651 #define SWIG_init init_controls_
2653 #define SWIG_name "_controls_"
2655 #define SWIGVERSION 0x010329
2658 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2659 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2662 #include <stdexcept>
2666 class PyObject_ptr
{
2671 PyObject_ptr() :_obj(0)
2675 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2680 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2682 if (initial_ref
) Py_XINCREF(_obj
);
2685 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2687 Py_XINCREF(item
._obj
);
2698 operator PyObject
*() const
2703 PyObject
*operator->() const
2712 struct PyObject_var
: PyObject_ptr
{
2713 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2715 PyObject_var
& operator = (PyObject
* obj
)
2725 #include "wx/wxPython/wxPython.h"
2726 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2729 static const wxString
wxPyEmptyString(wxEmptyString
);
2730 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2732 const wxArrayString wxPyEmptyStringArray
;
2734 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2736 #define SWIG_From_long PyInt_FromLong
2739 SWIGINTERNINLINE PyObject
*
2740 SWIG_From_int (int value
)
2742 return SWIG_From_long (value
);
2748 # define LLONG_MIN LONG_LONG_MIN
2751 # define LLONG_MAX LONG_LONG_MAX
2754 # define ULLONG_MAX ULONG_LONG_MAX
2759 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2761 if (PyNumber_Check(obj
)) {
2762 if (val
) *val
= PyInt_AsLong(obj
);
2765 return SWIG_TypeError
;
2770 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2773 int res
= SWIG_AsVal_long (obj
, &v
);
2774 if (SWIG_IsOK(res
)) {
2775 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2776 return SWIG_OverflowError
;
2778 if (val
) *val
= static_cast< int >(v
);
2784 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2787 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2789 if (obj
== Py_True
) {
2790 if (val
) *val
= true;
2792 } else if (obj
== Py_False
) {
2793 if (val
) *val
= false;
2797 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2798 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2803 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2804 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2805 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2806 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2807 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2808 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2810 #include <wx/checklst.h>
2812 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2813 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2816 wxPyClientData
* data
= new wxPyClientData(clientData
);
2817 self
->Insert(item
, pos
, data
);
2820 self
->Insert(item
, pos
);
2824 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2827 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2828 return SWIG_TypeError
;
2831 *val
= (unsigned long)v
;
2837 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2840 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2841 if (SWIG_IsOK(res
)) {
2842 if ((v
> UINT_MAX
)) {
2843 return SWIG_OverflowError
;
2845 if (val
) *val
= static_cast< unsigned int >(v
);
2851 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 self
->GetSelections(lst
);
2855 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2856 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2858 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2860 wxPyEndBlockThreads(blocked
);
2863 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2865 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2866 self
->GetItem(item
)->SetTextColour(c
);
2869 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2871 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2872 self
->GetItem(item
)->SetBackgroundColour(c
);
2875 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2877 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2878 self
->GetItem(item
)->SetFont(f
);
2881 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2882 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2883 self
->AppendText(text
);
2885 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2886 return self
->GetValue().Mid(from
, to
- from
);
2888 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2889 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2890 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2891 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2892 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2894 SWIGINTERNINLINE PyObject
*
2895 SWIG_From_unsigned_SS_long (unsigned long value
)
2897 return (value
> LONG_MAX
) ?
2898 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2902 SWIGINTERNINLINE PyObject
*
2903 SWIG_From_size_t (size_t value
)
2905 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_int (unsigned int value
)
2912 return SWIG_From_unsigned_SS_long (value
);
2916 #include <wx/slider.h>
2919 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2920 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2922 #if !wxUSE_TOGGLEBTN
2923 // implement dummy items for platforms that don't have this class
2925 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2927 class wxToggleButton
: public wxControl
2930 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2931 const wxPoint
&, const wxSize
&, long,
2932 const wxValidator
&, const wxString
&)
2933 { wxPyRaiseNotImplemented(); }
2936 { wxPyRaiseNotImplemented(); }
2940 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2942 SWIGINTERNINLINE
int
2943 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2946 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2947 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2951 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2952 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2953 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2955 Py_INCREF(udata
->m_obj
);
2956 return udata
->m_obj
;
2962 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2963 self
->SetClientData(new wxPyUserData(clientData
));
2965 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
){
2966 wxPyUserData
* udata
= NULL
;
2967 if (clientData
&& clientData
!= Py_None
)
2968 udata
= new wxPyUserData(clientData
);
2969 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2970 shortHelp
, longHelp
, udata
);
2972 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
){
2973 wxPyUserData
* udata
= NULL
;
2974 if (clientData
&& clientData
!= Py_None
)
2975 udata
= new wxPyUserData(clientData
);
2976 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2977 shortHelp
, longHelp
, udata
);
2979 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2980 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2982 Py_INCREF(udata
->m_obj
);
2983 return udata
->m_obj
;
2989 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2990 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2993 #include <wx/listctrl.h>
2995 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2996 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2997 // Python aware sorting function for wxPyListCtrl
2998 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3000 PyObject
* func
= (PyObject
*)funcPtr
;
3001 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3003 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3004 PyObject
* result
= PyEval_CallObject(func
, args
);
3007 retval
= PyInt_AsLong(result
);
3011 wxPyEndBlockThreads(blocked
);
3015 // C++ Version of a Python aware class
3016 class wxPyListCtrl
: public wxListCtrl
{
3017 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3019 wxPyListCtrl() : wxListCtrl() {}
3020 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3024 const wxValidator
& validator
,
3025 const wxString
& name
) :
3026 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3028 bool Create(wxWindow
* parent
, wxWindowID id
,
3032 const wxValidator
& validator
,
3033 const wxString
& name
) {
3034 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3037 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3038 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3040 // use the virtual version to avoid a confusing assert in the base class
3041 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3042 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3047 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3049 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3050 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3051 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3052 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3055 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3057 item
.SetMask( wxLIST_MASK_STATE
|
3065 if (self
->GetColumn(col
, item
))
3066 return new wxListItem(item
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3071 wxListItem
* info
= new wxListItem
;
3072 info
->m_itemId
= itemId
;
3074 info
->m_mask
= 0xFFFF;
3075 self
->GetItem(*info
);
3078 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3080 self
->GetItemPosition(item
, pos
);
3083 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3085 self
->GetItemRect(item
, rect
, code
);
3088 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3089 if (!PyCallable_Check(func
))
3091 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3093 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3097 return (wxWindow
*)self
->m_mainWin
;
3101 #include <wx/treectrl.h>
3102 #include "wx/wxPython/pytree.h"
3104 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3105 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3106 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3107 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3108 // C++ version of Python aware wxTreeCtrl
3109 class wxPyTreeCtrl
: public wxTreeCtrl
{
3110 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3112 wxPyTreeCtrl() : wxTreeCtrl() {}
3113 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3117 const wxValidator
& validator
,
3118 const wxString
& name
) :
3119 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3121 bool Create(wxWindow
*parent
, wxWindowID id
,
3125 const wxValidator
& validator
,
3126 const wxString
& name
) {
3127 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3131 int OnCompareItems(const wxTreeItemId
& item1
,
3132 const wxTreeItemId
& item2
) {
3135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3136 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3137 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3138 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3139 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3143 wxPyEndBlockThreads(blocked
);
3145 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3151 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3154 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3155 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3157 data
= new wxPyTreeItemData();
3158 data
->SetId(item
); // set the id
3159 self
->SetItemData(item
, data
);
3163 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3164 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3166 data
= new wxPyTreeItemData();
3167 data
->SetId(item
); // set the id
3168 self
->SetItemData(item
, data
);
3170 return data
->GetData();
3172 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3173 data
->SetId(item
); // set the id
3174 self
->SetItemData(item
, data
);
3176 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3177 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3179 data
= new wxPyTreeItemData(obj
);
3180 data
->SetId(item
); // set the id
3181 self
->SetItemData(item
, data
);
3185 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3186 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3187 PyObject
* rval
= PyList_New(0);
3188 wxArrayTreeItemIds array
;
3190 num
= self
->GetSelections(array
);
3191 for (x
=0; x
< num
; x
++) {
3192 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3193 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3194 PyList_Append(rval
, item
);
3197 wxPyEndBlockThreads(blocked
);
3200 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3202 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 PyObject
* tup
= PyTuple_New(2);
3205 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3206 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3207 wxPyEndBlockThreads(blocked
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3211 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3213 PyObject
* tup
= PyTuple_New(2);
3214 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3215 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3216 wxPyEndBlockThreads(blocked
);
3219 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3221 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 wxRect
* r
= new wxRect(rect
);
3224 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3225 wxPyEndBlockThreads(blocked
);
3231 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3233 SWIGINTERNINLINE PyObject
*
3234 SWIG_From_bool (bool value
)
3236 return PyBool_FromLong(value
? 1 : 0);
3239 // C++ version of Python aware wxControl
3240 class wxPyControl
: public wxControl
3242 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3244 wxPyControl() : wxControl() {}
3245 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3246 const wxPoint
& pos
= wxDefaultPosition
,
3247 const wxSize
& size
= wxDefaultSize
,
3249 const wxValidator
& validator
=wxDefaultValidator
,
3250 const wxString
& name
= wxPyControlNameStr
)
3251 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3253 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3255 bool DoEraseBackground(wxDC
* dc
) {
3257 return wxWindow::DoEraseBackground(dc
->GetHDC());
3259 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3265 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3266 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3268 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3275 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3277 DEC_PYCALLBACK__(InitDialog
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3279 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3280 DEC_PYCALLBACK_BOOL_(Validate
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3283 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3284 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3287 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3289 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3290 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3292 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3294 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3299 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3301 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3302 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3304 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3311 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3313 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3316 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3319 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3320 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3323 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3325 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3326 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3328 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3330 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3334 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3336 #include <wx/generic/dragimgg.h>
3338 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3339 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3341 self
->GetRange(&rv
, NULL
);
3344 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3346 self
->GetRange(NULL
, &rv
);
3352 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3353 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3358 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3359 PyObject
*pyobj
= 0;
3363 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3365 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3372 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
= 0;
3374 wxWindow
*arg1
= (wxWindow
*) 0 ;
3375 int arg2
= (int) -1 ;
3376 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3377 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3382 long arg6
= (long) 0 ;
3383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3385 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3387 wxButton
*result
= 0 ;
3392 bool temp3
= false ;
3399 bool temp8
= false ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3403 PyObject
* obj3
= 0 ;
3404 PyObject
* obj4
= 0 ;
3405 PyObject
* obj5
= 0 ;
3406 PyObject
* obj6
= 0 ;
3407 PyObject
* obj7
= 0 ;
3408 char * kwnames
[] = {
3409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3414 if (!SWIG_IsOK(res1
)) {
3415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3420 if (!SWIG_IsOK(ecode2
)) {
3421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3423 arg2
= static_cast< int >(val2
);
3427 arg3
= wxString_in_helper(obj2
);
3428 if (arg3
== NULL
) SWIG_fail
;
3435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3445 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3446 if (!SWIG_IsOK(ecode6
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3449 arg6
= static_cast< long >(val6
);
3452 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3453 if (!SWIG_IsOK(res7
)) {
3454 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3459 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3463 arg8
= wxString_in_helper(obj7
);
3464 if (arg8
== NULL
) SWIG_fail
;
3469 if (!wxPyCheckForApp()) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3498 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3499 PyObject
*resultobj
= 0;
3500 wxButton
*result
= 0 ;
3502 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3504 if (!wxPyCheckForApp()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (wxButton
*)new wxButton();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3517 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
= 0;
3519 wxButton
*arg1
= (wxButton
*) 0 ;
3520 wxWindow
*arg2
= (wxWindow
*) 0 ;
3521 int arg3
= (int) -1 ;
3522 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3523 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3528 long arg7
= (long) 0 ;
3529 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3530 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3531 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3532 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3540 bool temp4
= false ;
3547 bool temp9
= false ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3550 PyObject
* obj2
= 0 ;
3551 PyObject
* obj3
= 0 ;
3552 PyObject
* obj4
= 0 ;
3553 PyObject
* obj5
= 0 ;
3554 PyObject
* obj6
= 0 ;
3555 PyObject
* obj7
= 0 ;
3556 PyObject
* obj8
= 0 ;
3557 char * kwnames
[] = {
3558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3563 if (!SWIG_IsOK(res1
)) {
3564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3566 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3568 if (!SWIG_IsOK(res2
)) {
3569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3574 if (!SWIG_IsOK(ecode3
)) {
3575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3577 arg3
= static_cast< int >(val3
);
3581 arg4
= wxString_in_helper(obj3
);
3582 if (arg4
== NULL
) SWIG_fail
;
3589 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3595 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3599 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3600 if (!SWIG_IsOK(ecode7
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3603 arg7
= static_cast< long >(val7
);
3606 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3607 if (!SWIG_IsOK(res8
)) {
3608 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3613 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3617 arg9
= wxString_in_helper(obj8
);
3618 if (arg9
== NULL
) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3653 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3654 PyObject
*resultobj
= 0;
3655 wxButton
*arg1
= (wxButton
*) 0 ;
3658 PyObject
*swig_obj
[1] ;
3660 if (!args
) SWIG_fail
;
3662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3663 if (!SWIG_IsOK(res1
)) {
3664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3666 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 (arg1
)->SetDefault();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_Py_Void();
3680 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3681 PyObject
*resultobj
= 0;
3684 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= wxButton::GetDefaultSize();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3698 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
= 0;
3700 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3701 SwigValueWrapper
<wxVisualAttributes
> result
;
3704 PyObject
* obj0
= 0 ;
3705 char * kwnames
[] = {
3706 (char *) "variant", NULL
3709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3712 if (!SWIG_IsOK(ecode1
)) {
3713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3715 arg1
= static_cast< wxWindowVariant
>(val1
);
3718 if (!wxPyCheckForApp()) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= wxButton::GetClassDefaultAttributes(arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3731 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3734 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3735 return SWIG_Py_Void();
3738 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3739 return SWIG_Python_InitShadowInstance(args
);
3742 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
= 0;
3744 wxWindow
*arg1
= (wxWindow
*) 0 ;
3745 int arg2
= (int) -1 ;
3746 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3747 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3752 long arg6
= (long) wxBU_AUTODRAW
;
3753 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3754 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3755 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3756 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3757 wxBitmapButton
*result
= 0 ;
3770 bool temp8
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 PyObject
* obj6
= 0 ;
3778 PyObject
* obj7
= 0 ;
3779 char * kwnames
[] = {
3780 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3785 if (!SWIG_IsOK(res1
)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3791 if (!SWIG_IsOK(ecode2
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3794 arg2
= static_cast< int >(val2
);
3797 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3798 if (!SWIG_IsOK(res3
)) {
3799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3804 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3819 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3820 if (!SWIG_IsOK(ecode6
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3823 arg6
= static_cast< long >(val6
);
3826 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3827 if (!SWIG_IsOK(res7
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3833 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3837 arg8
= wxString_in_helper(obj7
);
3838 if (arg8
== NULL
) SWIG_fail
;
3843 if (!wxPyCheckForApp()) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3864 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3865 PyObject
*resultobj
= 0;
3866 wxBitmapButton
*result
= 0 ;
3868 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3870 if (!wxPyCheckForApp()) SWIG_fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 result
= (wxBitmapButton
*)new wxBitmapButton();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3883 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
= 0;
3885 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3886 wxWindow
*arg2
= (wxWindow
*) 0 ;
3887 int arg3
= (int) -1 ;
3888 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3889 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3894 long arg7
= (long) wxBU_AUTODRAW
;
3895 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3896 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3897 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3914 bool temp9
= false ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3919 PyObject
* obj4
= 0 ;
3920 PyObject
* obj5
= 0 ;
3921 PyObject
* obj6
= 0 ;
3922 PyObject
* obj7
= 0 ;
3923 PyObject
* obj8
= 0 ;
3924 char * kwnames
[] = {
3925 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3930 if (!SWIG_IsOK(res1
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3933 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3935 if (!SWIG_IsOK(res2
)) {
3936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3941 if (!SWIG_IsOK(ecode3
)) {
3942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3944 arg3
= static_cast< int >(val3
);
3947 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3948 if (!SWIG_IsOK(res4
)) {
3949 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3954 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3969 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3970 if (!SWIG_IsOK(ecode7
)) {
3971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3973 arg7
= static_cast< long >(val7
);
3976 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3977 if (!SWIG_IsOK(res8
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3983 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3987 arg9
= wxString_in_helper(obj8
);
3988 if (arg9
== NULL
) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4015 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 PyObject
*resultobj
= 0;
4017 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4021 PyObject
*swig_obj
[1] ;
4023 if (!args
) SWIG_fail
;
4025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4026 if (!SWIG_IsOK(res1
)) {
4027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4029 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (arg1
)->GetBitmapLabel();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4043 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4044 PyObject
*resultobj
= 0;
4045 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4049 PyObject
*swig_obj
[1] ;
4051 if (!args
) SWIG_fail
;
4053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4054 if (!SWIG_IsOK(res1
)) {
4055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4057 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (arg1
)->GetBitmapDisabled();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4071 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4072 PyObject
*resultobj
= 0;
4073 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4077 PyObject
*swig_obj
[1] ;
4079 if (!args
) SWIG_fail
;
4081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4082 if (!SWIG_IsOK(res1
)) {
4083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4085 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (arg1
)->GetBitmapFocus();
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4099 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 PyObject
*resultobj
= 0;
4101 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4105 PyObject
*swig_obj
[1] ;
4107 if (!args
) SWIG_fail
;
4109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4110 if (!SWIG_IsOK(res1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4113 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (arg1
)->GetBitmapSelected();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4127 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4133 PyObject
*swig_obj
[1] ;
4135 if (!args
) SWIG_fail
;
4137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4138 if (!SWIG_IsOK(res1
)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4141 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (arg1
)->GetBitmapHover();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 wxBitmap
*arg2
= 0 ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4165 char * kwnames
[] = {
4166 (char *) "self",(char *) "bitmap", NULL
4169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4174 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4176 if (!SWIG_IsOK(res2
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4182 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_Py_Void();
4196 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
= 0;
4198 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4199 wxBitmap
*arg2
= 0 ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4206 char * kwnames
[] = {
4207 (char *) "self",(char *) "bitmap", NULL
4210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4212 if (!SWIG_IsOK(res1
)) {
4213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4215 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4217 if (!SWIG_IsOK(res2
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4223 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_Py_Void();
4237 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4240 wxBitmap
*arg2
= 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "self",(char *) "bitmap", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4253 if (!SWIG_IsOK(res1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4256 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4258 if (!SWIG_IsOK(res2
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4278 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
= 0;
4280 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4281 wxBitmap
*arg2
= 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 char * kwnames
[] = {
4289 (char *) "self",(char *) "bitmap", NULL
4292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4294 if (!SWIG_IsOK(res1
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4297 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4299 if (!SWIG_IsOK(res2
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4319 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= 0;
4321 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4322 wxBitmap
*arg2
= 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "hover", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4338 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4340 if (!SWIG_IsOK(res2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4373 PyObject
* obj2
= 0 ;
4374 char * kwnames
[] = {
4375 (char *) "self",(char *) "x",(char *) "y", NULL
4378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4380 if (!SWIG_IsOK(res1
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4383 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4385 if (!SWIG_IsOK(ecode2
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4388 arg2
= static_cast< int >(val2
);
4389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4390 if (!SWIG_IsOK(ecode3
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4393 arg3
= static_cast< int >(val3
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->SetMargins(arg2
,arg3
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4407 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4408 PyObject
*resultobj
= 0;
4409 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4413 PyObject
*swig_obj
[1] ;
4415 if (!args
) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4421 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= SWIG_From_int(static_cast< int >(result
));
4435 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4436 PyObject
*resultobj
= 0;
4437 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4441 PyObject
*swig_obj
[1] ;
4443 if (!args
) SWIG_fail
;
4445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4446 if (!SWIG_IsOK(res1
)) {
4447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4449 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_From_int(static_cast< int >(result
));
4463 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4466 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4467 return SWIG_Py_Void();
4470 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 return SWIG_Python_InitShadowInstance(args
);
4474 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4475 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4480 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4481 PyObject
*pyobj
= 0;
4485 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4487 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4494 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxWindow
*arg1
= (wxWindow
*) 0 ;
4497 int arg2
= (int) -1 ;
4498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4504 long arg6
= (long) 0 ;
4505 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4506 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4507 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4508 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4509 wxCheckBox
*result
= 0 ;
4514 bool temp3
= false ;
4521 bool temp8
= false ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4524 PyObject
* obj2
= 0 ;
4525 PyObject
* obj3
= 0 ;
4526 PyObject
* obj4
= 0 ;
4527 PyObject
* obj5
= 0 ;
4528 PyObject
* obj6
= 0 ;
4529 PyObject
* obj7
= 0 ;
4530 char * kwnames
[] = {
4531 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4536 if (!SWIG_IsOK(res1
)) {
4537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4542 if (!SWIG_IsOK(ecode2
)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4545 arg2
= static_cast< int >(val2
);
4549 arg3
= wxString_in_helper(obj2
);
4550 if (arg3
== NULL
) SWIG_fail
;
4557 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4563 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4567 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4568 if (!SWIG_IsOK(ecode6
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4571 arg6
= static_cast< long >(val6
);
4574 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4575 if (!SWIG_IsOK(res7
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4581 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4585 arg8
= wxString_in_helper(obj7
);
4586 if (arg8
== NULL
) SWIG_fail
;
4591 if (!wxPyCheckForApp()) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4620 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxCheckBox
*result
= 0 ;
4624 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4626 if (!wxPyCheckForApp()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxCheckBox
*)new wxCheckBox();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4639 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
= 0;
4641 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4642 wxWindow
*arg2
= (wxWindow
*) 0 ;
4643 int arg3
= (int) -1 ;
4644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4650 long arg7
= (long) 0 ;
4651 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4652 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4653 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4654 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4662 bool temp4
= false ;
4669 bool temp9
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4674 PyObject
* obj4
= 0 ;
4675 PyObject
* obj5
= 0 ;
4676 PyObject
* obj6
= 0 ;
4677 PyObject
* obj7
= 0 ;
4678 PyObject
* obj8
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4688 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4690 if (!SWIG_IsOK(res2
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4693 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4699 arg3
= static_cast< int >(val3
);
4703 arg4
= wxString_in_helper(obj3
);
4704 if (arg4
== NULL
) SWIG_fail
;
4711 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4717 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4721 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4722 if (!SWIG_IsOK(ecode7
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4725 arg7
= static_cast< long >(val7
);
4728 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4729 if (!SWIG_IsOK(res8
)) {
4730 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4735 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4739 arg9
= wxString_in_helper(obj8
);
4740 if (arg9
== NULL
) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4775 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4776 PyObject
*resultobj
= 0;
4777 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4781 PyObject
*swig_obj
[1] ;
4783 if (!args
) SWIG_fail
;
4785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4786 if (!SWIG_IsOK(res1
)) {
4787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4789 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (bool)(arg1
)->GetValue();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4806 PyObject
*resultobj
= 0;
4807 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4811 PyObject
*swig_obj
[1] ;
4813 if (!args
) SWIG_fail
;
4815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4816 if (!SWIG_IsOK(res1
)) {
4817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4819 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->IsChecked();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4835 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
= 0;
4837 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4845 char * kwnames
[] = {
4846 (char *) "self",(char *) "state", NULL
4849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4851 if (!SWIG_IsOK(res1
)) {
4852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4854 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4856 if (!SWIG_IsOK(ecode2
)) {
4857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4859 arg2
= static_cast< bool >(val2
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 (arg1
)->SetValue(arg2
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_Py_Void();
4873 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4874 PyObject
*resultobj
= 0;
4875 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4876 wxCheckBoxState result
;
4879 PyObject
*swig_obj
[1] ;
4881 if (!args
) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4887 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_From_int(static_cast< int >(result
));
4901 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
= 0;
4903 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4904 wxCheckBoxState arg2
;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4911 char * kwnames
[] = {
4912 (char *) "self",(char *) "state", NULL
4915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4917 if (!SWIG_IsOK(res1
)) {
4918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4920 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4922 if (!SWIG_IsOK(ecode2
)) {
4923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4925 arg2
= static_cast< wxCheckBoxState
>(val2
);
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 (arg1
)->Set3StateValue(arg2
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_Py_Void();
4939 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4940 PyObject
*resultobj
= 0;
4941 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4945 PyObject
*swig_obj
[1] ;
4947 if (!args
) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4953 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4969 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4983 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
= 0;
5001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5002 SwigValueWrapper
<wxVisualAttributes
> result
;
5005 PyObject
* obj0
= 0 ;
5006 char * kwnames
[] = {
5007 (char *) "variant", NULL
5010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5013 if (!SWIG_IsOK(ecode1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5016 arg1
= static_cast< wxWindowVariant
>(val1
);
5019 if (!wxPyCheckForApp()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5032 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5035 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5036 return SWIG_Py_Void();
5039 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5040 return SWIG_Python_InitShadowInstance(args
);
5043 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5044 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5049 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5050 PyObject
*pyobj
= 0;
5054 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5056 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5063 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxWindow
*arg1
= (wxWindow
*) 0 ;
5066 int arg2
= (int) -1 ;
5067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5071 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5072 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5073 long arg6
= (long) 0 ;
5074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5076 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5078 wxChoice
*result
= 0 ;
5085 bool temp5
= false ;
5090 bool temp8
= false ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 PyObject
* obj2
= 0 ;
5094 PyObject
* obj3
= 0 ;
5095 PyObject
* obj4
= 0 ;
5096 PyObject
* obj5
= 0 ;
5097 PyObject
* obj6
= 0 ;
5098 PyObject
* obj7
= 0 ;
5099 char * kwnames
[] = {
5100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5111 if (!SWIG_IsOK(ecode2
)) {
5112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5114 arg2
= static_cast< int >(val2
);
5119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5130 if (! PySequence_Check(obj4
)) {
5131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5134 arg5
= new wxArrayString
;
5136 int i
, len
=PySequence_Length(obj4
);
5137 for (i
=0; i
<len
; i
++) {
5138 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5139 wxString
* s
= wxString_in_helper(item
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5148 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5149 if (!SWIG_IsOK(ecode6
)) {
5150 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5152 arg6
= static_cast< long >(val6
);
5155 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5156 if (!SWIG_IsOK(res7
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5162 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5166 arg8
= wxString_in_helper(obj7
);
5167 if (arg8
== NULL
) SWIG_fail
;
5172 if (!wxPyCheckForApp()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5180 if (temp5
) delete arg5
;
5189 if (temp5
) delete arg5
;
5199 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5200 PyObject
*resultobj
= 0;
5201 wxChoice
*result
= 0 ;
5203 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5205 if (!wxPyCheckForApp()) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (wxChoice
*)new wxChoice();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5218 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
= 0;
5220 wxChoice
*arg1
= (wxChoice
*) 0 ;
5221 wxWindow
*arg2
= (wxWindow
*) 0 ;
5222 int arg3
= (int) -1 ;
5223 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5224 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5225 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5226 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5227 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5228 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5229 long arg7
= (long) 0 ;
5230 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5231 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5232 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5233 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5243 bool temp6
= false ;
5248 bool temp9
= false ;
5249 PyObject
* obj0
= 0 ;
5250 PyObject
* obj1
= 0 ;
5251 PyObject
* obj2
= 0 ;
5252 PyObject
* obj3
= 0 ;
5253 PyObject
* obj4
= 0 ;
5254 PyObject
* obj5
= 0 ;
5255 PyObject
* obj6
= 0 ;
5256 PyObject
* obj7
= 0 ;
5257 PyObject
* obj8
= 0 ;
5258 char * kwnames
[] = {
5259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5267 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5269 if (!SWIG_IsOK(res2
)) {
5270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5275 if (!SWIG_IsOK(ecode3
)) {
5276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5278 arg3
= static_cast< int >(val3
);
5283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5294 if (! PySequence_Check(obj5
)) {
5295 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5298 arg6
= new wxArrayString
;
5300 int i
, len
=PySequence_Length(obj5
);
5301 for (i
=0; i
<len
; i
++) {
5302 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5303 wxString
* s
= wxString_in_helper(item
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5312 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5313 if (!SWIG_IsOK(ecode7
)) {
5314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5316 arg7
= static_cast< long >(val7
);
5319 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5320 if (!SWIG_IsOK(res8
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5326 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5330 arg9
= wxString_in_helper(obj8
);
5331 if (arg9
== NULL
) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5345 if (temp6
) delete arg6
;
5354 if (temp6
) delete arg6
;
5364 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5365 PyObject
*resultobj
= 0;
5366 wxChoice
*arg1
= (wxChoice
*) 0 ;
5370 PyObject
*swig_obj
[1] ;
5372 if (!args
) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5378 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_From_int(static_cast< int >(result
));
5392 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
= 0;
5394 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5395 SwigValueWrapper
<wxVisualAttributes
> result
;
5398 PyObject
* obj0
= 0 ;
5399 char * kwnames
[] = {
5400 (char *) "variant", NULL
5403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5406 if (!SWIG_IsOK(ecode1
)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5409 arg1
= static_cast< wxWindowVariant
>(val1
);
5412 if (!wxPyCheckForApp()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5425 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5428 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5429 return SWIG_Py_Void();
5432 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5433 return SWIG_Python_InitShadowInstance(args
);
5436 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5437 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5442 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5443 PyObject
*pyobj
= 0;
5447 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5449 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5456 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
= 0;
5458 wxWindow
*arg1
= (wxWindow
*) 0 ;
5459 int arg2
= (int) -1 ;
5460 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5461 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5462 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5463 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5464 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5465 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5466 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5467 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5468 long arg7
= (long) 0 ;
5469 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5470 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5471 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5472 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5473 wxComboBox
*result
= 0 ;
5478 bool temp3
= false ;
5481 bool temp6
= false ;
5486 bool temp9
= false ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5489 PyObject
* obj2
= 0 ;
5490 PyObject
* obj3
= 0 ;
5491 PyObject
* obj4
= 0 ;
5492 PyObject
* obj5
= 0 ;
5493 PyObject
* obj6
= 0 ;
5494 PyObject
* obj7
= 0 ;
5495 PyObject
* obj8
= 0 ;
5496 char * kwnames
[] = {
5497 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5502 if (!SWIG_IsOK(res1
)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5505 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5508 if (!SWIG_IsOK(ecode2
)) {
5509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5511 arg2
= static_cast< int >(val2
);
5515 arg3
= wxString_in_helper(obj2
);
5516 if (arg3
== NULL
) SWIG_fail
;
5523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5534 if (! PySequence_Check(obj5
)) {
5535 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5538 arg6
= new wxArrayString
;
5540 int i
, len
=PySequence_Length(obj5
);
5541 for (i
=0; i
<len
; i
++) {
5542 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5543 wxString
* s
= wxString_in_helper(item
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5552 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5553 if (!SWIG_IsOK(ecode7
)) {
5554 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5556 arg7
= static_cast< long >(val7
);
5559 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5560 if (!SWIG_IsOK(res8
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5566 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5570 arg9
= wxString_in_helper(obj8
);
5571 if (arg9
== NULL
) SWIG_fail
;
5576 if (!wxPyCheckForApp()) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 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
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5588 if (temp6
) delete arg6
;
5601 if (temp6
) delete arg6
;
5611 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxComboBox
*result
= 0 ;
5615 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5617 if (!wxPyCheckForApp()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= (wxComboBox
*)new wxComboBox();
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5630 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
= 0;
5632 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5633 wxWindow
*arg2
= (wxWindow
*) 0 ;
5634 int arg3
= (int) -1 ;
5635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5641 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5642 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5643 long arg8
= (long) 0 ;
5644 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5645 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5646 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5647 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5655 bool temp4
= false ;
5658 bool temp7
= false ;
5663 bool temp10
= false ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5668 PyObject
* obj4
= 0 ;
5669 PyObject
* obj5
= 0 ;
5670 PyObject
* obj6
= 0 ;
5671 PyObject
* obj7
= 0 ;
5672 PyObject
* obj8
= 0 ;
5673 PyObject
* obj9
= 0 ;
5674 char * kwnames
[] = {
5675 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5680 if (!SWIG_IsOK(res1
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5683 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5685 if (!SWIG_IsOK(res2
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5691 if (!SWIG_IsOK(ecode3
)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5694 arg3
= static_cast< int >(val3
);
5698 arg4
= wxString_in_helper(obj3
);
5699 if (arg4
== NULL
) SWIG_fail
;
5706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5717 if (! PySequence_Check(obj6
)) {
5718 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5721 arg7
= new wxArrayString
;
5723 int i
, len
=PySequence_Length(obj6
);
5724 for (i
=0; i
<len
; i
++) {
5725 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5726 wxString
* s
= wxString_in_helper(item
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5735 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5736 if (!SWIG_IsOK(ecode8
)) {
5737 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5739 arg8
= static_cast< long >(val8
);
5742 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5743 if (!SWIG_IsOK(res9
)) {
5744 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5749 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5753 arg10
= wxString_in_helper(obj9
);
5754 if (arg10
== NULL
) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 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
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5772 if (temp7
) delete arg7
;
5785 if (temp7
) delete arg7
;
5795 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5809 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= ((wxComboBox
const *)arg1
)->GetValue();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5829 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= 0;
5831 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5832 wxString
*arg2
= 0 ;
5835 bool temp2
= false ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "value", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5847 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5849 arg2
= wxString_in_helper(obj1
);
5850 if (arg2
== NULL
) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->SetValue((wxString
const &)*arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5875 PyObject
*resultobj
= 0;
5876 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5879 PyObject
*swig_obj
[1] ;
5881 if (!args
) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5887 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_Py_Void();
5901 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5902 PyObject
*resultobj
= 0;
5903 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5906 PyObject
*swig_obj
[1] ;
5908 if (!args
) SWIG_fail
;
5910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5911 if (!SWIG_IsOK(res1
)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5914 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_Py_Void();
5928 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5929 PyObject
*resultobj
= 0;
5930 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5933 PyObject
*swig_obj
[1] ;
5935 if (!args
) SWIG_fail
;
5937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5938 if (!SWIG_IsOK(res1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5941 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_Py_Void();
5955 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
= 0;
5957 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5965 char * kwnames
[] = {
5966 (char *) "self",(char *) "pos", NULL
5969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5974 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5976 if (!SWIG_IsOK(ecode2
)) {
5977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5979 arg2
= static_cast< long >(val2
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 (arg1
)->SetInsertionPoint(arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_Py_Void();
5993 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5994 PyObject
*resultobj
= 0;
5995 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5999 PyObject
*swig_obj
[1] ;
6001 if (!args
) SWIG_fail
;
6003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6004 if (!SWIG_IsOK(res1
)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6007 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_From_long(static_cast< long >(result
));
6021 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6022 PyObject
*resultobj
= 0;
6023 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6027 PyObject
*swig_obj
[1] ;
6029 if (!args
) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6035 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_From_long(static_cast< long >(result
));
6049 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
= 0;
6051 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6054 wxString
*arg4
= 0 ;
6061 bool temp4
= false ;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6064 PyObject
* obj2
= 0 ;
6065 PyObject
* obj3
= 0 ;
6066 char * kwnames
[] = {
6067 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6072 if (!SWIG_IsOK(res1
)) {
6073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6075 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6077 if (!SWIG_IsOK(ecode2
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6080 arg2
= static_cast< long >(val2
);
6081 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6082 if (!SWIG_IsOK(ecode3
)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6085 arg3
= static_cast< long >(val3
);
6087 arg4
= wxString_in_helper(obj3
);
6088 if (arg4
== NULL
) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_Py_Void();
6112 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
= 0;
6114 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 PyObject
* obj2
= 0 ;
6126 char * kwnames
[] = {
6127 (char *) "self",(char *) "from",(char *) "to", NULL
6130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6132 if (!SWIG_IsOK(res1
)) {
6133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6135 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6136 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6137 if (!SWIG_IsOK(ecode2
)) {
6138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6140 arg2
= static_cast< long >(val2
);
6141 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6142 if (!SWIG_IsOK(ecode3
)) {
6143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6145 arg3
= static_cast< long >(val3
);
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->SetSelection(arg2
,arg3
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_Py_Void();
6159 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6160 PyObject
*resultobj
= 0;
6161 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6165 PyObject
*swig_obj
[1] ;
6167 if (!args
) SWIG_fail
;
6169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6170 if (!SWIG_IsOK(res1
)) {
6171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6173 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_From_int(static_cast< int >(result
));
6187 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
= 0;
6189 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6190 wxString
*arg2
= 0 ;
6194 bool temp2
= false ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6197 char * kwnames
[] = {
6198 (char *) "self",(char *) "string", NULL
6201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6206 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6208 arg2
= wxString_in_helper(obj1
);
6209 if (arg2
== NULL
) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6235 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
= 0;
6237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6239 wxString
*arg3
= 0 ;
6244 bool temp3
= false ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 PyObject
* obj2
= 0 ;
6248 char * kwnames
[] = {
6249 (char *) "self",(char *) "n",(char *) "string", NULL
6252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6254 if (!SWIG_IsOK(res1
)) {
6255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6257 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6259 if (!SWIG_IsOK(ecode2
)) {
6260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6262 arg2
= static_cast< int >(val2
);
6264 arg3
= wxString_in_helper(obj2
);
6265 if (arg3
== NULL
) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= SWIG_Py_Void();
6289 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
= 0;
6291 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6298 PyObject
* obj1
= 0 ;
6299 char * kwnames
[] = {
6300 (char *) "self",(char *) "editable", NULL
6303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6305 if (!SWIG_IsOK(res1
)) {
6306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6308 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6309 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6310 if (!SWIG_IsOK(ecode2
)) {
6311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6313 arg2
= static_cast< bool >(val2
);
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 (arg1
)->SetEditable(arg2
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_Py_Void();
6327 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6328 PyObject
*resultobj
= 0;
6329 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6332 PyObject
*swig_obj
[1] ;
6334 if (!args
) SWIG_fail
;
6336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6337 if (!SWIG_IsOK(res1
)) {
6338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6340 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetInsertionPointEnd();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6354 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
= 0;
6356 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6367 PyObject
* obj2
= 0 ;
6368 char * kwnames
[] = {
6369 (char *) "self",(char *) "from",(char *) "to", NULL
6372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6377 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6378 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6379 if (!SWIG_IsOK(ecode2
)) {
6380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6382 arg2
= static_cast< long >(val2
);
6383 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6384 if (!SWIG_IsOK(ecode3
)) {
6385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6387 arg3
= static_cast< long >(val3
);
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->Remove(arg2
,arg3
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_Py_Void();
6401 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6402 PyObject
*resultobj
= 0;
6403 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6407 PyObject
*swig_obj
[1] ;
6409 if (!args
) SWIG_fail
;
6411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6412 if (!SWIG_IsOK(res1
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6415 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6431 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6432 PyObject
*resultobj
= 0;
6433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6444 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_Py_Void();
6458 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6459 PyObject
*resultobj
= 0;
6460 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6463 PyObject
*swig_obj
[1] ;
6465 if (!args
) SWIG_fail
;
6467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6468 if (!SWIG_IsOK(res1
)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6471 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_Py_Void();
6485 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 PyObject
*resultobj
= 0;
6487 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6498 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 (arg1
)->SelectAll();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_Py_Void();
6512 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6513 PyObject
*resultobj
= 0;
6514 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6518 PyObject
*swig_obj
[1] ;
6520 if (!args
) SWIG_fail
;
6522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6523 if (!SWIG_IsOK(res1
)) {
6524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6526 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6542 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6543 PyObject
*resultobj
= 0;
6544 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6548 PyObject
*swig_obj
[1] ;
6550 if (!args
) SWIG_fail
;
6552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6553 if (!SWIG_IsOK(res1
)) {
6554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6556 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6572 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6573 PyObject
*resultobj
= 0;
6574 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6578 PyObject
*swig_obj
[1] ;
6580 if (!args
) SWIG_fail
;
6582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6583 if (!SWIG_IsOK(res1
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6586 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6602 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6603 PyObject
*resultobj
= 0;
6604 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6608 PyObject
*swig_obj
[1] ;
6610 if (!args
) SWIG_fail
;
6612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6613 if (!SWIG_IsOK(res1
)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6616 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6633 PyObject
*resultobj
= 0;
6634 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6638 PyObject
*swig_obj
[1] ;
6640 if (!args
) SWIG_fail
;
6642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6643 if (!SWIG_IsOK(res1
)) {
6644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6646 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6662 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
= 0;
6664 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6665 SwigValueWrapper
<wxVisualAttributes
> result
;
6668 PyObject
* obj0
= 0 ;
6669 char * kwnames
[] = {
6670 (char *) "variant", NULL
6673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6676 if (!SWIG_IsOK(ecode1
)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6679 arg1
= static_cast< wxWindowVariant
>(val1
);
6682 if (!wxPyCheckForApp()) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6695 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6698 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6699 return SWIG_Py_Void();
6702 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6703 return SWIG_Python_InitShadowInstance(args
);
6706 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6707 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6712 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6713 PyObject
*pyobj
= 0;
6717 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6719 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6726 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
= 0;
6728 wxWindow
*arg1
= (wxWindow
*) 0 ;
6729 int arg2
= (int) -1 ;
6730 int arg3
= (int) 100 ;
6731 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6732 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6733 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6734 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6735 long arg6
= (long) wxGA_HORIZONTAL
;
6736 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6737 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6738 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6739 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6740 wxGauge
*result
= 0 ;
6753 bool temp8
= false ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 PyObject
* obj2
= 0 ;
6757 PyObject
* obj3
= 0 ;
6758 PyObject
* obj4
= 0 ;
6759 PyObject
* obj5
= 0 ;
6760 PyObject
* obj6
= 0 ;
6761 PyObject
* obj7
= 0 ;
6762 char * kwnames
[] = {
6763 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6768 if (!SWIG_IsOK(res1
)) {
6769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6774 if (!SWIG_IsOK(ecode2
)) {
6775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6777 arg2
= static_cast< int >(val2
);
6780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6781 if (!SWIG_IsOK(ecode3
)) {
6782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6784 arg3
= static_cast< int >(val3
);
6789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6799 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6800 if (!SWIG_IsOK(ecode6
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6803 arg6
= static_cast< long >(val6
);
6806 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6807 if (!SWIG_IsOK(res7
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6813 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6817 arg8
= wxString_in_helper(obj7
);
6818 if (arg8
== NULL
) SWIG_fail
;
6823 if (!wxPyCheckForApp()) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6844 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6845 PyObject
*resultobj
= 0;
6846 wxGauge
*result
= 0 ;
6848 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6850 if (!wxPyCheckForApp()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (wxGauge
*)new wxGauge();
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6863 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
= 0;
6865 wxGauge
*arg1
= (wxGauge
*) 0 ;
6866 wxWindow
*arg2
= (wxWindow
*) 0 ;
6867 int arg3
= (int) -1 ;
6868 int arg4
= (int) 100 ;
6869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6873 long arg7
= (long) wxGA_HORIZONTAL
;
6874 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6875 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6876 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6877 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6893 bool temp9
= false ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 PyObject
* obj2
= 0 ;
6897 PyObject
* obj3
= 0 ;
6898 PyObject
* obj4
= 0 ;
6899 PyObject
* obj5
= 0 ;
6900 PyObject
* obj6
= 0 ;
6901 PyObject
* obj7
= 0 ;
6902 PyObject
* obj8
= 0 ;
6903 char * kwnames
[] = {
6904 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6912 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6914 if (!SWIG_IsOK(res2
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6917 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6920 if (!SWIG_IsOK(ecode3
)) {
6921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6923 arg3
= static_cast< int >(val3
);
6926 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6927 if (!SWIG_IsOK(ecode4
)) {
6928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6930 arg4
= static_cast< int >(val4
);
6935 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6941 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6945 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6946 if (!SWIG_IsOK(ecode7
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6949 arg7
= static_cast< long >(val7
);
6952 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6953 if (!SWIG_IsOK(res8
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6959 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6963 arg9
= wxString_in_helper(obj8
);
6964 if (arg9
== NULL
) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6991 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
= 0;
6993 wxGauge
*arg1
= (wxGauge
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7001 char * kwnames
[] = {
7002 (char *) "self",(char *) "range", NULL
7005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7007 if (!SWIG_IsOK(res1
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7010 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7012 if (!SWIG_IsOK(ecode2
)) {
7013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7015 arg2
= static_cast< int >(val2
);
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 (arg1
)->SetRange(arg2
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_Py_Void();
7029 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7030 PyObject
*resultobj
= 0;
7031 wxGauge
*arg1
= (wxGauge
*) 0 ;
7035 PyObject
*swig_obj
[1] ;
7037 if (!args
) SWIG_fail
;
7039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7040 if (!SWIG_IsOK(res1
)) {
7041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7043 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_From_int(static_cast< int >(result
));
7057 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= 0;
7059 wxGauge
*arg1
= (wxGauge
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7067 char * kwnames
[] = {
7068 (char *) "self",(char *) "pos", NULL
7071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7073 if (!SWIG_IsOK(res1
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7076 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7078 if (!SWIG_IsOK(ecode2
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7081 arg2
= static_cast< int >(val2
);
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 (arg1
)->SetValue(arg2
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= SWIG_Py_Void();
7095 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7096 PyObject
*resultobj
= 0;
7097 wxGauge
*arg1
= (wxGauge
*) 0 ;
7101 PyObject
*swig_obj
[1] ;
7103 if (!args
) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7109 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_From_int(static_cast< int >(result
));
7123 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7124 PyObject
*resultobj
= 0;
7125 wxGauge
*arg1
= (wxGauge
*) 0 ;
7129 PyObject
*swig_obj
[1] ;
7131 if (!args
) SWIG_fail
;
7133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7134 if (!SWIG_IsOK(res1
)) {
7135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7137 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7153 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
= 0;
7155 wxGauge
*arg1
= (wxGauge
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7163 char * kwnames
[] = {
7164 (char *) "self",(char *) "w", NULL
7167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7169 if (!SWIG_IsOK(res1
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7172 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7174 if (!SWIG_IsOK(ecode2
)) {
7175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7177 arg2
= static_cast< int >(val2
);
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 (arg1
)->SetShadowWidth(arg2
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_Py_Void();
7191 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7192 PyObject
*resultobj
= 0;
7193 wxGauge
*arg1
= (wxGauge
*) 0 ;
7197 PyObject
*swig_obj
[1] ;
7199 if (!args
) SWIG_fail
;
7201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7202 if (!SWIG_IsOK(res1
)) {
7203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7205 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_From_int(static_cast< int >(result
));
7219 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
= 0;
7221 wxGauge
*arg1
= (wxGauge
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "self",(char *) "w", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7235 if (!SWIG_IsOK(res1
)) {
7236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7238 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7240 if (!SWIG_IsOK(ecode2
)) {
7241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7243 arg2
= static_cast< int >(val2
);
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 (arg1
)->SetBezelFace(arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_Py_Void();
7257 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7258 PyObject
*resultobj
= 0;
7259 wxGauge
*arg1
= (wxGauge
*) 0 ;
7263 PyObject
*swig_obj
[1] ;
7265 if (!args
) SWIG_fail
;
7267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7268 if (!SWIG_IsOK(res1
)) {
7269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7271 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_From_int(static_cast< int >(result
));
7285 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
= 0;
7287 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7288 SwigValueWrapper
<wxVisualAttributes
> result
;
7291 PyObject
* obj0
= 0 ;
7292 char * kwnames
[] = {
7293 (char *) "variant", NULL
7296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7298 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7299 if (!SWIG_IsOK(ecode1
)) {
7300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7302 arg1
= static_cast< wxWindowVariant
>(val1
);
7305 if (!wxPyCheckForApp()) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7318 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7321 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7322 return SWIG_Py_Void();
7325 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7326 return SWIG_Python_InitShadowInstance(args
);
7329 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7330 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7335 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7336 PyObject
*pyobj
= 0;
7340 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7342 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7349 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7350 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7355 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7356 PyObject
*pyobj
= 0;
7360 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7362 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7369 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7370 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7375 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7376 PyObject
*pyobj
= 0;
7380 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7382 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7389 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
= 0;
7391 wxWindow
*arg1
= (wxWindow
*) 0 ;
7392 int arg2
= (int) -1 ;
7393 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7394 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7399 long arg6
= (long) 0 ;
7400 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7402 wxStaticBox
*result
= 0 ;
7407 bool temp3
= false ;
7412 bool temp7
= false ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7416 PyObject
* obj3
= 0 ;
7417 PyObject
* obj4
= 0 ;
7418 PyObject
* obj5
= 0 ;
7419 PyObject
* obj6
= 0 ;
7420 char * kwnames
[] = {
7421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7429 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7432 if (!SWIG_IsOK(ecode2
)) {
7433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7435 arg2
= static_cast< int >(val2
);
7439 arg3
= wxString_in_helper(obj2
);
7440 if (arg3
== NULL
) SWIG_fail
;
7447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7457 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7458 if (!SWIG_IsOK(ecode6
)) {
7459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7461 arg6
= static_cast< long >(val6
);
7465 arg7
= wxString_in_helper(obj6
);
7466 if (arg7
== NULL
) SWIG_fail
;
7471 if (!wxPyCheckForApp()) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7500 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7501 PyObject
*resultobj
= 0;
7502 wxStaticBox
*result
= 0 ;
7504 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7506 if (!wxPyCheckForApp()) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (wxStaticBox
*)new wxStaticBox();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7519 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
= 0;
7521 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7522 wxWindow
*arg2
= (wxWindow
*) 0 ;
7523 int arg3
= (int) -1 ;
7524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7526 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7527 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7528 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7529 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7530 long arg7
= (long) 0 ;
7531 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7540 bool temp4
= false ;
7545 bool temp8
= false ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7548 PyObject
* obj2
= 0 ;
7549 PyObject
* obj3
= 0 ;
7550 PyObject
* obj4
= 0 ;
7551 PyObject
* obj5
= 0 ;
7552 PyObject
* obj6
= 0 ;
7553 PyObject
* obj7
= 0 ;
7554 char * kwnames
[] = {
7555 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7560 if (!SWIG_IsOK(res1
)) {
7561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7563 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7565 if (!SWIG_IsOK(res2
)) {
7566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7568 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7571 if (!SWIG_IsOK(ecode3
)) {
7572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7574 arg3
= static_cast< int >(val3
);
7578 arg4
= wxString_in_helper(obj3
);
7579 if (arg4
== NULL
) SWIG_fail
;
7586 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7592 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7596 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7597 if (!SWIG_IsOK(ecode7
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7600 arg7
= static_cast< long >(val7
);
7604 arg8
= wxString_in_helper(obj7
);
7605 if (arg8
== NULL
) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7640 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
= 0;
7642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7643 SwigValueWrapper
<wxVisualAttributes
> result
;
7646 PyObject
* obj0
= 0 ;
7647 char * kwnames
[] = {
7648 (char *) "variant", NULL
7651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7653 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7654 if (!SWIG_IsOK(ecode1
)) {
7655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7657 arg1
= static_cast< wxWindowVariant
>(val1
);
7660 if (!wxPyCheckForApp()) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7673 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7676 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7677 return SWIG_Py_Void();
7680 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 return SWIG_Python_InitShadowInstance(args
);
7684 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= 0;
7686 wxWindow
*arg1
= (wxWindow
*) 0 ;
7687 int arg2
= (int) -1 ;
7688 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7689 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7690 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7691 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7692 long arg5
= (long) wxLI_HORIZONTAL
;
7693 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7694 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7695 wxStaticLine
*result
= 0 ;
7704 bool temp6
= false ;
7705 PyObject
* obj0
= 0 ;
7706 PyObject
* obj1
= 0 ;
7707 PyObject
* obj2
= 0 ;
7708 PyObject
* obj3
= 0 ;
7709 PyObject
* obj4
= 0 ;
7710 PyObject
* obj5
= 0 ;
7711 char * kwnames
[] = {
7712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7720 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7723 if (!SWIG_IsOK(ecode2
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7726 arg2
= static_cast< int >(val2
);
7731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7741 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7742 if (!SWIG_IsOK(ecode5
)) {
7743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7745 arg5
= static_cast< long >(val5
);
7749 arg6
= wxString_in_helper(obj5
);
7750 if (arg6
== NULL
) SWIG_fail
;
7755 if (!wxPyCheckForApp()) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7776 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7777 PyObject
*resultobj
= 0;
7778 wxStaticLine
*result
= 0 ;
7780 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7782 if (!wxPyCheckForApp()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxStaticLine
*)new wxStaticLine();
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7795 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
= 0;
7797 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7798 wxWindow
*arg2
= (wxWindow
*) 0 ;
7799 int arg3
= (int) -1 ;
7800 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7801 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7802 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7803 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7804 long arg6
= (long) wxLI_HORIZONTAL
;
7805 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7806 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7818 bool temp7
= false ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7821 PyObject
* obj2
= 0 ;
7822 PyObject
* obj3
= 0 ;
7823 PyObject
* obj4
= 0 ;
7824 PyObject
* obj5
= 0 ;
7825 PyObject
* obj6
= 0 ;
7826 char * kwnames
[] = {
7827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7832 if (!SWIG_IsOK(res1
)) {
7833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7835 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7837 if (!SWIG_IsOK(res2
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7843 if (!SWIG_IsOK(ecode3
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7846 arg3
= static_cast< int >(val3
);
7851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7861 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7862 if (!SWIG_IsOK(ecode6
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7865 arg6
= static_cast< long >(val6
);
7869 arg7
= wxString_in_helper(obj6
);
7870 if (arg7
== NULL
) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7897 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7898 PyObject
*resultobj
= 0;
7899 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7903 PyObject
*swig_obj
[1] ;
7905 if (!args
) SWIG_fail
;
7907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7908 if (!SWIG_IsOK(res1
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7911 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7927 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7928 PyObject
*resultobj
= 0;
7931 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (int)wxStaticLine::GetDefaultSize();
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= SWIG_From_int(static_cast< int >(result
));
7945 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
= 0;
7947 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7948 SwigValueWrapper
<wxVisualAttributes
> result
;
7951 PyObject
* obj0
= 0 ;
7952 char * kwnames
[] = {
7953 (char *) "variant", NULL
7956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7959 if (!SWIG_IsOK(ecode1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7962 arg1
= static_cast< wxWindowVariant
>(val1
);
7965 if (!wxPyCheckForApp()) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7978 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7981 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7982 return SWIG_Py_Void();
7985 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 return SWIG_Python_InitShadowInstance(args
);
7989 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
= 0;
7991 wxWindow
*arg1
= (wxWindow
*) 0 ;
7992 int arg2
= (int) -1 ;
7993 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7994 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7999 long arg6
= (long) 0 ;
8000 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8002 wxStaticText
*result
= 0 ;
8007 bool temp3
= false ;
8012 bool temp7
= false ;
8013 PyObject
* obj0
= 0 ;
8014 PyObject
* obj1
= 0 ;
8015 PyObject
* obj2
= 0 ;
8016 PyObject
* obj3
= 0 ;
8017 PyObject
* obj4
= 0 ;
8018 PyObject
* obj5
= 0 ;
8019 PyObject
* obj6
= 0 ;
8020 char * kwnames
[] = {
8021 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8026 if (!SWIG_IsOK(res1
)) {
8027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8032 if (!SWIG_IsOK(ecode2
)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8035 arg2
= static_cast< int >(val2
);
8039 arg3
= wxString_in_helper(obj2
);
8040 if (arg3
== NULL
) SWIG_fail
;
8047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8057 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8058 if (!SWIG_IsOK(ecode6
)) {
8059 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8061 arg6
= static_cast< long >(val6
);
8065 arg7
= wxString_in_helper(obj6
);
8066 if (arg7
== NULL
) SWIG_fail
;
8071 if (!wxPyCheckForApp()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8100 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8101 PyObject
*resultobj
= 0;
8102 wxStaticText
*result
= 0 ;
8104 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8106 if (!wxPyCheckForApp()) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 result
= (wxStaticText
*)new wxStaticText();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8119 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
= 0;
8121 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8122 wxWindow
*arg2
= (wxWindow
*) 0 ;
8123 int arg3
= (int) -1 ;
8124 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8125 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8126 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8127 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8128 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8129 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8130 long arg7
= (long) 0 ;
8131 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8140 bool temp4
= false ;
8145 bool temp8
= false ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8149 PyObject
* obj3
= 0 ;
8150 PyObject
* obj4
= 0 ;
8151 PyObject
* obj5
= 0 ;
8152 PyObject
* obj6
= 0 ;
8153 PyObject
* obj7
= 0 ;
8154 char * kwnames
[] = {
8155 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8160 if (!SWIG_IsOK(res1
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8163 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8165 if (!SWIG_IsOK(res2
)) {
8166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8171 if (!SWIG_IsOK(ecode3
)) {
8172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8174 arg3
= static_cast< int >(val3
);
8178 arg4
= wxString_in_helper(obj3
);
8179 if (arg4
== NULL
) SWIG_fail
;
8186 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8192 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8196 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8197 if (!SWIG_IsOK(ecode7
)) {
8198 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8200 arg7
= static_cast< long >(val7
);
8204 arg8
= wxString_in_helper(obj7
);
8205 if (arg8
== NULL
) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8240 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
= 0;
8242 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8248 PyObject
* obj0
= 0 ;
8249 PyObject
* obj1
= 0 ;
8250 char * kwnames
[] = {
8251 (char *) "self",(char *) "width", NULL
8254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8256 if (!SWIG_IsOK(res1
)) {
8257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8259 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8261 if (!SWIG_IsOK(ecode2
)) {
8262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8264 arg2
= static_cast< int >(val2
);
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= SWIG_Py_Void();
8278 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
= 0;
8280 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8281 SwigValueWrapper
<wxVisualAttributes
> result
;
8284 PyObject
* obj0
= 0 ;
8285 char * kwnames
[] = {
8286 (char *) "variant", NULL
8289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8291 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8292 if (!SWIG_IsOK(ecode1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8295 arg1
= static_cast< wxWindowVariant
>(val1
);
8298 if (!wxPyCheckForApp()) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8311 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8314 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8315 return SWIG_Py_Void();
8318 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 return SWIG_Python_InitShadowInstance(args
);
8322 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
= 0;
8324 wxWindow
*arg1
= (wxWindow
*) 0 ;
8325 int arg2
= (int) -1 ;
8326 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8327 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8328 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8329 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8330 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8331 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8332 long arg6
= (long) 0 ;
8333 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8334 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8335 wxStaticBitmap
*result
= 0 ;
8346 bool temp7
= false ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8351 PyObject
* obj4
= 0 ;
8352 PyObject
* obj5
= 0 ;
8353 PyObject
* obj6
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8360 if (!SWIG_IsOK(res1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8366 if (!SWIG_IsOK(ecode2
)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8369 arg2
= static_cast< int >(val2
);
8372 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8373 if (!SWIG_IsOK(res3
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8379 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8394 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8395 if (!SWIG_IsOK(ecode6
)) {
8396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8398 arg6
= static_cast< long >(val6
);
8402 arg7
= wxString_in_helper(obj6
);
8403 if (arg7
== NULL
) SWIG_fail
;
8408 if (!wxPyCheckForApp()) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8429 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 PyObject
*resultobj
= 0;
8431 wxStaticBitmap
*result
= 0 ;
8433 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8435 if (!wxPyCheckForApp()) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8448 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
= 0;
8450 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8451 wxWindow
*arg2
= (wxWindow
*) 0 ;
8452 int arg3
= (int) -1 ;
8453 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8454 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8455 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8456 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8457 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8458 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8459 long arg7
= (long) 0 ;
8460 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8461 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8475 bool temp8
= false ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8478 PyObject
* obj2
= 0 ;
8479 PyObject
* obj3
= 0 ;
8480 PyObject
* obj4
= 0 ;
8481 PyObject
* obj5
= 0 ;
8482 PyObject
* obj6
= 0 ;
8483 PyObject
* obj7
= 0 ;
8484 char * kwnames
[] = {
8485 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8490 if (!SWIG_IsOK(res1
)) {
8491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8493 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8495 if (!SWIG_IsOK(res2
)) {
8496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8501 if (!SWIG_IsOK(ecode3
)) {
8502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8504 arg3
= static_cast< int >(val3
);
8507 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8508 if (!SWIG_IsOK(res4
)) {
8509 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8514 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8519 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8525 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8529 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8530 if (!SWIG_IsOK(ecode7
)) {
8531 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8533 arg7
= static_cast< long >(val7
);
8537 arg8
= wxString_in_helper(obj7
);
8538 if (arg8
== NULL
) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8565 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8566 PyObject
*resultobj
= 0;
8567 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8571 PyObject
*swig_obj
[1] ;
8573 if (!args
) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8579 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (arg1
)->GetBitmap();
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8593 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= 0;
8595 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8596 wxBitmap
*arg2
= 0 ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 char * kwnames
[] = {
8604 (char *) "self",(char *) "bitmap", NULL
8607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8609 if (!SWIG_IsOK(res1
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8612 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8614 if (!SWIG_IsOK(res2
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8620 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= SWIG_Py_Void();
8634 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
= 0;
8636 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8644 char * kwnames
[] = {
8645 (char *) "self",(char *) "icon", NULL
8648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8650 if (!SWIG_IsOK(res1
)) {
8651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8653 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8655 if (!SWIG_IsOK(res2
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8661 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_Py_Void();
8675 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
= 0;
8677 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8678 SwigValueWrapper
<wxVisualAttributes
> result
;
8681 PyObject
* obj0
= 0 ;
8682 char * kwnames
[] = {
8683 (char *) "variant", NULL
8686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8688 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8689 if (!SWIG_IsOK(ecode1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8692 arg1
= static_cast< wxWindowVariant
>(val1
);
8695 if (!wxPyCheckForApp()) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8708 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8711 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8712 return SWIG_Py_Void();
8715 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8716 return SWIG_Python_InitShadowInstance(args
);
8719 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8720 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8725 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8726 PyObject
*pyobj
= 0;
8730 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8732 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8739 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
= 0;
8741 wxWindow
*arg1
= (wxWindow
*) 0 ;
8742 int arg2
= (int) -1 ;
8743 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8744 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8745 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8746 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8747 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8748 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8749 long arg6
= (long) 0 ;
8750 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8751 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8752 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8753 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8754 wxListBox
*result
= 0 ;
8761 bool temp5
= false ;
8766 bool temp8
= false ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8770 PyObject
* obj3
= 0 ;
8771 PyObject
* obj4
= 0 ;
8772 PyObject
* obj5
= 0 ;
8773 PyObject
* obj6
= 0 ;
8774 PyObject
* obj7
= 0 ;
8775 char * kwnames
[] = {
8776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8781 if (!SWIG_IsOK(res1
)) {
8782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8787 if (!SWIG_IsOK(ecode2
)) {
8788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8790 arg2
= static_cast< int >(val2
);
8795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8806 if (! PySequence_Check(obj4
)) {
8807 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8810 arg5
= new wxArrayString
;
8812 int i
, len
=PySequence_Length(obj4
);
8813 for (i
=0; i
<len
; i
++) {
8814 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8815 wxString
* s
= wxString_in_helper(item
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8824 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8825 if (!SWIG_IsOK(ecode6
)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8828 arg6
= static_cast< long >(val6
);
8831 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8832 if (!SWIG_IsOK(res7
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8838 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8842 arg8
= wxString_in_helper(obj7
);
8843 if (arg8
== NULL
) SWIG_fail
;
8848 if (!wxPyCheckForApp()) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8856 if (temp5
) delete arg5
;
8865 if (temp5
) delete arg5
;
8875 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8876 PyObject
*resultobj
= 0;
8877 wxListBox
*result
= 0 ;
8879 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8881 if (!wxPyCheckForApp()) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (wxListBox
*)new wxListBox();
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8894 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
= 0;
8896 wxListBox
*arg1
= (wxListBox
*) 0 ;
8897 wxWindow
*arg2
= (wxWindow
*) 0 ;
8898 int arg3
= (int) -1 ;
8899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8903 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8904 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8905 long arg7
= (long) 0 ;
8906 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8907 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8908 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8909 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8919 bool temp6
= false ;
8924 bool temp9
= false ;
8925 PyObject
* obj0
= 0 ;
8926 PyObject
* obj1
= 0 ;
8927 PyObject
* obj2
= 0 ;
8928 PyObject
* obj3
= 0 ;
8929 PyObject
* obj4
= 0 ;
8930 PyObject
* obj5
= 0 ;
8931 PyObject
* obj6
= 0 ;
8932 PyObject
* obj7
= 0 ;
8933 PyObject
* obj8
= 0 ;
8934 char * kwnames
[] = {
8935 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8940 if (!SWIG_IsOK(res1
)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8943 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8945 if (!SWIG_IsOK(res2
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8951 if (!SWIG_IsOK(ecode3
)) {
8952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8954 arg3
= static_cast< int >(val3
);
8959 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8965 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8970 if (! PySequence_Check(obj5
)) {
8971 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8974 arg6
= new wxArrayString
;
8976 int i
, len
=PySequence_Length(obj5
);
8977 for (i
=0; i
<len
; i
++) {
8978 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8979 wxString
* s
= wxString_in_helper(item
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8988 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8989 if (!SWIG_IsOK(ecode7
)) {
8990 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8992 arg7
= static_cast< long >(val7
);
8995 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
8996 if (!SWIG_IsOK(res8
)) {
8997 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9002 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9006 arg9
= wxString_in_helper(obj8
);
9007 if (arg9
== NULL
) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9021 if (temp6
) delete arg6
;
9030 if (temp6
) delete arg6
;
9040 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
= 0;
9042 wxListBox
*arg1
= (wxListBox
*) 0 ;
9043 wxString
*arg2
= 0 ;
9045 PyObject
*arg4
= (PyObject
*) NULL
;
9048 bool temp2
= false ;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 PyObject
* obj2
= 0 ;
9054 PyObject
* obj3
= 0 ;
9055 char * kwnames
[] = {
9056 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9061 if (!SWIG_IsOK(res1
)) {
9062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9064 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9066 arg2
= wxString_in_helper(obj1
);
9067 if (arg2
== NULL
) SWIG_fail
;
9070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9071 if (!SWIG_IsOK(ecode3
)) {
9072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9074 arg3
= static_cast< int >(val3
);
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= SWIG_Py_Void();
9099 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
= 0;
9101 wxListBox
*arg1
= (wxListBox
*) 0 ;
9102 wxArrayString
*arg2
= 0 ;
9106 bool temp2
= false ;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 PyObject
* obj2
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "self",(char *) "items",(char *) "pos", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9118 if (!SWIG_IsOK(res1
)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9121 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9123 if (! PySequence_Check(obj1
)) {
9124 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9127 arg2
= new wxArrayString
;
9129 int i
, len
=PySequence_Length(obj1
);
9130 for (i
=0; i
<len
; i
++) {
9131 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9132 wxString
* s
= wxString_in_helper(item
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9139 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9140 if (!SWIG_IsOK(ecode3
)) {
9141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9143 arg3
= static_cast< unsigned int >(val3
);
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_Py_Void();
9152 if (temp2
) delete arg2
;
9157 if (temp2
) delete arg2
;
9163 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
= 0;
9165 wxListBox
*arg1
= (wxListBox
*) 0 ;
9166 wxArrayString
*arg2
= 0 ;
9169 bool temp2
= false ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 char * kwnames
[] = {
9173 (char *) "self",(char *) "items", NULL
9176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9178 if (!SWIG_IsOK(res1
)) {
9179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9181 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9183 if (! PySequence_Check(obj1
)) {
9184 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9187 arg2
= new wxArrayString
;
9189 int i
, len
=PySequence_Length(obj1
);
9190 for (i
=0; i
<len
; i
++) {
9191 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9192 wxString
* s
= wxString_in_helper(item
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 (arg1
)->Set((wxArrayString
const &)*arg2
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_Py_Void();
9207 if (temp2
) delete arg2
;
9212 if (temp2
) delete arg2
;
9218 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
= 0;
9220 wxListBox
*arg1
= (wxListBox
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 char * kwnames
[] = {
9230 (char *) "self",(char *) "n", NULL
9233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9235 if (!SWIG_IsOK(res1
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9238 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9240 if (!SWIG_IsOK(ecode2
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9243 arg2
= static_cast< int >(val2
);
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9259 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
= 0;
9261 wxListBox
*arg1
= (wxListBox
*) 0 ;
9263 bool arg3
= (bool) true ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9273 char * kwnames
[] = {
9274 (char *) "self",(char *) "n",(char *) "select", NULL
9277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9279 if (!SWIG_IsOK(res1
)) {
9280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9282 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9284 if (!SWIG_IsOK(ecode2
)) {
9285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9287 arg2
= static_cast< int >(val2
);
9289 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9290 if (!SWIG_IsOK(ecode3
)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9293 arg3
= static_cast< bool >(val3
);
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 (arg1
)->SetSelection(arg2
,arg3
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_Py_Void();
9308 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
= 0;
9310 wxListBox
*arg1
= (wxListBox
*) 0 ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9318 char * kwnames
[] = {
9319 (char *) "self",(char *) "n", NULL
9322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9327 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9329 if (!SWIG_IsOK(ecode2
)) {
9330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9332 arg2
= static_cast< int >(val2
);
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 (arg1
)->Select(arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_Py_Void();
9346 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
= 0;
9348 wxListBox
*arg1
= (wxListBox
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9356 char * kwnames
[] = {
9357 (char *) "self",(char *) "n", NULL
9360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9362 if (!SWIG_IsOK(res1
)) {
9363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9365 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9367 if (!SWIG_IsOK(ecode2
)) {
9368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9370 arg2
= static_cast< int >(val2
);
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 (arg1
)->Deselect(arg2
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_Py_Void();
9384 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
= 0;
9386 wxListBox
*arg1
= (wxListBox
*) 0 ;
9387 int arg2
= (int) -1 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 char * kwnames
[] = {
9395 (char *) "self",(char *) "itemToLeaveSelected", NULL
9398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9403 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9406 if (!SWIG_IsOK(ecode2
)) {
9407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9409 arg2
= static_cast< int >(val2
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 (arg1
)->DeselectAll(arg2
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_Py_Void();
9424 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= 0;
9426 wxListBox
*arg1
= (wxListBox
*) 0 ;
9427 wxString
*arg2
= 0 ;
9428 bool arg3
= (bool) true ;
9432 bool temp2
= false ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9438 char * kwnames
[] = {
9439 (char *) "self",(char *) "s",(char *) "select", NULL
9442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9444 if (!SWIG_IsOK(res1
)) {
9445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9447 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9449 arg2
= wxString_in_helper(obj1
);
9450 if (arg2
== NULL
) SWIG_fail
;
9454 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9455 if (!SWIG_IsOK(ecode3
)) {
9456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9458 arg3
= static_cast< bool >(val3
);
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9484 PyObject
*resultobj
= 0;
9485 wxListBox
*arg1
= (wxListBox
*) 0 ;
9486 PyObject
*result
= 0 ;
9489 PyObject
*swig_obj
[1] ;
9491 if (!args
) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9497 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9511 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
= 0;
9513 wxListBox
*arg1
= (wxListBox
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9521 char * kwnames
[] = {
9522 (char *) "self",(char *) "n", NULL
9525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9527 if (!SWIG_IsOK(res1
)) {
9528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9530 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9532 if (!SWIG_IsOK(ecode2
)) {
9533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9535 arg2
= static_cast< int >(val2
);
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->SetFirstItem(arg2
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_Py_Void();
9549 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
= 0;
9551 wxListBox
*arg1
= (wxListBox
*) 0 ;
9552 wxString
*arg2
= 0 ;
9555 bool temp2
= false ;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9558 char * kwnames
[] = {
9559 (char *) "self",(char *) "s", NULL
9562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9564 if (!SWIG_IsOK(res1
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9567 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9569 arg2
= wxString_in_helper(obj1
);
9570 if (arg2
== NULL
) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_Py_Void();
9594 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
= 0;
9596 wxListBox
*arg1
= (wxListBox
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9604 char * kwnames
[] = {
9605 (char *) "self",(char *) "n", NULL
9608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9610 if (!SWIG_IsOK(res1
)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9613 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9615 if (!SWIG_IsOK(ecode2
)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9618 arg2
= static_cast< int >(val2
);
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 (arg1
)->EnsureVisible(arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_Py_Void();
9632 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
= 0;
9634 wxListBox
*arg1
= (wxListBox
*) 0 ;
9635 wxString
*arg2
= 0 ;
9638 bool temp2
= false ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 char * kwnames
[] = {
9642 (char *) "self",(char *) "s", NULL
9645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9650 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9652 arg2
= wxString_in_helper(obj1
);
9653 if (arg2
== NULL
) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9677 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 PyObject
*resultobj
= 0;
9679 wxListBox
*arg1
= (wxListBox
*) 0 ;
9683 PyObject
*swig_obj
[1] ;
9685 if (!args
) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9691 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9707 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxListBox
*arg1
= (wxListBox
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "pt", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9726 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_From_int(static_cast< int >(result
));
9744 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
= 0;
9746 wxListBox
*arg1
= (wxListBox
*) 0 ;
9748 wxColour
*arg3
= 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9757 char * kwnames
[] = {
9758 (char *) "self",(char *) "item",(char *) "c", NULL
9761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9766 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9768 if (!SWIG_IsOK(ecode2
)) {
9769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9771 arg2
= static_cast< int >(val2
);
9774 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_Py_Void();
9789 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
= 0;
9791 wxListBox
*arg1
= (wxListBox
*) 0 ;
9793 wxColour
*arg3
= 0 ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9801 PyObject
* obj2
= 0 ;
9802 char * kwnames
[] = {
9803 (char *) "self",(char *) "item",(char *) "c", NULL
9806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9808 if (!SWIG_IsOK(res1
)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9811 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9813 if (!SWIG_IsOK(ecode2
)) {
9814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9816 arg2
= static_cast< int >(val2
);
9819 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_Py_Void();
9834 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= 0;
9836 wxListBox
*arg1
= (wxListBox
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9848 char * kwnames
[] = {
9849 (char *) "self",(char *) "item",(char *) "f", NULL
9852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9854 if (!SWIG_IsOK(res1
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9857 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9859 if (!SWIG_IsOK(ecode2
)) {
9860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9862 arg2
= static_cast< int >(val2
);
9863 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9864 if (!SWIG_IsOK(res3
)) {
9865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9870 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_Py_Void();
9884 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= 0;
9886 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9887 SwigValueWrapper
<wxVisualAttributes
> result
;
9890 PyObject
* obj0
= 0 ;
9891 char * kwnames
[] = {
9892 (char *) "variant", NULL
9895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9897 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9898 if (!SWIG_IsOK(ecode1
)) {
9899 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9901 arg1
= static_cast< wxWindowVariant
>(val1
);
9904 if (!wxPyCheckForApp()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9917 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9920 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9921 return SWIG_Py_Void();
9924 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9925 return SWIG_Python_InitShadowInstance(args
);
9928 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
= 0;
9930 wxWindow
*arg1
= (wxWindow
*) 0 ;
9931 int arg2
= (int) -1 ;
9932 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9933 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9934 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9935 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9936 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9937 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9938 long arg6
= (long) 0 ;
9939 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9940 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9941 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9943 wxCheckListBox
*result
= 0 ;
9950 bool temp5
= false ;
9955 bool temp8
= false ;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9958 PyObject
* obj2
= 0 ;
9959 PyObject
* obj3
= 0 ;
9960 PyObject
* obj4
= 0 ;
9961 PyObject
* obj5
= 0 ;
9962 PyObject
* obj6
= 0 ;
9963 PyObject
* obj7
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9970 if (!SWIG_IsOK(res1
)) {
9971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9976 if (!SWIG_IsOK(ecode2
)) {
9977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9979 arg2
= static_cast< int >(val2
);
9984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9990 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9995 if (! PySequence_Check(obj4
)) {
9996 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9999 arg5
= new wxArrayString
;
10001 int i
, len
=PySequence_Length(obj4
);
10002 for (i
=0; i
<len
; i
++) {
10003 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10004 wxString
* s
= wxString_in_helper(item
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10013 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10014 if (!SWIG_IsOK(ecode6
)) {
10015 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10017 arg6
= static_cast< long >(val6
);
10020 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10021 if (!SWIG_IsOK(res7
)) {
10022 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10027 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10031 arg8
= wxString_in_helper(obj7
);
10032 if (arg8
== NULL
) SWIG_fail
;
10037 if (!wxPyCheckForApp()) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10045 if (temp5
) delete arg5
;
10054 if (temp5
) delete arg5
;
10064 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10065 PyObject
*resultobj
= 0;
10066 wxCheckListBox
*result
= 0 ;
10068 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10070 if (!wxPyCheckForApp()) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (wxCheckListBox
*)new wxCheckListBox();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10083 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
= 0;
10085 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10086 wxWindow
*arg2
= (wxWindow
*) 0 ;
10087 int arg3
= (int) -1 ;
10088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10092 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10093 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10094 long arg7
= (long) 0 ;
10095 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10096 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10097 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10098 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10108 bool temp6
= false ;
10113 bool temp9
= false ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 PyObject
* obj3
= 0 ;
10118 PyObject
* obj4
= 0 ;
10119 PyObject
* obj5
= 0 ;
10120 PyObject
* obj6
= 0 ;
10121 PyObject
* obj7
= 0 ;
10122 PyObject
* obj8
= 0 ;
10123 char * kwnames
[] = {
10124 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10129 if (!SWIG_IsOK(res1
)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10132 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10134 if (!SWIG_IsOK(res2
)) {
10135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10137 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10140 if (!SWIG_IsOK(ecode3
)) {
10141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10143 arg3
= static_cast< int >(val3
);
10148 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10154 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10159 if (! PySequence_Check(obj5
)) {
10160 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10163 arg6
= new wxArrayString
;
10165 int i
, len
=PySequence_Length(obj5
);
10166 for (i
=0; i
<len
; i
++) {
10167 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10168 wxString
* s
= wxString_in_helper(item
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10177 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10178 if (!SWIG_IsOK(ecode7
)) {
10179 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10181 arg7
= static_cast< long >(val7
);
10184 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10185 if (!SWIG_IsOK(res8
)) {
10186 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10191 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10195 arg9
= wxString_in_helper(obj8
);
10196 if (arg9
== NULL
) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10210 if (temp6
) delete arg6
;
10219 if (temp6
) delete arg6
;
10229 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
= 0;
10231 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10232 unsigned int arg2
;
10236 unsigned int val2
;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "self",(char *) "index", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10249 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10250 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10251 if (!SWIG_IsOK(ecode2
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10254 arg2
= static_cast< unsigned int >(val2
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (bool)(arg1
)->IsChecked(arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10270 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
= 0;
10272 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10273 unsigned int arg2
;
10274 int arg3
= (int) true ;
10277 unsigned int val2
;
10281 PyObject
* obj0
= 0 ;
10282 PyObject
* obj1
= 0 ;
10283 PyObject
* obj2
= 0 ;
10284 char * kwnames
[] = {
10285 (char *) "self",(char *) "index",(char *) "check", NULL
10288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10290 if (!SWIG_IsOK(res1
)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10293 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10294 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10295 if (!SWIG_IsOK(ecode2
)) {
10296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10298 arg2
= static_cast< unsigned int >(val2
);
10300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10301 if (!SWIG_IsOK(ecode3
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10304 arg3
= static_cast< int >(val3
);
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->Check(arg2
,arg3
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_Py_Void();
10319 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10322 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10323 return SWIG_Py_Void();
10326 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10327 return SWIG_Python_InitShadowInstance(args
);
10330 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10331 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10336 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10337 PyObject
*pyobj
= 0;
10341 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10343 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10350 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxColour
const &arg1_defvalue
= wxNullColour
;
10353 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10354 wxColour
const &arg2_defvalue
= wxNullColour
;
10355 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10356 wxFont
const &arg3_defvalue
= wxNullFont
;
10357 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10358 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10359 wxTextAttr
*result
= 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 PyObject
* obj2
= 0 ;
10369 PyObject
* obj3
= 0 ;
10370 char * kwnames
[] = {
10371 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10378 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10388 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10389 if (!SWIG_IsOK(res3
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10395 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10399 if (!SWIG_IsOK(ecode4
)) {
10400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10402 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10417 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 PyObject
*resultobj
= 0;
10419 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10422 PyObject
*swig_obj
[1] ;
10424 if (!args
) SWIG_fail
;
10425 swig_obj
[0] = args
;
10426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10430 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_Py_Void();
10445 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10446 PyObject
*resultobj
= 0;
10447 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10450 PyObject
*swig_obj
[1] ;
10452 if (!args
) SWIG_fail
;
10453 swig_obj
[0] = args
;
10454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10458 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_Py_Void();
10472 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
= 0;
10474 wxTextAttr
*arg1
= 0 ;
10475 wxTextAttr
*arg2
= 0 ;
10481 PyObject
* obj0
= 0 ;
10482 PyObject
* obj1
= 0 ;
10483 char * kwnames
[] = {
10484 (char *) "base",(char *) "overlay", NULL
10487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10488 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10489 if (!SWIG_IsOK(res1
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10495 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10497 if (!SWIG_IsOK(res2
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10503 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10517 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
= 0;
10519 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10520 wxColour
*arg2
= 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 char * kwnames
[] = {
10527 (char *) "self",(char *) "colText", NULL
10530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10532 if (!SWIG_IsOK(res1
)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10535 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= SWIG_Py_Void();
10553 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
= 0;
10555 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10556 wxColour
*arg2
= 0 ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 char * kwnames
[] = {
10563 (char *) "self",(char *) "colBack", NULL
10566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10571 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10574 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_Py_Void();
10589 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
= 0;
10591 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10593 long arg3
= (long) wxTEXT_ATTR_FONT
;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 PyObject
* obj2
= 0 ;
10603 char * kwnames
[] = {
10604 (char *) "self",(char *) "font",(char *) "flags", NULL
10607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10609 if (!SWIG_IsOK(res1
)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10612 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10614 if (!SWIG_IsOK(res2
)) {
10615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10620 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10622 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10623 if (!SWIG_IsOK(ecode3
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10626 arg3
= static_cast< long >(val3
);
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_Py_Void();
10641 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
= 0;
10643 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10644 wxTextAttrAlignment arg2
;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 char * kwnames
[] = {
10652 (char *) "self",(char *) "alignment", NULL
10655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10657 if (!SWIG_IsOK(res1
)) {
10658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10660 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10662 if (!SWIG_IsOK(ecode2
)) {
10663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10665 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->SetAlignment(arg2
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_Py_Void();
10679 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
= 0;
10681 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10682 wxArrayInt
*arg2
= 0 ;
10685 bool temp2
= false ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char * kwnames
[] = {
10689 (char *) "self",(char *) "tabs", NULL
10692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10697 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10699 if (! PySequence_Check(obj1
)) {
10700 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10703 arg2
= new wxArrayInt
;
10705 int i
, len
=PySequence_Length(obj1
);
10706 for (i
=0; i
<len
; i
++) {
10707 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10708 PyObject
* number
= PyNumber_Int(item
);
10709 arg2
->Add(PyInt_AS_LONG(number
));
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_Py_Void();
10722 if (temp2
) delete arg2
;
10727 if (temp2
) delete arg2
;
10733 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
= 0;
10735 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10737 int arg3
= (int) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 PyObject
* obj2
= 0 ;
10747 char * kwnames
[] = {
10748 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10756 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10758 if (!SWIG_IsOK(ecode2
)) {
10759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10761 arg2
= static_cast< int >(val2
);
10763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10764 if (!SWIG_IsOK(ecode3
)) {
10765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10767 arg3
= static_cast< int >(val3
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 (arg1
)->SetLeftIndent(arg2
,arg3
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_Py_Void();
10782 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
= 0;
10784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 char * kwnames
[] = {
10793 (char *) "self",(char *) "indent", NULL
10796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10798 if (!SWIG_IsOK(res1
)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10801 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10803 if (!SWIG_IsOK(ecode2
)) {
10804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10806 arg2
= static_cast< int >(val2
);
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->SetRightIndent(arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_Py_Void();
10820 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
= 0;
10822 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 char * kwnames
[] = {
10831 (char *) "self",(char *) "flags", NULL
10834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10839 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10840 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10841 if (!SWIG_IsOK(ecode2
)) {
10842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10844 arg2
= static_cast< long >(val2
);
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 (arg1
)->SetFlags(arg2
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= SWIG_Py_Void();
10858 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10859 PyObject
*resultobj
= 0;
10860 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10864 PyObject
*swig_obj
[1] ;
10866 if (!args
) SWIG_fail
;
10867 swig_obj
[0] = args
;
10868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10869 if (!SWIG_IsOK(res1
)) {
10870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10872 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10888 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10889 PyObject
*resultobj
= 0;
10890 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10894 PyObject
*swig_obj
[1] ;
10896 if (!args
) SWIG_fail
;
10897 swig_obj
[0] = args
;
10898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10899 if (!SWIG_IsOK(res1
)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10902 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10918 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10919 PyObject
*resultobj
= 0;
10920 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10924 PyObject
*swig_obj
[1] ;
10926 if (!args
) SWIG_fail
;
10927 swig_obj
[0] = args
;
10928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10929 if (!SWIG_IsOK(res1
)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10932 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10948 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10949 PyObject
*resultobj
= 0;
10950 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10954 PyObject
*swig_obj
[1] ;
10956 if (!args
) SWIG_fail
;
10957 swig_obj
[0] = args
;
10958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10959 if (!SWIG_IsOK(res1
)) {
10960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10962 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10978 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10979 PyObject
*resultobj
= 0;
10980 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10984 PyObject
*swig_obj
[1] ;
10986 if (!args
) SWIG_fail
;
10987 swig_obj
[0] = args
;
10988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10989 if (!SWIG_IsOK(res1
)) {
10990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10992 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11008 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11009 PyObject
*resultobj
= 0;
11010 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11014 PyObject
*swig_obj
[1] ;
11016 if (!args
) SWIG_fail
;
11017 swig_obj
[0] = args
;
11018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11019 if (!SWIG_IsOK(res1
)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11022 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11039 PyObject
*resultobj
= 0;
11040 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11044 PyObject
*swig_obj
[1] ;
11046 if (!args
) SWIG_fail
;
11047 swig_obj
[0] = args
;
11048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11049 if (!SWIG_IsOK(res1
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11052 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11068 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
= 0;
11070 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 char * kwnames
[] = {
11080 (char *) "self",(char *) "flag", NULL
11083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11085 if (!SWIG_IsOK(res1
)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11088 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11089 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11090 if (!SWIG_IsOK(ecode2
)) {
11091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11093 arg2
= static_cast< long >(val2
);
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11109 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11110 PyObject
*resultobj
= 0;
11111 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11112 wxColour
*result
= 0 ;
11115 PyObject
*swig_obj
[1] ;
11117 if (!args
) SWIG_fail
;
11118 swig_obj
[0] = args
;
11119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11120 if (!SWIG_IsOK(res1
)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11123 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11128 result
= (wxColour
*) &_result_ref
;
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11140 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11141 PyObject
*resultobj
= 0;
11142 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11143 wxColour
*result
= 0 ;
11146 PyObject
*swig_obj
[1] ;
11148 if (!args
) SWIG_fail
;
11149 swig_obj
[0] = args
;
11150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11151 if (!SWIG_IsOK(res1
)) {
11152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11154 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11159 result
= (wxColour
*) &_result_ref
;
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11171 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11172 PyObject
*resultobj
= 0;
11173 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11174 wxFont
*result
= 0 ;
11177 PyObject
*swig_obj
[1] ;
11179 if (!args
) SWIG_fail
;
11180 swig_obj
[0] = args
;
11181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11185 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11190 result
= (wxFont
*) &_result_ref
;
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 wxFont
* resultptr
= new wxFont(*result
);
11197 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11205 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11206 PyObject
*resultobj
= 0;
11207 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11208 wxTextAttrAlignment result
;
11211 PyObject
*swig_obj
[1] ;
11213 if (!args
) SWIG_fail
;
11214 swig_obj
[0] = args
;
11215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11216 if (!SWIG_IsOK(res1
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11219 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= SWIG_From_int(static_cast< int >(result
));
11233 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11234 PyObject
*resultobj
= 0;
11235 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11236 wxArrayInt
*result
= 0 ;
11239 PyObject
*swig_obj
[1] ;
11241 if (!args
) SWIG_fail
;
11242 swig_obj
[0] = args
;
11243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11247 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11252 result
= (wxArrayInt
*) &_result_ref
;
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= PyList_New(0);
11260 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11261 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11262 PyList_Append(resultobj
, val
);
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_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
= 0;
11841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 PyObject
* obj2
= 0 ;
11854 char * kwnames
[] = {
11855 (char *) "self",(char *) "from",(char *) "to", NULL
11858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11860 if (!SWIG_IsOK(res1
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11863 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11864 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11865 if (!SWIG_IsOK(ecode2
)) {
11866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11868 arg2
= static_cast< long >(val2
);
11869 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11870 if (!SWIG_IsOK(ecode3
)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11873 arg3
= static_cast< long >(val3
);
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11893 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= 0;
11895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "lineNo", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11913 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11915 if (!SWIG_IsOK(ecode2
)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11918 arg2
= static_cast< long >(val2
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_From_int(static_cast< int >(result
));
11932 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 char * kwnames
[] = {
11944 (char *) "self",(char *) "lineNo", NULL
11947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11949 if (!SWIG_IsOK(res1
)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11952 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11953 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11954 if (!SWIG_IsOK(ecode2
)) {
11955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11957 arg2
= static_cast< long >(val2
);
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11977 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 PyObject
*resultobj
= 0;
11979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11983 PyObject
*swig_obj
[1] ;
11985 if (!args
) SWIG_fail
;
11986 swig_obj
[0] = args
;
11987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11991 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_From_int(static_cast< int >(result
));
12005 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12006 PyObject
*resultobj
= 0;
12007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12011 PyObject
*swig_obj
[1] ;
12013 if (!args
) SWIG_fail
;
12014 swig_obj
[0] = args
;
12015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12019 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12035 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12036 PyObject
*resultobj
= 0;
12037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12041 PyObject
*swig_obj
[1] ;
12043 if (!args
) SWIG_fail
;
12044 swig_obj
[0] = args
;
12045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12049 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12065 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12066 PyObject
*resultobj
= 0;
12067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12071 PyObject
*swig_obj
[1] ;
12073 if (!args
) SWIG_fail
;
12074 swig_obj
[0] = args
;
12075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12079 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12095 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12096 PyObject
*resultobj
= 0;
12097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12101 PyObject
*swig_obj
[1] ;
12103 if (!args
) SWIG_fail
;
12104 swig_obj
[0] = args
;
12105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12106 if (!SWIG_IsOK(res1
)) {
12107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12109 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12125 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12126 PyObject
*resultobj
= 0;
12127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12128 long *arg2
= (long *) 0 ;
12129 long *arg3
= (long *) 0 ;
12133 int res2
= SWIG_TMPOBJ
;
12135 int res3
= SWIG_TMPOBJ
;
12136 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_Py_Void();
12154 if (SWIG_IsTmpObj(res2
)) {
12155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12157 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12160 if (SWIG_IsTmpObj(res3
)) {
12161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12172 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 PyObject
*resultobj
= 0;
12174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12178 PyObject
*swig_obj
[1] ;
12180 if (!args
) SWIG_fail
;
12181 swig_obj
[0] = args
;
12182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12186 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12206 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12207 PyObject
*resultobj
= 0;
12208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12211 PyObject
*swig_obj
[1] ;
12213 if (!args
) SWIG_fail
;
12214 swig_obj
[0] = args
;
12215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12216 if (!SWIG_IsOK(res1
)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12219 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_Py_Void();
12233 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
= 0;
12235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12238 wxString
*arg4
= 0 ;
12245 bool temp4
= false ;
12246 PyObject
* obj0
= 0 ;
12247 PyObject
* obj1
= 0 ;
12248 PyObject
* obj2
= 0 ;
12249 PyObject
* obj3
= 0 ;
12250 char * kwnames
[] = {
12251 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12256 if (!SWIG_IsOK(res1
)) {
12257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12259 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12260 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12261 if (!SWIG_IsOK(ecode2
)) {
12262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12264 arg2
= static_cast< long >(val2
);
12265 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12266 if (!SWIG_IsOK(ecode3
)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12269 arg3
= static_cast< long >(val3
);
12271 arg4
= wxString_in_helper(obj3
);
12272 if (arg4
== NULL
) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= SWIG_Py_Void();
12296 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
= 0;
12298 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 PyObject
* obj1
= 0 ;
12309 PyObject
* obj2
= 0 ;
12310 char * kwnames
[] = {
12311 (char *) "self",(char *) "from",(char *) "to", NULL
12314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12319 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12320 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12321 if (!SWIG_IsOK(ecode2
)) {
12322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12324 arg2
= static_cast< long >(val2
);
12325 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12326 if (!SWIG_IsOK(ecode3
)) {
12327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12329 arg3
= static_cast< long >(val3
);
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 (arg1
)->Remove(arg2
,arg3
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= SWIG_Py_Void();
12343 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
= 0;
12345 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12346 wxString
*arg2
= 0 ;
12350 bool temp2
= false ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char * kwnames
[] = {
12354 (char *) "self",(char *) "file", NULL
12357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12359 if (!SWIG_IsOK(res1
)) {
12360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12362 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12364 arg2
= wxString_in_helper(obj1
);
12365 if (arg2
== NULL
) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12391 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
= 0;
12393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12394 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12395 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12399 bool temp2
= false ;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 char * kwnames
[] = {
12403 (char *) "self",(char *) "file", NULL
12406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12408 if (!SWIG_IsOK(res1
)) {
12409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12411 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12414 arg2
= wxString_in_helper(obj1
);
12415 if (arg2
== NULL
) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12442 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12443 PyObject
*resultobj
= 0;
12444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12447 PyObject
*swig_obj
[1] ;
12449 if (!args
) SWIG_fail
;
12450 swig_obj
[0] = args
;
12451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12455 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->MarkDirty();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_Py_Void();
12469 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12470 PyObject
*resultobj
= 0;
12471 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12474 PyObject
*swig_obj
[1] ;
12476 if (!args
) SWIG_fail
;
12477 swig_obj
[0] = args
;
12478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12479 if (!SWIG_IsOK(res1
)) {
12480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12482 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 (arg1
)->DiscardEdits();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_Py_Void();
12496 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
= 0;
12498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12499 unsigned long arg2
;
12502 unsigned long val2
;
12504 PyObject
* obj0
= 0 ;
12505 PyObject
* obj1
= 0 ;
12506 char * kwnames
[] = {
12507 (char *) "self",(char *) "len", NULL
12510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12512 if (!SWIG_IsOK(res1
)) {
12513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12515 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12516 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12517 if (!SWIG_IsOK(ecode2
)) {
12518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12520 arg2
= static_cast< unsigned long >(val2
);
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->SetMaxLength(arg2
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= SWIG_Py_Void();
12534 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
= 0;
12536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12537 wxString
*arg2
= 0 ;
12540 bool temp2
= false ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char * kwnames
[] = {
12544 (char *) "self",(char *) "text", NULL
12547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12552 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12554 arg2
= wxString_in_helper(obj1
);
12555 if (arg2
== NULL
) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 (arg1
)->WriteText((wxString
const &)*arg2
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_Py_Void();
12579 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
= 0;
12581 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12582 wxString
*arg2
= 0 ;
12585 bool temp2
= false ;
12586 PyObject
* obj0
= 0 ;
12587 PyObject
* obj1
= 0 ;
12588 char * kwnames
[] = {
12589 (char *) "self",(char *) "text", NULL
12592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12597 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12599 arg2
= wxString_in_helper(obj1
);
12600 if (arg2
== NULL
) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->AppendText((wxString
const &)*arg2
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= SWIG_Py_Void();
12624 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= 0;
12626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12627 wxKeyEvent
*arg2
= 0 ;
12633 PyObject
* obj0
= 0 ;
12634 PyObject
* obj1
= 0 ;
12635 char * kwnames
[] = {
12636 (char *) "self",(char *) "event", NULL
12639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12641 if (!SWIG_IsOK(res1
)) {
12642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12644 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12646 if (!SWIG_IsOK(res2
)) {
12647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12652 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12668 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
= 0;
12670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12673 wxTextAttr
*arg4
= 0 ;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 PyObject
* obj2
= 0 ;
12686 PyObject
* obj3
= 0 ;
12687 char * kwnames
[] = {
12688 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12693 if (!SWIG_IsOK(res1
)) {
12694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12696 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12698 if (!SWIG_IsOK(ecode2
)) {
12699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12701 arg2
= static_cast< long >(val2
);
12702 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12703 if (!SWIG_IsOK(ecode3
)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12706 arg3
= static_cast< long >(val3
);
12707 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12708 if (!SWIG_IsOK(res4
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12714 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12730 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
= 0;
12732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12734 wxTextAttr
*arg3
= 0 ;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 PyObject
* obj2
= 0 ;
12745 char * kwnames
[] = {
12746 (char *) "self",(char *) "position",(char *) "style", NULL
12749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12751 if (!SWIG_IsOK(res1
)) {
12752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12754 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12756 if (!SWIG_IsOK(ecode2
)) {
12757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12759 arg2
= static_cast< long >(val2
);
12760 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12761 if (!SWIG_IsOK(res3
)) {
12762 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12767 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12783 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
= 0;
12785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12786 wxTextAttr
*arg2
= 0 ;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 char * kwnames
[] = {
12795 (char *) "self",(char *) "style", NULL
12798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12800 if (!SWIG_IsOK(res1
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12803 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12805 if (!SWIG_IsOK(res2
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12811 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12827 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12828 PyObject
*resultobj
= 0;
12829 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12830 wxTextAttr
*result
= 0 ;
12833 PyObject
*swig_obj
[1] ;
12835 if (!args
) SWIG_fail
;
12836 swig_obj
[0] = args
;
12837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12838 if (!SWIG_IsOK(res1
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12841 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12846 result
= (wxTextAttr
*) &_result_ref
;
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 PyObject
* obj2
= 0 ;
12873 char * kwnames
[] = {
12874 (char *) "self",(char *) "x",(char *) "y", NULL
12877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12882 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12884 if (!SWIG_IsOK(ecode2
)) {
12885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12887 arg2
= static_cast< long >(val2
);
12888 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12889 if (!SWIG_IsOK(ecode3
)) {
12890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12892 arg3
= static_cast< long >(val3
);
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_From_long(static_cast< long >(result
));
12906 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
= 0;
12908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12910 long *arg3
= (long *) 0 ;
12911 long *arg4
= (long *) 0 ;
12917 int res3
= SWIG_TMPOBJ
;
12919 int res4
= SWIG_TMPOBJ
;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 char * kwnames
[] = {
12923 (char *) "self",(char *) "pos", NULL
12928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12933 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12934 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12935 if (!SWIG_IsOK(ecode2
)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12938 arg2
= static_cast< long >(val2
);
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_Py_Void();
12946 if (SWIG_IsTmpObj(res3
)) {
12947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12949 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12952 if (SWIG_IsTmpObj(res4
)) {
12953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12955 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12964 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
= 0;
12966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 char * kwnames
[] = {
12975 (char *) "self",(char *) "pos", NULL
12978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12980 if (!SWIG_IsOK(res1
)) {
12981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12983 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12984 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12985 if (!SWIG_IsOK(ecode2
)) {
12986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
12988 arg2
= static_cast< long >(val2
);
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 (arg1
)->ShowPosition(arg2
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_Py_Void();
13002 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
= 0;
13004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13005 wxPoint
*arg2
= 0 ;
13006 long *arg3
= (long *) 0 ;
13007 long *arg4
= (long *) 0 ;
13008 wxTextCtrlHitTestResult result
;
13013 int res3
= SWIG_TMPOBJ
;
13015 int res4
= SWIG_TMPOBJ
;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 char * kwnames
[] = {
13019 (char *) "self",(char *) "pt", NULL
13024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13026 if (!SWIG_IsOK(res1
)) {
13027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13029 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= SWIG_From_int(static_cast< int >(result
));
13041 if (SWIG_IsTmpObj(res3
)) {
13042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13044 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13047 if (SWIG_IsTmpObj(res4
)) {
13048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13050 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13059 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
= 0;
13061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13062 wxPoint
*arg2
= 0 ;
13063 long *arg3
= (long *) 0 ;
13064 wxTextCtrlHitTestResult result
;
13069 int res3
= SWIG_TMPOBJ
;
13070 PyObject
* obj0
= 0 ;
13071 PyObject
* obj1
= 0 ;
13072 char * kwnames
[] = {
13073 (char *) "self",(char *) "pt", NULL
13077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13079 if (!SWIG_IsOK(res1
)) {
13080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13082 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_From_int(static_cast< int >(result
));
13094 if (SWIG_IsTmpObj(res3
)) {
13095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13097 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13106 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13107 PyObject
*resultobj
= 0;
13108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13111 PyObject
*swig_obj
[1] ;
13113 if (!args
) SWIG_fail
;
13114 swig_obj
[0] = args
;
13115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13116 if (!SWIG_IsOK(res1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13119 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= SWIG_Py_Void();
13133 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13134 PyObject
*resultobj
= 0;
13135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13138 PyObject
*swig_obj
[1] ;
13140 if (!args
) SWIG_fail
;
13141 swig_obj
[0] = args
;
13142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_Py_Void();
13160 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13161 PyObject
*resultobj
= 0;
13162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13165 PyObject
*swig_obj
[1] ;
13167 if (!args
) SWIG_fail
;
13168 swig_obj
[0] = args
;
13169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13173 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_Py_Void();
13187 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13188 PyObject
*resultobj
= 0;
13189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13193 PyObject
*swig_obj
[1] ;
13195 if (!args
) SWIG_fail
;
13196 swig_obj
[0] = args
;
13197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13198 if (!SWIG_IsOK(res1
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13201 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13217 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13218 PyObject
*resultobj
= 0;
13219 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13223 PyObject
*swig_obj
[1] ;
13225 if (!args
) SWIG_fail
;
13226 swig_obj
[0] = args
;
13227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13228 if (!SWIG_IsOK(res1
)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13231 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13247 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13248 PyObject
*resultobj
= 0;
13249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13253 PyObject
*swig_obj
[1] ;
13255 if (!args
) SWIG_fail
;
13256 swig_obj
[0] = args
;
13257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13258 if (!SWIG_IsOK(res1
)) {
13259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13261 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13277 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 PyObject
*resultobj
= 0;
13279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13282 PyObject
*swig_obj
[1] ;
13284 if (!args
) SWIG_fail
;
13285 swig_obj
[0] = args
;
13286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_Py_Void();
13304 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13305 PyObject
*resultobj
= 0;
13306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13309 PyObject
*swig_obj
[1] ;
13311 if (!args
) SWIG_fail
;
13312 swig_obj
[0] = args
;
13313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13314 if (!SWIG_IsOK(res1
)) {
13315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13317 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_Py_Void();
13331 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13332 PyObject
*resultobj
= 0;
13333 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13337 PyObject
*swig_obj
[1] ;
13339 if (!args
) SWIG_fail
;
13340 swig_obj
[0] = args
;
13341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13342 if (!SWIG_IsOK(res1
)) {
13343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13345 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13361 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13362 PyObject
*resultobj
= 0;
13363 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13367 PyObject
*swig_obj
[1] ;
13369 if (!args
) SWIG_fail
;
13370 swig_obj
[0] = args
;
13371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13372 if (!SWIG_IsOK(res1
)) {
13373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13375 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13391 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= 0;
13393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char * kwnames
[] = {
13402 (char *) "self",(char *) "pos", NULL
13405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13407 if (!SWIG_IsOK(res1
)) {
13408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13410 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13411 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13412 if (!SWIG_IsOK(ecode2
)) {
13413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13415 arg2
= static_cast< long >(val2
);
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 (arg1
)->SetInsertionPoint(arg2
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= SWIG_Py_Void();
13429 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13430 PyObject
*resultobj
= 0;
13431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13434 PyObject
*swig_obj
[1] ;
13436 if (!args
) SWIG_fail
;
13437 swig_obj
[0] = args
;
13438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13439 if (!SWIG_IsOK(res1
)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13442 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->SetInsertionPointEnd();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_Py_Void();
13456 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 PyObject
*resultobj
= 0;
13458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13462 PyObject
*swig_obj
[1] ;
13464 if (!args
) SWIG_fail
;
13465 swig_obj
[0] = args
;
13466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13467 if (!SWIG_IsOK(res1
)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13470 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_From_long(static_cast< long >(result
));
13484 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13490 PyObject
*swig_obj
[1] ;
13492 if (!args
) SWIG_fail
;
13493 swig_obj
[0] = args
;
13494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13498 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_From_long(static_cast< long >(result
));
13512 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 char * kwnames
[] = {
13527 (char *) "self",(char *) "from",(char *) "to", NULL
13530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13532 if (!SWIG_IsOK(res1
)) {
13533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13535 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13536 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13537 if (!SWIG_IsOK(ecode2
)) {
13538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13540 arg2
= static_cast< long >(val2
);
13541 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13542 if (!SWIG_IsOK(ecode3
)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13545 arg3
= static_cast< long >(val3
);
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 (arg1
)->SetSelection(arg2
,arg3
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_Py_Void();
13559 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13560 PyObject
*resultobj
= 0;
13561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13564 PyObject
*swig_obj
[1] ;
13566 if (!args
) SWIG_fail
;
13567 swig_obj
[0] = args
;
13568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13569 if (!SWIG_IsOK(res1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13572 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->SelectAll();
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= SWIG_Py_Void();
13586 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
= 0;
13588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 char * kwnames
[] = {
13597 (char *) "self",(char *) "editable", NULL
13600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13605 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13607 if (!SWIG_IsOK(ecode2
)) {
13608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13610 arg2
= static_cast< bool >(val2
);
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 (arg1
)->SetEditable(arg2
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= SWIG_Py_Void();
13624 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
= 0;
13626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13627 wxString
*arg2
= 0 ;
13630 bool temp2
= false ;
13631 PyObject
* obj0
= 0 ;
13632 PyObject
* obj1
= 0 ;
13633 char * kwnames
[] = {
13634 (char *) "self",(char *) "text", NULL
13637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13639 if (!SWIG_IsOK(res1
)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13642 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13644 arg2
= wxString_in_helper(obj1
);
13645 if (arg2
== NULL
) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= SWIG_Py_Void();
13669 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
= 0;
13671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 PyObject
* obj2
= 0 ;
13684 char * kwnames
[] = {
13685 (char *) "self",(char *) "from",(char *) "to", NULL
13688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13690 if (!SWIG_IsOK(res1
)) {
13691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13693 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13694 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13695 if (!SWIG_IsOK(ecode2
)) {
13696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13698 arg2
= static_cast< long >(val2
);
13699 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13700 if (!SWIG_IsOK(ecode3
)) {
13701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13703 arg3
= static_cast< long >(val3
);
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13723 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= 0;
13725 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13726 SwigValueWrapper
<wxVisualAttributes
> result
;
13729 PyObject
* obj0
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "variant", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13737 if (!SWIG_IsOK(ecode1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13740 arg1
= static_cast< wxWindowVariant
>(val1
);
13743 if (!wxPyCheckForApp()) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13756 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13759 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13760 return SWIG_Py_Void();
13763 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 return SWIG_Python_InitShadowInstance(args
);
13767 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
= 0;
13770 wxMouseEvent
*arg2
= 0 ;
13773 wxTextUrlEvent
*result
= 0 ;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 PyObject
* obj2
= 0 ;
13785 PyObject
* obj3
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13792 if (!SWIG_IsOK(ecode1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13795 arg1
= static_cast< int >(val1
);
13796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13797 if (!SWIG_IsOK(res2
)) {
13798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13803 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13804 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13805 if (!SWIG_IsOK(ecode3
)) {
13806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13808 arg3
= static_cast< long >(val3
);
13809 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13810 if (!SWIG_IsOK(ecode4
)) {
13811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13813 arg4
= static_cast< long >(val4
);
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13827 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13828 PyObject
*resultobj
= 0;
13829 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13830 wxMouseEvent
*result
= 0 ;
13833 PyObject
*swig_obj
[1] ;
13835 if (!args
) SWIG_fail
;
13836 swig_obj
[0] = args
;
13837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13838 if (!SWIG_IsOK(res1
)) {
13839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13841 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13846 result
= (wxMouseEvent
*) &_result_ref
;
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13858 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13859 PyObject
*resultobj
= 0;
13860 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13864 PyObject
*swig_obj
[1] ;
13866 if (!args
) SWIG_fail
;
13867 swig_obj
[0] = args
;
13868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13869 if (!SWIG_IsOK(res1
)) {
13870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13872 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_From_long(static_cast< long >(result
));
13886 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13887 PyObject
*resultobj
= 0;
13888 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13892 PyObject
*swig_obj
[1] ;
13894 if (!args
) SWIG_fail
;
13895 swig_obj
[0] = args
;
13896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13897 if (!SWIG_IsOK(res1
)) {
13898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13900 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= SWIG_From_long(static_cast< long >(result
));
13914 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13917 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13918 return SWIG_Py_Void();
13921 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13922 return SWIG_Python_InitShadowInstance(args
);
13925 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13926 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13931 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13932 PyObject
*pyobj
= 0;
13936 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13938 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13945 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
= 0;
13947 wxWindow
*arg1
= (wxWindow
*) 0 ;
13948 int arg2
= (int) -1 ;
13949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13953 long arg5
= (long) wxSB_HORIZONTAL
;
13954 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13955 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13956 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13958 wxScrollBar
*result
= 0 ;
13969 bool temp7
= false ;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 PyObject
* obj2
= 0 ;
13973 PyObject
* obj3
= 0 ;
13974 PyObject
* obj4
= 0 ;
13975 PyObject
* obj5
= 0 ;
13976 PyObject
* obj6
= 0 ;
13977 char * kwnames
[] = {
13978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13983 if (!SWIG_IsOK(res1
)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
13986 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13989 if (!SWIG_IsOK(ecode2
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
13992 arg2
= static_cast< int >(val2
);
13997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14003 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14007 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14008 if (!SWIG_IsOK(ecode5
)) {
14009 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14011 arg5
= static_cast< long >(val5
);
14014 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14015 if (!SWIG_IsOK(res6
)) {
14016 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14021 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14025 arg7
= wxString_in_helper(obj6
);
14026 if (arg7
== NULL
) SWIG_fail
;
14031 if (!wxPyCheckForApp()) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14052 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14053 PyObject
*resultobj
= 0;
14054 wxScrollBar
*result
= 0 ;
14056 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14058 if (!wxPyCheckForApp()) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 result
= (wxScrollBar
*)new wxScrollBar();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14071 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
= 0;
14073 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14074 wxWindow
*arg2
= (wxWindow
*) 0 ;
14075 int arg3
= (int) -1 ;
14076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14080 long arg6
= (long) wxSB_HORIZONTAL
;
14081 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14082 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14083 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14084 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14098 bool temp8
= false ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 PyObject
* obj2
= 0 ;
14102 PyObject
* obj3
= 0 ;
14103 PyObject
* obj4
= 0 ;
14104 PyObject
* obj5
= 0 ;
14105 PyObject
* obj6
= 0 ;
14106 PyObject
* obj7
= 0 ;
14107 char * kwnames
[] = {
14108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14116 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14118 if (!SWIG_IsOK(res2
)) {
14119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14121 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14124 if (!SWIG_IsOK(ecode3
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14127 arg3
= static_cast< int >(val3
);
14132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14142 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14143 if (!SWIG_IsOK(ecode6
)) {
14144 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14146 arg6
= static_cast< long >(val6
);
14149 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14150 if (!SWIG_IsOK(res7
)) {
14151 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14156 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14160 arg8
= wxString_in_helper(obj7
);
14161 if (arg8
== NULL
) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14194 PyObject
*swig_obj
[1] ;
14196 if (!args
) SWIG_fail
;
14197 swig_obj
[0] = args
;
14198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14202 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_From_int(static_cast< int >(result
));
14216 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14217 PyObject
*resultobj
= 0;
14218 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14222 PyObject
*swig_obj
[1] ;
14224 if (!args
) SWIG_fail
;
14225 swig_obj
[0] = args
;
14226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14230 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_From_int(static_cast< int >(result
));
14244 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14245 PyObject
*resultobj
= 0;
14246 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14250 PyObject
*swig_obj
[1] ;
14252 if (!args
) SWIG_fail
;
14253 swig_obj
[0] = args
;
14254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14255 if (!SWIG_IsOK(res1
)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14258 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= SWIG_From_int(static_cast< int >(result
));
14272 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14273 PyObject
*resultobj
= 0;
14274 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14278 PyObject
*swig_obj
[1] ;
14280 if (!args
) SWIG_fail
;
14281 swig_obj
[0] = args
;
14282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14283 if (!SWIG_IsOK(res1
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14286 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_From_int(static_cast< int >(result
));
14300 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14301 PyObject
*resultobj
= 0;
14302 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14306 PyObject
*swig_obj
[1] ;
14308 if (!args
) SWIG_fail
;
14309 swig_obj
[0] = args
;
14310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14311 if (!SWIG_IsOK(res1
)) {
14312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14314 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14330 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
= 0;
14332 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 char * kwnames
[] = {
14341 (char *) "self",(char *) "viewStart", NULL
14344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14346 if (!SWIG_IsOK(res1
)) {
14347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14349 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14351 if (!SWIG_IsOK(ecode2
)) {
14352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14354 arg2
= static_cast< int >(val2
);
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 (arg1
)->SetThumbPosition(arg2
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= SWIG_Py_Void();
14368 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
= 0;
14370 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14371 SwigValueWrapper
<wxVisualAttributes
> result
;
14374 PyObject
* obj0
= 0 ;
14375 char * kwnames
[] = {
14376 (char *) "variant", NULL
14379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14382 if (!SWIG_IsOK(ecode1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14385 arg1
= static_cast< wxWindowVariant
>(val1
);
14388 if (!wxPyCheckForApp()) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14401 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14404 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14405 return SWIG_Py_Void();
14408 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14409 return SWIG_Python_InitShadowInstance(args
);
14412 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14413 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14418 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14419 PyObject
*pyobj
= 0;
14423 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14425 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14432 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14433 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14438 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14439 PyObject
*pyobj
= 0;
14443 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14445 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14452 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
= 0;
14454 wxWindow
*arg1
= (wxWindow
*) 0 ;
14455 int arg2
= (int) -1 ;
14456 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14457 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14458 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14459 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14460 long arg5
= (long) wxSP_HORIZONTAL
;
14461 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14462 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14463 wxSpinButton
*result
= 0 ;
14472 bool temp6
= false ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 PyObject
* obj2
= 0 ;
14476 PyObject
* obj3
= 0 ;
14477 PyObject
* obj4
= 0 ;
14478 PyObject
* obj5
= 0 ;
14479 char * kwnames
[] = {
14480 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14488 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14491 if (!SWIG_IsOK(ecode2
)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14494 arg2
= static_cast< int >(val2
);
14499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14505 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14509 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14510 if (!SWIG_IsOK(ecode5
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14513 arg5
= static_cast< long >(val5
);
14517 arg6
= wxString_in_helper(obj5
);
14518 if (arg6
== NULL
) SWIG_fail
;
14523 if (!wxPyCheckForApp()) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14544 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14545 PyObject
*resultobj
= 0;
14546 wxSpinButton
*result
= 0 ;
14548 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14550 if (!wxPyCheckForApp()) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (wxSpinButton
*)new wxSpinButton();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14563 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
= 0;
14565 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14566 wxWindow
*arg2
= (wxWindow
*) 0 ;
14567 int arg3
= (int) -1 ;
14568 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14569 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14570 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14571 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14572 long arg6
= (long) wxSP_HORIZONTAL
;
14573 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14574 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14586 bool temp7
= false ;
14587 PyObject
* obj0
= 0 ;
14588 PyObject
* obj1
= 0 ;
14589 PyObject
* obj2
= 0 ;
14590 PyObject
* obj3
= 0 ;
14591 PyObject
* obj4
= 0 ;
14592 PyObject
* obj5
= 0 ;
14593 PyObject
* obj6
= 0 ;
14594 char * kwnames
[] = {
14595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14603 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14605 if (!SWIG_IsOK(res2
)) {
14606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14608 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14611 if (!SWIG_IsOK(ecode3
)) {
14612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14614 arg3
= static_cast< int >(val3
);
14619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14629 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14630 if (!SWIG_IsOK(ecode6
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14633 arg6
= static_cast< long >(val6
);
14637 arg7
= wxString_in_helper(obj6
);
14638 if (arg7
== NULL
) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14665 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14666 PyObject
*resultobj
= 0;
14667 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14671 PyObject
*swig_obj
[1] ;
14673 if (!args
) SWIG_fail
;
14674 swig_obj
[0] = args
;
14675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14679 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= SWIG_From_int(static_cast< int >(result
));
14693 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14694 PyObject
*resultobj
= 0;
14695 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14699 PyObject
*swig_obj
[1] ;
14701 if (!args
) SWIG_fail
;
14702 swig_obj
[0] = args
;
14703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14704 if (!SWIG_IsOK(res1
)) {
14705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14707 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= SWIG_From_int(static_cast< int >(result
));
14721 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14722 PyObject
*resultobj
= 0;
14723 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14727 PyObject
*swig_obj
[1] ;
14729 if (!args
) SWIG_fail
;
14730 swig_obj
[0] = args
;
14731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14732 if (!SWIG_IsOK(res1
)) {
14733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14735 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= SWIG_From_int(static_cast< int >(result
));
14749 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
= 0;
14751 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 char * kwnames
[] = {
14760 (char *) "self",(char *) "val", NULL
14763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14765 if (!SWIG_IsOK(res1
)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14768 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14770 if (!SWIG_IsOK(ecode2
)) {
14771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14773 arg2
= static_cast< int >(val2
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 (arg1
)->SetValue(arg2
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= SWIG_Py_Void();
14787 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
= 0;
14789 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char * kwnames
[] = {
14798 (char *) "self",(char *) "minVal", NULL
14801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14803 if (!SWIG_IsOK(res1
)) {
14804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14806 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14808 if (!SWIG_IsOK(ecode2
)) {
14809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14811 arg2
= static_cast< int >(val2
);
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 (arg1
)->SetMin(arg2
);
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= SWIG_Py_Void();
14825 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
= 0;
14827 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 PyObject
* obj1
= 0 ;
14835 char * kwnames
[] = {
14836 (char *) "self",(char *) "maxVal", NULL
14839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14841 if (!SWIG_IsOK(res1
)) {
14842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14844 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14846 if (!SWIG_IsOK(ecode2
)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14849 arg2
= static_cast< int >(val2
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 (arg1
)->SetMax(arg2
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_Py_Void();
14863 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
= 0;
14865 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 PyObject
* obj2
= 0 ;
14877 char * kwnames
[] = {
14878 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14883 if (!SWIG_IsOK(res1
)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14886 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14888 if (!SWIG_IsOK(ecode2
)) {
14889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14891 arg2
= static_cast< int >(val2
);
14892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14893 if (!SWIG_IsOK(ecode3
)) {
14894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14896 arg3
= static_cast< int >(val3
);
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 (arg1
)->SetRange(arg2
,arg3
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_Py_Void();
14910 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14911 PyObject
*resultobj
= 0;
14912 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14916 PyObject
*swig_obj
[1] ;
14918 if (!args
) SWIG_fail
;
14919 swig_obj
[0] = args
;
14920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14921 if (!SWIG_IsOK(res1
)) {
14922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14924 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14940 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
= 0;
14942 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14943 SwigValueWrapper
<wxVisualAttributes
> result
;
14946 PyObject
* obj0
= 0 ;
14947 char * kwnames
[] = {
14948 (char *) "variant", NULL
14951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14954 if (!SWIG_IsOK(ecode1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14957 arg1
= static_cast< wxWindowVariant
>(val1
);
14960 if (!wxPyCheckForApp()) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14973 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14976 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
14977 return SWIG_Py_Void();
14980 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14981 return SWIG_Python_InitShadowInstance(args
);
14984 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
= 0;
14986 wxWindow
*arg1
= (wxWindow
*) 0 ;
14987 int arg2
= (int) -1 ;
14988 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14989 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14990 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14991 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14992 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14993 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14994 long arg6
= (long) wxSP_ARROW_KEYS
;
14995 int arg7
= (int) 0 ;
14996 int arg8
= (int) 100 ;
14997 int arg9
= (int) 0 ;
14998 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
14999 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15000 wxSpinCtrl
*result
= 0 ;
15005 bool temp3
= false ;
15016 bool temp10
= false ;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj1
= 0 ;
15019 PyObject
* obj2
= 0 ;
15020 PyObject
* obj3
= 0 ;
15021 PyObject
* obj4
= 0 ;
15022 PyObject
* obj5
= 0 ;
15023 PyObject
* obj6
= 0 ;
15024 PyObject
* obj7
= 0 ;
15025 PyObject
* obj8
= 0 ;
15026 PyObject
* obj9
= 0 ;
15027 char * kwnames
[] = {
15028 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15033 if (!SWIG_IsOK(res1
)) {
15034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15036 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15039 if (!SWIG_IsOK(ecode2
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15042 arg2
= static_cast< int >(val2
);
15046 arg3
= wxString_in_helper(obj2
);
15047 if (arg3
== NULL
) SWIG_fail
;
15054 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15060 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15064 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15065 if (!SWIG_IsOK(ecode6
)) {
15066 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15068 arg6
= static_cast< long >(val6
);
15071 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15072 if (!SWIG_IsOK(ecode7
)) {
15073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15075 arg7
= static_cast< int >(val7
);
15078 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15079 if (!SWIG_IsOK(ecode8
)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15082 arg8
= static_cast< int >(val8
);
15085 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15086 if (!SWIG_IsOK(ecode9
)) {
15087 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15089 arg9
= static_cast< int >(val9
);
15093 arg10
= wxString_in_helper(obj9
);
15094 if (arg10
== NULL
) SWIG_fail
;
15099 if (!wxPyCheckForApp()) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15128 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15129 PyObject
*resultobj
= 0;
15130 wxSpinCtrl
*result
= 0 ;
15132 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15134 if (!wxPyCheckForApp()) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15147 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
= 0;
15149 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15150 wxWindow
*arg2
= (wxWindow
*) 0 ;
15151 int arg3
= (int) -1 ;
15152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15158 long arg7
= (long) wxSP_ARROW_KEYS
;
15159 int arg8
= (int) 0 ;
15160 int arg9
= (int) 100 ;
15161 int arg10
= (int) 0 ;
15162 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15163 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15171 bool temp4
= false ;
15182 bool temp11
= false ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 PyObject
* obj2
= 0 ;
15186 PyObject
* obj3
= 0 ;
15187 PyObject
* obj4
= 0 ;
15188 PyObject
* obj5
= 0 ;
15189 PyObject
* obj6
= 0 ;
15190 PyObject
* obj7
= 0 ;
15191 PyObject
* obj8
= 0 ;
15192 PyObject
* obj9
= 0 ;
15193 PyObject
* obj10
= 0 ;
15194 char * kwnames
[] = {
15195 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15200 if (!SWIG_IsOK(res1
)) {
15201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15203 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15205 if (!SWIG_IsOK(res2
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15211 if (!SWIG_IsOK(ecode3
)) {
15212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15214 arg3
= static_cast< int >(val3
);
15218 arg4
= wxString_in_helper(obj3
);
15219 if (arg4
== NULL
) SWIG_fail
;
15226 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15232 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15236 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15237 if (!SWIG_IsOK(ecode7
)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15240 arg7
= static_cast< long >(val7
);
15243 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15244 if (!SWIG_IsOK(ecode8
)) {
15245 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15247 arg8
= static_cast< int >(val8
);
15250 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15251 if (!SWIG_IsOK(ecode9
)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15254 arg9
= static_cast< int >(val9
);
15257 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15258 if (!SWIG_IsOK(ecode10
)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15261 arg10
= static_cast< int >(val10
);
15265 arg11
= wxString_in_helper(obj10
);
15266 if (arg11
== NULL
) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15301 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15302 PyObject
*resultobj
= 0;
15303 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15307 PyObject
*swig_obj
[1] ;
15309 if (!args
) SWIG_fail
;
15310 swig_obj
[0] = args
;
15311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15315 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= SWIG_From_int(static_cast< int >(result
));
15329 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
= 0;
15331 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char * kwnames
[] = {
15340 (char *) "self",(char *) "value", NULL
15343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15345 if (!SWIG_IsOK(res1
)) {
15346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15348 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15350 if (!SWIG_IsOK(ecode2
)) {
15351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15353 arg2
= static_cast< int >(val2
);
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 (arg1
)->SetValue(arg2
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= SWIG_Py_Void();
15367 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
= 0;
15369 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15370 wxString
*arg2
= 0 ;
15373 bool temp2
= false ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 char * kwnames
[] = {
15377 (char *) "self",(char *) "text", NULL
15380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15382 if (!SWIG_IsOK(res1
)) {
15383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15385 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15387 arg2
= wxString_in_helper(obj1
);
15388 if (arg2
== NULL
) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 (arg1
)->SetValue((wxString
const &)*arg2
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_Py_Void();
15412 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
= 0;
15414 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 PyObject
* obj2
= 0 ;
15426 char * kwnames
[] = {
15427 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15432 if (!SWIG_IsOK(res1
)) {
15433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15435 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15437 if (!SWIG_IsOK(ecode2
)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15440 arg2
= static_cast< int >(val2
);
15441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15442 if (!SWIG_IsOK(ecode3
)) {
15443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15445 arg3
= static_cast< int >(val3
);
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 (arg1
)->SetRange(arg2
,arg3
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_Py_Void();
15459 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15460 PyObject
*resultobj
= 0;
15461 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15465 PyObject
*swig_obj
[1] ;
15467 if (!args
) SWIG_fail
;
15468 swig_obj
[0] = args
;
15469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15473 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_From_int(static_cast< int >(result
));
15487 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15488 PyObject
*resultobj
= 0;
15489 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15493 PyObject
*swig_obj
[1] ;
15495 if (!args
) SWIG_fail
;
15496 swig_obj
[0] = args
;
15497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15498 if (!SWIG_IsOK(res1
)) {
15499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15501 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= SWIG_From_int(static_cast< int >(result
));
15515 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
= 0;
15517 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 PyObject
* obj2
= 0 ;
15529 char * kwnames
[] = {
15530 (char *) "self",(char *) "from",(char *) "to", NULL
15533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15535 if (!SWIG_IsOK(res1
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15538 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15540 if (!SWIG_IsOK(ecode2
)) {
15541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15543 arg2
= static_cast< long >(val2
);
15544 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15545 if (!SWIG_IsOK(ecode3
)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15548 arg3
= static_cast< long >(val3
);
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 (arg1
)->SetSelection(arg2
,arg3
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_Py_Void();
15562 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
= 0;
15564 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15565 SwigValueWrapper
<wxVisualAttributes
> result
;
15568 PyObject
* obj0
= 0 ;
15569 char * kwnames
[] = {
15570 (char *) "variant", NULL
15573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15575 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15576 if (!SWIG_IsOK(ecode1
)) {
15577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15579 arg1
= static_cast< wxWindowVariant
>(val1
);
15582 if (!wxPyCheckForApp()) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15595 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15598 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15599 return SWIG_Py_Void();
15602 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15603 return SWIG_Python_InitShadowInstance(args
);
15606 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= 0;
15608 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15609 int arg2
= (int) 0 ;
15610 wxSpinEvent
*result
= 0 ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 char * kwnames
[] = {
15618 (char *) "commandType",(char *) "winid", NULL
15621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15623 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15624 if (!SWIG_IsOK(ecode1
)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15627 arg1
= static_cast< wxEventType
>(val1
);
15630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15631 if (!SWIG_IsOK(ecode2
)) {
15632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15634 arg2
= static_cast< int >(val2
);
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15649 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15650 PyObject
*resultobj
= 0;
15651 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15655 PyObject
*swig_obj
[1] ;
15657 if (!args
) SWIG_fail
;
15658 swig_obj
[0] = args
;
15659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15660 if (!SWIG_IsOK(res1
)) {
15661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15663 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_From_int(static_cast< int >(result
));
15677 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
= 0;
15679 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 char * kwnames
[] = {
15688 (char *) "self",(char *) "pos", NULL
15691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15693 if (!SWIG_IsOK(res1
)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15696 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15698 if (!SWIG_IsOK(ecode2
)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15701 arg2
= static_cast< int >(val2
);
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 (arg1
)->SetPosition(arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= SWIG_Py_Void();
15715 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15718 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15719 return SWIG_Py_Void();
15722 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15723 return SWIG_Python_InitShadowInstance(args
);
15726 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15727 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15732 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15733 PyObject
*pyobj
= 0;
15737 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15739 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15746 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15747 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15752 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15753 PyObject
*pyobj
= 0;
15757 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15759 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15766 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
= 0;
15768 wxWindow
*arg1
= (wxWindow
*) 0 ;
15769 int arg2
= (int) -1 ;
15770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15772 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15773 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15774 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15775 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15776 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15777 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15778 int arg7
= (int) 0 ;
15779 long arg8
= (long) wxRA_HORIZONTAL
;
15780 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15781 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15782 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15783 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15784 wxRadioBox
*result
= 0 ;
15789 bool temp3
= false ;
15792 bool temp6
= false ;
15799 bool temp10
= false ;
15800 PyObject
* obj0
= 0 ;
15801 PyObject
* obj1
= 0 ;
15802 PyObject
* obj2
= 0 ;
15803 PyObject
* obj3
= 0 ;
15804 PyObject
* obj4
= 0 ;
15805 PyObject
* obj5
= 0 ;
15806 PyObject
* obj6
= 0 ;
15807 PyObject
* obj7
= 0 ;
15808 PyObject
* obj8
= 0 ;
15809 PyObject
* obj9
= 0 ;
15810 char * kwnames
[] = {
15811 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15816 if (!SWIG_IsOK(res1
)) {
15817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15822 if (!SWIG_IsOK(ecode2
)) {
15823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15825 arg2
= static_cast< int >(val2
);
15829 arg3
= wxString_in_helper(obj2
);
15830 if (arg3
== NULL
) SWIG_fail
;
15837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15848 if (! PySequence_Check(obj5
)) {
15849 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15852 arg6
= new wxArrayString
;
15854 int i
, len
=PySequence_Length(obj5
);
15855 for (i
=0; i
<len
; i
++) {
15856 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15857 wxString
* s
= wxString_in_helper(item
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15866 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15867 if (!SWIG_IsOK(ecode7
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15870 arg7
= static_cast< int >(val7
);
15873 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15874 if (!SWIG_IsOK(ecode8
)) {
15875 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15877 arg8
= static_cast< long >(val8
);
15880 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15881 if (!SWIG_IsOK(res9
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15887 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15891 arg10
= wxString_in_helper(obj9
);
15892 if (arg10
== NULL
) SWIG_fail
;
15897 if (!wxPyCheckForApp()) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 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
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15909 if (temp6
) delete arg6
;
15922 if (temp6
) delete arg6
;
15932 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15933 PyObject
*resultobj
= 0;
15934 wxRadioBox
*result
= 0 ;
15936 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15938 if (!wxPyCheckForApp()) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (wxRadioBox
*)new wxRadioBox();
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15951 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
= 0;
15953 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15954 wxWindow
*arg2
= (wxWindow
*) 0 ;
15955 int arg3
= (int) -1 ;
15956 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15957 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15958 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15959 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15960 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15961 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15962 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15963 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15964 int arg8
= (int) 0 ;
15965 long arg9
= (long) wxRA_HORIZONTAL
;
15966 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15967 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15968 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15969 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15977 bool temp4
= false ;
15980 bool temp7
= false ;
15987 bool temp11
= false ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 PyObject
* obj3
= 0 ;
15992 PyObject
* obj4
= 0 ;
15993 PyObject
* obj5
= 0 ;
15994 PyObject
* obj6
= 0 ;
15995 PyObject
* obj7
= 0 ;
15996 PyObject
* obj8
= 0 ;
15997 PyObject
* obj9
= 0 ;
15998 PyObject
* obj10
= 0 ;
15999 char * kwnames
[] = {
16000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16005 if (!SWIG_IsOK(res1
)) {
16006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16008 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16010 if (!SWIG_IsOK(res2
)) {
16011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16013 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16016 if (!SWIG_IsOK(ecode3
)) {
16017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16019 arg3
= static_cast< int >(val3
);
16023 arg4
= wxString_in_helper(obj3
);
16024 if (arg4
== NULL
) SWIG_fail
;
16031 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16037 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16042 if (! PySequence_Check(obj6
)) {
16043 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16046 arg7
= new wxArrayString
;
16048 int i
, len
=PySequence_Length(obj6
);
16049 for (i
=0; i
<len
; i
++) {
16050 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16051 wxString
* s
= wxString_in_helper(item
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16060 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16061 if (!SWIG_IsOK(ecode8
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16064 arg8
= static_cast< int >(val8
);
16067 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16068 if (!SWIG_IsOK(ecode9
)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16071 arg9
= static_cast< long >(val9
);
16074 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16075 if (!SWIG_IsOK(res10
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16081 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16085 arg11
= wxString_in_helper(obj10
);
16086 if (arg11
== NULL
) SWIG_fail
;
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 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
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16104 if (temp7
) delete arg7
;
16117 if (temp7
) delete arg7
;
16127 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
= 0;
16129 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 char * kwnames
[] = {
16138 (char *) "self",(char *) "n", NULL
16141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16143 if (!SWIG_IsOK(res1
)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16146 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16148 if (!SWIG_IsOK(ecode2
)) {
16149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16151 arg2
= static_cast< int >(val2
);
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 (arg1
)->SetSelection(arg2
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= SWIG_Py_Void();
16165 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16166 PyObject
*resultobj
= 0;
16167 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16171 PyObject
*swig_obj
[1] ;
16173 if (!args
) SWIG_fail
;
16174 swig_obj
[0] = args
;
16175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16179 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= SWIG_From_int(static_cast< int >(result
));
16193 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16194 PyObject
*resultobj
= 0;
16195 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16199 PyObject
*swig_obj
[1] ;
16201 if (!args
) SWIG_fail
;
16202 swig_obj
[0] = args
;
16203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16204 if (!SWIG_IsOK(res1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16207 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16227 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
= 0;
16229 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16230 wxString
*arg2
= 0 ;
16234 bool temp2
= false ;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 char * kwnames
[] = {
16238 (char *) "self",(char *) "s", NULL
16241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16246 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16248 arg2
= wxString_in_helper(obj1
);
16249 if (arg2
== NULL
) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16275 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16276 PyObject
*resultobj
= 0;
16277 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16281 PyObject
*swig_obj
[1] ;
16283 if (!args
) SWIG_fail
;
16284 swig_obj
[0] = args
;
16285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16286 if (!SWIG_IsOK(res1
)) {
16287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16289 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16303 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
= 0;
16305 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16306 wxString
*arg2
= 0 ;
16310 bool temp2
= false ;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 char * kwnames
[] = {
16314 (char *) "self",(char *) "s", NULL
16317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16319 if (!SWIG_IsOK(res1
)) {
16320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16322 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16324 arg2
= wxString_in_helper(obj1
);
16325 if (arg2
== NULL
) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= SWIG_From_int(static_cast< int >(result
));
16349 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
= 0;
16351 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 char * kwnames
[] = {
16361 (char *) "self",(char *) "n", NULL
16364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16366 if (!SWIG_IsOK(res1
)) {
16367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16369 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16371 if (!SWIG_IsOK(ecode2
)) {
16372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16374 arg2
= static_cast< int >(val2
);
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16394 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
= 0;
16396 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16398 wxString
*arg3
= 0 ;
16403 bool temp3
= false ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 PyObject
* obj2
= 0 ;
16407 char * kwnames
[] = {
16408 (char *) "self",(char *) "n",(char *) "label", NULL
16411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16413 if (!SWIG_IsOK(res1
)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16416 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16418 if (!SWIG_IsOK(ecode2
)) {
16419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16421 arg2
= static_cast< int >(val2
);
16423 arg3
= wxString_in_helper(obj2
);
16424 if (arg3
== NULL
) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_Py_Void();
16448 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
= 0;
16450 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16451 unsigned int arg2
;
16452 bool arg3
= (bool) true ;
16455 unsigned int val2
;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 PyObject
* obj2
= 0 ;
16462 char * kwnames
[] = {
16463 (char *) "self",(char *) "n",(char *) "enable", NULL
16466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16468 if (!SWIG_IsOK(res1
)) {
16469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16471 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16472 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16473 if (!SWIG_IsOK(ecode2
)) {
16474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16476 arg2
= static_cast< unsigned int >(val2
);
16478 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16479 if (!SWIG_IsOK(ecode3
)) {
16480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16482 arg3
= static_cast< bool >(val3
);
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 (arg1
)->Enable(arg2
,arg3
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= SWIG_Py_Void();
16497 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
= 0;
16499 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16500 unsigned int arg2
;
16501 bool arg3
= (bool) true ;
16504 unsigned int val2
;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 PyObject
* obj2
= 0 ;
16511 char * kwnames
[] = {
16512 (char *) "self",(char *) "n",(char *) "show", NULL
16515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16517 if (!SWIG_IsOK(res1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16520 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16521 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16522 if (!SWIG_IsOK(ecode2
)) {
16523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16525 arg2
= static_cast< unsigned int >(val2
);
16527 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16528 if (!SWIG_IsOK(ecode3
)) {
16529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16531 arg3
= static_cast< bool >(val3
);
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 (arg1
)->Show(arg2
,arg3
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= SWIG_Py_Void();
16546 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
= 0;
16548 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16549 unsigned int arg2
;
16553 unsigned int val2
;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char * kwnames
[] = {
16558 (char *) "self",(char *) "n", NULL
16561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16563 if (!SWIG_IsOK(res1
)) {
16564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16566 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16567 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16568 if (!SWIG_IsOK(ecode2
)) {
16569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16571 arg2
= static_cast< unsigned int >(val2
);
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16587 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
= 0;
16589 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16590 unsigned int arg2
;
16594 unsigned int val2
;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 char * kwnames
[] = {
16599 (char *) "self",(char *) "n", NULL
16602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16607 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16608 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16609 if (!SWIG_IsOK(ecode2
)) {
16610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16612 arg2
= static_cast< unsigned int >(val2
);
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16628 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16629 PyObject
*resultobj
= 0;
16630 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16631 unsigned int result
;
16634 PyObject
*swig_obj
[1] ;
16636 if (!args
) SWIG_fail
;
16637 swig_obj
[0] = args
;
16638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16639 if (!SWIG_IsOK(res1
)) {
16640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16642 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16656 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16657 PyObject
*resultobj
= 0;
16658 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16659 unsigned int result
;
16662 PyObject
*swig_obj
[1] ;
16664 if (!args
) SWIG_fail
;
16665 swig_obj
[0] = args
;
16666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16667 if (!SWIG_IsOK(res1
)) {
16668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16670 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16684 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
= 0;
16686 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 PyObject
* obj2
= 0 ;
16702 PyObject
* obj3
= 0 ;
16703 char * kwnames
[] = {
16704 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16712 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16714 if (!SWIG_IsOK(ecode2
)) {
16715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16717 arg2
= static_cast< int >(val2
);
16718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16719 if (!SWIG_IsOK(ecode3
)) {
16720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16722 arg3
= static_cast< wxDirection
>(val3
);
16723 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16724 if (!SWIG_IsOK(ecode4
)) {
16725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16727 arg4
= static_cast< long >(val4
);
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= SWIG_From_int(static_cast< int >(result
));
16741 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
= 0;
16743 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16744 unsigned int arg2
;
16745 wxString
*arg3
= 0 ;
16748 unsigned int val2
;
16750 bool temp3
= false ;
16751 PyObject
* obj0
= 0 ;
16752 PyObject
* obj1
= 0 ;
16753 PyObject
* obj2
= 0 ;
16754 char * kwnames
[] = {
16755 (char *) "self",(char *) "item",(char *) "text", NULL
16758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16760 if (!SWIG_IsOK(res1
)) {
16761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16763 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16764 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16765 if (!SWIG_IsOK(ecode2
)) {
16766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16768 arg2
= static_cast< unsigned int >(val2
);
16770 arg3
= wxString_in_helper(obj2
);
16771 if (arg3
== NULL
) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_Py_Void();
16795 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
= 0;
16797 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16798 unsigned int arg2
;
16799 wxToolTip
*result
= 0 ;
16802 unsigned int val2
;
16804 PyObject
* obj0
= 0 ;
16805 PyObject
* obj1
= 0 ;
16806 char * kwnames
[] = {
16807 (char *) "self",(char *) "item", NULL
16810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16815 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16816 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16817 if (!SWIG_IsOK(ecode2
)) {
16818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16820 arg2
= static_cast< unsigned int >(val2
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16836 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
= 0;
16838 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16839 SwigValueWrapper
<wxVisualAttributes
> result
;
16842 PyObject
* obj0
= 0 ;
16843 char * kwnames
[] = {
16844 (char *) "variant", NULL
16847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16850 if (!SWIG_IsOK(ecode1
)) {
16851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16853 arg1
= static_cast< wxWindowVariant
>(val1
);
16856 if (!wxPyCheckForApp()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16869 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16872 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16873 return SWIG_Py_Void();
16876 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16877 return SWIG_Python_InitShadowInstance(args
);
16880 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
= 0;
16882 wxWindow
*arg1
= (wxWindow
*) 0 ;
16883 int arg2
= (int) -1 ;
16884 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16885 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16890 long arg6
= (long) 0 ;
16891 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16892 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16893 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16894 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16895 wxRadioButton
*result
= 0 ;
16900 bool temp3
= false ;
16907 bool temp8
= false ;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 PyObject
* obj2
= 0 ;
16911 PyObject
* obj3
= 0 ;
16912 PyObject
* obj4
= 0 ;
16913 PyObject
* obj5
= 0 ;
16914 PyObject
* obj6
= 0 ;
16915 PyObject
* obj7
= 0 ;
16916 char * kwnames
[] = {
16917 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16922 if (!SWIG_IsOK(res1
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16928 if (!SWIG_IsOK(ecode2
)) {
16929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16931 arg2
= static_cast< int >(val2
);
16935 arg3
= wxString_in_helper(obj2
);
16936 if (arg3
== NULL
) SWIG_fail
;
16943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16949 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16953 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16954 if (!SWIG_IsOK(ecode6
)) {
16955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16957 arg6
= static_cast< long >(val6
);
16960 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16961 if (!SWIG_IsOK(res7
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16967 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16971 arg8
= wxString_in_helper(obj7
);
16972 if (arg8
== NULL
) SWIG_fail
;
16977 if (!wxPyCheckForApp()) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17006 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17007 PyObject
*resultobj
= 0;
17008 wxRadioButton
*result
= 0 ;
17010 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17012 if (!wxPyCheckForApp()) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (wxRadioButton
*)new wxRadioButton();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17025 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= 0;
17027 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17028 wxWindow
*arg2
= (wxWindow
*) 0 ;
17029 int arg3
= (int) -1 ;
17030 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17031 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17032 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17033 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17034 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17035 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17036 long arg7
= (long) 0 ;
17037 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17038 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17039 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17040 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17048 bool temp4
= false ;
17055 bool temp9
= false ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 PyObject
* obj2
= 0 ;
17059 PyObject
* obj3
= 0 ;
17060 PyObject
* obj4
= 0 ;
17061 PyObject
* obj5
= 0 ;
17062 PyObject
* obj6
= 0 ;
17063 PyObject
* obj7
= 0 ;
17064 PyObject
* obj8
= 0 ;
17065 char * kwnames
[] = {
17066 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17071 if (!SWIG_IsOK(res1
)) {
17072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17074 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17076 if (!SWIG_IsOK(res2
)) {
17077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17082 if (!SWIG_IsOK(ecode3
)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17085 arg3
= static_cast< int >(val3
);
17089 arg4
= wxString_in_helper(obj3
);
17090 if (arg4
== NULL
) SWIG_fail
;
17097 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17103 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17107 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17108 if (!SWIG_IsOK(ecode7
)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17111 arg7
= static_cast< long >(val7
);
17114 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17115 if (!SWIG_IsOK(res8
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17121 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17125 arg9
= wxString_in_helper(obj8
);
17126 if (arg9
== NULL
) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17161 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17162 PyObject
*resultobj
= 0;
17163 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17167 PyObject
*swig_obj
[1] ;
17169 if (!args
) SWIG_fail
;
17170 swig_obj
[0] = args
;
17171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17172 if (!SWIG_IsOK(res1
)) {
17173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17175 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (bool)(arg1
)->GetValue();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17191 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "self",(char *) "value", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17207 if (!SWIG_IsOK(res1
)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17210 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17211 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17212 if (!SWIG_IsOK(ecode2
)) {
17213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17215 arg2
= static_cast< bool >(val2
);
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 (arg1
)->SetValue(arg2
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_Py_Void();
17229 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
= 0;
17231 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17232 SwigValueWrapper
<wxVisualAttributes
> result
;
17235 PyObject
* obj0
= 0 ;
17236 char * kwnames
[] = {
17237 (char *) "variant", NULL
17240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17242 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17243 if (!SWIG_IsOK(ecode1
)) {
17244 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17246 arg1
= static_cast< wxWindowVariant
>(val1
);
17249 if (!wxPyCheckForApp()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17262 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17265 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17266 return SWIG_Py_Void();
17269 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17270 return SWIG_Python_InitShadowInstance(args
);
17273 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17274 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17279 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17280 PyObject
*pyobj
= 0;
17284 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17286 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17293 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
= 0;
17295 wxWindow
*arg1
= (wxWindow
*) 0 ;
17296 int arg2
= (int) -1 ;
17297 int arg3
= (int) 0 ;
17298 int arg4
= (int) 0 ;
17299 int arg5
= (int) 100 ;
17300 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17301 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17302 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17303 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17304 long arg8
= (long) wxSL_HORIZONTAL
;
17305 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17306 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17307 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17308 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17309 wxSlider
*result
= 0 ;
17326 bool temp10
= false ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 PyObject
* obj2
= 0 ;
17330 PyObject
* obj3
= 0 ;
17331 PyObject
* obj4
= 0 ;
17332 PyObject
* obj5
= 0 ;
17333 PyObject
* obj6
= 0 ;
17334 PyObject
* obj7
= 0 ;
17335 PyObject
* obj8
= 0 ;
17336 PyObject
* obj9
= 0 ;
17337 char * kwnames
[] = {
17338 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17343 if (!SWIG_IsOK(res1
)) {
17344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17346 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17349 if (!SWIG_IsOK(ecode2
)) {
17350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17352 arg2
= static_cast< int >(val2
);
17355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17356 if (!SWIG_IsOK(ecode3
)) {
17357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17359 arg3
= static_cast< int >(val3
);
17362 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17363 if (!SWIG_IsOK(ecode4
)) {
17364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17366 arg4
= static_cast< int >(val4
);
17369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17370 if (!SWIG_IsOK(ecode5
)) {
17371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17373 arg5
= static_cast< int >(val5
);
17378 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17384 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17388 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17389 if (!SWIG_IsOK(ecode8
)) {
17390 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17392 arg8
= static_cast< long >(val8
);
17395 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17396 if (!SWIG_IsOK(res9
)) {
17397 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17402 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17406 arg10
= wxString_in_helper(obj9
);
17407 if (arg10
== NULL
) SWIG_fail
;
17412 if (!wxPyCheckForApp()) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17433 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17434 PyObject
*resultobj
= 0;
17435 wxSlider
*result
= 0 ;
17437 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17439 if (!wxPyCheckForApp()) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= (wxSlider
*)new wxSlider();
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17452 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
= 0;
17454 wxSlider
*arg1
= (wxSlider
*) 0 ;
17455 wxWindow
*arg2
= (wxWindow
*) 0 ;
17456 int arg3
= (int) -1 ;
17457 int arg4
= (int) 0 ;
17458 int arg5
= (int) 0 ;
17459 int arg6
= (int) 100 ;
17460 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17461 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17462 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17463 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17464 long arg9
= (long) wxSL_HORIZONTAL
;
17465 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17466 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17467 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17468 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17488 bool temp11
= false ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 PyObject
* obj3
= 0 ;
17493 PyObject
* obj4
= 0 ;
17494 PyObject
* obj5
= 0 ;
17495 PyObject
* obj6
= 0 ;
17496 PyObject
* obj7
= 0 ;
17497 PyObject
* obj8
= 0 ;
17498 PyObject
* obj9
= 0 ;
17499 PyObject
* obj10
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17509 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17511 if (!SWIG_IsOK(res2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17517 if (!SWIG_IsOK(ecode3
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17520 arg3
= static_cast< int >(val3
);
17523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17524 if (!SWIG_IsOK(ecode4
)) {
17525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17527 arg4
= static_cast< int >(val4
);
17530 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17531 if (!SWIG_IsOK(ecode5
)) {
17532 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17534 arg5
= static_cast< int >(val5
);
17537 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17538 if (!SWIG_IsOK(ecode6
)) {
17539 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17541 arg6
= static_cast< int >(val6
);
17546 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17552 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17556 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17557 if (!SWIG_IsOK(ecode9
)) {
17558 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17560 arg9
= static_cast< long >(val9
);
17563 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17564 if (!SWIG_IsOK(res10
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17570 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17574 arg11
= wxString_in_helper(obj10
);
17575 if (arg11
== NULL
) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17602 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17603 PyObject
*resultobj
= 0;
17604 wxSlider
*arg1
= (wxSlider
*) 0 ;
17608 PyObject
*swig_obj
[1] ;
17610 if (!args
) SWIG_fail
;
17611 swig_obj
[0] = args
;
17612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17613 if (!SWIG_IsOK(res1
)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17616 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_From_int(static_cast< int >(result
));
17630 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
= 0;
17632 wxSlider
*arg1
= (wxSlider
*) 0 ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char * kwnames
[] = {
17641 (char *) "self",(char *) "value", NULL
17644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17646 if (!SWIG_IsOK(res1
)) {
17647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17649 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17651 if (!SWIG_IsOK(ecode2
)) {
17652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17654 arg2
= static_cast< int >(val2
);
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 (arg1
)->SetValue(arg2
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_Py_Void();
17668 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= 0;
17670 wxSlider
*arg1
= (wxSlider
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 PyObject
* obj2
= 0 ;
17682 char * kwnames
[] = {
17683 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17688 if (!SWIG_IsOK(res1
)) {
17689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17691 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17693 if (!SWIG_IsOK(ecode2
)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17696 arg2
= static_cast< int >(val2
);
17697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17698 if (!SWIG_IsOK(ecode3
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17701 arg3
= static_cast< int >(val3
);
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->SetRange(arg2
,arg3
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_Py_Void();
17715 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17716 PyObject
*resultobj
= 0;
17717 wxSlider
*arg1
= (wxSlider
*) 0 ;
17721 PyObject
*swig_obj
[1] ;
17723 if (!args
) SWIG_fail
;
17724 swig_obj
[0] = args
;
17725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17726 if (!SWIG_IsOK(res1
)) {
17727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17729 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_From_int(static_cast< int >(result
));
17743 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17744 PyObject
*resultobj
= 0;
17745 wxSlider
*arg1
= (wxSlider
*) 0 ;
17749 PyObject
*swig_obj
[1] ;
17751 if (!args
) SWIG_fail
;
17752 swig_obj
[0] = args
;
17753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17754 if (!SWIG_IsOK(res1
)) {
17755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17757 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 resultobj
= SWIG_From_int(static_cast< int >(result
));
17771 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
= 0;
17773 wxSlider
*arg1
= (wxSlider
*) 0 ;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 char * kwnames
[] = {
17782 (char *) "self",(char *) "minValue", NULL
17785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17790 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17792 if (!SWIG_IsOK(ecode2
)) {
17793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17795 arg2
= static_cast< int >(val2
);
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 (arg1
)->SetMin(arg2
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= SWIG_Py_Void();
17809 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
= 0;
17811 wxSlider
*arg1
= (wxSlider
*) 0 ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 char * kwnames
[] = {
17820 (char *) "self",(char *) "maxValue", NULL
17823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17825 if (!SWIG_IsOK(res1
)) {
17826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17828 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17830 if (!SWIG_IsOK(ecode2
)) {
17831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17833 arg2
= static_cast< int >(val2
);
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 (arg1
)->SetMax(arg2
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_Py_Void();
17847 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
= 0;
17849 wxSlider
*arg1
= (wxSlider
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 char * kwnames
[] = {
17858 (char *) "self",(char *) "lineSize", NULL
17861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17863 if (!SWIG_IsOK(res1
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17866 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17868 if (!SWIG_IsOK(ecode2
)) {
17869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17871 arg2
= static_cast< int >(val2
);
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 (arg1
)->SetLineSize(arg2
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_Py_Void();
17885 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
= 0;
17887 wxSlider
*arg1
= (wxSlider
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char * kwnames
[] = {
17896 (char *) "self",(char *) "pageSize", NULL
17899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17904 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17906 if (!SWIG_IsOK(ecode2
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17909 arg2
= static_cast< int >(val2
);
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 (arg1
)->SetPageSize(arg2
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_Py_Void();
17923 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17924 PyObject
*resultobj
= 0;
17925 wxSlider
*arg1
= (wxSlider
*) 0 ;
17929 PyObject
*swig_obj
[1] ;
17931 if (!args
) SWIG_fail
;
17932 swig_obj
[0] = args
;
17933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17934 if (!SWIG_IsOK(res1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17937 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_From_int(static_cast< int >(result
));
17951 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17952 PyObject
*resultobj
= 0;
17953 wxSlider
*arg1
= (wxSlider
*) 0 ;
17957 PyObject
*swig_obj
[1] ;
17959 if (!args
) SWIG_fail
;
17960 swig_obj
[0] = args
;
17961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17962 if (!SWIG_IsOK(res1
)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17965 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_From_int(static_cast< int >(result
));
17979 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxSlider
*arg1
= (wxSlider
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 char * kwnames
[] = {
17990 (char *) "self",(char *) "lenPixels", NULL
17993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17995 if (!SWIG_IsOK(res1
)) {
17996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
17998 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18000 if (!SWIG_IsOK(ecode2
)) {
18001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18003 arg2
= static_cast< int >(val2
);
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 (arg1
)->SetThumbLength(arg2
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_Py_Void();
18017 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18018 PyObject
*resultobj
= 0;
18019 wxSlider
*arg1
= (wxSlider
*) 0 ;
18023 PyObject
*swig_obj
[1] ;
18025 if (!args
) SWIG_fail
;
18026 swig_obj
[0] = args
;
18027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18028 if (!SWIG_IsOK(res1
)) {
18029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18031 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= SWIG_From_int(static_cast< int >(result
));
18045 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
= 0;
18047 wxSlider
*arg1
= (wxSlider
*) 0 ;
18049 int arg3
= (int) 1 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 PyObject
* obj2
= 0 ;
18059 char * kwnames
[] = {
18060 (char *) "self",(char *) "n",(char *) "pos", NULL
18063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18065 if (!SWIG_IsOK(res1
)) {
18066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18068 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18070 if (!SWIG_IsOK(ecode2
)) {
18071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18073 arg2
= static_cast< int >(val2
);
18075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18076 if (!SWIG_IsOK(ecode3
)) {
18077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18079 arg3
= static_cast< int >(val3
);
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 (arg1
)->SetTickFreq(arg2
,arg3
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= SWIG_Py_Void();
18094 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18095 PyObject
*resultobj
= 0;
18096 wxSlider
*arg1
= (wxSlider
*) 0 ;
18100 PyObject
*swig_obj
[1] ;
18102 if (!args
) SWIG_fail
;
18103 swig_obj
[0] = args
;
18104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18105 if (!SWIG_IsOK(res1
)) {
18106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18108 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= SWIG_From_int(static_cast< int >(result
));
18122 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18123 PyObject
*resultobj
= 0;
18124 wxSlider
*arg1
= (wxSlider
*) 0 ;
18127 PyObject
*swig_obj
[1] ;
18129 if (!args
) SWIG_fail
;
18130 swig_obj
[0] = args
;
18131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18132 if (!SWIG_IsOK(res1
)) {
18133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18135 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->ClearTicks();
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= SWIG_Py_Void();
18149 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
= 0;
18151 wxSlider
*arg1
= (wxSlider
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char * kwnames
[] = {
18160 (char *) "self",(char *) "tickPos", NULL
18163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18165 if (!SWIG_IsOK(res1
)) {
18166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18168 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18170 if (!SWIG_IsOK(ecode2
)) {
18171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18173 arg2
= static_cast< int >(val2
);
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 (arg1
)->SetTick(arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_Py_Void();
18187 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18188 PyObject
*resultobj
= 0;
18189 wxSlider
*arg1
= (wxSlider
*) 0 ;
18192 PyObject
*swig_obj
[1] ;
18194 if (!args
) SWIG_fail
;
18195 swig_obj
[0] = args
;
18196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18197 if (!SWIG_IsOK(res1
)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18200 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->ClearSel();
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_Py_Void();
18214 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18215 PyObject
*resultobj
= 0;
18216 wxSlider
*arg1
= (wxSlider
*) 0 ;
18220 PyObject
*swig_obj
[1] ;
18222 if (!args
) SWIG_fail
;
18223 swig_obj
[0] = args
;
18224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18225 if (!SWIG_IsOK(res1
)) {
18226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18228 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_From_int(static_cast< int >(result
));
18242 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18243 PyObject
*resultobj
= 0;
18244 wxSlider
*arg1
= (wxSlider
*) 0 ;
18248 PyObject
*swig_obj
[1] ;
18250 if (!args
) SWIG_fail
;
18251 swig_obj
[0] = args
;
18252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18253 if (!SWIG_IsOK(res1
)) {
18254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18256 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_From_int(static_cast< int >(result
));
18270 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
= 0;
18272 wxSlider
*arg1
= (wxSlider
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 PyObject
* obj2
= 0 ;
18284 char * kwnames
[] = {
18285 (char *) "self",(char *) "min",(char *) "max", NULL
18288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18293 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18295 if (!SWIG_IsOK(ecode2
)) {
18296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18298 arg2
= static_cast< int >(val2
);
18299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18300 if (!SWIG_IsOK(ecode3
)) {
18301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18303 arg3
= static_cast< int >(val3
);
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->SetSelection(arg2
,arg3
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_Py_Void();
18317 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
= 0;
18319 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18320 SwigValueWrapper
<wxVisualAttributes
> result
;
18323 PyObject
* obj0
= 0 ;
18324 char * kwnames
[] = {
18325 (char *) "variant", NULL
18328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18330 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18331 if (!SWIG_IsOK(ecode1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18334 arg1
= static_cast< wxWindowVariant
>(val1
);
18337 if (!wxPyCheckForApp()) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18350 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18353 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18354 return SWIG_Py_Void();
18357 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18358 return SWIG_Python_InitShadowInstance(args
);
18361 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18362 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18367 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18368 PyObject
*pyobj
= 0;
18372 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18374 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18381 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
= 0;
18383 wxWindow
*arg1
= (wxWindow
*) 0 ;
18384 int arg2
= (int) -1 ;
18385 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18386 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18391 long arg6
= (long) 0 ;
18392 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18393 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18394 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18396 wxToggleButton
*result
= 0 ;
18401 bool temp3
= false ;
18408 bool temp8
= false ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 PyObject
* obj2
= 0 ;
18412 PyObject
* obj3
= 0 ;
18413 PyObject
* obj4
= 0 ;
18414 PyObject
* obj5
= 0 ;
18415 PyObject
* obj6
= 0 ;
18416 PyObject
* obj7
= 0 ;
18417 char * kwnames
[] = {
18418 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18423 if (!SWIG_IsOK(res1
)) {
18424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18429 if (!SWIG_IsOK(ecode2
)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18432 arg2
= static_cast< int >(val2
);
18436 arg3
= wxString_in_helper(obj2
);
18437 if (arg3
== NULL
) SWIG_fail
;
18444 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18450 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18454 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18455 if (!SWIG_IsOK(ecode6
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18458 arg6
= static_cast< long >(val6
);
18461 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18462 if (!SWIG_IsOK(res7
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18468 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18472 arg8
= wxString_in_helper(obj7
);
18473 if (arg8
== NULL
) SWIG_fail
;
18478 if (!wxPyCheckForApp()) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18507 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18508 PyObject
*resultobj
= 0;
18509 wxToggleButton
*result
= 0 ;
18511 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18513 if (!wxPyCheckForApp()) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (wxToggleButton
*)new wxToggleButton();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18526 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
= 0;
18528 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18529 wxWindow
*arg2
= (wxWindow
*) 0 ;
18530 int arg3
= (int) -1 ;
18531 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18532 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18533 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18534 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18535 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18536 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18537 long arg7
= (long) 0 ;
18538 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18539 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18540 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18541 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18549 bool temp4
= false ;
18556 bool temp9
= false ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 PyObject
* obj3
= 0 ;
18561 PyObject
* obj4
= 0 ;
18562 PyObject
* obj5
= 0 ;
18563 PyObject
* obj6
= 0 ;
18564 PyObject
* obj7
= 0 ;
18565 PyObject
* obj8
= 0 ;
18566 char * kwnames
[] = {
18567 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18572 if (!SWIG_IsOK(res1
)) {
18573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18575 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18577 if (!SWIG_IsOK(res2
)) {
18578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18583 if (!SWIG_IsOK(ecode3
)) {
18584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18586 arg3
= static_cast< int >(val3
);
18590 arg4
= wxString_in_helper(obj3
);
18591 if (arg4
== NULL
) SWIG_fail
;
18598 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18604 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18608 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18609 if (!SWIG_IsOK(ecode7
)) {
18610 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18612 arg7
= static_cast< long >(val7
);
18615 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18616 if (!SWIG_IsOK(res8
)) {
18617 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18622 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18626 arg9
= wxString_in_helper(obj8
);
18627 if (arg9
== NULL
) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18662 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
= 0;
18664 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 char * kwnames
[] = {
18673 (char *) "self",(char *) "value", NULL
18676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18678 if (!SWIG_IsOK(res1
)) {
18679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18681 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18683 if (!SWIG_IsOK(ecode2
)) {
18684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18686 arg2
= static_cast< bool >(val2
);
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 (arg1
)->SetValue(arg2
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= SWIG_Py_Void();
18700 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18701 PyObject
*resultobj
= 0;
18702 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18706 PyObject
*swig_obj
[1] ;
18708 if (!args
) SWIG_fail
;
18709 swig_obj
[0] = args
;
18710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18711 if (!SWIG_IsOK(res1
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18714 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18730 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= 0;
18732 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18733 SwigValueWrapper
<wxVisualAttributes
> result
;
18736 PyObject
* obj0
= 0 ;
18737 char * kwnames
[] = {
18738 (char *) "variant", NULL
18741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18744 if (!SWIG_IsOK(ecode1
)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18747 arg1
= static_cast< wxWindowVariant
>(val1
);
18750 if (!wxPyCheckForApp()) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18763 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18766 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18767 return SWIG_Py_Void();
18770 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18771 return SWIG_Python_InitShadowInstance(args
);
18774 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18775 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18780 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18781 PyObject
*pyobj
= 0;
18785 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18787 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18794 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18795 PyObject
*resultobj
= 0;
18796 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18800 PyObject
*swig_obj
[1] ;
18802 if (!args
) SWIG_fail
;
18803 swig_obj
[0] = args
;
18804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18805 if (!SWIG_IsOK(res1
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18808 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18822 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
= 0;
18824 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18826 wxWindow
*result
= 0 ;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 char * kwnames
[] = {
18834 (char *) "self",(char *) "n", NULL
18837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18839 if (!SWIG_IsOK(res1
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18842 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18843 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18844 if (!SWIG_IsOK(ecode2
)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18847 arg2
= static_cast< size_t >(val2
);
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= wxPyMake_wxObject(result
, 0);
18863 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18864 PyObject
*resultobj
= 0;
18865 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18866 wxWindow
*result
= 0 ;
18869 PyObject
*swig_obj
[1] ;
18871 if (!args
) SWIG_fail
;
18872 swig_obj
[0] = args
;
18873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18877 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= wxPyMake_wxObject(result
, 0);
18893 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18894 PyObject
*resultobj
= 0;
18895 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18899 PyObject
*swig_obj
[1] ;
18901 if (!args
) SWIG_fail
;
18902 swig_obj
[0] = args
;
18903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18904 if (!SWIG_IsOK(res1
)) {
18905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18907 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_From_int(static_cast< int >(result
));
18921 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
= 0;
18923 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18925 wxString
*arg3
= 0 ;
18931 bool temp3
= false ;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 PyObject
* obj2
= 0 ;
18935 char * kwnames
[] = {
18936 (char *) "self",(char *) "n",(char *) "strText", NULL
18939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18941 if (!SWIG_IsOK(res1
)) {
18942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18944 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18945 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18946 if (!SWIG_IsOK(ecode2
)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18949 arg2
= static_cast< size_t >(val2
);
18951 arg3
= wxString_in_helper(obj2
);
18952 if (arg3
== NULL
) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18978 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
= 0;
18980 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char * kwnames
[] = {
18990 (char *) "self",(char *) "n", NULL
18993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18995 if (!SWIG_IsOK(res1
)) {
18996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18998 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18999 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19000 if (!SWIG_IsOK(ecode2
)) {
19001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19003 arg2
= static_cast< size_t >(val2
);
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19023 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
= 0;
19025 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19026 wxImageList
*arg2
= (wxImageList
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 char * kwnames
[] = {
19034 (char *) "self",(char *) "imageList", NULL
19037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19039 if (!SWIG_IsOK(res1
)) {
19040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19042 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19044 if (!SWIG_IsOK(res2
)) {
19045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19047 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 (arg1
)->SetImageList(arg2
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= SWIG_Py_Void();
19061 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
= 0;
19063 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19064 wxImageList
*arg2
= (wxImageList
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char * kwnames
[] = {
19071 (char *) "self",(char *) "imageList", NULL
19074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19076 if (!SWIG_IsOK(res1
)) {
19077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19079 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19080 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19081 if (!SWIG_IsOK(res2
)) {
19082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 (arg1
)->AssignImageList(arg2
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_Py_Void();
19097 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19098 PyObject
*resultobj
= 0;
19099 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19100 wxImageList
*result
= 0 ;
19103 PyObject
*swig_obj
[1] ;
19105 if (!args
) SWIG_fail
;
19106 swig_obj
[0] = args
;
19107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19111 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19127 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= 0;
19129 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 char * kwnames
[] = {
19139 (char *) "self",(char *) "n", NULL
19142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19144 if (!SWIG_IsOK(res1
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19147 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19148 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19149 if (!SWIG_IsOK(ecode2
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19152 arg2
= static_cast< size_t >(val2
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_From_int(static_cast< int >(result
));
19166 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
= 0;
19168 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 PyObject
* obj2
= 0 ;
19181 char * kwnames
[] = {
19182 (char *) "self",(char *) "n",(char *) "imageId", NULL
19185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19187 if (!SWIG_IsOK(res1
)) {
19188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19190 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19191 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19192 if (!SWIG_IsOK(ecode2
)) {
19193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19195 arg2
= static_cast< size_t >(val2
);
19196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19197 if (!SWIG_IsOK(ecode3
)) {
19198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19200 arg3
= static_cast< int >(val3
);
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19216 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
= 0;
19218 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char * kwnames
[] = {
19226 (char *) "self",(char *) "size", NULL
19229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19231 if (!SWIG_IsOK(res1
)) {
19232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19234 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19237 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_Py_Void();
19252 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
= 0;
19254 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char * kwnames
[] = {
19263 (char *) "self",(char *) "sizePage", NULL
19266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19271 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19274 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19289 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19290 PyObject
*resultobj
= 0;
19291 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19292 unsigned int result
;
19295 PyObject
*swig_obj
[1] ;
19297 if (!args
) SWIG_fail
;
19298 swig_obj
[0] = args
;
19299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19303 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19317 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
= 0;
19319 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19320 unsigned int arg2
;
19323 unsigned int val2
;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char * kwnames
[] = {
19328 (char *) "self",(char *) "internalBorder", NULL
19331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19333 if (!SWIG_IsOK(res1
)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19336 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19337 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19338 if (!SWIG_IsOK(ecode2
)) {
19339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19341 arg2
= static_cast< unsigned int >(val2
);
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->SetInternalBorder(arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_Py_Void();
19355 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19356 PyObject
*resultobj
= 0;
19357 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19361 PyObject
*swig_obj
[1] ;
19363 if (!args
) SWIG_fail
;
19364 swig_obj
[0] = args
;
19365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19366 if (!SWIG_IsOK(res1
)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19369 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19385 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
= 0;
19387 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 char * kwnames
[] = {
19396 (char *) "self",(char *) "margin", NULL
19399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19401 if (!SWIG_IsOK(res1
)) {
19402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19404 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19406 if (!SWIG_IsOK(ecode2
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19409 arg2
= static_cast< int >(val2
);
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 (arg1
)->SetControlMargin(arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_Py_Void();
19423 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19424 PyObject
*resultobj
= 0;
19425 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19429 PyObject
*swig_obj
[1] ;
19431 if (!args
) SWIG_fail
;
19432 swig_obj
[0] = args
;
19433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19437 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_From_int(static_cast< int >(result
));
19451 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char * kwnames
[] = {
19462 (char *) "self",(char *) "fit", NULL
19465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19470 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19471 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19472 if (!SWIG_IsOK(ecode2
)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19475 arg2
= static_cast< bool >(val2
);
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 (arg1
)->SetFitToCurrentPage(arg2
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= SWIG_Py_Void();
19489 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19490 PyObject
*resultobj
= 0;
19491 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19495 PyObject
*swig_obj
[1] ;
19497 if (!args
) SWIG_fail
;
19498 swig_obj
[0] = args
;
19499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19500 if (!SWIG_IsOK(res1
)) {
19501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19503 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19519 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19520 PyObject
*resultobj
= 0;
19521 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19522 wxSizer
*result
= 0 ;
19525 PyObject
*swig_obj
[1] ;
19527 if (!args
) SWIG_fail
;
19528 swig_obj
[0] = args
;
19529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19530 if (!SWIG_IsOK(res1
)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19533 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19549 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
= 0;
19551 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 char * kwnames
[] = {
19561 (char *) "self",(char *) "n", NULL
19564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19566 if (!SWIG_IsOK(res1
)) {
19567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19569 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19570 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19571 if (!SWIG_IsOK(ecode2
)) {
19572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19574 arg2
= static_cast< size_t >(val2
);
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= (bool)(arg1
)->DeletePage(arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19590 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
= 0;
19592 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char * kwnames
[] = {
19602 (char *) "self",(char *) "n", NULL
19605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19607 if (!SWIG_IsOK(res1
)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19610 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19611 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19612 if (!SWIG_IsOK(ecode2
)) {
19613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19615 arg2
= static_cast< size_t >(val2
);
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (bool)(arg1
)->RemovePage(arg2
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19631 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19632 PyObject
*resultobj
= 0;
19633 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19637 PyObject
*swig_obj
[1] ;
19639 if (!args
) SWIG_fail
;
19640 swig_obj
[0] = args
;
19641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19642 if (!SWIG_IsOK(res1
)) {
19643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19645 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (bool)(arg1
)->DeleteAllPages();
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
= 0;
19663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19664 wxWindow
*arg2
= (wxWindow
*) 0 ;
19665 wxString
*arg3
= 0 ;
19666 bool arg4
= (bool) false ;
19667 int arg5
= (int) -1 ;
19673 bool temp3
= false ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 PyObject
* obj2
= 0 ;
19681 PyObject
* obj3
= 0 ;
19682 PyObject
* obj4
= 0 ;
19683 char * kwnames
[] = {
19684 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19689 if (!SWIG_IsOK(res1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19692 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19694 if (!SWIG_IsOK(res2
)) {
19695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19697 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19699 arg3
= wxString_in_helper(obj2
);
19700 if (arg3
== NULL
) SWIG_fail
;
19704 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19705 if (!SWIG_IsOK(ecode4
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19708 arg4
= static_cast< bool >(val4
);
19711 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19712 if (!SWIG_IsOK(ecode5
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19715 arg5
= static_cast< int >(val5
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19740 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= 0;
19742 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19744 wxWindow
*arg3
= (wxWindow
*) 0 ;
19745 wxString
*arg4
= 0 ;
19746 bool arg5
= (bool) false ;
19747 int arg6
= (int) -1 ;
19755 bool temp4
= false ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 PyObject
* obj2
= 0 ;
19763 PyObject
* obj3
= 0 ;
19764 PyObject
* obj4
= 0 ;
19765 PyObject
* obj5
= 0 ;
19766 char * kwnames
[] = {
19767 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19772 if (!SWIG_IsOK(res1
)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19775 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19776 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19777 if (!SWIG_IsOK(ecode2
)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19780 arg2
= static_cast< size_t >(val2
);
19781 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19782 if (!SWIG_IsOK(res3
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19785 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19787 arg4
= wxString_in_helper(obj3
);
19788 if (arg4
== NULL
) SWIG_fail
;
19792 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19793 if (!SWIG_IsOK(ecode5
)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19796 arg5
= static_cast< bool >(val5
);
19799 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19800 if (!SWIG_IsOK(ecode6
)) {
19801 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19803 arg6
= static_cast< int >(val6
);
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19828 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
= 0;
19830 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char * kwnames
[] = {
19840 (char *) "self",(char *) "n", NULL
19843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19845 if (!SWIG_IsOK(res1
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19848 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19849 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19850 if (!SWIG_IsOK(ecode2
)) {
19851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19853 arg2
= static_cast< size_t >(val2
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (int)(arg1
)->SetSelection(arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_From_int(static_cast< int >(result
));
19867 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
= 0;
19869 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19870 bool arg2
= (bool) true ;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char * kwnames
[] = {
19878 (char *) "self",(char *) "forward", NULL
19881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19886 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19888 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19889 if (!SWIG_IsOK(ecode2
)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19892 arg2
= static_cast< bool >(val2
);
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 (arg1
)->AdvanceSelection(arg2
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_Py_Void();
19907 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
= 0;
19909 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19910 SwigValueWrapper
<wxVisualAttributes
> result
;
19913 PyObject
* obj0
= 0 ;
19914 char * kwnames
[] = {
19915 (char *) "variant", NULL
19918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19921 if (!SWIG_IsOK(ecode1
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19924 arg1
= static_cast< wxWindowVariant
>(val1
);
19927 if (!wxPyCheckForApp()) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19940 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19943 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19944 return SWIG_Py_Void();
19947 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
= 0;
19949 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19950 int arg2
= (int) 0 ;
19951 int arg3
= (int) -1 ;
19952 int arg4
= (int) -1 ;
19953 wxBookCtrlBaseEvent
*result
= 0 ;
19962 PyObject
* obj0
= 0 ;
19963 PyObject
* obj1
= 0 ;
19964 PyObject
* obj2
= 0 ;
19965 PyObject
* obj3
= 0 ;
19966 char * kwnames
[] = {
19967 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19973 if (!SWIG_IsOK(ecode1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19976 arg1
= static_cast< wxEventType
>(val1
);
19979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19980 if (!SWIG_IsOK(ecode2
)) {
19981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19983 arg2
= static_cast< int >(val2
);
19986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19987 if (!SWIG_IsOK(ecode3
)) {
19988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19990 arg3
= static_cast< int >(val3
);
19993 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19994 if (!SWIG_IsOK(ecode4
)) {
19995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19997 arg4
= static_cast< int >(val4
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20012 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20013 PyObject
*resultobj
= 0;
20014 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20018 PyObject
*swig_obj
[1] ;
20020 if (!args
) SWIG_fail
;
20021 swig_obj
[0] = args
;
20022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20023 if (!SWIG_IsOK(res1
)) {
20024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20026 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= SWIG_From_int(static_cast< int >(result
));
20040 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
= 0;
20042 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char * kwnames
[] = {
20051 (char *) "self",(char *) "nSel", NULL
20054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20056 if (!SWIG_IsOK(res1
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20059 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20061 if (!SWIG_IsOK(ecode2
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20064 arg2
= static_cast< int >(val2
);
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->SetSelection(arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_Py_Void();
20078 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20079 PyObject
*resultobj
= 0;
20080 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20084 PyObject
*swig_obj
[1] ;
20086 if (!args
) SWIG_fail
;
20087 swig_obj
[0] = args
;
20088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20092 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_From_int(static_cast< int >(result
));
20106 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
= 0;
20108 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 PyObject
* obj1
= 0 ;
20116 char * kwnames
[] = {
20117 (char *) "self",(char *) "nOldSel", NULL
20120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20122 if (!SWIG_IsOK(res1
)) {
20123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20125 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20127 if (!SWIG_IsOK(ecode2
)) {
20128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20130 arg2
= static_cast< int >(val2
);
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->SetOldSelection(arg2
);
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= SWIG_Py_Void();
20144 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20147 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20148 return SWIG_Py_Void();
20151 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20152 return SWIG_Python_InitShadowInstance(args
);
20155 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
= 0;
20157 wxWindow
*arg1
= (wxWindow
*) 0 ;
20158 int arg2
= (int) -1 ;
20159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20163 long arg5
= (long) 0 ;
20164 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20165 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20166 wxNotebook
*result
= 0 ;
20175 bool temp6
= false ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 PyObject
* obj2
= 0 ;
20179 PyObject
* obj3
= 0 ;
20180 PyObject
* obj4
= 0 ;
20181 PyObject
* obj5
= 0 ;
20182 char * kwnames
[] = {
20183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20188 if (!SWIG_IsOK(res1
)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20194 if (!SWIG_IsOK(ecode2
)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20197 arg2
= static_cast< int >(val2
);
20202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20212 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20213 if (!SWIG_IsOK(ecode5
)) {
20214 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20216 arg5
= static_cast< long >(val5
);
20220 arg6
= wxString_in_helper(obj5
);
20221 if (arg6
== NULL
) SWIG_fail
;
20226 if (!wxPyCheckForApp()) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20247 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20248 PyObject
*resultobj
= 0;
20249 wxNotebook
*result
= 0 ;
20251 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20253 if (!wxPyCheckForApp()) SWIG_fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (wxNotebook
*)new wxNotebook();
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20266 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
= 0;
20268 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20269 wxWindow
*arg2
= (wxWindow
*) 0 ;
20270 int arg3
= (int) -1 ;
20271 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20272 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20273 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20274 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20275 long arg6
= (long) 0 ;
20276 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20277 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20289 bool temp7
= false ;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 PyObject
* obj2
= 0 ;
20293 PyObject
* obj3
= 0 ;
20294 PyObject
* obj4
= 0 ;
20295 PyObject
* obj5
= 0 ;
20296 PyObject
* obj6
= 0 ;
20297 char * kwnames
[] = {
20298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20303 if (!SWIG_IsOK(res1
)) {
20304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20306 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20308 if (!SWIG_IsOK(res2
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20311 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20314 if (!SWIG_IsOK(ecode3
)) {
20315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20317 arg3
= static_cast< int >(val3
);
20322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20332 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20333 if (!SWIG_IsOK(ecode6
)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20336 arg6
= static_cast< long >(val6
);
20340 arg7
= wxString_in_helper(obj6
);
20341 if (arg7
== NULL
) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20368 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20369 PyObject
*resultobj
= 0;
20370 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20374 PyObject
*swig_obj
[1] ;
20376 if (!args
) SWIG_fail
;
20377 swig_obj
[0] = args
;
20378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20379 if (!SWIG_IsOK(res1
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20382 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_From_int(static_cast< int >(result
));
20396 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
= 0;
20398 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20403 PyObject
* obj0
= 0 ;
20404 PyObject
* obj1
= 0 ;
20405 char * kwnames
[] = {
20406 (char *) "self",(char *) "padding", NULL
20409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20411 if (!SWIG_IsOK(res1
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20414 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20417 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_Py_Void();
20432 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
= 0;
20434 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 char * kwnames
[] = {
20442 (char *) "self",(char *) "sz", NULL
20445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20450 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_Py_Void();
20468 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
= 0;
20470 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20471 wxPoint
*arg2
= 0 ;
20472 long *arg3
= (long *) 0 ;
20478 int res3
= SWIG_TMPOBJ
;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char * kwnames
[] = {
20482 (char *) "self",(char *) "pt", NULL
20486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20488 if (!SWIG_IsOK(res1
)) {
20489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20491 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_From_int(static_cast< int >(result
));
20503 if (SWIG_IsTmpObj(res3
)) {
20504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20506 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20515 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20516 PyObject
*resultobj
= 0;
20517 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20521 PyObject
*swig_obj
[1] ;
20523 if (!args
) SWIG_fail
;
20524 swig_obj
[0] = args
;
20525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20529 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20543 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
= 0;
20545 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20546 SwigValueWrapper
<wxVisualAttributes
> result
;
20549 PyObject
* obj0
= 0 ;
20550 char * kwnames
[] = {
20551 (char *) "variant", NULL
20554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20556 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20557 if (!SWIG_IsOK(ecode1
)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20560 arg1
= static_cast< wxWindowVariant
>(val1
);
20563 if (!wxPyCheckForApp()) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20576 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20579 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20580 return SWIG_Py_Void();
20583 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20584 return SWIG_Python_InitShadowInstance(args
);
20587 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
= 0;
20589 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20590 int arg2
= (int) 0 ;
20591 int arg3
= (int) -1 ;
20592 int arg4
= (int) -1 ;
20593 wxNotebookEvent
*result
= 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 PyObject
* obj2
= 0 ;
20605 PyObject
* obj3
= 0 ;
20606 char * kwnames
[] = {
20607 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20612 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20613 if (!SWIG_IsOK(ecode1
)) {
20614 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20616 arg1
= static_cast< wxEventType
>(val1
);
20619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20620 if (!SWIG_IsOK(ecode2
)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20623 arg2
= static_cast< int >(val2
);
20626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20627 if (!SWIG_IsOK(ecode3
)) {
20628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20630 arg3
= static_cast< int >(val3
);
20633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20634 if (!SWIG_IsOK(ecode4
)) {
20635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20637 arg4
= static_cast< int >(val4
);
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20652 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20655 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20656 return SWIG_Py_Void();
20659 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20660 return SWIG_Python_InitShadowInstance(args
);
20663 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
= 0;
20665 wxWindow
*arg1
= (wxWindow
*) 0 ;
20666 int arg2
= (int) -1 ;
20667 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20668 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20669 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20670 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20671 long arg5
= (long) 0 ;
20672 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20673 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20674 wxListbook
*result
= 0 ;
20683 bool temp6
= false ;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 PyObject
* obj2
= 0 ;
20687 PyObject
* obj3
= 0 ;
20688 PyObject
* obj4
= 0 ;
20689 PyObject
* obj5
= 0 ;
20690 char * kwnames
[] = {
20691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20696 if (!SWIG_IsOK(res1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20702 if (!SWIG_IsOK(ecode2
)) {
20703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20705 arg2
= static_cast< int >(val2
);
20710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20720 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20721 if (!SWIG_IsOK(ecode5
)) {
20722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20724 arg5
= static_cast< long >(val5
);
20728 arg6
= wxString_in_helper(obj5
);
20729 if (arg6
== NULL
) SWIG_fail
;
20734 if (!wxPyCheckForApp()) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20755 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20756 PyObject
*resultobj
= 0;
20757 wxListbook
*result
= 0 ;
20759 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20761 if (!wxPyCheckForApp()) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (wxListbook
*)new wxListbook();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20774 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
= 0;
20776 wxListbook
*arg1
= (wxListbook
*) 0 ;
20777 wxWindow
*arg2
= (wxWindow
*) 0 ;
20778 int arg3
= (int) -1 ;
20779 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20780 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20781 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20782 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20783 long arg6
= (long) 0 ;
20784 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20785 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20797 bool temp7
= false ;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 PyObject
* obj2
= 0 ;
20801 PyObject
* obj3
= 0 ;
20802 PyObject
* obj4
= 0 ;
20803 PyObject
* obj5
= 0 ;
20804 PyObject
* obj6
= 0 ;
20805 char * kwnames
[] = {
20806 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20811 if (!SWIG_IsOK(res1
)) {
20812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20814 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20816 if (!SWIG_IsOK(res2
)) {
20817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20819 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20822 if (!SWIG_IsOK(ecode3
)) {
20823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20825 arg3
= static_cast< int >(val3
);
20830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20840 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20841 if (!SWIG_IsOK(ecode6
)) {
20842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20844 arg6
= static_cast< long >(val6
);
20848 arg7
= wxString_in_helper(obj6
);
20849 if (arg7
== NULL
) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20876 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20877 PyObject
*resultobj
= 0;
20878 wxListbook
*arg1
= (wxListbook
*) 0 ;
20879 wxListView
*result
= 0 ;
20882 PyObject
*swig_obj
[1] ;
20884 if (!args
) SWIG_fail
;
20885 swig_obj
[0] = args
;
20886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20887 if (!SWIG_IsOK(res1
)) {
20888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20890 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (wxListView
*)(arg1
)->GetListView();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20904 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20907 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20908 return SWIG_Py_Void();
20911 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20912 return SWIG_Python_InitShadowInstance(args
);
20915 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
= 0;
20917 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20918 int arg2
= (int) 0 ;
20919 int arg3
= (int) -1 ;
20920 int arg4
= (int) -1 ;
20921 wxListbookEvent
*result
= 0 ;
20930 PyObject
* obj0
= 0 ;
20931 PyObject
* obj1
= 0 ;
20932 PyObject
* obj2
= 0 ;
20933 PyObject
* obj3
= 0 ;
20934 char * kwnames
[] = {
20935 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20940 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20941 if (!SWIG_IsOK(ecode1
)) {
20942 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20944 arg1
= static_cast< wxEventType
>(val1
);
20947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20948 if (!SWIG_IsOK(ecode2
)) {
20949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20951 arg2
= static_cast< int >(val2
);
20954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20955 if (!SWIG_IsOK(ecode3
)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20958 arg3
= static_cast< int >(val3
);
20961 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20962 if (!SWIG_IsOK(ecode4
)) {
20963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20965 arg4
= static_cast< int >(val4
);
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20980 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20983 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20984 return SWIG_Py_Void();
20987 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20988 return SWIG_Python_InitShadowInstance(args
);
20991 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
= 0;
20993 wxWindow
*arg1
= (wxWindow
*) 0 ;
20995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20999 long arg5
= (long) 0 ;
21000 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21001 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21002 wxChoicebook
*result
= 0 ;
21011 bool temp6
= false ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 PyObject
* obj2
= 0 ;
21015 PyObject
* obj3
= 0 ;
21016 PyObject
* obj4
= 0 ;
21017 PyObject
* obj5
= 0 ;
21018 char * kwnames
[] = {
21019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21024 if (!SWIG_IsOK(res1
)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21029 if (!SWIG_IsOK(ecode2
)) {
21030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21032 arg2
= static_cast< int >(val2
);
21036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21046 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21047 if (!SWIG_IsOK(ecode5
)) {
21048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21050 arg5
= static_cast< long >(val5
);
21054 arg6
= wxString_in_helper(obj5
);
21055 if (arg6
== NULL
) SWIG_fail
;
21060 if (!wxPyCheckForApp()) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21081 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21082 PyObject
*resultobj
= 0;
21083 wxChoicebook
*result
= 0 ;
21085 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21087 if (!wxPyCheckForApp()) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (wxChoicebook
*)new wxChoicebook();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21100 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21102 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21103 wxWindow
*arg2
= (wxWindow
*) 0 ;
21105 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21106 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21107 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21108 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21109 long arg6
= (long) 0 ;
21110 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21111 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21123 bool temp7
= false ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 PyObject
* obj2
= 0 ;
21127 PyObject
* obj3
= 0 ;
21128 PyObject
* obj4
= 0 ;
21129 PyObject
* obj5
= 0 ;
21130 PyObject
* obj6
= 0 ;
21131 char * kwnames
[] = {
21132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21137 if (!SWIG_IsOK(res1
)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21140 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21142 if (!SWIG_IsOK(res2
)) {
21143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21147 if (!SWIG_IsOK(ecode3
)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21150 arg3
= static_cast< int >(val3
);
21154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21164 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21165 if (!SWIG_IsOK(ecode6
)) {
21166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21168 arg6
= static_cast< long >(val6
);
21172 arg7
= wxString_in_helper(obj6
);
21173 if (arg7
== NULL
) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21200 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21201 PyObject
*resultobj
= 0;
21202 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21203 wxChoice
*result
= 0 ;
21206 PyObject
*swig_obj
[1] ;
21208 if (!args
) SWIG_fail
;
21209 swig_obj
[0] = args
;
21210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21214 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21228 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21231 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21232 return SWIG_Py_Void();
21235 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21236 return SWIG_Python_InitShadowInstance(args
);
21239 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
= 0;
21241 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21242 int arg2
= (int) 0 ;
21243 int arg3
= (int) -1 ;
21244 int arg4
= (int) -1 ;
21245 wxChoicebookEvent
*result
= 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 PyObject
* obj2
= 0 ;
21257 PyObject
* obj3
= 0 ;
21258 char * kwnames
[] = {
21259 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21264 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21265 if (!SWIG_IsOK(ecode1
)) {
21266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21268 arg1
= static_cast< wxEventType
>(val1
);
21271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21272 if (!SWIG_IsOK(ecode2
)) {
21273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21275 arg2
= static_cast< int >(val2
);
21278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21279 if (!SWIG_IsOK(ecode3
)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21282 arg3
= static_cast< int >(val3
);
21285 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21286 if (!SWIG_IsOK(ecode4
)) {
21287 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21289 arg4
= static_cast< int >(val4
);
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21304 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21307 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21308 return SWIG_Py_Void();
21311 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 return SWIG_Python_InitShadowInstance(args
);
21315 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= 0;
21317 wxWindow
*arg1
= (wxWindow
*) 0 ;
21319 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21320 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21321 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21322 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21323 long arg5
= (long) wxBK_DEFAULT
;
21324 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21325 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21326 wxTreebook
*result
= 0 ;
21335 bool temp6
= false ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 PyObject
* obj2
= 0 ;
21339 PyObject
* obj3
= 0 ;
21340 PyObject
* obj4
= 0 ;
21341 PyObject
* obj5
= 0 ;
21342 char * kwnames
[] = {
21343 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21348 if (!SWIG_IsOK(res1
)) {
21349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21351 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21353 if (!SWIG_IsOK(ecode2
)) {
21354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21356 arg2
= static_cast< int >(val2
);
21360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21366 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21370 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21371 if (!SWIG_IsOK(ecode5
)) {
21372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21374 arg5
= static_cast< long >(val5
);
21378 arg6
= wxString_in_helper(obj5
);
21379 if (arg6
== NULL
) SWIG_fail
;
21384 if (!wxPyCheckForApp()) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21405 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21406 PyObject
*resultobj
= 0;
21407 wxTreebook
*result
= 0 ;
21409 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21411 if (!wxPyCheckForApp()) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (wxTreebook
*)new wxTreebook();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21424 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
= 0;
21426 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21427 wxWindow
*arg2
= (wxWindow
*) 0 ;
21429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21433 long arg6
= (long) wxBK_DEFAULT
;
21434 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21435 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21447 bool temp7
= false ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 PyObject
* obj2
= 0 ;
21451 PyObject
* obj3
= 0 ;
21452 PyObject
* obj4
= 0 ;
21453 PyObject
* obj5
= 0 ;
21454 PyObject
* obj6
= 0 ;
21455 char * kwnames
[] = {
21456 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21464 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21466 if (!SWIG_IsOK(res2
)) {
21467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21469 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21471 if (!SWIG_IsOK(ecode3
)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21474 arg3
= static_cast< int >(val3
);
21478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21488 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21489 if (!SWIG_IsOK(ecode6
)) {
21490 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21492 arg6
= static_cast< long >(val6
);
21496 arg7
= wxString_in_helper(obj6
);
21497 if (arg7
== NULL
) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21524 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
= 0;
21526 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21528 wxWindow
*arg3
= (wxWindow
*) 0 ;
21529 wxString
*arg4
= 0 ;
21530 bool arg5
= (bool) false ;
21531 int arg6
= (int) wxNOT_FOUND
;
21539 bool temp4
= false ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 PyObject
* obj2
= 0 ;
21547 PyObject
* obj3
= 0 ;
21548 PyObject
* obj4
= 0 ;
21549 PyObject
* obj5
= 0 ;
21550 char * kwnames
[] = {
21551 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21556 if (!SWIG_IsOK(res1
)) {
21557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21559 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21560 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21561 if (!SWIG_IsOK(ecode2
)) {
21562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21564 arg2
= static_cast< size_t >(val2
);
21565 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21566 if (!SWIG_IsOK(res3
)) {
21567 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21569 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21571 arg4
= wxString_in_helper(obj3
);
21572 if (arg4
== NULL
) SWIG_fail
;
21576 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21577 if (!SWIG_IsOK(ecode5
)) {
21578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21580 arg5
= static_cast< bool >(val5
);
21583 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21584 if (!SWIG_IsOK(ecode6
)) {
21585 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21587 arg6
= static_cast< int >(val6
);
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21612 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
= 0;
21614 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21615 wxWindow
*arg2
= (wxWindow
*) 0 ;
21616 wxString
*arg3
= 0 ;
21617 bool arg4
= (bool) false ;
21618 int arg5
= (int) wxNOT_FOUND
;
21624 bool temp3
= false ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 PyObject
* obj2
= 0 ;
21632 PyObject
* obj3
= 0 ;
21633 PyObject
* obj4
= 0 ;
21634 char * kwnames
[] = {
21635 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21643 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21645 if (!SWIG_IsOK(res2
)) {
21646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21648 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21650 arg3
= wxString_in_helper(obj2
);
21651 if (arg3
== NULL
) SWIG_fail
;
21655 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21656 if (!SWIG_IsOK(ecode4
)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21659 arg4
= static_cast< bool >(val4
);
21662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21663 if (!SWIG_IsOK(ecode5
)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21666 arg5
= static_cast< int >(val5
);
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21691 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
= 0;
21693 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char * kwnames
[] = {
21703 (char *) "self",(char *) "pos", NULL
21706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21711 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21712 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21713 if (!SWIG_IsOK(ecode2
)) {
21714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21716 arg2
= static_cast< size_t >(val2
);
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21732 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
= 0;
21734 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21736 bool arg3
= (bool) true ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "self",(char *) "pos",(char *) "expand", NULL
21751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21753 if (!SWIG_IsOK(res1
)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21756 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21757 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21758 if (!SWIG_IsOK(ecode2
)) {
21759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21761 arg2
= static_cast< size_t >(val2
);
21763 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21764 if (!SWIG_IsOK(ecode3
)) {
21765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21767 arg3
= static_cast< bool >(val3
);
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
= 0;
21786 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 char * kwnames
[] = {
21796 (char *) "self",(char *) "pos", NULL
21799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21801 if (!SWIG_IsOK(res1
)) {
21802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21804 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21805 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21806 if (!SWIG_IsOK(ecode2
)) {
21807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21809 arg2
= static_cast< size_t >(val2
);
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= (bool)(arg1
)->CollapseNode(arg2
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21825 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
= 0;
21827 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char * kwnames
[] = {
21837 (char *) "self",(char *) "pos", NULL
21840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21842 if (!SWIG_IsOK(res1
)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21845 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21846 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21847 if (!SWIG_IsOK(ecode2
)) {
21848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21850 arg2
= static_cast< size_t >(val2
);
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_From_int(static_cast< int >(result
));
21864 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21865 PyObject
*resultobj
= 0;
21866 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21867 wxTreeCtrl
*result
= 0 ;
21870 PyObject
*swig_obj
[1] ;
21872 if (!args
) SWIG_fail
;
21873 swig_obj
[0] = args
;
21874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21875 if (!SWIG_IsOK(res1
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21878 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21892 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21895 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21896 return SWIG_Py_Void();
21899 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21900 return SWIG_Python_InitShadowInstance(args
);
21903 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
= 0;
21905 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21906 int arg2
= (int) 0 ;
21907 int arg3
= (int) wxNOT_FOUND
;
21908 int arg4
= (int) wxNOT_FOUND
;
21909 wxTreebookEvent
*result
= 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 PyObject
* obj2
= 0 ;
21921 PyObject
* obj3
= 0 ;
21922 char * kwnames
[] = {
21923 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21929 if (!SWIG_IsOK(ecode1
)) {
21930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21932 arg1
= static_cast< wxEventType
>(val1
);
21935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21936 if (!SWIG_IsOK(ecode2
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21939 arg2
= static_cast< int >(val2
);
21942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21943 if (!SWIG_IsOK(ecode3
)) {
21944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21946 arg3
= static_cast< int >(val3
);
21949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21950 if (!SWIG_IsOK(ecode4
)) {
21951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21953 arg4
= static_cast< int >(val4
);
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21968 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21971 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21972 return SWIG_Py_Void();
21975 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21976 return SWIG_Python_InitShadowInstance(args
);
21979 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
= 0;
21981 wxWindow
*arg1
= (wxWindow
*) 0 ;
21983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21985 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21986 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21987 long arg5
= (long) wxBK_DEFAULT
;
21988 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21989 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21990 wxToolbook
*result
= 0 ;
21999 bool temp6
= false ;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 PyObject
* obj2
= 0 ;
22003 PyObject
* obj3
= 0 ;
22004 PyObject
* obj4
= 0 ;
22005 PyObject
* obj5
= 0 ;
22006 char * kwnames
[] = {
22007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22012 if (!SWIG_IsOK(res1
)) {
22013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22017 if (!SWIG_IsOK(ecode2
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22020 arg2
= static_cast< int >(val2
);
22024 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22030 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22034 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22035 if (!SWIG_IsOK(ecode5
)) {
22036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22038 arg5
= static_cast< long >(val5
);
22042 arg6
= wxString_in_helper(obj5
);
22043 if (arg6
== NULL
) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22068 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22069 PyObject
*resultobj
= 0;
22070 wxToolbook
*result
= 0 ;
22072 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (wxToolbook
*)new wxToolbook();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22086 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
= 0;
22088 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22089 wxWindow
*arg2
= (wxWindow
*) 0 ;
22091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22095 long arg6
= (long) 0 ;
22096 wxString
const &arg7_defvalue
= wxEmptyString
;
22097 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22109 bool temp7
= false ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 PyObject
* obj3
= 0 ;
22114 PyObject
* obj4
= 0 ;
22115 PyObject
* obj5
= 0 ;
22116 PyObject
* obj6
= 0 ;
22117 char * kwnames
[] = {
22118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22123 if (!SWIG_IsOK(res1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22126 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22128 if (!SWIG_IsOK(res2
)) {
22129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22133 if (!SWIG_IsOK(ecode3
)) {
22134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22136 arg3
= static_cast< int >(val3
);
22140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22150 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22151 if (!SWIG_IsOK(ecode6
)) {
22152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22154 arg6
= static_cast< long >(val6
);
22158 arg7
= wxString_in_helper(obj6
);
22159 if (arg7
== NULL
) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22186 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22187 PyObject
*resultobj
= 0;
22188 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22189 wxToolBarBase
*result
= 0 ;
22192 PyObject
*swig_obj
[1] ;
22194 if (!args
) SWIG_fail
;
22195 swig_obj
[0] = args
;
22196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22200 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22216 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22217 PyObject
*resultobj
= 0;
22218 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22221 PyObject
*swig_obj
[1] ;
22223 if (!args
) SWIG_fail
;
22224 swig_obj
[0] = args
;
22225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22229 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= SWIG_Py_Void();
22243 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22246 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22247 return SWIG_Py_Void();
22250 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 return SWIG_Python_InitShadowInstance(args
);
22254 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= 0;
22256 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22257 int arg2
= (int) 0 ;
22258 int arg3
= (int) wxNOT_FOUND
;
22259 int arg4
= (int) wxNOT_FOUND
;
22260 wxToolbookEvent
*result
= 0 ;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 PyObject
* obj2
= 0 ;
22272 PyObject
* obj3
= 0 ;
22273 char * kwnames
[] = {
22274 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22279 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22280 if (!SWIG_IsOK(ecode1
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22283 arg1
= static_cast< wxEventType
>(val1
);
22286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22287 if (!SWIG_IsOK(ecode2
)) {
22288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22290 arg2
= static_cast< int >(val2
);
22293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22294 if (!SWIG_IsOK(ecode3
)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22297 arg3
= static_cast< int >(val3
);
22300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22301 if (!SWIG_IsOK(ecode4
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22304 arg4
= static_cast< int >(val4
);
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22319 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22322 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22323 return SWIG_Py_Void();
22326 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22327 return SWIG_Python_InitShadowInstance(args
);
22330 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22331 PyObject
*resultobj
= 0;
22332 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22336 PyObject
*swig_obj
[1] ;
22338 if (!args
) SWIG_fail
;
22339 swig_obj
[0] = args
;
22340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22341 if (!SWIG_IsOK(res1
)) {
22342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22344 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (int)(arg1
)->GetId();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_From_int(static_cast< int >(result
));
22358 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22359 PyObject
*resultobj
= 0;
22360 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22361 wxControl
*result
= 0 ;
22364 PyObject
*swig_obj
[1] ;
22366 if (!args
) SWIG_fail
;
22367 swig_obj
[0] = args
;
22368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22372 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= (wxControl
*)(arg1
)->GetControl();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= wxPyMake_wxObject(result
, 0);
22388 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22389 PyObject
*resultobj
= 0;
22390 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22391 wxToolBarBase
*result
= 0 ;
22394 PyObject
*swig_obj
[1] ;
22396 if (!args
) SWIG_fail
;
22397 swig_obj
[0] = args
;
22398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22402 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22418 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22419 PyObject
*resultobj
= 0;
22420 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22424 PyObject
*swig_obj
[1] ;
22426 if (!args
) SWIG_fail
;
22427 swig_obj
[0] = args
;
22428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22429 if (!SWIG_IsOK(res1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22432 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= (int)(arg1
)->IsButton();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= SWIG_From_int(static_cast< int >(result
));
22446 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22447 PyObject
*resultobj
= 0;
22448 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22452 PyObject
*swig_obj
[1] ;
22454 if (!args
) SWIG_fail
;
22455 swig_obj
[0] = args
;
22456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22457 if (!SWIG_IsOK(res1
)) {
22458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22460 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (int)(arg1
)->IsControl();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_From_int(static_cast< int >(result
));
22474 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 PyObject
*resultobj
= 0;
22476 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22480 PyObject
*swig_obj
[1] ;
22482 if (!args
) SWIG_fail
;
22483 swig_obj
[0] = args
;
22484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22485 if (!SWIG_IsOK(res1
)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22488 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (int)(arg1
)->IsSeparator();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= SWIG_From_int(static_cast< int >(result
));
22502 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22503 PyObject
*resultobj
= 0;
22504 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22508 PyObject
*swig_obj
[1] ;
22510 if (!args
) SWIG_fail
;
22511 swig_obj
[0] = args
;
22512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22513 if (!SWIG_IsOK(res1
)) {
22514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22516 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= (int)(arg1
)->GetStyle();
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= SWIG_From_int(static_cast< int >(result
));
22530 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22531 PyObject
*resultobj
= 0;
22532 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22536 PyObject
*swig_obj
[1] ;
22538 if (!args
) SWIG_fail
;
22539 swig_obj
[0] = args
;
22540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22541 if (!SWIG_IsOK(res1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22544 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 result
= (wxItemKind
)(arg1
)->GetKind();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_From_int(static_cast< int >(result
));
22558 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22559 PyObject
*resultobj
= 0;
22560 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22564 PyObject
*swig_obj
[1] ;
22566 if (!args
) SWIG_fail
;
22567 swig_obj
[0] = args
;
22568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22572 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (bool)(arg1
)->IsEnabled();
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22588 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 PyObject
*resultobj
= 0;
22590 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22594 PyObject
*swig_obj
[1] ;
22596 if (!args
) SWIG_fail
;
22597 swig_obj
[0] = args
;
22598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22602 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= (bool)(arg1
)->IsToggled();
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22618 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22619 PyObject
*resultobj
= 0;
22620 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22624 PyObject
*swig_obj
[1] ;
22626 if (!args
) SWIG_fail
;
22627 swig_obj
[0] = args
;
22628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22629 if (!SWIG_IsOK(res1
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22632 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (bool)(arg1
)->CanBeToggled();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22648 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22649 PyObject
*resultobj
= 0;
22650 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22651 wxBitmap
*result
= 0 ;
22654 PyObject
*swig_obj
[1] ;
22656 if (!args
) SWIG_fail
;
22657 swig_obj
[0] = args
;
22658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22659 if (!SWIG_IsOK(res1
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22662 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22667 result
= (wxBitmap
*) &_result_ref
;
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 wxBitmap
* resultptr
= new wxBitmap(*result
);
22674 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22682 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22685 wxBitmap
*result
= 0 ;
22688 PyObject
*swig_obj
[1] ;
22690 if (!args
) SWIG_fail
;
22691 swig_obj
[0] = args
;
22692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22696 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22701 result
= (wxBitmap
*) &_result_ref
;
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 wxBitmap
* resultptr
= new wxBitmap(*result
);
22708 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22716 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22717 PyObject
*resultobj
= 0;
22718 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22722 PyObject
*swig_obj
[1] ;
22724 if (!args
) SWIG_fail
;
22725 swig_obj
[0] = args
;
22726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22727 if (!SWIG_IsOK(res1
)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22730 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (arg1
)->GetBitmap();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22744 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22745 PyObject
*resultobj
= 0;
22746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22750 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22758 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= (arg1
)->GetLabel();
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22778 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22779 PyObject
*resultobj
= 0;
22780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22784 PyObject
*swig_obj
[1] ;
22786 if (!args
) SWIG_fail
;
22787 swig_obj
[0] = args
;
22788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22789 if (!SWIG_IsOK(res1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22792 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (arg1
)->GetShortHelp();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22812 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22813 PyObject
*resultobj
= 0;
22814 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22818 PyObject
*swig_obj
[1] ;
22820 if (!args
) SWIG_fail
;
22821 swig_obj
[0] = args
;
22822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22826 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= (arg1
)->GetLongHelp();
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22846 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
= 0;
22848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char * kwnames
[] = {
22858 (char *) "self",(char *) "enable", NULL
22861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22866 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22867 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22868 if (!SWIG_IsOK(ecode2
)) {
22869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22871 arg2
= static_cast< bool >(val2
);
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (bool)(arg1
)->Enable(arg2
);
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22887 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22888 PyObject
*resultobj
= 0;
22889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22892 PyObject
*swig_obj
[1] ;
22894 if (!args
) SWIG_fail
;
22895 swig_obj
[0] = args
;
22896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22897 if (!SWIG_IsOK(res1
)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22900 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_Py_Void();
22914 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
= 0;
22916 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 char * kwnames
[] = {
22926 (char *) "self",(char *) "toggle", NULL
22929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22934 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22936 if (!SWIG_IsOK(ecode2
)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22939 arg2
= static_cast< bool >(val2
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (bool)(arg1
)->SetToggle(arg2
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22955 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
= 0;
22957 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22958 wxString
*arg2
= 0 ;
22962 bool temp2
= false ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char * kwnames
[] = {
22966 (char *) "self",(char *) "help", NULL
22969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22974 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22976 arg2
= wxString_in_helper(obj1
);
22977 if (arg2
== NULL
) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23003 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
= 0;
23005 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23006 wxString
*arg2
= 0 ;
23010 bool temp2
= false ;
23011 PyObject
* obj0
= 0 ;
23012 PyObject
* obj1
= 0 ;
23013 char * kwnames
[] = {
23014 (char *) "self",(char *) "help", NULL
23017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23022 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23024 arg2
= wxString_in_helper(obj1
);
23025 if (arg2
== NULL
) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23051 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
= 0;
23053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23054 wxBitmap
*arg2
= 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char * kwnames
[] = {
23062 (char *) "self",(char *) "bmp", NULL
23065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23070 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23072 if (!SWIG_IsOK(res2
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23078 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_Py_Void();
23092 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
= 0;
23094 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23095 wxBitmap
*arg2
= 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char * kwnames
[] = {
23103 (char *) "self",(char *) "bmp", NULL
23106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23108 if (!SWIG_IsOK(res1
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23111 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23113 if (!SWIG_IsOK(res2
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23119 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_Py_Void();
23133 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
= 0;
23135 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23136 wxString
*arg2
= 0 ;
23139 bool temp2
= false ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "self",(char *) "label", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23151 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23153 arg2
= wxString_in_helper(obj1
);
23154 if (arg2
== NULL
) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 (arg1
)->SetLabel((wxString
const &)*arg2
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_Py_Void();
23178 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23179 PyObject
*resultobj
= 0;
23180 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23183 PyObject
*swig_obj
[1] ;
23185 if (!args
) SWIG_fail
;
23186 swig_obj
[0] = args
;
23187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23191 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_Py_Void();
23205 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= 0;
23207 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23208 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23213 PyObject
* obj0
= 0 ;
23214 PyObject
* obj1
= 0 ;
23215 char * kwnames
[] = {
23216 (char *) "self",(char *) "tbar", NULL
23219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23221 if (!SWIG_IsOK(res1
)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23224 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23226 if (!SWIG_IsOK(res2
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23229 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 (arg1
)->Attach(arg2
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_Py_Void();
23243 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23244 PyObject
*resultobj
= 0;
23245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23246 PyObject
*result
= 0 ;
23249 PyObject
*swig_obj
[1] ;
23251 if (!args
) SWIG_fail
;
23252 swig_obj
[0] = args
;
23253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23254 if (!SWIG_IsOK(res1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23257 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= result
;
23271 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
= 0;
23273 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23274 PyObject
*arg2
= (PyObject
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 char * kwnames
[] = {
23280 (char *) "self",(char *) "clientData", NULL
23283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23285 if (!SWIG_IsOK(res1
)) {
23286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23288 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_Py_Void();
23303 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23306 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23307 return SWIG_Py_Void();
23310 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
= 0;
23312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23314 wxString
*arg3
= 0 ;
23315 wxBitmap
*arg4
= 0 ;
23316 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23317 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23318 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23319 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23320 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23321 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23322 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23323 PyObject
*arg9
= (PyObject
*) NULL
;
23324 wxToolBarToolBase
*result
= 0 ;
23329 bool temp3
= false ;
23336 bool temp7
= false ;
23337 bool temp8
= false ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 PyObject
* obj2
= 0 ;
23341 PyObject
* obj3
= 0 ;
23342 PyObject
* obj4
= 0 ;
23343 PyObject
* obj5
= 0 ;
23344 PyObject
* obj6
= 0 ;
23345 PyObject
* obj7
= 0 ;
23346 PyObject
* obj8
= 0 ;
23347 char * kwnames
[] = {
23348 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23353 if (!SWIG_IsOK(res1
)) {
23354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23356 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23358 if (!SWIG_IsOK(ecode2
)) {
23359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23361 arg2
= static_cast< int >(val2
);
23363 arg3
= wxString_in_helper(obj2
);
23364 if (arg3
== NULL
) SWIG_fail
;
23367 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23368 if (!SWIG_IsOK(res4
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23374 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23376 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23377 if (!SWIG_IsOK(res5
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23383 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23386 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23387 if (!SWIG_IsOK(ecode6
)) {
23388 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23390 arg6
= static_cast< wxItemKind
>(val6
);
23394 arg7
= wxString_in_helper(obj6
);
23395 if (arg7
== NULL
) SWIG_fail
;
23401 arg8
= wxString_in_helper(obj7
);
23402 if (arg8
== NULL
) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23448 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
= 0;
23450 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23453 wxString
*arg4
= 0 ;
23454 wxBitmap
*arg5
= 0 ;
23455 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23456 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23457 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23458 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23459 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23460 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23461 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23462 PyObject
*arg10
= (PyObject
*) NULL
;
23463 wxToolBarToolBase
*result
= 0 ;
23470 bool temp4
= false ;
23477 bool temp8
= false ;
23478 bool temp9
= false ;
23479 PyObject
* obj0
= 0 ;
23480 PyObject
* obj1
= 0 ;
23481 PyObject
* obj2
= 0 ;
23482 PyObject
* obj3
= 0 ;
23483 PyObject
* obj4
= 0 ;
23484 PyObject
* obj5
= 0 ;
23485 PyObject
* obj6
= 0 ;
23486 PyObject
* obj7
= 0 ;
23487 PyObject
* obj8
= 0 ;
23488 PyObject
* obj9
= 0 ;
23489 char * kwnames
[] = {
23490 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23495 if (!SWIG_IsOK(res1
)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23498 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23499 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23500 if (!SWIG_IsOK(ecode2
)) {
23501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23503 arg2
= static_cast< size_t >(val2
);
23504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23505 if (!SWIG_IsOK(ecode3
)) {
23506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23508 arg3
= static_cast< int >(val3
);
23510 arg4
= wxString_in_helper(obj3
);
23511 if (arg4
== NULL
) SWIG_fail
;
23514 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23515 if (!SWIG_IsOK(res5
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23521 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23523 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23524 if (!SWIG_IsOK(res6
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23530 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23533 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23534 if (!SWIG_IsOK(ecode7
)) {
23535 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23537 arg7
= static_cast< wxItemKind
>(val7
);
23541 arg8
= wxString_in_helper(obj7
);
23542 if (arg8
== NULL
) SWIG_fail
;
23548 arg9
= wxString_in_helper(obj8
);
23549 if (arg9
== NULL
) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23595 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
= 0;
23597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23598 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23599 wxToolBarToolBase
*result
= 0 ;
23604 PyObject
* obj0
= 0 ;
23605 PyObject
* obj1
= 0 ;
23606 char * kwnames
[] = {
23607 (char *) "self",(char *) "tool", NULL
23610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23612 if (!SWIG_IsOK(res1
)) {
23613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23615 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23617 if (!SWIG_IsOK(res2
)) {
23618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23620 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23636 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
= 0;
23638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23640 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23641 wxToolBarToolBase
*result
= 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 PyObject
* obj2
= 0 ;
23651 char * kwnames
[] = {
23652 (char *) "self",(char *) "pos",(char *) "tool", NULL
23655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23657 if (!SWIG_IsOK(res1
)) {
23658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23660 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23661 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23662 if (!SWIG_IsOK(ecode2
)) {
23663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23665 arg2
= static_cast< size_t >(val2
);
23666 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23667 if (!SWIG_IsOK(res3
)) {
23668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23670 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23686 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
= 0;
23688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23689 wxControl
*arg2
= (wxControl
*) 0 ;
23690 wxToolBarToolBase
*result
= 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 char * kwnames
[] = {
23698 (char *) "self",(char *) "control", NULL
23701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23703 if (!SWIG_IsOK(res1
)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23706 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23708 if (!SWIG_IsOK(res2
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23711 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23727 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
= 0;
23729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23731 wxControl
*arg3
= (wxControl
*) 0 ;
23732 wxToolBarToolBase
*result
= 0 ;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 PyObject
* obj2
= 0 ;
23742 char * kwnames
[] = {
23743 (char *) "self",(char *) "pos",(char *) "control", NULL
23746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23748 if (!SWIG_IsOK(res1
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23751 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23752 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23753 if (!SWIG_IsOK(ecode2
)) {
23754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23756 arg2
= static_cast< size_t >(val2
);
23757 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23758 if (!SWIG_IsOK(res3
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23761 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23777 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
= 0;
23779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23781 wxControl
*result
= 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char * kwnames
[] = {
23789 (char *) "self",(char *) "id", NULL
23792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23794 if (!SWIG_IsOK(res1
)) {
23795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23797 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23799 if (!SWIG_IsOK(ecode2
)) {
23800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23802 arg2
= static_cast< int >(val2
);
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= wxPyMake_wxObject(result
, 0);
23818 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23819 PyObject
*resultobj
= 0;
23820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23821 wxToolBarToolBase
*result
= 0 ;
23824 PyObject
*swig_obj
[1] ;
23826 if (!args
) SWIG_fail
;
23827 swig_obj
[0] = args
;
23828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23832 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23848 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
= 0;
23850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23852 wxToolBarToolBase
*result
= 0 ;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23859 char * kwnames
[] = {
23860 (char *) "self",(char *) "pos", NULL
23863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23868 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23869 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23870 if (!SWIG_IsOK(ecode2
)) {
23871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23873 arg2
= static_cast< size_t >(val2
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23889 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
= 0;
23891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23893 wxToolBarToolBase
*result
= 0 ;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 char * kwnames
[] = {
23901 (char *) "self",(char *) "id", NULL
23904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23909 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23911 if (!SWIG_IsOK(ecode2
)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23914 arg2
= static_cast< int >(val2
);
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23930 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
= 0;
23932 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "pos", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23950 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23951 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23952 if (!SWIG_IsOK(ecode2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23955 arg2
= static_cast< size_t >(val2
);
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23971 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
= 0;
23973 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char * kwnames
[] = {
23983 (char *) "self",(char *) "id", NULL
23986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23991 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23993 if (!SWIG_IsOK(ecode2
)) {
23994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23996 arg2
= static_cast< int >(val2
);
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= (bool)(arg1
)->DeleteTool(arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24012 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24013 PyObject
*resultobj
= 0;
24014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24017 PyObject
*swig_obj
[1] ;
24019 if (!args
) SWIG_fail
;
24020 swig_obj
[0] = args
;
24021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24025 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->ClearTools();
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= SWIG_Py_Void();
24039 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24040 PyObject
*resultobj
= 0;
24041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24045 PyObject
*swig_obj
[1] ;
24047 if (!args
) SWIG_fail
;
24048 swig_obj
[0] = args
;
24049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24050 if (!SWIG_IsOK(res1
)) {
24051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24053 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)(arg1
)->Realize();
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24069 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
= 0;
24071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 PyObject
* obj2
= 0 ;
24083 char * kwnames
[] = {
24084 (char *) "self",(char *) "id",(char *) "enable", NULL
24087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24089 if (!SWIG_IsOK(res1
)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24092 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24094 if (!SWIG_IsOK(ecode2
)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24097 arg2
= static_cast< int >(val2
);
24098 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24099 if (!SWIG_IsOK(ecode3
)) {
24100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24102 arg3
= static_cast< bool >(val3
);
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 (arg1
)->EnableTool(arg2
,arg3
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= SWIG_Py_Void();
24116 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
= 0;
24118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 PyObject
* obj2
= 0 ;
24130 char * kwnames
[] = {
24131 (char *) "self",(char *) "id",(char *) "toggle", NULL
24134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24139 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24141 if (!SWIG_IsOK(ecode2
)) {
24142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24144 arg2
= static_cast< int >(val2
);
24145 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24146 if (!SWIG_IsOK(ecode3
)) {
24147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24149 arg3
= static_cast< bool >(val3
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 (arg1
)->ToggleTool(arg2
,arg3
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_Py_Void();
24163 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
= 0;
24165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 PyObject
* obj2
= 0 ;
24177 char * kwnames
[] = {
24178 (char *) "self",(char *) "id",(char *) "toggle", NULL
24181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24183 if (!SWIG_IsOK(res1
)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24186 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24188 if (!SWIG_IsOK(ecode2
)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24191 arg2
= static_cast< int >(val2
);
24192 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24193 if (!SWIG_IsOK(ecode3
)) {
24194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24196 arg3
= static_cast< bool >(val3
);
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 (arg1
)->SetToggle(arg2
,arg3
);
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= SWIG_Py_Void();
24210 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
= 0;
24212 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24214 PyObject
*result
= 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char * kwnames
[] = {
24222 (char *) "self",(char *) "id", NULL
24225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24227 if (!SWIG_IsOK(res1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24230 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24232 if (!SWIG_IsOK(ecode2
)) {
24233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24235 arg2
= static_cast< int >(val2
);
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= result
;
24249 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
= 0;
24251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24253 PyObject
*arg3
= (PyObject
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 PyObject
* obj2
= 0 ;
24261 char * kwnames
[] = {
24262 (char *) "self",(char *) "id",(char *) "clientData", NULL
24265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24267 if (!SWIG_IsOK(res1
)) {
24268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24270 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24272 if (!SWIG_IsOK(ecode2
)) {
24273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24275 arg2
= static_cast< int >(val2
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_Py_Void();
24290 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 char * kwnames
[] = {
24302 (char *) "self",(char *) "id", NULL
24305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24307 if (!SWIG_IsOK(res1
)) {
24308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24310 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24312 if (!SWIG_IsOK(ecode2
)) {
24313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24315 arg2
= static_cast< int >(val2
);
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24322 resultobj
= SWIG_From_int(static_cast< int >(result
));
24329 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24330 PyObject
*resultobj
= 0;
24331 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char * kwnames
[] = {
24341 (char *) "self",(char *) "id", NULL
24344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24349 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24351 if (!SWIG_IsOK(ecode2
)) {
24352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24354 arg2
= static_cast< int >(val2
);
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (bool)(arg1
)->GetToolState(arg2
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24370 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
= 0;
24372 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 char * kwnames
[] = {
24382 (char *) "self",(char *) "id", NULL
24385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24390 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24392 if (!SWIG_IsOK(ecode2
)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24395 arg2
= static_cast< int >(val2
);
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24411 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
= 0;
24413 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24415 wxString
*arg3
= 0 ;
24420 bool temp3
= false ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 char * kwnames
[] = {
24425 (char *) "self",(char *) "id",(char *) "helpString", NULL
24428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24430 if (!SWIG_IsOK(res1
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24433 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24435 if (!SWIG_IsOK(ecode2
)) {
24436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24438 arg2
= static_cast< int >(val2
);
24440 arg3
= wxString_in_helper(obj2
);
24441 if (arg3
== NULL
) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= SWIG_Py_Void();
24465 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
= 0;
24467 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char * kwnames
[] = {
24477 (char *) "self",(char *) "id", NULL
24480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24482 if (!SWIG_IsOK(res1
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24485 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24487 if (!SWIG_IsOK(ecode2
)) {
24488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24490 arg2
= static_cast< int >(val2
);
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (arg1
)->GetToolShortHelp(arg2
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24510 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= 0;
24512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24514 wxString
*arg3
= 0 ;
24519 bool temp3
= false ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 PyObject
* obj2
= 0 ;
24523 char * kwnames
[] = {
24524 (char *) "self",(char *) "id",(char *) "helpString", NULL
24527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24529 if (!SWIG_IsOK(res1
)) {
24530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24532 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24534 if (!SWIG_IsOK(ecode2
)) {
24535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24537 arg2
= static_cast< int >(val2
);
24539 arg3
= wxString_in_helper(obj2
);
24540 if (arg3
== NULL
) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_Py_Void();
24564 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char * kwnames
[] = {
24576 (char *) "self",(char *) "id", NULL
24579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24581 if (!SWIG_IsOK(res1
)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24584 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24586 if (!SWIG_IsOK(ecode2
)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24589 arg2
= static_cast< int >(val2
);
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (arg1
)->GetToolLongHelp(arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24609 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
= 0;
24611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 PyObject
* obj2
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "x",(char *) "y", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24632 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24634 if (!SWIG_IsOK(ecode2
)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24637 arg2
= static_cast< int >(val2
);
24638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24639 if (!SWIG_IsOK(ecode3
)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24642 arg3
= static_cast< int >(val3
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->SetMargins(arg2
,arg3
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_Py_Void();
24656 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
= 0;
24658 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 char * kwnames
[] = {
24666 (char *) "self",(char *) "size", NULL
24669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24674 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24677 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= SWIG_Py_Void();
24692 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
= 0;
24694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char * kwnames
[] = {
24703 (char *) "self",(char *) "packing", NULL
24706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24711 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24713 if (!SWIG_IsOK(ecode2
)) {
24714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24716 arg2
= static_cast< int >(val2
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 (arg1
)->SetToolPacking(arg2
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_Py_Void();
24730 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= 0;
24732 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "self",(char *) "separation", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24749 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24751 if (!SWIG_IsOK(ecode2
)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24754 arg2
= static_cast< int >(val2
);
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 (arg1
)->SetToolSeparation(arg2
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_Py_Void();
24768 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24769 PyObject
*resultobj
= 0;
24770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24774 PyObject
*swig_obj
[1] ;
24776 if (!args
) SWIG_fail
;
24777 swig_obj
[0] = args
;
24778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24779 if (!SWIG_IsOK(res1
)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24782 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (arg1
)->GetToolMargins();
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24796 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24797 PyObject
*resultobj
= 0;
24798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24802 PyObject
*swig_obj
[1] ;
24804 if (!args
) SWIG_fail
;
24805 swig_obj
[0] = args
;
24806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24810 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (arg1
)->GetMargins();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24824 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 PyObject
*resultobj
= 0;
24826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24830 PyObject
*swig_obj
[1] ;
24832 if (!args
) SWIG_fail
;
24833 swig_obj
[0] = args
;
24834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24838 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (int)(arg1
)->GetToolPacking();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_From_int(static_cast< int >(result
));
24852 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24853 PyObject
*resultobj
= 0;
24854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24858 PyObject
*swig_obj
[1] ;
24860 if (!args
) SWIG_fail
;
24861 swig_obj
[0] = args
;
24862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24863 if (!SWIG_IsOK(res1
)) {
24864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24866 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (int)(arg1
)->GetToolSeparation();
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_From_int(static_cast< int >(result
));
24880 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
= 0;
24882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char * kwnames
[] = {
24891 (char *) "self",(char *) "nRows", NULL
24894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24896 if (!SWIG_IsOK(res1
)) {
24897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24899 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24901 if (!SWIG_IsOK(ecode2
)) {
24902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24904 arg2
= static_cast< int >(val2
);
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->SetRows(arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= SWIG_Py_Void();
24918 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
= 0;
24920 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 PyObject
* obj2
= 0 ;
24932 char * kwnames
[] = {
24933 (char *) "self",(char *) "rows",(char *) "cols", NULL
24936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24941 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24943 if (!SWIG_IsOK(ecode2
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24946 arg2
= static_cast< int >(val2
);
24947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24948 if (!SWIG_IsOK(ecode3
)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24951 arg3
= static_cast< int >(val3
);
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= SWIG_Py_Void();
24965 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24966 PyObject
*resultobj
= 0;
24967 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24971 PyObject
*swig_obj
[1] ;
24973 if (!args
) SWIG_fail
;
24974 swig_obj
[0] = args
;
24975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24976 if (!SWIG_IsOK(res1
)) {
24977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24979 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (int)(arg1
)->GetMaxRows();
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_From_int(static_cast< int >(result
));
24993 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24994 PyObject
*resultobj
= 0;
24995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24999 PyObject
*swig_obj
[1] ;
25001 if (!args
) SWIG_fail
;
25002 swig_obj
[0] = args
;
25003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25004 if (!SWIG_IsOK(res1
)) {
25005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25007 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= (int)(arg1
)->GetMaxCols();
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= SWIG_From_int(static_cast< int >(result
));
25021 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
= 0;
25023 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25028 PyObject
* obj0
= 0 ;
25029 PyObject
* obj1
= 0 ;
25030 char * kwnames
[] = {
25031 (char *) "self",(char *) "size", NULL
25034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25036 if (!SWIG_IsOK(res1
)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25039 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_Py_Void();
25057 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25058 PyObject
*resultobj
= 0;
25059 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25063 PyObject
*swig_obj
[1] ;
25065 if (!args
) SWIG_fail
;
25066 swig_obj
[0] = args
;
25067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25071 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (arg1
)->GetToolBitmapSize();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25085 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25086 PyObject
*resultobj
= 0;
25087 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25091 PyObject
*swig_obj
[1] ;
25093 if (!args
) SWIG_fail
;
25094 swig_obj
[0] = args
;
25095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25099 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (arg1
)->GetToolSize();
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25113 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
= 0;
25115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25118 wxToolBarToolBase
*result
= 0 ;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 PyObject
* obj2
= 0 ;
25128 char * kwnames
[] = {
25129 (char *) "self",(char *) "x",(char *) "y", NULL
25132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25134 if (!SWIG_IsOK(res1
)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25137 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25139 if (!SWIG_IsOK(ecode2
)) {
25140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25142 arg2
= static_cast< int >(val2
);
25143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25144 if (!SWIG_IsOK(ecode3
)) {
25145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25147 arg3
= static_cast< int >(val3
);
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25163 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
= 0;
25165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25167 wxToolBarToolBase
*result
= 0 ;
25172 PyObject
* obj0
= 0 ;
25173 PyObject
* obj1
= 0 ;
25174 char * kwnames
[] = {
25175 (char *) "self",(char *) "toolid", NULL
25178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25180 if (!SWIG_IsOK(res1
)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25183 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25185 if (!SWIG_IsOK(ecode2
)) {
25186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25188 arg2
= static_cast< int >(val2
);
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25204 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 PyObject
*resultobj
= 0;
25206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25210 PyObject
*swig_obj
[1] ;
25212 if (!args
) SWIG_fail
;
25213 swig_obj
[0] = args
;
25214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25215 if (!SWIG_IsOK(res1
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25218 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->IsVertical();
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25234 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25235 PyObject
*resultobj
= 0;
25236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25240 PyObject
*swig_obj
[1] ;
25242 if (!args
) SWIG_fail
;
25243 swig_obj
[0] = args
;
25244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25248 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25262 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25265 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25266 return SWIG_Py_Void();
25269 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= 0;
25271 wxWindow
*arg1
= (wxWindow
*) 0 ;
25272 int arg2
= (int) -1 ;
25273 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25274 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25275 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25276 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25277 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25278 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25279 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25280 wxToolBar
*result
= 0 ;
25289 bool temp6
= false ;
25290 PyObject
* obj0
= 0 ;
25291 PyObject
* obj1
= 0 ;
25292 PyObject
* obj2
= 0 ;
25293 PyObject
* obj3
= 0 ;
25294 PyObject
* obj4
= 0 ;
25295 PyObject
* obj5
= 0 ;
25296 char * kwnames
[] = {
25297 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25308 if (!SWIG_IsOK(ecode2
)) {
25309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25311 arg2
= static_cast< int >(val2
);
25316 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25322 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25326 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25327 if (!SWIG_IsOK(ecode5
)) {
25328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25330 arg5
= static_cast< long >(val5
);
25334 arg6
= wxString_in_helper(obj5
);
25335 if (arg6
== NULL
) SWIG_fail
;
25340 if (!wxPyCheckForApp()) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25361 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25362 PyObject
*resultobj
= 0;
25363 wxToolBar
*result
= 0 ;
25365 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25367 if (!wxPyCheckForApp()) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 result
= (wxToolBar
*)new wxToolBar();
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25380 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
= 0;
25382 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25383 wxWindow
*arg2
= (wxWindow
*) 0 ;
25384 int arg3
= (int) -1 ;
25385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25389 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25390 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25391 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25403 bool temp7
= false ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 PyObject
* obj2
= 0 ;
25407 PyObject
* obj3
= 0 ;
25408 PyObject
* obj4
= 0 ;
25409 PyObject
* obj5
= 0 ;
25410 PyObject
* obj6
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25420 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25422 if (!SWIG_IsOK(res2
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25428 if (!SWIG_IsOK(ecode3
)) {
25429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25431 arg3
= static_cast< int >(val3
);
25436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25446 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25447 if (!SWIG_IsOK(ecode6
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25450 arg6
= static_cast< long >(val6
);
25454 arg7
= wxString_in_helper(obj6
);
25455 if (arg7
== NULL
) SWIG_fail
;
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25482 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
= 0;
25484 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25485 SwigValueWrapper
<wxVisualAttributes
> result
;
25488 PyObject
* obj0
= 0 ;
25489 char * kwnames
[] = {
25490 (char *) "variant", NULL
25493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25495 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25496 if (!SWIG_IsOK(ecode1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25499 arg1
= static_cast< wxWindowVariant
>(val1
);
25502 if (!wxPyCheckForApp()) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25515 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25518 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25519 return SWIG_Py_Void();
25522 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 return SWIG_Python_InitShadowInstance(args
);
25526 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25527 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25532 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25533 PyObject
*pyobj
= 0;
25537 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25539 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25546 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
= 0;
25548 wxColour
const &arg1_defvalue
= wxNullColour
;
25549 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25550 wxColour
const &arg2_defvalue
= wxNullColour
;
25551 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25552 wxFont
const &arg3_defvalue
= wxNullFont
;
25553 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25554 wxListItemAttr
*result
= 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 PyObject
* obj2
= 0 ;
25562 char * kwnames
[] = {
25563 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25570 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25580 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25581 if (!SWIG_IsOK(res3
)) {
25582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25587 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25602 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25603 PyObject
*resultobj
= 0;
25604 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25607 PyObject
*swig_obj
[1] ;
25609 if (!args
) SWIG_fail
;
25610 swig_obj
[0] = args
;
25611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25612 if (!SWIG_IsOK(res1
)) {
25613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25615 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= SWIG_Py_Void();
25630 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
= 0;
25632 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25633 wxColour
*arg2
= 0 ;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 char * kwnames
[] = {
25640 (char *) "self",(char *) "colText", NULL
25643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25645 if (!SWIG_IsOK(res1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25648 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_Py_Void();
25666 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
= 0;
25668 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25669 wxColour
*arg2
= 0 ;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 char * kwnames
[] = {
25676 (char *) "self",(char *) "colBack", NULL
25679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25681 if (!SWIG_IsOK(res1
)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25684 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25687 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_Py_Void();
25702 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
= 0;
25704 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 char * kwnames
[] = {
25713 (char *) "self",(char *) "font", NULL
25716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25721 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25723 if (!SWIG_IsOK(res2
)) {
25724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25729 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->SetFont((wxFont
const &)*arg2
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_Py_Void();
25743 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25744 PyObject
*resultobj
= 0;
25745 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25749 PyObject
*swig_obj
[1] ;
25751 if (!args
) SWIG_fail
;
25752 swig_obj
[0] = args
;
25753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25754 if (!SWIG_IsOK(res1
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25757 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= (bool)(arg1
)->HasTextColour();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25773 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25774 PyObject
*resultobj
= 0;
25775 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25779 PyObject
*swig_obj
[1] ;
25781 if (!args
) SWIG_fail
;
25782 swig_obj
[0] = args
;
25783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25787 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (bool)(arg1
)->HasBackgroundColour();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25803 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25804 PyObject
*resultobj
= 0;
25805 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25809 PyObject
*swig_obj
[1] ;
25811 if (!args
) SWIG_fail
;
25812 swig_obj
[0] = args
;
25813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25814 if (!SWIG_IsOK(res1
)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25817 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= (bool)(arg1
)->HasFont();
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25833 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 PyObject
*resultobj
= 0;
25835 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25839 PyObject
*swig_obj
[1] ;
25841 if (!args
) SWIG_fail
;
25842 swig_obj
[0] = args
;
25843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25847 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (arg1
)->GetTextColour();
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25861 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25862 PyObject
*resultobj
= 0;
25863 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25867 PyObject
*swig_obj
[1] ;
25869 if (!args
) SWIG_fail
;
25870 swig_obj
[0] = args
;
25871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25872 if (!SWIG_IsOK(res1
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25875 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (arg1
)->GetBackgroundColour();
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25889 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25890 PyObject
*resultobj
= 0;
25891 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25895 PyObject
*swig_obj
[1] ;
25897 if (!args
) SWIG_fail
;
25898 swig_obj
[0] = args
;
25899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25900 if (!SWIG_IsOK(res1
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25903 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 result
= (arg1
)->GetFont();
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25917 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
= 0;
25919 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25920 wxListItemAttr
*arg2
= 0 ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char * kwnames
[] = {
25928 (char *) "self",(char *) "source", NULL
25931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25936 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25938 if (!SWIG_IsOK(res2
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25944 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= SWIG_Py_Void();
25958 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25959 PyObject
*resultobj
= 0;
25960 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25963 PyObject
*swig_obj
[1] ;
25965 if (!args
) SWIG_fail
;
25966 swig_obj
[0] = args
;
25967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25971 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 wxListItemAttr_Destroy(arg1
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_Py_Void();
25985 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25988 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25989 return SWIG_Py_Void();
25992 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25993 return SWIG_Python_InitShadowInstance(args
);
25996 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25997 PyObject
*resultobj
= 0;
25998 wxListItem
*result
= 0 ;
26000 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= (wxListItem
*)new wxListItem();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26016 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26017 PyObject
*resultobj
= 0;
26018 wxListItem
*arg1
= (wxListItem
*) 0 ;
26021 PyObject
*swig_obj
[1] ;
26023 if (!args
) SWIG_fail
;
26024 swig_obj
[0] = args
;
26025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26026 if (!SWIG_IsOK(res1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26029 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_Py_Void();
26044 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26045 PyObject
*resultobj
= 0;
26046 wxListItem
*arg1
= (wxListItem
*) 0 ;
26049 PyObject
*swig_obj
[1] ;
26051 if (!args
) SWIG_fail
;
26052 swig_obj
[0] = args
;
26053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26057 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_Py_Void();
26071 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26072 PyObject
*resultobj
= 0;
26073 wxListItem
*arg1
= (wxListItem
*) 0 ;
26076 PyObject
*swig_obj
[1] ;
26078 if (!args
) SWIG_fail
;
26079 swig_obj
[0] = args
;
26080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26081 if (!SWIG_IsOK(res1
)) {
26082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26084 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->ClearAttributes();
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_Py_Void();
26098 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
= 0;
26100 wxListItem
*arg1
= (wxListItem
*) 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 char * kwnames
[] = {
26109 (char *) "self",(char *) "mask", NULL
26112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26114 if (!SWIG_IsOK(res1
)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26117 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26119 if (!SWIG_IsOK(ecode2
)) {
26120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26122 arg2
= static_cast< long >(val2
);
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 (arg1
)->SetMask(arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_Py_Void();
26136 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxListItem
*arg1
= (wxListItem
*) 0 ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 char * kwnames
[] = {
26147 (char *) "self",(char *) "id", NULL
26150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26152 if (!SWIG_IsOK(res1
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26155 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26157 if (!SWIG_IsOK(ecode2
)) {
26158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26160 arg2
= static_cast< long >(val2
);
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 (arg1
)->SetId(arg2
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_Py_Void();
26174 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
= 0;
26176 wxListItem
*arg1
= (wxListItem
*) 0 ;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 char * kwnames
[] = {
26185 (char *) "self",(char *) "col", NULL
26188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26195 if (!SWIG_IsOK(ecode2
)) {
26196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26198 arg2
= static_cast< int >(val2
);
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 (arg1
)->SetColumn(arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_Py_Void();
26212 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
= 0;
26214 wxListItem
*arg1
= (wxListItem
*) 0 ;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 char * kwnames
[] = {
26223 (char *) "self",(char *) "state", NULL
26226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26228 if (!SWIG_IsOK(res1
)) {
26229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26231 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26232 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26233 if (!SWIG_IsOK(ecode2
)) {
26234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26236 arg2
= static_cast< long >(val2
);
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 (arg1
)->SetState(arg2
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_Py_Void();
26250 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
= 0;
26252 wxListItem
*arg1
= (wxListItem
*) 0 ;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 char * kwnames
[] = {
26261 (char *) "self",(char *) "stateMask", NULL
26264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26266 if (!SWIG_IsOK(res1
)) {
26267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26269 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26270 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26271 if (!SWIG_IsOK(ecode2
)) {
26272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26274 arg2
= static_cast< long >(val2
);
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 (arg1
)->SetStateMask(arg2
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= SWIG_Py_Void();
26288 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
= 0;
26290 wxListItem
*arg1
= (wxListItem
*) 0 ;
26291 wxString
*arg2
= 0 ;
26294 bool temp2
= false ;
26295 PyObject
* obj0
= 0 ;
26296 PyObject
* obj1
= 0 ;
26297 char * kwnames
[] = {
26298 (char *) "self",(char *) "text", NULL
26301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26303 if (!SWIG_IsOK(res1
)) {
26304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26306 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26308 arg2
= wxString_in_helper(obj1
);
26309 if (arg2
== NULL
) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->SetText((wxString
const &)*arg2
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_Py_Void();
26333 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
= 0;
26335 wxListItem
*arg1
= (wxListItem
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char * kwnames
[] = {
26344 (char *) "self",(char *) "image", NULL
26347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26349 if (!SWIG_IsOK(res1
)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26352 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26354 if (!SWIG_IsOK(ecode2
)) {
26355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26357 arg2
= static_cast< int >(val2
);
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->SetImage(arg2
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_Py_Void();
26371 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
= 0;
26373 wxListItem
*arg1
= (wxListItem
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char * kwnames
[] = {
26382 (char *) "self",(char *) "data", NULL
26385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26387 if (!SWIG_IsOK(res1
)) {
26388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26390 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26391 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26392 if (!SWIG_IsOK(ecode2
)) {
26393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26395 arg2
= static_cast< long >(val2
);
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->SetData(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_Py_Void();
26409 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
= 0;
26411 wxListItem
*arg1
= (wxListItem
*) 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char * kwnames
[] = {
26420 (char *) "self",(char *) "width", NULL
26423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26430 if (!SWIG_IsOK(ecode2
)) {
26431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26433 arg2
= static_cast< int >(val2
);
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->SetWidth(arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_Py_Void();
26447 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
= 0;
26449 wxListItem
*arg1
= (wxListItem
*) 0 ;
26450 wxListColumnFormat arg2
;
26455 PyObject
* obj0
= 0 ;
26456 PyObject
* obj1
= 0 ;
26457 char * kwnames
[] = {
26458 (char *) "self",(char *) "align", NULL
26461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26463 if (!SWIG_IsOK(res1
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26466 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26468 if (!SWIG_IsOK(ecode2
)) {
26469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26471 arg2
= static_cast< wxListColumnFormat
>(val2
);
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 (arg1
)->SetAlign(arg2
);
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_Py_Void();
26485 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
= 0;
26487 wxListItem
*arg1
= (wxListItem
*) 0 ;
26488 wxColour
*arg2
= 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "colText", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26503 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_Py_Void();
26521 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
= 0;
26523 wxListItem
*arg1
= (wxListItem
*) 0 ;
26524 wxColour
*arg2
= 0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 char * kwnames
[] = {
26531 (char *) "self",(char *) "colBack", NULL
26534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26536 if (!SWIG_IsOK(res1
)) {
26537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26539 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26542 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= SWIG_Py_Void();
26557 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
= 0;
26559 wxListItem
*arg1
= (wxListItem
*) 0 ;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 char * kwnames
[] = {
26568 (char *) "self",(char *) "font", NULL
26571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26576 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26578 if (!SWIG_IsOK(res2
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26584 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetFont((wxFont
const &)*arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 PyObject
*resultobj
= 0;
26600 wxListItem
*arg1
= (wxListItem
*) 0 ;
26604 PyObject
*swig_obj
[1] ;
26606 if (!args
) SWIG_fail
;
26607 swig_obj
[0] = args
;
26608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26609 if (!SWIG_IsOK(res1
)) {
26610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26612 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (long)(arg1
)->GetMask();
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_From_long(static_cast< long >(result
));
26626 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26627 PyObject
*resultobj
= 0;
26628 wxListItem
*arg1
= (wxListItem
*) 0 ;
26632 PyObject
*swig_obj
[1] ;
26634 if (!args
) SWIG_fail
;
26635 swig_obj
[0] = args
;
26636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26640 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 result
= (long)(arg1
)->GetId();
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= SWIG_From_long(static_cast< long >(result
));
26654 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26655 PyObject
*resultobj
= 0;
26656 wxListItem
*arg1
= (wxListItem
*) 0 ;
26660 PyObject
*swig_obj
[1] ;
26662 if (!args
) SWIG_fail
;
26663 swig_obj
[0] = args
;
26664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26668 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (int)(arg1
)->GetColumn();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_From_int(static_cast< int >(result
));
26682 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26683 PyObject
*resultobj
= 0;
26684 wxListItem
*arg1
= (wxListItem
*) 0 ;
26688 PyObject
*swig_obj
[1] ;
26690 if (!args
) SWIG_fail
;
26691 swig_obj
[0] = args
;
26692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26696 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 result
= (long)(arg1
)->GetState();
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_From_long(static_cast< long >(result
));
26710 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26711 PyObject
*resultobj
= 0;
26712 wxListItem
*arg1
= (wxListItem
*) 0 ;
26713 wxString
*result
= 0 ;
26716 PyObject
*swig_obj
[1] ;
26718 if (!args
) SWIG_fail
;
26719 swig_obj
[0] = args
;
26720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26721 if (!SWIG_IsOK(res1
)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26724 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 wxString
const &_result_ref
= (arg1
)->GetText();
26729 result
= (wxString
*) &_result_ref
;
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26738 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26747 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26748 PyObject
*resultobj
= 0;
26749 wxListItem
*arg1
= (wxListItem
*) 0 ;
26753 PyObject
*swig_obj
[1] ;
26755 if (!args
) SWIG_fail
;
26756 swig_obj
[0] = args
;
26757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26758 if (!SWIG_IsOK(res1
)) {
26759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26761 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 result
= (int)(arg1
)->GetImage();
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_From_int(static_cast< int >(result
));
26775 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26776 PyObject
*resultobj
= 0;
26777 wxListItem
*arg1
= (wxListItem
*) 0 ;
26781 PyObject
*swig_obj
[1] ;
26783 if (!args
) SWIG_fail
;
26784 swig_obj
[0] = args
;
26785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26786 if (!SWIG_IsOK(res1
)) {
26787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26789 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= (long)(arg1
)->GetData();
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_From_long(static_cast< long >(result
));
26803 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26804 PyObject
*resultobj
= 0;
26805 wxListItem
*arg1
= (wxListItem
*) 0 ;
26809 PyObject
*swig_obj
[1] ;
26811 if (!args
) SWIG_fail
;
26812 swig_obj
[0] = args
;
26813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26814 if (!SWIG_IsOK(res1
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26817 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (int)(arg1
)->GetWidth();
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 resultobj
= SWIG_From_int(static_cast< int >(result
));
26831 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26832 PyObject
*resultobj
= 0;
26833 wxListItem
*arg1
= (wxListItem
*) 0 ;
26834 wxListColumnFormat result
;
26837 PyObject
*swig_obj
[1] ;
26839 if (!args
) SWIG_fail
;
26840 swig_obj
[0] = args
;
26841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26842 if (!SWIG_IsOK(res1
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26845 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_From_int(static_cast< int >(result
));
26859 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26860 PyObject
*resultobj
= 0;
26861 wxListItem
*arg1
= (wxListItem
*) 0 ;
26862 wxListItemAttr
*result
= 0 ;
26865 PyObject
*swig_obj
[1] ;
26867 if (!args
) SWIG_fail
;
26868 swig_obj
[0] = args
;
26869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26870 if (!SWIG_IsOK(res1
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26873 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26887 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26888 PyObject
*resultobj
= 0;
26889 wxListItem
*arg1
= (wxListItem
*) 0 ;
26893 PyObject
*swig_obj
[1] ;
26895 if (!args
) SWIG_fail
;
26896 swig_obj
[0] = args
;
26897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26898 if (!SWIG_IsOK(res1
)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26901 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= (bool)(arg1
)->HasAttributes();
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26917 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26918 PyObject
*resultobj
= 0;
26919 wxListItem
*arg1
= (wxListItem
*) 0 ;
26923 PyObject
*swig_obj
[1] ;
26925 if (!args
) SWIG_fail
;
26926 swig_obj
[0] = args
;
26927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26928 if (!SWIG_IsOK(res1
)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26931 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26935 wxPyEndAllowThreads(__tstate
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26945 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26946 PyObject
*resultobj
= 0;
26947 wxListItem
*arg1
= (wxListItem
*) 0 ;
26951 PyObject
*swig_obj
[1] ;
26953 if (!args
) SWIG_fail
;
26954 swig_obj
[0] = args
;
26955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26959 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26973 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26974 PyObject
*resultobj
= 0;
26975 wxListItem
*arg1
= (wxListItem
*) 0 ;
26979 PyObject
*swig_obj
[1] ;
26981 if (!args
) SWIG_fail
;
26982 swig_obj
[0] = args
;
26983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26984 if (!SWIG_IsOK(res1
)) {
26985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26987 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= ((wxListItem
const *)arg1
)->GetFont();
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27001 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27002 PyObject
*resultobj
= 0;
27003 wxListItem
*arg1
= (wxListItem
*) 0 ;
27009 PyObject
*swig_obj
[2] ;
27011 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27013 if (!SWIG_IsOK(res1
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27016 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27017 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27018 if (!SWIG_IsOK(ecode2
)) {
27019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27021 arg2
= static_cast< long >(val2
);
27022 if (arg1
) (arg1
)->m_mask
= arg2
;
27024 resultobj
= SWIG_Py_Void();
27031 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27032 PyObject
*resultobj
= 0;
27033 wxListItem
*arg1
= (wxListItem
*) 0 ;
27037 PyObject
*swig_obj
[1] ;
27039 if (!args
) SWIG_fail
;
27040 swig_obj
[0] = args
;
27041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27042 if (!SWIG_IsOK(res1
)) {
27043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27045 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27046 result
= (long) ((arg1
)->m_mask
);
27047 resultobj
= SWIG_From_long(static_cast< long >(result
));
27054 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27055 PyObject
*resultobj
= 0;
27056 wxListItem
*arg1
= (wxListItem
*) 0 ;
27062 PyObject
*swig_obj
[2] ;
27064 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27066 if (!SWIG_IsOK(res1
)) {
27067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27069 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27070 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27071 if (!SWIG_IsOK(ecode2
)) {
27072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27074 arg2
= static_cast< long >(val2
);
27075 if (arg1
) (arg1
)->m_itemId
= arg2
;
27077 resultobj
= SWIG_Py_Void();
27084 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27085 PyObject
*resultobj
= 0;
27086 wxListItem
*arg1
= (wxListItem
*) 0 ;
27090 PyObject
*swig_obj
[1] ;
27092 if (!args
) SWIG_fail
;
27093 swig_obj
[0] = args
;
27094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27095 if (!SWIG_IsOK(res1
)) {
27096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27098 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27099 result
= (long) ((arg1
)->m_itemId
);
27100 resultobj
= SWIG_From_long(static_cast< long >(result
));
27107 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27108 PyObject
*resultobj
= 0;
27109 wxListItem
*arg1
= (wxListItem
*) 0 ;
27115 PyObject
*swig_obj
[2] ;
27117 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27119 if (!SWIG_IsOK(res1
)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27122 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27123 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27124 if (!SWIG_IsOK(ecode2
)) {
27125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27127 arg2
= static_cast< int >(val2
);
27128 if (arg1
) (arg1
)->m_col
= arg2
;
27130 resultobj
= SWIG_Py_Void();
27137 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxListItem
*arg1
= (wxListItem
*) 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27151 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27152 result
= (int) ((arg1
)->m_col
);
27153 resultobj
= SWIG_From_int(static_cast< int >(result
));
27160 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27161 PyObject
*resultobj
= 0;
27162 wxListItem
*arg1
= (wxListItem
*) 0 ;
27168 PyObject
*swig_obj
[2] ;
27170 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27172 if (!SWIG_IsOK(res1
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27175 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27176 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27177 if (!SWIG_IsOK(ecode2
)) {
27178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27180 arg2
= static_cast< long >(val2
);
27181 if (arg1
) (arg1
)->m_state
= arg2
;
27183 resultobj
= SWIG_Py_Void();
27190 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27191 PyObject
*resultobj
= 0;
27192 wxListItem
*arg1
= (wxListItem
*) 0 ;
27196 PyObject
*swig_obj
[1] ;
27198 if (!args
) SWIG_fail
;
27199 swig_obj
[0] = args
;
27200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27204 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27205 result
= (long) ((arg1
)->m_state
);
27206 resultobj
= SWIG_From_long(static_cast< long >(result
));
27213 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 PyObject
*resultobj
= 0;
27215 wxListItem
*arg1
= (wxListItem
*) 0 ;
27221 PyObject
*swig_obj
[2] ;
27223 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27228 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27229 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27230 if (!SWIG_IsOK(ecode2
)) {
27231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27233 arg2
= static_cast< long >(val2
);
27234 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27236 resultobj
= SWIG_Py_Void();
27243 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27244 PyObject
*resultobj
= 0;
27245 wxListItem
*arg1
= (wxListItem
*) 0 ;
27249 PyObject
*swig_obj
[1] ;
27251 if (!args
) SWIG_fail
;
27252 swig_obj
[0] = args
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27257 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27258 result
= (long) ((arg1
)->m_stateMask
);
27259 resultobj
= SWIG_From_long(static_cast< long >(result
));
27266 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27267 PyObject
*resultobj
= 0;
27268 wxListItem
*arg1
= (wxListItem
*) 0 ;
27269 wxString
*arg2
= (wxString
*) 0 ;
27272 bool temp2
= false ;
27273 PyObject
*swig_obj
[2] ;
27275 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27277 if (!SWIG_IsOK(res1
)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27280 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27282 arg2
= wxString_in_helper(swig_obj
[1]);
27283 if (arg2
== NULL
) SWIG_fail
;
27286 if (arg1
) (arg1
)->m_text
= *arg2
;
27288 resultobj
= SWIG_Py_Void();
27303 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxListItem
*arg1
= (wxListItem
*) 0 ;
27306 wxString
*result
= 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27317 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27318 result
= (wxString
*)& ((arg1
)->m_text
);
27321 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27323 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27332 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27333 PyObject
*resultobj
= 0;
27334 wxListItem
*arg1
= (wxListItem
*) 0 ;
27340 PyObject
*swig_obj
[2] ;
27342 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27347 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27348 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27349 if (!SWIG_IsOK(ecode2
)) {
27350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27352 arg2
= static_cast< int >(val2
);
27353 if (arg1
) (arg1
)->m_image
= arg2
;
27355 resultobj
= SWIG_Py_Void();
27362 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27363 PyObject
*resultobj
= 0;
27364 wxListItem
*arg1
= (wxListItem
*) 0 ;
27368 PyObject
*swig_obj
[1] ;
27370 if (!args
) SWIG_fail
;
27371 swig_obj
[0] = args
;
27372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27376 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27377 result
= (int) ((arg1
)->m_image
);
27378 resultobj
= SWIG_From_int(static_cast< int >(result
));
27385 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27386 PyObject
*resultobj
= 0;
27387 wxListItem
*arg1
= (wxListItem
*) 0 ;
27393 PyObject
*swig_obj
[2] ;
27395 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27400 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27401 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27402 if (!SWIG_IsOK(ecode2
)) {
27403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27405 arg2
= static_cast< long >(val2
);
27406 if (arg1
) (arg1
)->m_data
= arg2
;
27408 resultobj
= SWIG_Py_Void();
27415 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27416 PyObject
*resultobj
= 0;
27417 wxListItem
*arg1
= (wxListItem
*) 0 ;
27421 PyObject
*swig_obj
[1] ;
27423 if (!args
) SWIG_fail
;
27424 swig_obj
[0] = args
;
27425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27429 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 result
= (long) ((arg1
)->m_data
);
27431 resultobj
= SWIG_From_long(static_cast< long >(result
));
27438 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27439 PyObject
*resultobj
= 0;
27440 wxListItem
*arg1
= (wxListItem
*) 0 ;
27446 PyObject
*swig_obj
[2] ;
27448 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27453 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27454 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27455 if (!SWIG_IsOK(ecode2
)) {
27456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27458 arg2
= static_cast< int >(val2
);
27459 if (arg1
) (arg1
)->m_format
= arg2
;
27461 resultobj
= SWIG_Py_Void();
27468 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27469 PyObject
*resultobj
= 0;
27470 wxListItem
*arg1
= (wxListItem
*) 0 ;
27474 PyObject
*swig_obj
[1] ;
27476 if (!args
) SWIG_fail
;
27477 swig_obj
[0] = args
;
27478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27479 if (!SWIG_IsOK(res1
)) {
27480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27482 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27483 result
= (int) ((arg1
)->m_format
);
27484 resultobj
= SWIG_From_int(static_cast< int >(result
));
27491 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27492 PyObject
*resultobj
= 0;
27493 wxListItem
*arg1
= (wxListItem
*) 0 ;
27499 PyObject
*swig_obj
[2] ;
27501 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27506 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27507 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27508 if (!SWIG_IsOK(ecode2
)) {
27509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27511 arg2
= static_cast< int >(val2
);
27512 if (arg1
) (arg1
)->m_width
= arg2
;
27514 resultobj
= SWIG_Py_Void();
27521 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27522 PyObject
*resultobj
= 0;
27523 wxListItem
*arg1
= (wxListItem
*) 0 ;
27527 PyObject
*swig_obj
[1] ;
27529 if (!args
) SWIG_fail
;
27530 swig_obj
[0] = args
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27535 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27536 result
= (int) ((arg1
)->m_width
);
27537 resultobj
= SWIG_From_int(static_cast< int >(result
));
27544 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27547 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27548 return SWIG_Py_Void();
27551 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27552 return SWIG_Python_InitShadowInstance(args
);
27555 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
= 0;
27557 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27558 int arg2
= (int) 0 ;
27559 wxListEvent
*result
= 0 ;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 char * kwnames
[] = {
27567 (char *) "commandType",(char *) "id", NULL
27570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27572 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27573 if (!SWIG_IsOK(ecode1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27576 arg1
= static_cast< wxEventType
>(val1
);
27579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27580 if (!SWIG_IsOK(ecode2
)) {
27581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27583 arg2
= static_cast< int >(val2
);
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27598 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27599 PyObject
*resultobj
= 0;
27600 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27606 PyObject
*swig_obj
[2] ;
27608 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27610 if (!SWIG_IsOK(res1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27613 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27614 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27615 if (!SWIG_IsOK(ecode2
)) {
27616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27618 arg2
= static_cast< int >(val2
);
27619 if (arg1
) (arg1
)->m_code
= arg2
;
27621 resultobj
= SWIG_Py_Void();
27628 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27629 PyObject
*resultobj
= 0;
27630 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27634 PyObject
*swig_obj
[1] ;
27636 if (!args
) SWIG_fail
;
27637 swig_obj
[0] = args
;
27638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27639 if (!SWIG_IsOK(res1
)) {
27640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27642 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27643 result
= (int) ((arg1
)->m_code
);
27644 resultobj
= SWIG_From_int(static_cast< int >(result
));
27651 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27652 PyObject
*resultobj
= 0;
27653 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27659 PyObject
*swig_obj
[2] ;
27661 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27663 if (!SWIG_IsOK(res1
)) {
27664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27666 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27667 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27668 if (!SWIG_IsOK(ecode2
)) {
27669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27671 arg2
= static_cast< long >(val2
);
27672 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27674 resultobj
= SWIG_Py_Void();
27681 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27682 PyObject
*resultobj
= 0;
27683 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27687 PyObject
*swig_obj
[1] ;
27689 if (!args
) SWIG_fail
;
27690 swig_obj
[0] = args
;
27691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27692 if (!SWIG_IsOK(res1
)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27695 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27696 result
= (long) ((arg1
)->m_oldItemIndex
);
27697 resultobj
= SWIG_From_long(static_cast< long >(result
));
27704 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27705 PyObject
*resultobj
= 0;
27706 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27712 PyObject
*swig_obj
[2] ;
27714 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27719 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27720 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27721 if (!SWIG_IsOK(ecode2
)) {
27722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27724 arg2
= static_cast< long >(val2
);
27725 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27727 resultobj
= SWIG_Py_Void();
27734 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27735 PyObject
*resultobj
= 0;
27736 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27740 PyObject
*swig_obj
[1] ;
27742 if (!args
) SWIG_fail
;
27743 swig_obj
[0] = args
;
27744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27745 if (!SWIG_IsOK(res1
)) {
27746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27748 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27749 result
= (long) ((arg1
)->m_itemIndex
);
27750 resultobj
= SWIG_From_long(static_cast< long >(result
));
27757 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27758 PyObject
*resultobj
= 0;
27759 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27765 PyObject
*swig_obj
[2] ;
27767 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27772 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27773 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27774 if (!SWIG_IsOK(ecode2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27777 arg2
= static_cast< int >(val2
);
27778 if (arg1
) (arg1
)->m_col
= arg2
;
27780 resultobj
= SWIG_Py_Void();
27787 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27788 PyObject
*resultobj
= 0;
27789 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27793 PyObject
*swig_obj
[1] ;
27795 if (!args
) SWIG_fail
;
27796 swig_obj
[0] = args
;
27797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27801 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27802 result
= (int) ((arg1
)->m_col
);
27803 resultobj
= SWIG_From_int(static_cast< int >(result
));
27810 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27811 PyObject
*resultobj
= 0;
27812 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27813 wxPoint
*arg2
= (wxPoint
*) 0 ;
27818 PyObject
*swig_obj
[2] ;
27820 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27822 if (!SWIG_IsOK(res1
)) {
27823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27825 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27826 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27827 if (!SWIG_IsOK(res2
)) {
27828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27830 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27831 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27833 resultobj
= SWIG_Py_Void();
27840 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27841 PyObject
*resultobj
= 0;
27842 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27843 wxPoint
*result
= 0 ;
27846 PyObject
*swig_obj
[1] ;
27848 if (!args
) SWIG_fail
;
27849 swig_obj
[0] = args
;
27850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27854 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27855 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27863 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27864 PyObject
*resultobj
= 0;
27865 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27866 wxListItem
*result
= 0 ;
27869 PyObject
*swig_obj
[1] ;
27871 if (!args
) SWIG_fail
;
27872 swig_obj
[0] = args
;
27873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27877 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27878 result
= (wxListItem
*)& ((arg1
)->m_item
);
27880 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27888 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27889 PyObject
*resultobj
= 0;
27890 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27894 PyObject
*swig_obj
[1] ;
27896 if (!args
) SWIG_fail
;
27897 swig_obj
[0] = args
;
27898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27902 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 result
= (int)(arg1
)->GetKeyCode();
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= SWIG_From_int(static_cast< int >(result
));
27916 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27917 PyObject
*resultobj
= 0;
27918 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27922 PyObject
*swig_obj
[1] ;
27924 if (!args
) SWIG_fail
;
27925 swig_obj
[0] = args
;
27926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27930 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (long)(arg1
)->GetIndex();
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= SWIG_From_long(static_cast< long >(result
));
27944 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27945 PyObject
*resultobj
= 0;
27946 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27950 PyObject
*swig_obj
[1] ;
27952 if (!args
) SWIG_fail
;
27953 swig_obj
[0] = args
;
27954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27955 if (!SWIG_IsOK(res1
)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27958 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 result
= (int)(arg1
)->GetColumn();
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= SWIG_From_int(static_cast< int >(result
));
27972 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27973 PyObject
*resultobj
= 0;
27974 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27978 PyObject
*swig_obj
[1] ;
27980 if (!args
) SWIG_fail
;
27981 swig_obj
[0] = args
;
27982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27986 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 result
= (arg1
)->GetPoint();
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28000 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28001 PyObject
*resultobj
= 0;
28002 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28003 wxString
*result
= 0 ;
28006 PyObject
*swig_obj
[1] ;
28008 if (!args
) SWIG_fail
;
28009 swig_obj
[0] = args
;
28010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28011 if (!SWIG_IsOK(res1
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28014 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 wxString
const &_result_ref
= (arg1
)->GetLabel();
28019 result
= (wxString
*) &_result_ref
;
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28037 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28038 PyObject
*resultobj
= 0;
28039 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28040 wxString
*result
= 0 ;
28043 PyObject
*swig_obj
[1] ;
28045 if (!args
) SWIG_fail
;
28046 swig_obj
[0] = args
;
28047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28048 if (!SWIG_IsOK(res1
)) {
28049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28051 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 wxString
const &_result_ref
= (arg1
)->GetText();
28056 result
= (wxString
*) &_result_ref
;
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28074 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28088 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (int)(arg1
)->GetImage();
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= SWIG_From_int(static_cast< int >(result
));
28102 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28103 PyObject
*resultobj
= 0;
28104 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28108 PyObject
*swig_obj
[1] ;
28110 if (!args
) SWIG_fail
;
28111 swig_obj
[0] = args
;
28112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28116 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (long)(arg1
)->GetData();
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= SWIG_From_long(static_cast< long >(result
));
28130 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28131 PyObject
*resultobj
= 0;
28132 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28136 PyObject
*swig_obj
[1] ;
28138 if (!args
) SWIG_fail
;
28139 swig_obj
[0] = args
;
28140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28144 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (long)(arg1
)->GetMask();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_From_long(static_cast< long >(result
));
28158 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28159 PyObject
*resultobj
= 0;
28160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28161 wxListItem
*result
= 0 ;
28164 PyObject
*swig_obj
[1] ;
28166 if (!args
) SWIG_fail
;
28167 swig_obj
[0] = args
;
28168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28172 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28177 result
= (wxListItem
*) &_result_ref
;
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28189 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28190 PyObject
*resultobj
= 0;
28191 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28195 PyObject
*swig_obj
[1] ;
28197 if (!args
) SWIG_fail
;
28198 swig_obj
[0] = args
;
28199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28200 if (!SWIG_IsOK(res1
)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28203 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 result
= (long)(arg1
)->GetCacheFrom();
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= SWIG_From_long(static_cast< long >(result
));
28217 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28218 PyObject
*resultobj
= 0;
28219 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28223 PyObject
*swig_obj
[1] ;
28225 if (!args
) SWIG_fail
;
28226 swig_obj
[0] = args
;
28227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28228 if (!SWIG_IsOK(res1
)) {
28229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28231 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 result
= (long)(arg1
)->GetCacheTo();
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= SWIG_From_long(static_cast< long >(result
));
28245 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28246 PyObject
*resultobj
= 0;
28247 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28251 PyObject
*swig_obj
[1] ;
28253 if (!args
) SWIG_fail
;
28254 swig_obj
[0] = args
;
28255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28256 if (!SWIG_IsOK(res1
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28259 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28262 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28275 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
= 0;
28277 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 char * kwnames
[] = {
28286 (char *) "self",(char *) "editCancelled", NULL
28289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28291 if (!SWIG_IsOK(res1
)) {
28292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28294 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28296 if (!SWIG_IsOK(ecode2
)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28299 arg2
= static_cast< bool >(val2
);
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 (arg1
)->SetEditCanceled(arg2
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= SWIG_Py_Void();
28313 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28316 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28317 return SWIG_Py_Void();
28320 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28321 return SWIG_Python_InitShadowInstance(args
);
28324 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= 0;
28326 wxWindow
*arg1
= (wxWindow
*) 0 ;
28327 int arg2
= (int) -1 ;
28328 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28329 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28330 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28331 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28332 long arg5
= (long) wxLC_ICON
;
28333 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28334 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28335 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28337 wxPyListCtrl
*result
= 0 ;
28348 bool temp7
= false ;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 PyObject
* obj2
= 0 ;
28352 PyObject
* obj3
= 0 ;
28353 PyObject
* obj4
= 0 ;
28354 PyObject
* obj5
= 0 ;
28355 PyObject
* obj6
= 0 ;
28356 char * kwnames
[] = {
28357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28362 if (!SWIG_IsOK(res1
)) {
28363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28368 if (!SWIG_IsOK(ecode2
)) {
28369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28371 arg2
= static_cast< int >(val2
);
28376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28382 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28386 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28387 if (!SWIG_IsOK(ecode5
)) {
28388 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28390 arg5
= static_cast< long >(val5
);
28393 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28394 if (!SWIG_IsOK(res6
)) {
28395 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28400 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28404 arg7
= wxString_in_helper(obj6
);
28405 if (arg7
== NULL
) SWIG_fail
;
28410 if (!wxPyCheckForApp()) SWIG_fail
;
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28431 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28432 PyObject
*resultobj
= 0;
28433 wxPyListCtrl
*result
= 0 ;
28435 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28437 if (!wxPyCheckForApp()) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28440 wxPyEndAllowThreads(__tstate
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28450 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
= 0;
28452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28453 wxWindow
*arg2
= (wxWindow
*) 0 ;
28454 int arg3
= (int) -1 ;
28455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28459 long arg6
= (long) wxLC_ICON
;
28460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28462 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28477 bool temp8
= false ;
28478 PyObject
* obj0
= 0 ;
28479 PyObject
* obj1
= 0 ;
28480 PyObject
* obj2
= 0 ;
28481 PyObject
* obj3
= 0 ;
28482 PyObject
* obj4
= 0 ;
28483 PyObject
* obj5
= 0 ;
28484 PyObject
* obj6
= 0 ;
28485 PyObject
* obj7
= 0 ;
28486 char * kwnames
[] = {
28487 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28492 if (!SWIG_IsOK(res1
)) {
28493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28497 if (!SWIG_IsOK(res2
)) {
28498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28500 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28503 if (!SWIG_IsOK(ecode3
)) {
28504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28506 arg3
= static_cast< int >(val3
);
28511 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28517 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28521 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28522 if (!SWIG_IsOK(ecode6
)) {
28523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28525 arg6
= static_cast< long >(val6
);
28528 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28529 if (!SWIG_IsOK(res7
)) {
28530 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28535 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28539 arg8
= wxString_in_helper(obj7
);
28540 if (arg8
== NULL
) SWIG_fail
;
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28567 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
= 0;
28569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28570 PyObject
*arg2
= (PyObject
*) 0 ;
28571 PyObject
*arg3
= (PyObject
*) 0 ;
28574 PyObject
* obj0
= 0 ;
28575 PyObject
* obj1
= 0 ;
28576 PyObject
* obj2
= 0 ;
28577 char * kwnames
[] = {
28578 (char *) "self",(char *) "self",(char *) "_class", NULL
28581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28583 if (!SWIG_IsOK(res1
)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28586 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_Py_Void();
28602 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
= 0;
28604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28606 wxListItem
*result
= 0 ;
28611 PyObject
* obj0
= 0 ;
28612 PyObject
* obj1
= 0 ;
28613 char * kwnames
[] = {
28614 (char *) "self",(char *) "col", NULL
28617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28619 if (!SWIG_IsOK(res1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28624 if (!SWIG_IsOK(ecode2
)) {
28625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28627 arg2
= static_cast< int >(val2
);
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28643 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
= 0;
28645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28647 wxListItem
*arg3
= 0 ;
28655 PyObject
* obj0
= 0 ;
28656 PyObject
* obj1
= 0 ;
28657 PyObject
* obj2
= 0 ;
28658 char * kwnames
[] = {
28659 (char *) "self",(char *) "col",(char *) "item", NULL
28662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28669 if (!SWIG_IsOK(ecode2
)) {
28670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28672 arg2
= static_cast< int >(val2
);
28673 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28674 if (!SWIG_IsOK(res3
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28680 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28696 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
= 0;
28698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 char * kwnames
[] = {
28708 (char *) "self",(char *) "col", NULL
28711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28713 if (!SWIG_IsOK(res1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28716 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28718 if (!SWIG_IsOK(ecode2
)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28721 arg2
= static_cast< int >(val2
);
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= SWIG_From_int(static_cast< int >(result
));
28735 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
= 0;
28737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28747 PyObject
* obj0
= 0 ;
28748 PyObject
* obj1
= 0 ;
28749 PyObject
* obj2
= 0 ;
28750 char * kwnames
[] = {
28751 (char *) "self",(char *) "col",(char *) "width", NULL
28754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28759 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28761 if (!SWIG_IsOK(ecode2
)) {
28762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28764 arg2
= static_cast< int >(val2
);
28765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28766 if (!SWIG_IsOK(ecode3
)) {
28767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28769 arg3
= static_cast< int >(val3
);
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28772 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28785 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28786 PyObject
*resultobj
= 0;
28787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28791 PyObject
*swig_obj
[1] ;
28793 if (!args
) SWIG_fail
;
28794 swig_obj
[0] = args
;
28795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28796 if (!SWIG_IsOK(res1
)) {
28797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28799 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= SWIG_From_int(static_cast< int >(result
));
28813 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28814 PyObject
*resultobj
= 0;
28815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28819 PyObject
*swig_obj
[1] ;
28821 if (!args
) SWIG_fail
;
28822 swig_obj
[0] = args
;
28823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28824 if (!SWIG_IsOK(res1
)) {
28825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28827 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28841 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28842 PyObject
*resultobj
= 0;
28843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28844 wxTextCtrl
*result
= 0 ;
28847 PyObject
*swig_obj
[1] ;
28849 if (!args
) SWIG_fail
;
28850 swig_obj
[0] = args
;
28851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28855 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= wxPyMake_wxObject(result
, 0);
28871 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
= 0;
28873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28875 int arg3
= (int) 0 ;
28876 wxListItem
*result
= 0 ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 PyObject
* obj2
= 0 ;
28886 char * kwnames
[] = {
28887 (char *) "self",(char *) "itemId",(char *) "col", NULL
28890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28895 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28897 if (!SWIG_IsOK(ecode2
)) {
28898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28900 arg2
= static_cast< long >(val2
);
28902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28903 if (!SWIG_IsOK(ecode3
)) {
28904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28906 arg3
= static_cast< int >(val3
);
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28923 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
= 0;
28925 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28926 wxListItem
*arg2
= 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 char * kwnames
[] = {
28935 (char *) "self",(char *) "info", NULL
28938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28940 if (!SWIG_IsOK(res1
)) {
28941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28943 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28945 if (!SWIG_IsOK(res2
)) {
28946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28951 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 result
= (bool)(arg1
)->SetItem(*arg2
);
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28967 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
= 0;
28969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28972 wxString
*arg4
= 0 ;
28973 int arg5
= (int) -1 ;
28981 bool temp4
= false ;
28984 PyObject
* obj0
= 0 ;
28985 PyObject
* obj1
= 0 ;
28986 PyObject
* obj2
= 0 ;
28987 PyObject
* obj3
= 0 ;
28988 PyObject
* obj4
= 0 ;
28989 char * kwnames
[] = {
28990 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28995 if (!SWIG_IsOK(res1
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28999 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29000 if (!SWIG_IsOK(ecode2
)) {
29001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29003 arg2
= static_cast< long >(val2
);
29004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29005 if (!SWIG_IsOK(ecode3
)) {
29006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29008 arg3
= static_cast< int >(val3
);
29010 arg4
= wxString_in_helper(obj3
);
29011 if (arg4
== NULL
) SWIG_fail
;
29015 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29016 if (!SWIG_IsOK(ecode5
)) {
29017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29019 arg5
= static_cast< int >(val5
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_From_long(static_cast< long >(result
));
29042 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= 0;
29044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 PyObject
* obj2
= 0 ;
29057 char * kwnames
[] = {
29058 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29063 if (!SWIG_IsOK(res1
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29068 if (!SWIG_IsOK(ecode2
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29071 arg2
= static_cast< long >(val2
);
29072 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29073 if (!SWIG_IsOK(ecode3
)) {
29074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29076 arg3
= static_cast< long >(val3
);
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= SWIG_From_int(static_cast< int >(result
));
29090 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
= 0;
29092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 PyObject
* obj2
= 0 ;
29108 PyObject
* obj3
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29118 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29120 if (!SWIG_IsOK(ecode2
)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29123 arg2
= static_cast< long >(val2
);
29124 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29125 if (!SWIG_IsOK(ecode3
)) {
29126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29128 arg3
= static_cast< long >(val3
);
29129 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29130 if (!SWIG_IsOK(ecode4
)) {
29131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29133 arg4
= static_cast< long >(val4
);
29135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29149 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
= 0;
29151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29154 int arg4
= (int) -1 ;
29164 PyObject
* obj0
= 0 ;
29165 PyObject
* obj1
= 0 ;
29166 PyObject
* obj2
= 0 ;
29167 PyObject
* obj3
= 0 ;
29168 char * kwnames
[] = {
29169 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29174 if (!SWIG_IsOK(res1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29177 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29178 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29179 if (!SWIG_IsOK(ecode2
)) {
29180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29182 arg2
= static_cast< long >(val2
);
29183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29184 if (!SWIG_IsOK(ecode3
)) {
29185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29187 arg3
= static_cast< int >(val3
);
29189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29190 if (!SWIG_IsOK(ecode4
)) {
29191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29193 arg4
= static_cast< int >(val4
);
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29210 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
= 0;
29212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 PyObject
* obj2
= 0 ;
29228 PyObject
* obj3
= 0 ;
29229 char * kwnames
[] = {
29230 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29235 if (!SWIG_IsOK(res1
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29238 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29239 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29240 if (!SWIG_IsOK(ecode2
)) {
29241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29243 arg2
= static_cast< long >(val2
);
29244 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29245 if (!SWIG_IsOK(ecode3
)) {
29246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29248 arg3
= static_cast< long >(val3
);
29249 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29250 if (!SWIG_IsOK(ecode4
)) {
29251 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29253 arg4
= static_cast< int >(val4
);
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29269 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 char * kwnames
[] = {
29281 (char *) "self",(char *) "item", NULL
29284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29286 if (!SWIG_IsOK(res1
)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29289 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29290 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29291 if (!SWIG_IsOK(ecode2
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29294 arg2
= static_cast< long >(val2
);
29296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29297 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29314 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29318 wxString
*arg3
= 0 ;
29323 bool temp3
= false ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 PyObject
* obj2
= 0 ;
29327 char * kwnames
[] = {
29328 (char *) "self",(char *) "item",(char *) "str", NULL
29331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29337 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29338 if (!SWIG_IsOK(ecode2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29341 arg2
= static_cast< long >(val2
);
29343 arg3
= wxString_in_helper(obj2
);
29344 if (arg3
== NULL
) SWIG_fail
;
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= SWIG_Py_Void();
29368 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
= 0;
29370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 char * kwnames
[] = {
29380 (char *) "self",(char *) "item", NULL
29383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29385 if (!SWIG_IsOK(res1
)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29388 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29389 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29390 if (!SWIG_IsOK(ecode2
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29393 arg2
= static_cast< long >(val2
);
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_From_long(static_cast< long >(result
));
29407 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
= 0;
29409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29419 PyObject
* obj0
= 0 ;
29420 PyObject
* obj1
= 0 ;
29421 PyObject
* obj2
= 0 ;
29422 char * kwnames
[] = {
29423 (char *) "self",(char *) "item",(char *) "data", NULL
29426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29431 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29432 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29433 if (!SWIG_IsOK(ecode2
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29436 arg2
= static_cast< long >(val2
);
29437 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29438 if (!SWIG_IsOK(ecode3
)) {
29439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29441 arg3
= static_cast< long >(val3
);
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29457 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29458 PyObject
*resultobj
= 0;
29459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29466 PyObject
* obj0
= 0 ;
29467 PyObject
* obj1
= 0 ;
29468 char * kwnames
[] = {
29469 (char *) "self",(char *) "item", NULL
29472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29474 if (!SWIG_IsOK(res1
)) {
29475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29477 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29478 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29479 if (!SWIG_IsOK(ecode2
)) {
29480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29482 arg2
= static_cast< long >(val2
);
29484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29485 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29496 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
= 0;
29498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29500 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 PyObject
* obj2
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "self",(char *) "item",(char *) "code", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29521 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29522 if (!SWIG_IsOK(ecode2
)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29525 arg2
= static_cast< long >(val2
);
29527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29528 if (!SWIG_IsOK(ecode3
)) {
29529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29531 arg3
= static_cast< int >(val3
);
29534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29535 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29536 wxPyEndAllowThreads(__tstate
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29546 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29547 PyObject
*resultobj
= 0;
29548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29550 wxPoint
*arg3
= 0 ;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 PyObject
* obj2
= 0 ;
29560 char * kwnames
[] = {
29561 (char *) "self",(char *) "item",(char *) "pos", NULL
29564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29566 if (!SWIG_IsOK(res1
)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29570 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29571 if (!SWIG_IsOK(ecode2
)) {
29572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29574 arg2
= static_cast< long >(val2
);
29577 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29582 wxPyEndAllowThreads(__tstate
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29594 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29595 PyObject
*resultobj
= 0;
29596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29600 PyObject
*swig_obj
[1] ;
29602 if (!args
) SWIG_fail
;
29603 swig_obj
[0] = args
;
29604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29605 if (!SWIG_IsOK(res1
)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29608 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= SWIG_From_int(static_cast< int >(result
));
29622 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29623 PyObject
*resultobj
= 0;
29624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29628 PyObject
*swig_obj
[1] ;
29630 if (!args
) SWIG_fail
;
29631 swig_obj
[0] = args
;
29632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29633 if (!SWIG_IsOK(res1
)) {
29634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29636 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= SWIG_From_int(static_cast< int >(result
));
29650 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29651 PyObject
*resultobj
= 0;
29652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29656 PyObject
*swig_obj
[1] ;
29658 if (!args
) SWIG_fail
;
29659 swig_obj
[0] = args
;
29660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29661 if (!SWIG_IsOK(res1
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29664 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29678 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
= 0;
29680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29682 bool arg3
= (bool) false ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 PyObject
* obj2
= 0 ;
29692 char * kwnames
[] = {
29693 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29701 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29703 if (!SWIG_IsOK(ecode2
)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29706 arg2
= static_cast< int >(val2
);
29708 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29709 if (!SWIG_IsOK(ecode3
)) {
29710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29712 arg3
= static_cast< bool >(val3
);
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 (arg1
)->SetItemSpacing(arg2
,arg3
);
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= SWIG_Py_Void();
29727 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29728 PyObject
*resultobj
= 0;
29729 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29733 PyObject
*swig_obj
[1] ;
29735 if (!args
) SWIG_fail
;
29736 swig_obj
[0] = args
;
29737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29738 if (!SWIG_IsOK(res1
)) {
29739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29741 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= SWIG_From_int(static_cast< int >(result
));
29755 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29756 PyObject
*resultobj
= 0;
29757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29761 PyObject
*swig_obj
[1] ;
29763 if (!args
) SWIG_fail
;
29764 swig_obj
[0] = args
;
29765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29769 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29783 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
= 0;
29785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29786 wxColour
*arg2
= 0 ;
29790 PyObject
* obj0
= 0 ;
29791 PyObject
* obj1
= 0 ;
29792 char * kwnames
[] = {
29793 (char *) "self",(char *) "col", NULL
29796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29801 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= SWIG_Py_Void();
29819 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29820 PyObject
*resultobj
= 0;
29821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29825 PyObject
*swig_obj
[1] ;
29827 if (!args
) SWIG_fail
;
29828 swig_obj
[0] = args
;
29829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29833 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= SWIG_From_long(static_cast< long >(result
));
29847 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29848 PyObject
*resultobj
= 0;
29849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29851 bool arg3
= (bool) true ;
29858 PyObject
* obj0
= 0 ;
29859 PyObject
* obj1
= 0 ;
29860 PyObject
* obj2
= 0 ;
29861 char * kwnames
[] = {
29862 (char *) "self",(char *) "style",(char *) "add", NULL
29865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29867 if (!SWIG_IsOK(res1
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29870 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29871 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29872 if (!SWIG_IsOK(ecode2
)) {
29873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29875 arg2
= static_cast< long >(val2
);
29877 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29878 if (!SWIG_IsOK(ecode3
)) {
29879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29881 arg3
= static_cast< bool >(val3
);
29884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 (arg1
)->SetSingleStyle(arg2
,arg3
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= SWIG_Py_Void();
29896 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
= 0;
29898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29900 int arg3
= (int) wxLIST_NEXT_ALL
;
29901 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29911 PyObject
* obj0
= 0 ;
29912 PyObject
* obj1
= 0 ;
29913 PyObject
* obj2
= 0 ;
29914 PyObject
* obj3
= 0 ;
29915 char * kwnames
[] = {
29916 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29921 if (!SWIG_IsOK(res1
)) {
29922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29924 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29925 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29926 if (!SWIG_IsOK(ecode2
)) {
29927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29929 arg2
= static_cast< long >(val2
);
29931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29932 if (!SWIG_IsOK(ecode3
)) {
29933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29935 arg3
= static_cast< int >(val3
);
29938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29939 if (!SWIG_IsOK(ecode4
)) {
29940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29942 arg4
= static_cast< int >(val4
);
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29950 resultobj
= SWIG_From_long(static_cast< long >(result
));
29957 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
= 0;
29959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29961 wxImageList
*result
= 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 char * kwnames
[] = {
29969 (char *) "self",(char *) "which", NULL
29972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29974 if (!SWIG_IsOK(res1
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29977 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29979 if (!SWIG_IsOK(ecode2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29982 arg2
= static_cast< int >(val2
);
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29998 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
= 0;
30000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30001 wxImageList
*arg2
= (wxImageList
*) 0 ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 PyObject
* obj2
= 0 ;
30012 char * kwnames
[] = {
30013 (char *) "self",(char *) "imageList",(char *) "which", NULL
30016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30018 if (!SWIG_IsOK(res1
)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30021 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30023 if (!SWIG_IsOK(res2
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30026 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30028 if (!SWIG_IsOK(ecode3
)) {
30029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30031 arg3
= static_cast< int >(val3
);
30033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30034 (arg1
)->SetImageList(arg2
,arg3
);
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= SWIG_Py_Void();
30045 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
= 0;
30047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30048 wxImageList
*arg2
= (wxImageList
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 PyObject
* obj2
= 0 ;
30058 char * kwnames
[] = {
30059 (char *) "self",(char *) "imageList",(char *) "which", NULL
30062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30068 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30069 if (!SWIG_IsOK(res2
)) {
30070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30073 if (!SWIG_IsOK(ecode3
)) {
30074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30076 arg3
= static_cast< int >(val3
);
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 (arg1
)->AssignImageList(arg2
,arg3
);
30080 wxPyEndAllowThreads(__tstate
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= SWIG_Py_Void();
30090 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30091 PyObject
*resultobj
= 0;
30092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30096 PyObject
*swig_obj
[1] ;
30098 if (!args
) SWIG_fail
;
30099 swig_obj
[0] = args
;
30100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30101 if (!SWIG_IsOK(res1
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30120 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30121 PyObject
*resultobj
= 0;
30122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30126 PyObject
*swig_obj
[1] ;
30128 if (!args
) SWIG_fail
;
30129 swig_obj
[0] = args
;
30130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30131 if (!SWIG_IsOK(res1
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30134 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30150 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
= 0;
30152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 char * kwnames
[] = {
30161 (char *) "self",(char *) "item", NULL
30164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30171 if (!SWIG_IsOK(ecode2
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30174 arg2
= static_cast< long >(val2
);
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 (arg1
)->RefreshItem(arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 resultobj
= SWIG_Py_Void();
30188 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
= 0;
30190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30199 PyObject
* obj0
= 0 ;
30200 PyObject
* obj1
= 0 ;
30201 PyObject
* obj2
= 0 ;
30202 char * kwnames
[] = {
30203 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30208 if (!SWIG_IsOK(res1
)) {
30209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30211 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30212 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30213 if (!SWIG_IsOK(ecode2
)) {
30214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30216 arg2
= static_cast< long >(val2
);
30217 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30218 if (!SWIG_IsOK(ecode3
)) {
30219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30221 arg3
= static_cast< long >(val3
);
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 (arg1
)->RefreshItems(arg2
,arg3
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= SWIG_Py_Void();
30235 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
= 0;
30237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30238 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 char * kwnames
[] = {
30247 (char *) "self",(char *) "flag", NULL
30250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30258 if (!SWIG_IsOK(ecode2
)) {
30259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30261 arg2
= static_cast< int >(val2
);
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 result
= (bool)(arg1
)->Arrange(arg2
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30278 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
= 0;
30280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "self",(char *) "item", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) 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_DeleteItem" "', 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_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30303 arg2
= static_cast< long >(val2
);
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (bool)(arg1
)->DeleteItem(arg2
);
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30319 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30320 PyObject
*resultobj
= 0;
30321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30325 PyObject
*swig_obj
[1] ;
30327 if (!args
) SWIG_fail
;
30328 swig_obj
[0] = args
;
30329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= (bool)(arg1
)->DeleteAllItems();
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30349 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
= 0;
30351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 char * kwnames
[] = {
30361 (char *) "self",(char *) "col", NULL
30364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30366 if (!SWIG_IsOK(res1
)) {
30367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30369 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30371 if (!SWIG_IsOK(ecode2
)) {
30372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30374 arg2
= static_cast< int >(val2
);
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30377 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30390 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30391 PyObject
*resultobj
= 0;
30392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30396 PyObject
*swig_obj
[1] ;
30398 if (!args
) SWIG_fail
;
30399 swig_obj
[0] = args
;
30400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30401 if (!SWIG_IsOK(res1
)) {
30402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30404 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 result
= (bool)(arg1
)->DeleteAllColumns();
30408 wxPyEndAllowThreads(__tstate
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30420 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30421 PyObject
*resultobj
= 0;
30422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30425 PyObject
*swig_obj
[1] ;
30427 if (!args
) SWIG_fail
;
30428 swig_obj
[0] = args
;
30429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30430 if (!SWIG_IsOK(res1
)) {
30431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30433 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->ClearAll();
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= SWIG_Py_Void();
30447 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
= 0;
30449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 char * kwnames
[] = {
30458 (char *) "self",(char *) "item", NULL
30461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30463 if (!SWIG_IsOK(res1
)) {
30464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30466 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30467 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30468 if (!SWIG_IsOK(ecode2
)) {
30469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30471 arg2
= static_cast< long >(val2
);
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 (arg1
)->EditLabel(arg2
);
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_Py_Void();
30485 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
= 0;
30487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 char * kwnames
[] = {
30497 (char *) "self",(char *) "item", NULL
30500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30505 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30506 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30507 if (!SWIG_IsOK(ecode2
)) {
30508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30510 arg2
= static_cast< long >(val2
);
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30514 wxPyEndAllowThreads(__tstate
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30526 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30530 wxString
*arg3
= 0 ;
30531 bool arg4
= (bool) false ;
30537 bool temp3
= false ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 PyObject
* obj2
= 0 ;
30543 PyObject
* obj3
= 0 ;
30544 char * kwnames
[] = {
30545 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30550 if (!SWIG_IsOK(res1
)) {
30551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30553 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30554 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30555 if (!SWIG_IsOK(ecode2
)) {
30556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30558 arg2
= static_cast< long >(val2
);
30560 arg3
= wxString_in_helper(obj2
);
30561 if (arg3
== NULL
) SWIG_fail
;
30565 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30566 if (!SWIG_IsOK(ecode4
)) {
30567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30569 arg4
= static_cast< bool >(val4
);
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= SWIG_From_long(static_cast< long >(result
));
30592 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
= 0;
30594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30604 PyObject
* obj0
= 0 ;
30605 PyObject
* obj1
= 0 ;
30606 PyObject
* obj2
= 0 ;
30607 char * kwnames
[] = {
30608 (char *) "self",(char *) "start",(char *) "data", NULL
30611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30613 if (!SWIG_IsOK(res1
)) {
30614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30616 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30617 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30618 if (!SWIG_IsOK(ecode2
)) {
30619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30621 arg2
= static_cast< long >(val2
);
30622 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30623 if (!SWIG_IsOK(ecode3
)) {
30624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30626 arg3
= static_cast< long >(val3
);
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30633 resultobj
= SWIG_From_long(static_cast< long >(result
));
30640 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
= 0;
30642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30644 wxPoint
*arg3
= 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 PyObject
* obj2
= 0 ;
30657 PyObject
* obj3
= 0 ;
30658 char * kwnames
[] = {
30659 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30664 if (!SWIG_IsOK(res1
)) {
30665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30669 if (!SWIG_IsOK(ecode2
)) {
30670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30672 arg2
= static_cast< long >(val2
);
30675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30678 if (!SWIG_IsOK(ecode4
)) {
30679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30681 arg4
= static_cast< int >(val4
);
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30685 wxPyEndAllowThreads(__tstate
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30688 resultobj
= SWIG_From_long(static_cast< long >(result
));
30695 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
= 0;
30697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30698 wxPoint
*arg2
= 0 ;
30705 int res3
= SWIG_TMPOBJ
;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 char * kwnames
[] = {
30709 (char *) "self",(char *) "point", NULL
30713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30715 if (!SWIG_IsOK(res1
)) {
30716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30718 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= SWIG_From_long(static_cast< long >(result
));
30730 if (SWIG_IsTmpObj(res3
)) {
30731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30733 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30742 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30743 PyObject
*resultobj
= 0;
30744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30745 wxListItem
*arg2
= 0 ;
30751 PyObject
* obj0
= 0 ;
30752 PyObject
* obj1
= 0 ;
30753 char * kwnames
[] = {
30754 (char *) "self",(char *) "info", NULL
30757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30759 if (!SWIG_IsOK(res1
)) {
30760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30764 if (!SWIG_IsOK(res2
)) {
30765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30770 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 result
= (long)(arg1
)->InsertItem(*arg2
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= SWIG_From_long(static_cast< long >(result
));
30784 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
= 0;
30786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30788 wxString
*arg3
= 0 ;
30789 int arg4
= (int) -1 ;
30795 bool temp3
= false ;
30798 PyObject
* obj0
= 0 ;
30799 PyObject
* obj1
= 0 ;
30800 PyObject
* obj2
= 0 ;
30801 PyObject
* obj3
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30811 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30813 if (!SWIG_IsOK(ecode2
)) {
30814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30816 arg2
= static_cast< long >(val2
);
30818 arg3
= wxString_in_helper(obj2
);
30819 if (arg3
== NULL
) SWIG_fail
;
30823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30824 if (!SWIG_IsOK(ecode4
)) {
30825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30827 arg4
= static_cast< int >(val4
);
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= SWIG_From_long(static_cast< long >(result
));
30850 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30851 PyObject
*resultobj
= 0;
30852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 PyObject
* obj2
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30874 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30876 if (!SWIG_IsOK(ecode2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30879 arg2
= static_cast< long >(val2
);
30880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30881 if (!SWIG_IsOK(ecode3
)) {
30882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30884 arg3
= static_cast< int >(val3
);
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_From_long(static_cast< long >(result
));
30898 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= 0;
30900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30902 wxString
*arg3
= 0 ;
30909 bool temp3
= false ;
30912 PyObject
* obj0
= 0 ;
30913 PyObject
* obj1
= 0 ;
30914 PyObject
* obj2
= 0 ;
30915 PyObject
* obj3
= 0 ;
30916 char * kwnames
[] = {
30917 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30922 if (!SWIG_IsOK(res1
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30925 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30926 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30927 if (!SWIG_IsOK(ecode2
)) {
30928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30930 arg2
= static_cast< long >(val2
);
30932 arg3
= wxString_in_helper(obj2
);
30933 if (arg3
== NULL
) SWIG_fail
;
30936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30937 if (!SWIG_IsOK(ecode4
)) {
30938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30940 arg4
= static_cast< int >(val4
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 resultobj
= SWIG_From_long(static_cast< long >(result
));
30962 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
= 0;
30964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30966 wxListItem
*arg3
= 0 ;
30974 PyObject
* obj0
= 0 ;
30975 PyObject
* obj1
= 0 ;
30976 PyObject
* obj2
= 0 ;
30977 char * kwnames
[] = {
30978 (char *) "self",(char *) "col",(char *) "info", NULL
30981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30983 if (!SWIG_IsOK(res1
)) {
30984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30986 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30987 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30988 if (!SWIG_IsOK(ecode2
)) {
30989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30991 arg2
= static_cast< long >(val2
);
30992 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30993 if (!SWIG_IsOK(res3
)) {
30994 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30999 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= SWIG_From_long(static_cast< long >(result
));
31013 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
= 0;
31015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31017 wxString
*arg3
= 0 ;
31018 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31019 int arg5
= (int) -1 ;
31025 bool temp3
= false ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 PyObject
* obj2
= 0 ;
31033 PyObject
* obj3
= 0 ;
31034 PyObject
* obj4
= 0 ;
31035 char * kwnames
[] = {
31036 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_InsertColumn" "', 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_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31049 arg2
= static_cast< long >(val2
);
31051 arg3
= wxString_in_helper(obj2
);
31052 if (arg3
== NULL
) SWIG_fail
;
31056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31057 if (!SWIG_IsOK(ecode4
)) {
31058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31060 arg4
= static_cast< int >(val4
);
31063 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31064 if (!SWIG_IsOK(ecode5
)) {
31065 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31067 arg5
= static_cast< int >(val5
);
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= SWIG_From_long(static_cast< long >(result
));
31090 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
= 0;
31092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 char * kwnames
[] = {
31101 (char *) "self",(char *) "count", NULL
31104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31106 if (!SWIG_IsOK(res1
)) {
31107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31109 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31110 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31111 if (!SWIG_IsOK(ecode2
)) {
31112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31114 arg2
= static_cast< long >(val2
);
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->SetItemCount(arg2
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= SWIG_Py_Void();
31128 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31129 PyObject
*resultobj
= 0;
31130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31140 PyObject
* obj0
= 0 ;
31141 PyObject
* obj1
= 0 ;
31142 PyObject
* obj2
= 0 ;
31143 char * kwnames
[] = {
31144 (char *) "self",(char *) "dx",(char *) "dy", NULL
31147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31149 if (!SWIG_IsOK(res1
)) {
31150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31152 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31154 if (!SWIG_IsOK(ecode2
)) {
31155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31157 arg2
= static_cast< int >(val2
);
31158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31159 if (!SWIG_IsOK(ecode3
)) {
31160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31162 arg3
= static_cast< int >(val3
);
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31178 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31179 PyObject
*resultobj
= 0;
31180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31182 wxColour
*arg3
= 0 ;
31188 PyObject
* obj0
= 0 ;
31189 PyObject
* obj1
= 0 ;
31190 PyObject
* obj2
= 0 ;
31191 char * kwnames
[] = {
31192 (char *) "self",(char *) "item",(char *) "col", NULL
31195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31197 if (!SWIG_IsOK(res1
)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31200 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31201 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31202 if (!SWIG_IsOK(ecode2
)) {
31203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31205 arg2
= static_cast< long >(val2
);
31208 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31213 wxPyEndAllowThreads(__tstate
);
31214 if (PyErr_Occurred()) SWIG_fail
;
31216 resultobj
= SWIG_Py_Void();
31223 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31224 PyObject
*resultobj
= 0;
31225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31232 PyObject
* obj0
= 0 ;
31233 PyObject
* obj1
= 0 ;
31234 char * kwnames
[] = {
31235 (char *) "self",(char *) "item", NULL
31238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31240 if (!SWIG_IsOK(res1
)) {
31241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31243 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31244 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31245 if (!SWIG_IsOK(ecode2
)) {
31246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31248 arg2
= static_cast< long >(val2
);
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31262 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
= 0;
31264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31266 wxColour
*arg3
= 0 ;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 PyObject
* obj2
= 0 ;
31275 char * kwnames
[] = {
31276 (char *) "self",(char *) "item",(char *) "col", NULL
31279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31281 if (!SWIG_IsOK(res1
)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31284 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31285 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31286 if (!SWIG_IsOK(ecode2
)) {
31287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31289 arg2
= static_cast< long >(val2
);
31292 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_Py_Void();
31307 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
= 0;
31309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 char * kwnames
[] = {
31319 (char *) "self",(char *) "item", NULL
31322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31324 if (!SWIG_IsOK(res1
)) {
31325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31327 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31328 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31329 if (!SWIG_IsOK(ecode2
)) {
31330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31332 arg2
= static_cast< long >(val2
);
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31346 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
= 0;
31348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31357 PyObject
* obj0
= 0 ;
31358 PyObject
* obj1
= 0 ;
31359 PyObject
* obj2
= 0 ;
31360 char * kwnames
[] = {
31361 (char *) "self",(char *) "item",(char *) "f", NULL
31364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31366 if (!SWIG_IsOK(res1
)) {
31367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31369 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31370 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31371 if (!SWIG_IsOK(ecode2
)) {
31372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31374 arg2
= static_cast< long >(val2
);
31375 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31376 if (!SWIG_IsOK(res3
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31382 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_Py_Void();
31396 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
= 0;
31398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31405 PyObject
* obj0
= 0 ;
31406 PyObject
* obj1
= 0 ;
31407 char * kwnames
[] = {
31408 (char *) "self",(char *) "item", NULL
31411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31413 if (!SWIG_IsOK(res1
)) {
31414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31416 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31418 if (!SWIG_IsOK(ecode2
)) {
31419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31421 arg2
= static_cast< long >(val2
);
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31435 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
= 0;
31437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31438 PyObject
*arg2
= (PyObject
*) 0 ;
31442 PyObject
* obj0
= 0 ;
31443 PyObject
* obj1
= 0 ;
31444 char * kwnames
[] = {
31445 (char *) "self",(char *) "func", NULL
31448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31450 if (!SWIG_IsOK(res1
)) {
31451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31453 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31470 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31471 PyObject
*resultobj
= 0;
31472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31473 wxWindow
*result
= 0 ;
31476 PyObject
*swig_obj
[1] ;
31478 if (!args
) SWIG_fail
;
31479 swig_obj
[0] = args
;
31480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31481 if (!SWIG_IsOK(res1
)) {
31482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31484 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31492 resultobj
= wxPyMake_wxObject(result
, 0);
31500 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
= 0;
31502 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31503 SwigValueWrapper
<wxVisualAttributes
> result
;
31506 PyObject
* obj0
= 0 ;
31507 char * kwnames
[] = {
31508 (char *) "variant", NULL
31511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31514 if (!SWIG_IsOK(ecode1
)) {
31515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31517 arg1
= static_cast< wxWindowVariant
>(val1
);
31520 if (!wxPyCheckForApp()) SWIG_fail
;
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31526 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31533 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31536 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31537 return SWIG_Py_Void();
31540 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31541 return SWIG_Python_InitShadowInstance(args
);
31544 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
= 0;
31546 wxWindow
*arg1
= (wxWindow
*) 0 ;
31547 int arg2
= (int) -1 ;
31548 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31549 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31550 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31551 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31552 long arg5
= (long) wxLC_REPORT
;
31553 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31554 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31555 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31557 wxListView
*result
= 0 ;
31568 bool temp7
= false ;
31569 PyObject
* obj0
= 0 ;
31570 PyObject
* obj1
= 0 ;
31571 PyObject
* obj2
= 0 ;
31572 PyObject
* obj3
= 0 ;
31573 PyObject
* obj4
= 0 ;
31574 PyObject
* obj5
= 0 ;
31575 PyObject
* obj6
= 0 ;
31576 char * kwnames
[] = {
31577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31582 if (!SWIG_IsOK(res1
)) {
31583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31588 if (!SWIG_IsOK(ecode2
)) {
31589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31591 arg2
= static_cast< int >(val2
);
31596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31606 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31607 if (!SWIG_IsOK(ecode5
)) {
31608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31610 arg5
= static_cast< long >(val5
);
31613 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31614 if (!SWIG_IsOK(res6
)) {
31615 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31620 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31624 arg7
= wxString_in_helper(obj6
);
31625 if (arg7
== NULL
) SWIG_fail
;
31630 if (!wxPyCheckForApp()) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31651 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31652 PyObject
*resultobj
= 0;
31653 wxListView
*result
= 0 ;
31655 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31657 if (!wxPyCheckForApp()) SWIG_fail
;
31658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31659 result
= (wxListView
*)new wxListView();
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31670 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
= 0;
31672 wxListView
*arg1
= (wxListView
*) 0 ;
31673 wxWindow
*arg2
= (wxWindow
*) 0 ;
31674 int arg3
= (int) -1 ;
31675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31679 long arg6
= (long) wxLC_REPORT
;
31680 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31681 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31682 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31683 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31697 bool temp8
= false ;
31698 PyObject
* obj0
= 0 ;
31699 PyObject
* obj1
= 0 ;
31700 PyObject
* obj2
= 0 ;
31701 PyObject
* obj3
= 0 ;
31702 PyObject
* obj4
= 0 ;
31703 PyObject
* obj5
= 0 ;
31704 PyObject
* obj6
= 0 ;
31705 PyObject
* obj7
= 0 ;
31706 char * kwnames
[] = {
31707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31712 if (!SWIG_IsOK(res1
)) {
31713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31715 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31717 if (!SWIG_IsOK(res2
)) {
31718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31720 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31723 if (!SWIG_IsOK(ecode3
)) {
31724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31726 arg3
= static_cast< int >(val3
);
31731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31741 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31742 if (!SWIG_IsOK(ecode6
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31745 arg6
= static_cast< long >(val6
);
31748 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31749 if (!SWIG_IsOK(res7
)) {
31750 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31755 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31759 arg8
= wxString_in_helper(obj7
);
31760 if (arg8
== NULL
) SWIG_fail
;
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31787 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
= 0;
31789 wxListView
*arg1
= (wxListView
*) 0 ;
31791 bool arg3
= (bool) true ;
31798 PyObject
* obj0
= 0 ;
31799 PyObject
* obj1
= 0 ;
31800 PyObject
* obj2
= 0 ;
31801 char * kwnames
[] = {
31802 (char *) "self",(char *) "n",(char *) "on", NULL
31805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31807 if (!SWIG_IsOK(res1
)) {
31808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31810 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31812 if (!SWIG_IsOK(ecode2
)) {
31813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31815 arg2
= static_cast< long >(val2
);
31817 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31818 if (!SWIG_IsOK(ecode3
)) {
31819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31821 arg3
= static_cast< bool >(val3
);
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 (arg1
)->Select(arg2
,arg3
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= SWIG_Py_Void();
31836 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
= 0;
31838 wxListView
*arg1
= (wxListView
*) 0 ;
31844 PyObject
* obj0
= 0 ;
31845 PyObject
* obj1
= 0 ;
31846 char * kwnames
[] = {
31847 (char *) "self",(char *) "index", NULL
31850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31852 if (!SWIG_IsOK(res1
)) {
31853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31855 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31857 if (!SWIG_IsOK(ecode2
)) {
31858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31860 arg2
= static_cast< long >(val2
);
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 (arg1
)->Focus(arg2
);
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= SWIG_Py_Void();
31874 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31875 PyObject
*resultobj
= 0;
31876 wxListView
*arg1
= (wxListView
*) 0 ;
31880 PyObject
*swig_obj
[1] ;
31882 if (!args
) SWIG_fail
;
31883 swig_obj
[0] = args
;
31884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31885 if (!SWIG_IsOK(res1
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31888 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= SWIG_From_long(static_cast< long >(result
));
31902 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= 0;
31904 wxListView
*arg1
= (wxListView
*) 0 ;
31911 PyObject
* obj0
= 0 ;
31912 PyObject
* obj1
= 0 ;
31913 char * kwnames
[] = {
31914 (char *) "self",(char *) "item", NULL
31917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31919 if (!SWIG_IsOK(res1
)) {
31920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31922 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31923 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31924 if (!SWIG_IsOK(ecode2
)) {
31925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31927 arg2
= static_cast< long >(val2
);
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31931 wxPyEndAllowThreads(__tstate
);
31932 if (PyErr_Occurred()) SWIG_fail
;
31934 resultobj
= SWIG_From_long(static_cast< long >(result
));
31941 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31942 PyObject
*resultobj
= 0;
31943 wxListView
*arg1
= (wxListView
*) 0 ;
31947 PyObject
*swig_obj
[1] ;
31949 if (!args
) SWIG_fail
;
31950 swig_obj
[0] = args
;
31951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31952 if (!SWIG_IsOK(res1
)) {
31953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31955 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= SWIG_From_long(static_cast< long >(result
));
31969 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= 0;
31971 wxListView
*arg1
= (wxListView
*) 0 ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 char * kwnames
[] = {
31981 (char *) "self",(char *) "index", NULL
31984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31986 if (!SWIG_IsOK(res1
)) {
31987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31989 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31991 if (!SWIG_IsOK(ecode2
)) {
31992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31994 arg2
= static_cast< long >(val2
);
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 result
= (bool)(arg1
)->IsSelected(arg2
);
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32010 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32011 PyObject
*resultobj
= 0;
32012 wxListView
*arg1
= (wxListView
*) 0 ;
32021 PyObject
* obj0
= 0 ;
32022 PyObject
* obj1
= 0 ;
32023 PyObject
* obj2
= 0 ;
32024 char * kwnames
[] = {
32025 (char *) "self",(char *) "col",(char *) "image", NULL
32028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32030 if (!SWIG_IsOK(res1
)) {
32031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32033 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32035 if (!SWIG_IsOK(ecode2
)) {
32036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32038 arg2
= static_cast< int >(val2
);
32039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32040 if (!SWIG_IsOK(ecode3
)) {
32041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32043 arg3
= static_cast< int >(val3
);
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 (arg1
)->SetColumnImage(arg2
,arg3
);
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= SWIG_Py_Void();
32057 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= 0;
32059 wxListView
*arg1
= (wxListView
*) 0 ;
32065 PyObject
* obj0
= 0 ;
32066 PyObject
* obj1
= 0 ;
32067 char * kwnames
[] = {
32068 (char *) "self",(char *) "col", NULL
32071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32073 if (!SWIG_IsOK(res1
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32076 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32078 if (!SWIG_IsOK(ecode2
)) {
32079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32081 arg2
= static_cast< int >(val2
);
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 (arg1
)->ClearColumnImage(arg2
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_Py_Void();
32095 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32098 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32099 return SWIG_Py_Void();
32102 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32103 return SWIG_Python_InitShadowInstance(args
);
32106 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32107 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32112 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32113 PyObject
*pyobj
= 0;
32117 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32119 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32126 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32127 PyObject
*resultobj
= 0;
32128 wxTreeItemId
*result
= 0 ;
32130 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= (wxTreeItemId
*)new wxTreeItemId();
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32144 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32145 PyObject
*resultobj
= 0;
32146 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32149 PyObject
*swig_obj
[1] ;
32151 if (!args
) SWIG_fail
;
32152 swig_obj
[0] = args
;
32153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32154 if (!SWIG_IsOK(res1
)) {
32155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32157 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 resultobj
= SWIG_Py_Void();
32172 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32173 PyObject
*resultobj
= 0;
32174 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32178 PyObject
*swig_obj
[1] ;
32180 if (!args
) SWIG_fail
;
32181 swig_obj
[0] = args
;
32182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32183 if (!SWIG_IsOK(res1
)) {
32184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32186 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32202 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32203 PyObject
*resultobj
= 0;
32204 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32205 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 char * kwnames
[] = {
32214 (char *) "self",(char *) "other", NULL
32217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32219 if (!SWIG_IsOK(res1
)) {
32220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32222 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32224 if (!SWIG_IsOK(res2
)) {
32225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32227 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32230 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32243 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
= 0;
32245 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32246 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 char * kwnames
[] = {
32255 (char *) "self",(char *) "other", NULL
32258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32260 if (!SWIG_IsOK(res1
)) {
32261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32263 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32265 if (!SWIG_IsOK(res2
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32268 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32284 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32285 PyObject
*resultobj
= 0;
32286 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32287 void *arg2
= (void *) 0 ;
32291 PyObject
*swig_obj
[2] ;
32293 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32295 if (!SWIG_IsOK(res1
)) {
32296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32298 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32299 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32300 if (!SWIG_IsOK(res2
)) {
32301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32303 if (arg1
) (arg1
)->m_pItem
= arg2
;
32305 resultobj
= SWIG_Py_Void();
32312 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32313 PyObject
*resultobj
= 0;
32314 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32318 PyObject
*swig_obj
[1] ;
32320 if (!args
) SWIG_fail
;
32321 swig_obj
[0] = args
;
32322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32326 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32327 result
= (void *) ((arg1
)->m_pItem
);
32328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32335 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32338 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32339 return SWIG_Py_Void();
32342 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32343 return SWIG_Python_InitShadowInstance(args
);
32346 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
= 0;
32348 PyObject
*arg1
= (PyObject
*) NULL
;
32349 wxPyTreeItemData
*result
= 0 ;
32350 PyObject
* obj0
= 0 ;
32351 char * kwnames
[] = {
32352 (char *) "obj", NULL
32355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32372 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32373 PyObject
*resultobj
= 0;
32374 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32377 PyObject
*swig_obj
[1] ;
32379 if (!args
) SWIG_fail
;
32380 swig_obj
[0] = args
;
32381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32382 if (!SWIG_IsOK(res1
)) {
32383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32385 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_Py_Void();
32400 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32401 PyObject
*resultobj
= 0;
32402 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32403 PyObject
*result
= 0 ;
32406 PyObject
*swig_obj
[1] ;
32408 if (!args
) SWIG_fail
;
32409 swig_obj
[0] = args
;
32410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32411 if (!SWIG_IsOK(res1
)) {
32412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32414 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 result
= (PyObject
*)(arg1
)->GetData();
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 resultobj
= result
;
32428 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32429 PyObject
*resultobj
= 0;
32430 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32431 PyObject
*arg2
= (PyObject
*) 0 ;
32434 PyObject
* obj0
= 0 ;
32435 PyObject
* obj1
= 0 ;
32436 char * kwnames
[] = {
32437 (char *) "self",(char *) "obj", NULL
32440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32442 if (!SWIG_IsOK(res1
)) {
32443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32445 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 (arg1
)->SetData(arg2
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_Py_Void();
32460 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32461 PyObject
*resultobj
= 0;
32462 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32463 wxTreeItemId
*result
= 0 ;
32466 PyObject
*swig_obj
[1] ;
32468 if (!args
) SWIG_fail
;
32469 swig_obj
[0] = args
;
32470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32471 if (!SWIG_IsOK(res1
)) {
32472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32474 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32479 result
= (wxTreeItemId
*) &_result_ref
;
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32491 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
= 0;
32493 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32494 wxTreeItemId
*arg2
= 0 ;
32499 PyObject
* obj0
= 0 ;
32500 PyObject
* obj1
= 0 ;
32501 char * kwnames
[] = {
32502 (char *) "self",(char *) "id", NULL
32505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32507 if (!SWIG_IsOK(res1
)) {
32508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32510 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32512 if (!SWIG_IsOK(res2
)) {
32513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32518 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_Py_Void();
32532 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32533 PyObject
*resultobj
= 0;
32534 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32537 PyObject
*swig_obj
[1] ;
32539 if (!args
) SWIG_fail
;
32540 swig_obj
[0] = args
;
32541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32542 if (!SWIG_IsOK(res1
)) {
32543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32545 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32548 wxPyTreeItemData_Destroy(arg1
);
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32552 resultobj
= SWIG_Py_Void();
32559 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32562 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32563 return SWIG_Py_Void();
32566 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32567 return SWIG_Python_InitShadowInstance(args
);
32570 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32571 PyObject
*resultobj
= 0;
32572 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32573 int arg2
= (int) 0 ;
32574 wxTreeEvent
*result
= 0 ;
32579 PyObject
* obj0
= 0 ;
32580 PyObject
* obj1
= 0 ;
32581 char * kwnames
[] = {
32582 (char *) "commandType",(char *) "id", NULL
32585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32588 if (!SWIG_IsOK(ecode1
)) {
32589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32591 arg1
= static_cast< wxEventType
>(val1
);
32594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32595 if (!SWIG_IsOK(ecode2
)) {
32596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32598 arg2
= static_cast< int >(val2
);
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32613 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32614 PyObject
*resultobj
= 0;
32615 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32616 wxTreeItemId result
;
32619 PyObject
*swig_obj
[1] ;
32621 if (!args
) SWIG_fail
;
32622 swig_obj
[0] = args
;
32623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32624 if (!SWIG_IsOK(res1
)) {
32625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32627 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32641 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32642 PyObject
*resultobj
= 0;
32643 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32644 wxTreeItemId
*arg2
= 0 ;
32649 PyObject
* obj0
= 0 ;
32650 PyObject
* obj1
= 0 ;
32651 char * kwnames
[] = {
32652 (char *) "self",(char *) "item", NULL
32655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32657 if (!SWIG_IsOK(res1
)) {
32658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32660 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32662 if (!SWIG_IsOK(res2
)) {
32663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32668 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_Py_Void();
32682 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32683 PyObject
*resultobj
= 0;
32684 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32685 wxTreeItemId result
;
32688 PyObject
*swig_obj
[1] ;
32690 if (!args
) SWIG_fail
;
32691 swig_obj
[0] = args
;
32692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32693 if (!SWIG_IsOK(res1
)) {
32694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32696 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32699 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32710 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32711 PyObject
*resultobj
= 0;
32712 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32713 wxTreeItemId
*arg2
= 0 ;
32718 PyObject
* obj0
= 0 ;
32719 PyObject
* obj1
= 0 ;
32720 char * kwnames
[] = {
32721 (char *) "self",(char *) "item", NULL
32724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32726 if (!SWIG_IsOK(res1
)) {
32727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32729 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32731 if (!SWIG_IsOK(res2
)) {
32732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= SWIG_Py_Void();
32751 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32752 PyObject
*resultobj
= 0;
32753 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32757 PyObject
*swig_obj
[1] ;
32759 if (!args
) SWIG_fail
;
32760 swig_obj
[0] = args
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32765 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32772 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32779 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
= 0;
32781 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32782 wxPoint
*arg2
= 0 ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 char * kwnames
[] = {
32789 (char *) "self",(char *) "pt", NULL
32792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32794 if (!SWIG_IsOK(res1
)) {
32795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32797 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= SWIG_Py_Void();
32815 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32816 PyObject
*resultobj
= 0;
32817 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32818 wxKeyEvent
*result
= 0 ;
32821 PyObject
*swig_obj
[1] ;
32823 if (!args
) SWIG_fail
;
32824 swig_obj
[0] = args
;
32825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32826 if (!SWIG_IsOK(res1
)) {
32827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32829 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32834 result
= (wxKeyEvent
*) &_result_ref
;
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32846 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32847 PyObject
*resultobj
= 0;
32848 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32852 PyObject
*swig_obj
[1] ;
32854 if (!args
) SWIG_fail
;
32855 swig_obj
[0] = args
;
32856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32857 if (!SWIG_IsOK(res1
)) {
32858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32860 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32863 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 resultobj
= SWIG_From_int(static_cast< int >(result
));
32874 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32875 PyObject
*resultobj
= 0;
32876 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32877 wxKeyEvent
*arg2
= 0 ;
32882 PyObject
* obj0
= 0 ;
32883 PyObject
* obj1
= 0 ;
32884 char * kwnames
[] = {
32885 (char *) "self",(char *) "evt", NULL
32888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32890 if (!SWIG_IsOK(res1
)) {
32891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32893 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32895 if (!SWIG_IsOK(res2
)) {
32896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32901 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32904 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32908 resultobj
= SWIG_Py_Void();
32915 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32916 PyObject
*resultobj
= 0;
32917 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32918 wxString
*result
= 0 ;
32921 PyObject
*swig_obj
[1] ;
32923 if (!args
) SWIG_fail
;
32924 swig_obj
[0] = args
;
32925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32926 if (!SWIG_IsOK(res1
)) {
32927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32929 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32934 result
= (wxString
*) &_result_ref
;
32936 wxPyEndAllowThreads(__tstate
);
32937 if (PyErr_Occurred()) SWIG_fail
;
32941 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32943 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32952 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
= 0;
32954 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32955 wxString
*arg2
= 0 ;
32958 bool temp2
= false ;
32959 PyObject
* obj0
= 0 ;
32960 PyObject
* obj1
= 0 ;
32961 char * kwnames
[] = {
32962 (char *) "self",(char *) "label", NULL
32965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32970 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32972 arg2
= wxString_in_helper(obj1
);
32973 if (arg2
== NULL
) SWIG_fail
;
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 (arg1
)->SetLabel((wxString
const &)*arg2
);
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_Py_Void();
32997 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32998 PyObject
*resultobj
= 0;
32999 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33003 PyObject
*swig_obj
[1] ;
33005 if (!args
) SWIG_fail
;
33006 swig_obj
[0] = args
;
33007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33008 if (!SWIG_IsOK(res1
)) {
33009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33011 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33015 wxPyEndAllowThreads(__tstate
);
33016 if (PyErr_Occurred()) SWIG_fail
;
33019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33027 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
= 0;
33029 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33035 PyObject
* obj0
= 0 ;
33036 PyObject
* obj1
= 0 ;
33037 char * kwnames
[] = {
33038 (char *) "self",(char *) "editCancelled", NULL
33041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33043 if (!SWIG_IsOK(res1
)) {
33044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33046 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33047 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33048 if (!SWIG_IsOK(ecode2
)) {
33049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33051 arg2
= static_cast< bool >(val2
);
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 (arg1
)->SetEditCanceled(arg2
);
33055 wxPyEndAllowThreads(__tstate
);
33056 if (PyErr_Occurred()) SWIG_fail
;
33058 resultobj
= SWIG_Py_Void();
33065 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33066 PyObject
*resultobj
= 0;
33067 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33068 wxString
*arg2
= 0 ;
33071 bool temp2
= false ;
33072 PyObject
* obj0
= 0 ;
33073 PyObject
* obj1
= 0 ;
33074 char * kwnames
[] = {
33075 (char *) "self",(char *) "toolTip", NULL
33078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33080 if (!SWIG_IsOK(res1
)) {
33081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33083 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33085 arg2
= wxString_in_helper(obj1
);
33086 if (arg2
== NULL
) SWIG_fail
;
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= SWIG_Py_Void();
33110 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33111 PyObject
*resultobj
= 0;
33112 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33116 PyObject
*swig_obj
[1] ;
33118 if (!args
) SWIG_fail
;
33119 swig_obj
[0] = args
;
33120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33124 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 result
= (arg1
)->GetToolTip();
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33144 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33147 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33148 return SWIG_Py_Void();
33151 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33152 return SWIG_Python_InitShadowInstance(args
);
33155 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
= 0;
33157 wxWindow
*arg1
= (wxWindow
*) 0 ;
33158 int arg2
= (int) -1 ;
33159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33163 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33164 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33165 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33166 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33168 wxPyTreeCtrl
*result
= 0 ;
33179 bool temp7
= false ;
33180 PyObject
* obj0
= 0 ;
33181 PyObject
* obj1
= 0 ;
33182 PyObject
* obj2
= 0 ;
33183 PyObject
* obj3
= 0 ;
33184 PyObject
* obj4
= 0 ;
33185 PyObject
* obj5
= 0 ;
33186 PyObject
* obj6
= 0 ;
33187 char * kwnames
[] = {
33188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33193 if (!SWIG_IsOK(res1
)) {
33194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33199 if (!SWIG_IsOK(ecode2
)) {
33200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33202 arg2
= static_cast< int >(val2
);
33207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33217 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33218 if (!SWIG_IsOK(ecode5
)) {
33219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33221 arg5
= static_cast< long >(val5
);
33224 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33225 if (!SWIG_IsOK(res6
)) {
33226 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33231 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33235 arg7
= wxString_in_helper(obj6
);
33236 if (arg7
== NULL
) SWIG_fail
;
33241 if (!wxPyCheckForApp()) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33262 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33263 PyObject
*resultobj
= 0;
33264 wxPyTreeCtrl
*result
= 0 ;
33266 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33268 if (!wxPyCheckForApp()) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33271 wxPyEndAllowThreads(__tstate
);
33272 if (PyErr_Occurred()) SWIG_fail
;
33274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33281 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33282 PyObject
*resultobj
= 0;
33283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33284 wxWindow
*arg2
= (wxWindow
*) 0 ;
33285 int arg3
= (int) -1 ;
33286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33290 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33291 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33292 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33293 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33294 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33308 bool temp8
= false ;
33309 PyObject
* obj0
= 0 ;
33310 PyObject
* obj1
= 0 ;
33311 PyObject
* obj2
= 0 ;
33312 PyObject
* obj3
= 0 ;
33313 PyObject
* obj4
= 0 ;
33314 PyObject
* obj5
= 0 ;
33315 PyObject
* obj6
= 0 ;
33316 PyObject
* obj7
= 0 ;
33317 char * kwnames
[] = {
33318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33323 if (!SWIG_IsOK(res1
)) {
33324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33326 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33328 if (!SWIG_IsOK(res2
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33331 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33334 if (!SWIG_IsOK(ecode3
)) {
33335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33337 arg3
= static_cast< int >(val3
);
33342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33352 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33353 if (!SWIG_IsOK(ecode6
)) {
33354 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33356 arg6
= static_cast< long >(val6
);
33359 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33360 if (!SWIG_IsOK(res7
)) {
33361 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33366 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33370 arg8
= wxString_in_helper(obj7
);
33371 if (arg8
== NULL
) SWIG_fail
;
33376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33398 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33399 PyObject
*resultobj
= 0;
33400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33401 PyObject
*arg2
= (PyObject
*) 0 ;
33402 PyObject
*arg3
= (PyObject
*) 0 ;
33405 PyObject
* obj0
= 0 ;
33406 PyObject
* obj1
= 0 ;
33407 PyObject
* obj2
= 0 ;
33408 char * kwnames
[] = {
33409 (char *) "self",(char *) "self",(char *) "_class", NULL
33412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33414 if (!SWIG_IsOK(res1
)) {
33415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33417 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= SWIG_Py_Void();
33433 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33434 PyObject
*resultobj
= 0;
33435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33436 unsigned int result
;
33439 PyObject
*swig_obj
[1] ;
33441 if (!args
) SWIG_fail
;
33442 swig_obj
[0] = args
;
33443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33444 if (!SWIG_IsOK(res1
)) {
33445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33447 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33450 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33461 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33462 PyObject
*resultobj
= 0;
33463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33464 unsigned int result
;
33467 PyObject
*swig_obj
[1] ;
33469 if (!args
) SWIG_fail
;
33470 swig_obj
[0] = args
;
33471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33472 if (!SWIG_IsOK(res1
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33475 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33479 wxPyEndAllowThreads(__tstate
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33482 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33489 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33490 PyObject
*resultobj
= 0;
33491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33492 unsigned int arg2
;
33495 unsigned int val2
;
33497 PyObject
* obj0
= 0 ;
33498 PyObject
* obj1
= 0 ;
33499 char * kwnames
[] = {
33500 (char *) "self",(char *) "indent", NULL
33503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33505 if (!SWIG_IsOK(res1
)) {
33506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33508 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33509 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33510 if (!SWIG_IsOK(ecode2
)) {
33511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33513 arg2
= static_cast< unsigned int >(val2
);
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 (arg1
)->SetIndent(arg2
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= SWIG_Py_Void();
33527 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33528 PyObject
*resultobj
= 0;
33529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33530 unsigned int result
;
33533 PyObject
*swig_obj
[1] ;
33535 if (!args
) SWIG_fail
;
33536 swig_obj
[0] = args
;
33537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33538 if (!SWIG_IsOK(res1
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33541 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33555 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33556 PyObject
*resultobj
= 0;
33557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33558 unsigned int arg2
;
33561 unsigned int val2
;
33563 PyObject
* obj0
= 0 ;
33564 PyObject
* obj1
= 0 ;
33565 char * kwnames
[] = {
33566 (char *) "self",(char *) "spacing", NULL
33569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33571 if (!SWIG_IsOK(res1
)) {
33572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33574 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33575 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33576 if (!SWIG_IsOK(ecode2
)) {
33577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33579 arg2
= static_cast< unsigned int >(val2
);
33581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33582 (arg1
)->SetSpacing(arg2
);
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= SWIG_Py_Void();
33593 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33594 PyObject
*resultobj
= 0;
33595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33596 wxImageList
*result
= 0 ;
33599 PyObject
*swig_obj
[1] ;
33601 if (!args
) SWIG_fail
;
33602 swig_obj
[0] = args
;
33603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33607 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33615 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33623 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33624 PyObject
*resultobj
= 0;
33625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33626 wxImageList
*result
= 0 ;
33629 PyObject
*swig_obj
[1] ;
33631 if (!args
) SWIG_fail
;
33632 swig_obj
[0] = args
;
33633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33634 if (!SWIG_IsOK(res1
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33645 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33653 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33654 PyObject
*resultobj
= 0;
33655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33656 wxImageList
*arg2
= (wxImageList
*) 0 ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 char * kwnames
[] = {
33664 (char *) "self",(char *) "imageList", NULL
33667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33669 if (!SWIG_IsOK(res1
)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33672 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33674 if (!SWIG_IsOK(res2
)) {
33675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33677 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 (arg1
)->SetImageList(arg2
);
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= SWIG_Py_Void();
33691 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
= 0;
33693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33694 wxImageList
*arg2
= (wxImageList
*) 0 ;
33699 PyObject
* obj0
= 0 ;
33700 PyObject
* obj1
= 0 ;
33701 char * kwnames
[] = {
33702 (char *) "self",(char *) "imageList", NULL
33705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33707 if (!SWIG_IsOK(res1
)) {
33708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33710 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33712 if (!SWIG_IsOK(res2
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33715 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 (arg1
)->SetStateImageList(arg2
);
33719 wxPyEndAllowThreads(__tstate
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33722 resultobj
= SWIG_Py_Void();
33729 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33730 PyObject
*resultobj
= 0;
33731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33732 wxImageList
*arg2
= (wxImageList
*) 0 ;
33736 PyObject
* obj0
= 0 ;
33737 PyObject
* obj1
= 0 ;
33738 char * kwnames
[] = {
33739 (char *) "self",(char *) "imageList", NULL
33742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33744 if (!SWIG_IsOK(res1
)) {
33745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33747 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33748 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33749 if (!SWIG_IsOK(res2
)) {
33750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 (arg1
)->AssignImageList(arg2
);
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= SWIG_Py_Void();
33765 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33766 PyObject
*resultobj
= 0;
33767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33768 wxImageList
*arg2
= (wxImageList
*) 0 ;
33772 PyObject
* obj0
= 0 ;
33773 PyObject
* obj1
= 0 ;
33774 char * kwnames
[] = {
33775 (char *) "self",(char *) "imageList", NULL
33778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33780 if (!SWIG_IsOK(res1
)) {
33781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33783 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33784 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33785 if (!SWIG_IsOK(res2
)) {
33786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33790 (arg1
)->AssignStateImageList(arg2
);
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33794 resultobj
= SWIG_Py_Void();
33801 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
= 0;
33803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33804 wxTreeItemId
*arg2
= 0 ;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 char * kwnames
[] = {
33813 (char *) "self",(char *) "item", NULL
33816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33818 if (!SWIG_IsOK(res1
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33821 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33823 if (!SWIG_IsOK(res2
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33829 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33832 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33849 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33850 PyObject
*resultobj
= 0;
33851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33852 wxTreeItemId
*arg2
= 0 ;
33853 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33861 PyObject
* obj0
= 0 ;
33862 PyObject
* obj1
= 0 ;
33863 PyObject
* obj2
= 0 ;
33864 char * kwnames
[] = {
33865 (char *) "self",(char *) "item",(char *) "which", NULL
33868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33870 if (!SWIG_IsOK(res1
)) {
33871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33875 if (!SWIG_IsOK(res2
)) {
33876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33884 if (!SWIG_IsOK(ecode3
)) {
33885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33887 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33892 wxPyEndAllowThreads(__tstate
);
33893 if (PyErr_Occurred()) SWIG_fail
;
33895 resultobj
= SWIG_From_int(static_cast< int >(result
));
33902 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33903 PyObject
*resultobj
= 0;
33904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33905 wxTreeItemId
*arg2
= 0 ;
33906 wxPyTreeItemData
*result
= 0 ;
33911 PyObject
* obj0
= 0 ;
33912 PyObject
* obj1
= 0 ;
33913 char * kwnames
[] = {
33914 (char *) "self",(char *) "item", NULL
33917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33919 if (!SWIG_IsOK(res1
)) {
33920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33924 if (!SWIG_IsOK(res2
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33930 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33944 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33945 PyObject
*resultobj
= 0;
33946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33947 wxTreeItemId
*arg2
= 0 ;
33948 PyObject
*result
= 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char * kwnames
[] = {
33956 (char *) "self",(char *) "item", NULL
33959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33961 if (!SWIG_IsOK(res1
)) {
33962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33966 if (!SWIG_IsOK(res2
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33972 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33975 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33979 resultobj
= result
;
33986 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
= 0;
33988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33989 wxTreeItemId
*arg2
= 0 ;
33995 PyObject
* obj0
= 0 ;
33996 PyObject
* obj1
= 0 ;
33997 char * kwnames
[] = {
33998 (char *) "self",(char *) "item", NULL
34001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) 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_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34006 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34008 if (!SWIG_IsOK(res2
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34014 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34018 wxPyEndAllowThreads(__tstate
);
34019 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34028 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34029 PyObject
*resultobj
= 0;
34030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34031 wxTreeItemId
*arg2
= 0 ;
34037 PyObject
* obj0
= 0 ;
34038 PyObject
* obj1
= 0 ;
34039 char * kwnames
[] = {
34040 (char *) "self",(char *) "item", NULL
34043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34045 if (!SWIG_IsOK(res1
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34048 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34050 if (!SWIG_IsOK(res2
)) {
34051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34056 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34063 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34070 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34071 PyObject
*resultobj
= 0;
34072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34073 wxTreeItemId
*arg2
= 0 ;
34079 PyObject
* obj0
= 0 ;
34080 PyObject
* obj1
= 0 ;
34081 char * kwnames
[] = {
34082 (char *) "self",(char *) "item", NULL
34085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34087 if (!SWIG_IsOK(res1
)) {
34088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34090 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34092 if (!SWIG_IsOK(res2
)) {
34093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34098 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34101 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34102 wxPyEndAllowThreads(__tstate
);
34103 if (PyErr_Occurred()) SWIG_fail
;
34105 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34112 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34113 PyObject
*resultobj
= 0;
34114 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34115 wxTreeItemId
*arg2
= 0 ;
34116 wxString
*arg3
= 0 ;
34121 bool temp3
= false ;
34122 PyObject
* obj0
= 0 ;
34123 PyObject
* obj1
= 0 ;
34124 PyObject
* obj2
= 0 ;
34125 char * kwnames
[] = {
34126 (char *) "self",(char *) "item",(char *) "text", NULL
34129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34131 if (!SWIG_IsOK(res1
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34134 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34136 if (!SWIG_IsOK(res2
)) {
34137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34142 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34144 arg3
= wxString_in_helper(obj2
);
34145 if (arg3
== NULL
) SWIG_fail
;
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= SWIG_Py_Void();
34169 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
= 0;
34171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34172 wxTreeItemId
*arg2
= 0 ;
34174 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34183 PyObject
* obj0
= 0 ;
34184 PyObject
* obj1
= 0 ;
34185 PyObject
* obj2
= 0 ;
34186 PyObject
* obj3
= 0 ;
34187 char * kwnames
[] = {
34188 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34193 if (!SWIG_IsOK(res1
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34196 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34198 if (!SWIG_IsOK(res2
)) {
34199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34204 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34206 if (!SWIG_IsOK(ecode3
)) {
34207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34209 arg3
= static_cast< int >(val3
);
34211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34212 if (!SWIG_IsOK(ecode4
)) {
34213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34215 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 resultobj
= SWIG_Py_Void();
34230 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
= 0;
34232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34233 wxTreeItemId
*arg2
= 0 ;
34234 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 PyObject
* obj2
= 0 ;
34243 char * kwnames
[] = {
34244 (char *) "self",(char *) "item",(char *) "data", NULL
34247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34252 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34254 if (!SWIG_IsOK(res2
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34260 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34261 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34262 if (!SWIG_IsOK(res3
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34267 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34268 wxPyEndAllowThreads(__tstate
);
34269 if (PyErr_Occurred()) SWIG_fail
;
34271 resultobj
= SWIG_Py_Void();
34278 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
= 0;
34280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34281 wxTreeItemId
*arg2
= 0 ;
34282 PyObject
*arg3
= (PyObject
*) 0 ;
34287 PyObject
* obj0
= 0 ;
34288 PyObject
* obj1
= 0 ;
34289 PyObject
* obj2
= 0 ;
34290 char * kwnames
[] = {
34291 (char *) "self",(char *) "item",(char *) "obj", NULL
34294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34301 if (!SWIG_IsOK(res2
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34307 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34311 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34312 wxPyEndAllowThreads(__tstate
);
34313 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= SWIG_Py_Void();
34322 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34323 PyObject
*resultobj
= 0;
34324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34325 wxTreeItemId
*arg2
= 0 ;
34326 bool arg3
= (bool) true ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 PyObject
* obj2
= 0 ;
34336 char * kwnames
[] = {
34337 (char *) "self",(char *) "item",(char *) "has", NULL
34340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34342 if (!SWIG_IsOK(res1
)) {
34343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34345 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34347 if (!SWIG_IsOK(res2
)) {
34348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34353 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34355 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34356 if (!SWIG_IsOK(ecode3
)) {
34357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34359 arg3
= static_cast< bool >(val3
);
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34364 wxPyEndAllowThreads(__tstate
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34367 resultobj
= SWIG_Py_Void();
34374 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34375 PyObject
*resultobj
= 0;
34376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34377 wxTreeItemId
*arg2
= 0 ;
34378 bool arg3
= (bool) true ;
34385 PyObject
* obj0
= 0 ;
34386 PyObject
* obj1
= 0 ;
34387 PyObject
* obj2
= 0 ;
34388 char * kwnames
[] = {
34389 (char *) "self",(char *) "item",(char *) "bold", NULL
34392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34394 if (!SWIG_IsOK(res1
)) {
34395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34397 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34399 if (!SWIG_IsOK(res2
)) {
34400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34405 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34407 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34408 if (!SWIG_IsOK(ecode3
)) {
34409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34411 arg3
= static_cast< bool >(val3
);
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34416 wxPyEndAllowThreads(__tstate
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34419 resultobj
= SWIG_Py_Void();
34426 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34427 PyObject
*resultobj
= 0;
34428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34429 wxTreeItemId
*arg2
= 0 ;
34430 bool arg3
= (bool) true ;
34437 PyObject
* obj0
= 0 ;
34438 PyObject
* obj1
= 0 ;
34439 PyObject
* obj2
= 0 ;
34440 char * kwnames
[] = {
34441 (char *) "self",(char *) "item",(char *) "highlight", NULL
34444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34446 if (!SWIG_IsOK(res1
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34449 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34451 if (!SWIG_IsOK(res2
)) {
34452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34457 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34459 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34460 if (!SWIG_IsOK(ecode3
)) {
34461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34463 arg3
= static_cast< bool >(val3
);
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34467 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 resultobj
= SWIG_Py_Void();
34478 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
= 0;
34480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34481 wxTreeItemId
*arg2
= 0 ;
34482 wxColour
*arg3
= 0 ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 PyObject
* obj2
= 0 ;
34491 char * kwnames
[] = {
34492 (char *) "self",(char *) "item",(char *) "col", NULL
34495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34497 if (!SWIG_IsOK(res1
)) {
34498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34500 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34502 if (!SWIG_IsOK(res2
)) {
34503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34508 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34511 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34515 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 resultobj
= SWIG_Py_Void();
34526 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
= 0;
34528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34529 wxTreeItemId
*arg2
= 0 ;
34530 wxColour
*arg3
= 0 ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 PyObject
* obj2
= 0 ;
34539 char * kwnames
[] = {
34540 (char *) "self",(char *) "item",(char *) "col", NULL
34543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34545 if (!SWIG_IsOK(res1
)) {
34546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34548 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34550 if (!SWIG_IsOK(res2
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34556 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34559 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34564 wxPyEndAllowThreads(__tstate
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34567 resultobj
= SWIG_Py_Void();
34574 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34575 PyObject
*resultobj
= 0;
34576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34577 wxTreeItemId
*arg2
= 0 ;
34585 PyObject
* obj0
= 0 ;
34586 PyObject
* obj1
= 0 ;
34587 PyObject
* obj2
= 0 ;
34588 char * kwnames
[] = {
34589 (char *) "self",(char *) "item",(char *) "font", NULL
34592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34594 if (!SWIG_IsOK(res1
)) {
34595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34599 if (!SWIG_IsOK(res2
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34606 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34607 if (!SWIG_IsOK(res3
)) {
34608 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34613 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34616 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34617 wxPyEndAllowThreads(__tstate
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34620 resultobj
= SWIG_Py_Void();
34627 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34628 PyObject
*resultobj
= 0;
34629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34630 wxTreeItemId
*arg2
= 0 ;
34636 PyObject
* obj0
= 0 ;
34637 PyObject
* obj1
= 0 ;
34638 char * kwnames
[] = {
34639 (char *) "self",(char *) "item", NULL
34642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34644 if (!SWIG_IsOK(res1
)) {
34645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34647 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34649 if (!SWIG_IsOK(res2
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34655 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34658 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34659 wxPyEndAllowThreads(__tstate
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34671 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
= 0;
34673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34674 wxTreeItemId
*arg2
= 0 ;
34680 PyObject
* obj0
= 0 ;
34681 PyObject
* obj1
= 0 ;
34682 char * kwnames
[] = {
34683 (char *) "self",(char *) "item", NULL
34686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34688 if (!SWIG_IsOK(res1
)) {
34689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34691 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34693 if (!SWIG_IsOK(res2
)) {
34694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34699 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34702 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34715 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34716 PyObject
*resultobj
= 0;
34717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34718 wxTreeItemId
*arg2
= 0 ;
34724 PyObject
* obj0
= 0 ;
34725 PyObject
* obj1
= 0 ;
34726 char * kwnames
[] = {
34727 (char *) "self",(char *) "item", NULL
34730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34732 if (!SWIG_IsOK(res1
)) {
34733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34735 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34737 if (!SWIG_IsOK(res2
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34743 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34747 wxPyEndAllowThreads(__tstate
);
34748 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34759 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34760 PyObject
*resultobj
= 0;
34761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34762 wxTreeItemId
*arg2
= 0 ;
34768 PyObject
* obj0
= 0 ;
34769 PyObject
* obj1
= 0 ;
34770 char * kwnames
[] = {
34771 (char *) "self",(char *) "item", NULL
34774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34776 if (!SWIG_IsOK(res1
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34779 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34781 if (!SWIG_IsOK(res2
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34787 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34790 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34803 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
= 0;
34805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34806 wxTreeItemId
*arg2
= 0 ;
34812 PyObject
* obj0
= 0 ;
34813 PyObject
* obj1
= 0 ;
34814 char * kwnames
[] = {
34815 (char *) "self",(char *) "item", NULL
34818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34820 if (!SWIG_IsOK(res1
)) {
34821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34823 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34825 if (!SWIG_IsOK(res2
)) {
34826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34847 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34848 PyObject
*resultobj
= 0;
34849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34850 wxTreeItemId
*arg2
= 0 ;
34851 bool arg3
= (bool) true ;
34859 PyObject
* obj0
= 0 ;
34860 PyObject
* obj1
= 0 ;
34861 PyObject
* obj2
= 0 ;
34862 char * kwnames
[] = {
34863 (char *) "self",(char *) "item",(char *) "recursively", NULL
34866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34868 if (!SWIG_IsOK(res1
)) {
34869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34871 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34873 if (!SWIG_IsOK(res2
)) {
34874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34879 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34881 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34882 if (!SWIG_IsOK(ecode3
)) {
34883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34885 arg3
= static_cast< bool >(val3
);
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34890 wxPyEndAllowThreads(__tstate
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34893 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34900 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34901 PyObject
*resultobj
= 0;
34902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34903 wxTreeItemId result
;
34906 PyObject
*swig_obj
[1] ;
34908 if (!args
) SWIG_fail
;
34909 swig_obj
[0] = args
;
34910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34911 if (!SWIG_IsOK(res1
)) {
34912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34914 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34918 wxPyEndAllowThreads(__tstate
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34921 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34928 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34929 PyObject
*resultobj
= 0;
34930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34931 wxTreeItemId result
;
34934 PyObject
*swig_obj
[1] ;
34936 if (!args
) SWIG_fail
;
34937 swig_obj
[0] = args
;
34938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34939 if (!SWIG_IsOK(res1
)) {
34940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34942 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34945 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34946 wxPyEndAllowThreads(__tstate
);
34947 if (PyErr_Occurred()) SWIG_fail
;
34949 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34956 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34957 PyObject
*resultobj
= 0;
34958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34959 PyObject
*result
= 0 ;
34962 PyObject
*swig_obj
[1] ;
34964 if (!args
) SWIG_fail
;
34965 swig_obj
[0] = args
;
34966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34967 if (!SWIG_IsOK(res1
)) {
34968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34970 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34974 wxPyEndAllowThreads(__tstate
);
34975 if (PyErr_Occurred()) SWIG_fail
;
34977 resultobj
= result
;
34984 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34985 PyObject
*resultobj
= 0;
34986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34987 wxTreeItemId
*arg2
= 0 ;
34988 wxTreeItemId result
;
34993 PyObject
* obj0
= 0 ;
34994 PyObject
* obj1
= 0 ;
34995 char * kwnames
[] = {
34996 (char *) "self",(char *) "item", NULL
34999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35001 if (!SWIG_IsOK(res1
)) {
35002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35006 if (!SWIG_IsOK(res2
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35026 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
= 0;
35028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35029 wxTreeItemId
*arg2
= 0 ;
35030 PyObject
*result
= 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 char * kwnames
[] = {
35038 (char *) "self",(char *) "item", NULL
35041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35043 if (!SWIG_IsOK(res1
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35046 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35048 if (!SWIG_IsOK(res2
)) {
35049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35054 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35057 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35058 wxPyEndAllowThreads(__tstate
);
35059 if (PyErr_Occurred()) SWIG_fail
;
35061 resultobj
= result
;
35068 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35069 PyObject
*resultobj
= 0;
35070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35071 wxTreeItemId
*arg2
= 0 ;
35072 void *arg3
= (void *) 0 ;
35073 PyObject
*result
= 0 ;
35079 PyObject
* obj0
= 0 ;
35080 PyObject
* obj1
= 0 ;
35081 PyObject
* obj2
= 0 ;
35082 char * kwnames
[] = {
35083 (char *) "self",(char *) "item",(char *) "cookie", NULL
35086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35088 if (!SWIG_IsOK(res1
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35091 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35093 if (!SWIG_IsOK(res2
)) {
35094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35099 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35100 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35101 if (!SWIG_IsOK(res3
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35106 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35107 wxPyEndAllowThreads(__tstate
);
35108 if (PyErr_Occurred()) SWIG_fail
;
35110 resultobj
= result
;
35117 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35118 PyObject
*resultobj
= 0;
35119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35120 wxTreeItemId
*arg2
= 0 ;
35121 wxTreeItemId result
;
35126 PyObject
* obj0
= 0 ;
35127 PyObject
* obj1
= 0 ;
35128 char * kwnames
[] = {
35129 (char *) "self",(char *) "item", NULL
35132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) 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_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35145 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35148 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35149 wxPyEndAllowThreads(__tstate
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35152 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35159 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
= 0;
35161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35162 wxTreeItemId
*arg2
= 0 ;
35163 wxTreeItemId result
;
35168 PyObject
* obj0
= 0 ;
35169 PyObject
* obj1
= 0 ;
35170 char * kwnames
[] = {
35171 (char *) "self",(char *) "item", NULL
35174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35176 if (!SWIG_IsOK(res1
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35179 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35181 if (!SWIG_IsOK(res2
)) {
35182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35187 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35191 wxPyEndAllowThreads(__tstate
);
35192 if (PyErr_Occurred()) SWIG_fail
;
35194 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35201 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35202 PyObject
*resultobj
= 0;
35203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35204 wxTreeItemId
*arg2
= 0 ;
35205 wxTreeItemId result
;
35210 PyObject
* obj0
= 0 ;
35211 PyObject
* obj1
= 0 ;
35212 char * kwnames
[] = {
35213 (char *) "self",(char *) "item", NULL
35216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35218 if (!SWIG_IsOK(res1
)) {
35219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35221 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35223 if (!SWIG_IsOK(res2
)) {
35224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35229 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35233 wxPyEndAllowThreads(__tstate
);
35234 if (PyErr_Occurred()) SWIG_fail
;
35236 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35243 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35244 PyObject
*resultobj
= 0;
35245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35246 wxTreeItemId result
;
35249 PyObject
*swig_obj
[1] ;
35251 if (!args
) SWIG_fail
;
35252 swig_obj
[0] = args
;
35253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35254 if (!SWIG_IsOK(res1
)) {
35255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35257 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35261 wxPyEndAllowThreads(__tstate
);
35262 if (PyErr_Occurred()) SWIG_fail
;
35264 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35271 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35272 PyObject
*resultobj
= 0;
35273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35274 wxTreeItemId
*arg2
= 0 ;
35275 wxTreeItemId result
;
35280 PyObject
* obj0
= 0 ;
35281 PyObject
* obj1
= 0 ;
35282 char * kwnames
[] = {
35283 (char *) "self",(char *) "item", NULL
35286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35288 if (!SWIG_IsOK(res1
)) {
35289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35293 if (!SWIG_IsOK(res2
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35299 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35303 wxPyEndAllowThreads(__tstate
);
35304 if (PyErr_Occurred()) SWIG_fail
;
35306 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35313 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35314 PyObject
*resultobj
= 0;
35315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35316 wxTreeItemId
*arg2
= 0 ;
35317 wxTreeItemId result
;
35322 PyObject
* obj0
= 0 ;
35323 PyObject
* obj1
= 0 ;
35324 char * kwnames
[] = {
35325 (char *) "self",(char *) "item", NULL
35328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35330 if (!SWIG_IsOK(res1
)) {
35331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35333 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35335 if (!SWIG_IsOK(res2
)) {
35336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35341 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35344 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35355 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
= 0;
35357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35358 wxString
*arg2
= 0 ;
35359 int arg3
= (int) -1 ;
35360 int arg4
= (int) -1 ;
35361 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35362 wxTreeItemId result
;
35365 bool temp2
= false ;
35371 PyObject
* obj0
= 0 ;
35372 PyObject
* obj1
= 0 ;
35373 PyObject
* obj2
= 0 ;
35374 PyObject
* obj3
= 0 ;
35375 PyObject
* obj4
= 0 ;
35376 char * kwnames
[] = {
35377 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35382 if (!SWIG_IsOK(res1
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35385 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35387 arg2
= wxString_in_helper(obj1
);
35388 if (arg2
== NULL
) SWIG_fail
;
35392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35393 if (!SWIG_IsOK(ecode3
)) {
35394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35396 arg3
= static_cast< int >(val3
);
35399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35400 if (!SWIG_IsOK(ecode4
)) {
35401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35403 arg4
= static_cast< int >(val4
);
35406 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35407 if (!SWIG_IsOK(res5
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35432 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35433 PyObject
*resultobj
= 0;
35434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35435 wxTreeItemId
*arg2
= 0 ;
35436 wxString
*arg3
= 0 ;
35437 int arg4
= (int) -1 ;
35438 int arg5
= (int) -1 ;
35439 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35440 wxTreeItemId result
;
35445 bool temp3
= false ;
35451 PyObject
* obj0
= 0 ;
35452 PyObject
* obj1
= 0 ;
35453 PyObject
* obj2
= 0 ;
35454 PyObject
* obj3
= 0 ;
35455 PyObject
* obj4
= 0 ;
35456 PyObject
* obj5
= 0 ;
35457 char * kwnames
[] = {
35458 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35463 if (!SWIG_IsOK(res1
)) {
35464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35466 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35468 if (!SWIG_IsOK(res2
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35474 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35476 arg3
= wxString_in_helper(obj2
);
35477 if (arg3
== NULL
) SWIG_fail
;
35481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35482 if (!SWIG_IsOK(ecode4
)) {
35483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35485 arg4
= static_cast< int >(val4
);
35488 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35489 if (!SWIG_IsOK(ecode5
)) {
35490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35492 arg5
= static_cast< int >(val5
);
35495 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35496 if (!SWIG_IsOK(res6
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35506 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35521 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= 0;
35523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35524 wxTreeItemId
*arg2
= 0 ;
35525 wxTreeItemId
*arg3
= 0 ;
35526 wxString
*arg4
= 0 ;
35527 int arg5
= (int) -1 ;
35528 int arg6
= (int) -1 ;
35529 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35530 wxTreeItemId result
;
35537 bool temp4
= false ;
35543 PyObject
* obj0
= 0 ;
35544 PyObject
* obj1
= 0 ;
35545 PyObject
* obj2
= 0 ;
35546 PyObject
* obj3
= 0 ;
35547 PyObject
* obj4
= 0 ;
35548 PyObject
* obj5
= 0 ;
35549 PyObject
* obj6
= 0 ;
35550 char * kwnames
[] = {
35551 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35556 if (!SWIG_IsOK(res1
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35559 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35561 if (!SWIG_IsOK(res2
)) {
35562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35567 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35568 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35569 if (!SWIG_IsOK(res3
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35575 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35577 arg4
= wxString_in_helper(obj3
);
35578 if (arg4
== NULL
) SWIG_fail
;
35582 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35583 if (!SWIG_IsOK(ecode5
)) {
35584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35586 arg5
= static_cast< int >(val5
);
35589 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35590 if (!SWIG_IsOK(ecode6
)) {
35591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35593 arg6
= static_cast< int >(val6
);
35596 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35597 if (!SWIG_IsOK(res7
)) {
35598 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35604 wxPyEndAllowThreads(__tstate
);
35605 if (PyErr_Occurred()) SWIG_fail
;
35607 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35622 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35623 PyObject
*resultobj
= 0;
35624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35625 wxTreeItemId
*arg2
= 0 ;
35627 wxString
*arg4
= 0 ;
35628 int arg5
= (int) -1 ;
35629 int arg6
= (int) -1 ;
35630 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35631 wxTreeItemId result
;
35638 bool temp4
= false ;
35644 PyObject
* obj0
= 0 ;
35645 PyObject
* obj1
= 0 ;
35646 PyObject
* obj2
= 0 ;
35647 PyObject
* obj3
= 0 ;
35648 PyObject
* obj4
= 0 ;
35649 PyObject
* obj5
= 0 ;
35650 PyObject
* obj6
= 0 ;
35651 char * kwnames
[] = {
35652 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35657 if (!SWIG_IsOK(res1
)) {
35658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35660 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35662 if (!SWIG_IsOK(res2
)) {
35663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35668 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35669 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35670 if (!SWIG_IsOK(ecode3
)) {
35671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35673 arg3
= static_cast< size_t >(val3
);
35675 arg4
= wxString_in_helper(obj3
);
35676 if (arg4
== NULL
) SWIG_fail
;
35680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35681 if (!SWIG_IsOK(ecode5
)) {
35682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35684 arg5
= static_cast< int >(val5
);
35687 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35688 if (!SWIG_IsOK(ecode6
)) {
35689 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35691 arg6
= static_cast< int >(val6
);
35694 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35695 if (!SWIG_IsOK(res7
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35720 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35721 PyObject
*resultobj
= 0;
35722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35723 wxTreeItemId
*arg2
= 0 ;
35724 wxString
*arg3
= 0 ;
35725 int arg4
= (int) -1 ;
35726 int arg5
= (int) -1 ;
35727 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35728 wxTreeItemId result
;
35733 bool temp3
= false ;
35739 PyObject
* obj0
= 0 ;
35740 PyObject
* obj1
= 0 ;
35741 PyObject
* obj2
= 0 ;
35742 PyObject
* obj3
= 0 ;
35743 PyObject
* obj4
= 0 ;
35744 PyObject
* obj5
= 0 ;
35745 char * kwnames
[] = {
35746 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35751 if (!SWIG_IsOK(res1
)) {
35752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35754 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35756 if (!SWIG_IsOK(res2
)) {
35757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35762 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35764 arg3
= wxString_in_helper(obj2
);
35765 if (arg3
== NULL
) SWIG_fail
;
35769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35770 if (!SWIG_IsOK(ecode4
)) {
35771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35773 arg4
= static_cast< int >(val4
);
35776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35777 if (!SWIG_IsOK(ecode5
)) {
35778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35780 arg5
= static_cast< int >(val5
);
35783 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35784 if (!SWIG_IsOK(res6
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35791 wxPyEndAllowThreads(__tstate
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35794 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35809 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
= 0;
35811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35812 wxTreeItemId
*arg2
= 0 ;
35817 PyObject
* obj0
= 0 ;
35818 PyObject
* obj1
= 0 ;
35819 char * kwnames
[] = {
35820 (char *) "self",(char *) "item", NULL
35823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35825 if (!SWIG_IsOK(res1
)) {
35826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35830 if (!SWIG_IsOK(res2
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35836 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= SWIG_Py_Void();
35850 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
= 0;
35852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35853 wxTreeItemId
*arg2
= 0 ;
35858 PyObject
* obj0
= 0 ;
35859 PyObject
* obj1
= 0 ;
35860 char * kwnames
[] = {
35861 (char *) "self",(char *) "item", NULL
35864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35866 if (!SWIG_IsOK(res1
)) {
35867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35869 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35871 if (!SWIG_IsOK(res2
)) {
35872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35877 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35880 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35881 wxPyEndAllowThreads(__tstate
);
35882 if (PyErr_Occurred()) SWIG_fail
;
35884 resultobj
= SWIG_Py_Void();
35891 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35892 PyObject
*resultobj
= 0;
35893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35896 PyObject
*swig_obj
[1] ;
35898 if (!args
) SWIG_fail
;
35899 swig_obj
[0] = args
;
35900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35901 if (!SWIG_IsOK(res1
)) {
35902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35904 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 (arg1
)->DeleteAllItems();
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= SWIG_Py_Void();
35918 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
= 0;
35920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35921 wxTreeItemId
*arg2
= 0 ;
35926 PyObject
* obj0
= 0 ;
35927 PyObject
* obj1
= 0 ;
35928 char * kwnames
[] = {
35929 (char *) "self",(char *) "item", NULL
35932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35934 if (!SWIG_IsOK(res1
)) {
35935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35937 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35939 if (!SWIG_IsOK(res2
)) {
35940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35945 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35948 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35949 wxPyEndAllowThreads(__tstate
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35952 resultobj
= SWIG_Py_Void();
35959 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35960 PyObject
*resultobj
= 0;
35961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35962 wxTreeItemId
*arg2
= 0 ;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 char * kwnames
[] = {
35970 (char *) "self",(char *) "item", NULL
35973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35975 if (!SWIG_IsOK(res1
)) {
35976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35978 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35980 if (!SWIG_IsOK(res2
)) {
35981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35986 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35989 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35990 wxPyEndAllowThreads(__tstate
);
35991 if (PyErr_Occurred()) SWIG_fail
;
35993 resultobj
= SWIG_Py_Void();
36000 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
= 0;
36002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36003 wxTreeItemId
*arg2
= 0 ;
36008 PyObject
* obj0
= 0 ;
36009 PyObject
* obj1
= 0 ;
36010 char * kwnames
[] = {
36011 (char *) "self",(char *) "item", NULL
36014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36016 if (!SWIG_IsOK(res1
)) {
36017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36019 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36021 if (!SWIG_IsOK(res2
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36027 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36030 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36031 wxPyEndAllowThreads(__tstate
);
36032 if (PyErr_Occurred()) SWIG_fail
;
36034 resultobj
= SWIG_Py_Void();
36041 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36042 PyObject
*resultobj
= 0;
36043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36044 wxTreeItemId
*arg2
= 0 ;
36049 PyObject
* obj0
= 0 ;
36050 PyObject
* obj1
= 0 ;
36051 char * kwnames
[] = {
36052 (char *) "self",(char *) "item", NULL
36055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36057 if (!SWIG_IsOK(res1
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36060 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36062 if (!SWIG_IsOK(res2
)) {
36063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36068 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36072 wxPyEndAllowThreads(__tstate
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36075 resultobj
= SWIG_Py_Void();
36082 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36083 PyObject
*resultobj
= 0;
36084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36087 PyObject
*swig_obj
[1] ;
36089 if (!args
) SWIG_fail
;
36090 swig_obj
[0] = args
;
36091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36092 if (!SWIG_IsOK(res1
)) {
36093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36095 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36098 (arg1
)->Unselect();
36099 wxPyEndAllowThreads(__tstate
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36102 resultobj
= SWIG_Py_Void();
36109 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36110 PyObject
*resultobj
= 0;
36111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36112 wxTreeItemId
*arg2
= 0 ;
36117 PyObject
* obj0
= 0 ;
36118 PyObject
* obj1
= 0 ;
36119 char * kwnames
[] = {
36120 (char *) "self",(char *) "item", NULL
36123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36125 if (!SWIG_IsOK(res1
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36128 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36130 if (!SWIG_IsOK(res2
)) {
36131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36136 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= SWIG_Py_Void();
36150 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36151 PyObject
*resultobj
= 0;
36152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36155 PyObject
*swig_obj
[1] ;
36157 if (!args
) SWIG_fail
;
36158 swig_obj
[0] = args
;
36159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36160 if (!SWIG_IsOK(res1
)) {
36161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36163 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36166 (arg1
)->UnselectAll();
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 resultobj
= SWIG_Py_Void();
36177 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
= 0;
36179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36180 wxTreeItemId
*arg2
= 0 ;
36181 bool arg3
= (bool) true ;
36188 PyObject
* obj0
= 0 ;
36189 PyObject
* obj1
= 0 ;
36190 PyObject
* obj2
= 0 ;
36191 char * kwnames
[] = {
36192 (char *) "self",(char *) "item",(char *) "select", NULL
36195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36197 if (!SWIG_IsOK(res1
)) {
36198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36200 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36202 if (!SWIG_IsOK(res2
)) {
36203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36208 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36210 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36211 if (!SWIG_IsOK(ecode3
)) {
36212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36214 arg3
= static_cast< bool >(val3
);
36217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36218 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36219 wxPyEndAllowThreads(__tstate
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36222 resultobj
= SWIG_Py_Void();
36229 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36230 PyObject
*resultobj
= 0;
36231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36232 wxTreeItemId
*arg2
= 0 ;
36237 PyObject
* obj0
= 0 ;
36238 PyObject
* obj1
= 0 ;
36239 char * kwnames
[] = {
36240 (char *) "self",(char *) "item", NULL
36243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36245 if (!SWIG_IsOK(res1
)) {
36246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36248 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36250 if (!SWIG_IsOK(res2
)) {
36251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36256 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36259 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36260 wxPyEndAllowThreads(__tstate
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36263 resultobj
= SWIG_Py_Void();
36270 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36271 PyObject
*resultobj
= 0;
36272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36273 wxTreeItemId
*arg2
= 0 ;
36278 PyObject
* obj0
= 0 ;
36279 PyObject
* obj1
= 0 ;
36280 char * kwnames
[] = {
36281 (char *) "self",(char *) "item", NULL
36284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36286 if (!SWIG_IsOK(res1
)) {
36287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36289 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36291 if (!SWIG_IsOK(res2
)) {
36292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36297 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36300 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36301 wxPyEndAllowThreads(__tstate
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36304 resultobj
= SWIG_Py_Void();
36311 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36312 PyObject
*resultobj
= 0;
36313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36314 wxTreeItemId
*arg2
= 0 ;
36319 PyObject
* obj0
= 0 ;
36320 PyObject
* obj1
= 0 ;
36321 char * kwnames
[] = {
36322 (char *) "self",(char *) "item", NULL
36325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36327 if (!SWIG_IsOK(res1
)) {
36328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36332 if (!SWIG_IsOK(res2
)) {
36333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36338 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36341 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36342 wxPyEndAllowThreads(__tstate
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36345 resultobj
= SWIG_Py_Void();
36352 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36353 PyObject
*resultobj
= 0;
36354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36355 wxTreeItemId
*arg2
= 0 ;
36360 PyObject
* obj0
= 0 ;
36361 PyObject
* obj1
= 0 ;
36362 char * kwnames
[] = {
36363 (char *) "self",(char *) "item", NULL
36366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36368 if (!SWIG_IsOK(res1
)) {
36369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36373 if (!SWIG_IsOK(res2
)) {
36374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36379 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36383 wxPyEndAllowThreads(__tstate
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36386 resultobj
= SWIG_Py_Void();
36393 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36394 PyObject
*resultobj
= 0;
36395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36396 wxTextCtrl
*result
= 0 ;
36399 PyObject
*swig_obj
[1] ;
36401 if (!args
) SWIG_fail
;
36402 swig_obj
[0] = args
;
36403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36404 if (!SWIG_IsOK(res1
)) {
36405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36407 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36410 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36411 wxPyEndAllowThreads(__tstate
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36415 resultobj
= wxPyMake_wxObject(result
, 0);
36423 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36424 PyObject
*resultobj
= 0;
36425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36426 wxTreeItemId
*arg2
= 0 ;
36431 PyObject
* obj0
= 0 ;
36432 PyObject
* obj1
= 0 ;
36433 char * kwnames
[] = {
36434 (char *) "self",(char *) "item", NULL
36437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36439 if (!SWIG_IsOK(res1
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36442 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36444 if (!SWIG_IsOK(res2
)) {
36445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36450 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36453 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36454 wxPyEndAllowThreads(__tstate
);
36455 if (PyErr_Occurred()) SWIG_fail
;
36457 resultobj
= SWIG_Py_Void();
36464 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36465 PyObject
*resultobj
= 0;
36466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36467 wxPoint
*arg2
= 0 ;
36469 wxTreeItemId result
;
36474 int res3
= SWIG_TMPOBJ
;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 char * kwnames
[] = {
36478 (char *) "self",(char *) "point", NULL
36482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36484 if (!SWIG_IsOK(res1
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36490 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36494 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36499 if (SWIG_IsTmpObj(res3
)) {
36500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36502 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36511 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36512 PyObject
*resultobj
= 0;
36513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36514 wxTreeItemId
*arg2
= 0 ;
36515 bool arg3
= (bool) false ;
36516 PyObject
*result
= 0 ;
36523 PyObject
* obj0
= 0 ;
36524 PyObject
* obj1
= 0 ;
36525 PyObject
* obj2
= 0 ;
36526 char * kwnames
[] = {
36527 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36532 if (!SWIG_IsOK(res1
)) {
36533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36535 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36537 if (!SWIG_IsOK(res2
)) {
36538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36543 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36545 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36546 if (!SWIG_IsOK(ecode3
)) {
36547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36549 arg3
= static_cast< bool >(val3
);
36552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36553 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= result
;
36564 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
= 0;
36566 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36567 SwigValueWrapper
<wxVisualAttributes
> result
;
36570 PyObject
* obj0
= 0 ;
36571 char * kwnames
[] = {
36572 (char *) "variant", NULL
36575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36578 if (!SWIG_IsOK(ecode1
)) {
36579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36581 arg1
= static_cast< wxWindowVariant
>(val1
);
36584 if (!wxPyCheckForApp()) SWIG_fail
;
36585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36586 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36587 wxPyEndAllowThreads(__tstate
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36590 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36597 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36598 PyObject
*resultobj
= 0;
36599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36605 PyObject
* obj0
= 0 ;
36606 PyObject
* obj1
= 0 ;
36607 char * kwnames
[] = {
36608 (char *) "self",(char *) "q", NULL
36611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36613 if (!SWIG_IsOK(res1
)) {
36614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36616 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36618 if (!SWIG_IsOK(ecode2
)) {
36619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36621 arg2
= static_cast< bool >(val2
);
36623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36624 (arg1
)->SetQuickBestSize(arg2
);
36625 wxPyEndAllowThreads(__tstate
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36628 resultobj
= SWIG_Py_Void();
36635 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36636 PyObject
*resultobj
= 0;
36637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36641 PyObject
*swig_obj
[1] ;
36643 if (!args
) SWIG_fail
;
36644 swig_obj
[0] = args
;
36645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36646 if (!SWIG_IsOK(res1
)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36649 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36665 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36668 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36669 return SWIG_Py_Void();
36672 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36673 return SWIG_Python_InitShadowInstance(args
);
36676 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36677 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36682 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36683 PyObject
*pyobj
= 0;
36687 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36689 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36696 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36697 PyObject
*resultobj
= 0;
36698 wxWindow
*arg1
= (wxWindow
*) 0 ;
36699 int arg2
= (int) (int)-1 ;
36700 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36701 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36706 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36707 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36708 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36709 int arg8
= (int) 0 ;
36710 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36711 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36712 wxGenericDirCtrl
*result
= 0 ;
36717 bool temp3
= false ;
36722 bool temp7
= false ;
36725 bool temp9
= false ;
36726 PyObject
* obj0
= 0 ;
36727 PyObject
* obj1
= 0 ;
36728 PyObject
* obj2
= 0 ;
36729 PyObject
* obj3
= 0 ;
36730 PyObject
* obj4
= 0 ;
36731 PyObject
* obj5
= 0 ;
36732 PyObject
* obj6
= 0 ;
36733 PyObject
* obj7
= 0 ;
36734 PyObject
* obj8
= 0 ;
36735 char * kwnames
[] = {
36736 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36741 if (!SWIG_IsOK(res1
)) {
36742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36744 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36747 if (!SWIG_IsOK(ecode2
)) {
36748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36750 arg2
= static_cast< int >(val2
);
36754 arg3
= wxString_in_helper(obj2
);
36755 if (arg3
== NULL
) SWIG_fail
;
36762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36772 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36773 if (!SWIG_IsOK(ecode6
)) {
36774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36776 arg6
= static_cast< long >(val6
);
36780 arg7
= wxString_in_helper(obj6
);
36781 if (arg7
== NULL
) SWIG_fail
;
36786 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36787 if (!SWIG_IsOK(ecode8
)) {
36788 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36790 arg8
= static_cast< int >(val8
);
36794 arg9
= wxString_in_helper(obj8
);
36795 if (arg9
== NULL
) SWIG_fail
;
36800 if (!wxPyCheckForApp()) SWIG_fail
;
36801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36802 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36837 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36838 PyObject
*resultobj
= 0;
36839 wxGenericDirCtrl
*result
= 0 ;
36841 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36843 if (!wxPyCheckForApp()) SWIG_fail
;
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36856 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
= 0;
36858 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36859 wxWindow
*arg2
= (wxWindow
*) 0 ;
36860 int arg3
= (int) (int)-1 ;
36861 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36862 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36863 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36864 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36865 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36866 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36867 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36868 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36869 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36870 int arg9
= (int) 0 ;
36871 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36872 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36880 bool temp4
= false ;
36885 bool temp8
= false ;
36888 bool temp10
= false ;
36889 PyObject
* obj0
= 0 ;
36890 PyObject
* obj1
= 0 ;
36891 PyObject
* obj2
= 0 ;
36892 PyObject
* obj3
= 0 ;
36893 PyObject
* obj4
= 0 ;
36894 PyObject
* obj5
= 0 ;
36895 PyObject
* obj6
= 0 ;
36896 PyObject
* obj7
= 0 ;
36897 PyObject
* obj8
= 0 ;
36898 PyObject
* obj9
= 0 ;
36899 char * kwnames
[] = {
36900 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36905 if (!SWIG_IsOK(res1
)) {
36906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36908 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36910 if (!SWIG_IsOK(res2
)) {
36911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36916 if (!SWIG_IsOK(ecode3
)) {
36917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36919 arg3
= static_cast< int >(val3
);
36923 arg4
= wxString_in_helper(obj3
);
36924 if (arg4
== NULL
) SWIG_fail
;
36931 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36937 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36941 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36942 if (!SWIG_IsOK(ecode7
)) {
36943 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36945 arg7
= static_cast< long >(val7
);
36949 arg8
= wxString_in_helper(obj7
);
36950 if (arg8
== NULL
) SWIG_fail
;
36955 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36956 if (!SWIG_IsOK(ecode9
)) {
36957 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36959 arg9
= static_cast< int >(val9
);
36963 arg10
= wxString_in_helper(obj9
);
36964 if (arg10
== NULL
) SWIG_fail
;
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37007 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37008 PyObject
*resultobj
= 0;
37009 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37010 wxString
*arg2
= 0 ;
37014 bool temp2
= false ;
37015 PyObject
* obj0
= 0 ;
37016 PyObject
* obj1
= 0 ;
37017 char * kwnames
[] = {
37018 (char *) "self",(char *) "path", NULL
37021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37023 if (!SWIG_IsOK(res1
)) {
37024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37026 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37028 arg2
= wxString_in_helper(obj1
);
37029 if (arg2
== NULL
) SWIG_fail
;
37033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37034 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37055 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37056 PyObject
*resultobj
= 0;
37057 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37061 PyObject
*swig_obj
[1] ;
37063 if (!args
) SWIG_fail
;
37064 swig_obj
[0] = args
;
37065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37066 if (!SWIG_IsOK(res1
)) {
37067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37069 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37072 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37073 wxPyEndAllowThreads(__tstate
);
37074 if (PyErr_Occurred()) SWIG_fail
;
37078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37089 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37090 PyObject
*resultobj
= 0;
37091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37092 wxString
*arg2
= 0 ;
37095 bool temp2
= false ;
37096 PyObject
* obj0
= 0 ;
37097 PyObject
* obj1
= 0 ;
37098 char * kwnames
[] = {
37099 (char *) "self",(char *) "path", NULL
37102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37104 if (!SWIG_IsOK(res1
)) {
37105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37107 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37109 arg2
= wxString_in_helper(obj1
);
37110 if (arg2
== NULL
) SWIG_fail
;
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_Py_Void();
37134 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37135 PyObject
*resultobj
= 0;
37136 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37140 PyObject
*swig_obj
[1] ;
37142 if (!args
) SWIG_fail
;
37143 swig_obj
[0] = args
;
37144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37145 if (!SWIG_IsOK(res1
)) {
37146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37148 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37151 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37152 wxPyEndAllowThreads(__tstate
);
37153 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37168 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37169 PyObject
*resultobj
= 0;
37170 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37174 PyObject
*swig_obj
[1] ;
37176 if (!args
) SWIG_fail
;
37177 swig_obj
[0] = args
;
37178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37179 if (!SWIG_IsOK(res1
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37182 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37185 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37186 wxPyEndAllowThreads(__tstate
);
37187 if (PyErr_Occurred()) SWIG_fail
;
37191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37202 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37203 PyObject
*resultobj
= 0;
37204 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37205 wxString
*arg2
= 0 ;
37208 bool temp2
= false ;
37209 PyObject
* obj0
= 0 ;
37210 PyObject
* obj1
= 0 ;
37211 char * kwnames
[] = {
37212 (char *) "self",(char *) "path", NULL
37215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37217 if (!SWIG_IsOK(res1
)) {
37218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37220 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37222 arg2
= wxString_in_helper(obj1
);
37223 if (arg2
== NULL
) SWIG_fail
;
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 (arg1
)->SetPath((wxString
const &)*arg2
);
37229 wxPyEndAllowThreads(__tstate
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37232 resultobj
= SWIG_Py_Void();
37247 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
= 0;
37249 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37255 PyObject
* obj0
= 0 ;
37256 PyObject
* obj1
= 0 ;
37257 char * kwnames
[] = {
37258 (char *) "self",(char *) "show", NULL
37261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37263 if (!SWIG_IsOK(res1
)) {
37264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37266 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37267 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37268 if (!SWIG_IsOK(ecode2
)) {
37269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37271 arg2
= static_cast< bool >(val2
);
37273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37274 (arg1
)->ShowHidden(arg2
);
37275 wxPyEndAllowThreads(__tstate
);
37276 if (PyErr_Occurred()) SWIG_fail
;
37278 resultobj
= SWIG_Py_Void();
37285 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37286 PyObject
*resultobj
= 0;
37287 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37291 PyObject
*swig_obj
[1] ;
37293 if (!args
) SWIG_fail
;
37294 swig_obj
[0] = args
;
37295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37296 if (!SWIG_IsOK(res1
)) {
37297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37299 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37302 result
= (bool)(arg1
)->GetShowHidden();
37303 wxPyEndAllowThreads(__tstate
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37315 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37316 PyObject
*resultobj
= 0;
37317 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37321 PyObject
*swig_obj
[1] ;
37323 if (!args
) SWIG_fail
;
37324 swig_obj
[0] = args
;
37325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37326 if (!SWIG_IsOK(res1
)) {
37327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37329 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37332 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37333 wxPyEndAllowThreads(__tstate
);
37334 if (PyErr_Occurred()) SWIG_fail
;
37338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37349 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37350 PyObject
*resultobj
= 0;
37351 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37352 wxString
*arg2
= 0 ;
37355 bool temp2
= false ;
37356 PyObject
* obj0
= 0 ;
37357 PyObject
* obj1
= 0 ;
37358 char * kwnames
[] = {
37359 (char *) "self",(char *) "filter", NULL
37362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37364 if (!SWIG_IsOK(res1
)) {
37365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37367 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37369 arg2
= wxString_in_helper(obj1
);
37370 if (arg2
== NULL
) SWIG_fail
;
37374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37375 (arg1
)->SetFilter((wxString
const &)*arg2
);
37376 wxPyEndAllowThreads(__tstate
);
37377 if (PyErr_Occurred()) SWIG_fail
;
37379 resultobj
= SWIG_Py_Void();
37394 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37395 PyObject
*resultobj
= 0;
37396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37400 PyObject
*swig_obj
[1] ;
37402 if (!args
) SWIG_fail
;
37403 swig_obj
[0] = args
;
37404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37405 if (!SWIG_IsOK(res1
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37408 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37411 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37412 wxPyEndAllowThreads(__tstate
);
37413 if (PyErr_Occurred()) SWIG_fail
;
37415 resultobj
= SWIG_From_int(static_cast< int >(result
));
37422 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37423 PyObject
*resultobj
= 0;
37424 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37430 PyObject
* obj0
= 0 ;
37431 PyObject
* obj1
= 0 ;
37432 char * kwnames
[] = {
37433 (char *) "self",(char *) "n", NULL
37436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37438 if (!SWIG_IsOK(res1
)) {
37439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37441 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37443 if (!SWIG_IsOK(ecode2
)) {
37444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37446 arg2
= static_cast< int >(val2
);
37448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37449 (arg1
)->SetFilterIndex(arg2
);
37450 wxPyEndAllowThreads(__tstate
);
37451 if (PyErr_Occurred()) SWIG_fail
;
37453 resultobj
= SWIG_Py_Void();
37460 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37461 PyObject
*resultobj
= 0;
37462 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37463 wxTreeItemId result
;
37466 PyObject
*swig_obj
[1] ;
37468 if (!args
) SWIG_fail
;
37469 swig_obj
[0] = args
;
37470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37471 if (!SWIG_IsOK(res1
)) {
37472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37474 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 result
= (arg1
)->GetRootId();
37478 wxPyEndAllowThreads(__tstate
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37481 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37488 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37489 PyObject
*resultobj
= 0;
37490 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37491 wxPyTreeCtrl
*result
= 0 ;
37494 PyObject
*swig_obj
[1] ;
37496 if (!args
) SWIG_fail
;
37497 swig_obj
[0] = args
;
37498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37499 if (!SWIG_IsOK(res1
)) {
37500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37502 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37505 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37506 wxPyEndAllowThreads(__tstate
);
37507 if (PyErr_Occurred()) SWIG_fail
;
37510 resultobj
= wxPyMake_wxObject(result
, 0);
37518 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37519 PyObject
*resultobj
= 0;
37520 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37521 wxDirFilterListCtrl
*result
= 0 ;
37524 PyObject
*swig_obj
[1] ;
37526 if (!args
) SWIG_fail
;
37527 swig_obj
[0] = args
;
37528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37529 if (!SWIG_IsOK(res1
)) {
37530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37532 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37546 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37547 PyObject
*resultobj
= 0;
37548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37549 wxTreeItemId arg2
;
37550 wxString
*arg3
= 0 ;
37552 wxTreeItemId result
;
37557 bool temp3
= false ;
37559 int res4
= SWIG_TMPOBJ
;
37560 PyObject
* obj0
= 0 ;
37561 PyObject
* obj1
= 0 ;
37562 PyObject
* obj2
= 0 ;
37563 char * kwnames
[] = {
37564 (char *) "self",(char *) "parentId",(char *) "path", NULL
37568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37570 if (!SWIG_IsOK(res1
)) {
37571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37573 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37576 if (!SWIG_IsOK(res2
)) {
37577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37582 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37584 if (SWIG_IsNewObj(res2
)) delete temp
;
37588 arg3
= wxString_in_helper(obj2
);
37589 if (arg3
== NULL
) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37595 wxPyEndAllowThreads(__tstate
);
37596 if (PyErr_Occurred()) SWIG_fail
;
37598 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37599 if (SWIG_IsTmpObj(res4
)) {
37600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37602 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37619 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37620 PyObject
*resultobj
= 0;
37621 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37624 PyObject
*swig_obj
[1] ;
37626 if (!args
) SWIG_fail
;
37627 swig_obj
[0] = args
;
37628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37629 if (!SWIG_IsOK(res1
)) {
37630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37632 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 (arg1
)->DoResize();
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 resultobj
= SWIG_Py_Void();
37646 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37647 PyObject
*resultobj
= 0;
37648 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37651 PyObject
*swig_obj
[1] ;
37653 if (!args
) SWIG_fail
;
37654 swig_obj
[0] = args
;
37655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37656 if (!SWIG_IsOK(res1
)) {
37657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37659 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37662 (arg1
)->ReCreateTree();
37663 wxPyEndAllowThreads(__tstate
);
37664 if (PyErr_Occurred()) SWIG_fail
;
37666 resultobj
= SWIG_Py_Void();
37673 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37676 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37677 return SWIG_Py_Void();
37680 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37681 return SWIG_Python_InitShadowInstance(args
);
37684 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37685 PyObject
*resultobj
= 0;
37686 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37687 int arg2
= (int) (int)-1 ;
37688 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37689 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37690 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37691 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37692 long arg5
= (long) 0 ;
37693 wxDirFilterListCtrl
*result
= 0 ;
37702 PyObject
* obj0
= 0 ;
37703 PyObject
* obj1
= 0 ;
37704 PyObject
* obj2
= 0 ;
37705 PyObject
* obj3
= 0 ;
37706 PyObject
* obj4
= 0 ;
37707 char * kwnames
[] = {
37708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37713 if (!SWIG_IsOK(res1
)) {
37714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37716 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37719 if (!SWIG_IsOK(ecode2
)) {
37720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37722 arg2
= static_cast< int >(val2
);
37727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37733 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37737 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37738 if (!SWIG_IsOK(ecode5
)) {
37739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37741 arg5
= static_cast< long >(val5
);
37744 if (!wxPyCheckForApp()) SWIG_fail
;
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37747 wxPyEndAllowThreads(__tstate
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37757 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37758 PyObject
*resultobj
= 0;
37759 wxDirFilterListCtrl
*result
= 0 ;
37761 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37763 if (!wxPyCheckForApp()) SWIG_fail
;
37764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37765 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37776 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37777 PyObject
*resultobj
= 0;
37778 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37779 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37780 int arg3
= (int) (int)-1 ;
37781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37785 long arg6
= (long) 0 ;
37797 PyObject
* obj0
= 0 ;
37798 PyObject
* obj1
= 0 ;
37799 PyObject
* obj2
= 0 ;
37800 PyObject
* obj3
= 0 ;
37801 PyObject
* obj4
= 0 ;
37802 PyObject
* obj5
= 0 ;
37803 char * kwnames
[] = {
37804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37809 if (!SWIG_IsOK(res1
)) {
37810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37812 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37814 if (!SWIG_IsOK(res2
)) {
37815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37817 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37820 if (!SWIG_IsOK(ecode3
)) {
37821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37823 arg3
= static_cast< int >(val3
);
37828 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37834 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37838 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37839 if (!SWIG_IsOK(ecode6
)) {
37840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37842 arg6
= static_cast< long >(val6
);
37845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37859 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37860 PyObject
*resultobj
= 0;
37861 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37862 wxString
*arg2
= 0 ;
37866 bool temp2
= false ;
37869 PyObject
* obj0
= 0 ;
37870 PyObject
* obj1
= 0 ;
37871 PyObject
* obj2
= 0 ;
37872 char * kwnames
[] = {
37873 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37878 if (!SWIG_IsOK(res1
)) {
37879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37881 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37883 arg2
= wxString_in_helper(obj1
);
37884 if (arg2
== NULL
) SWIG_fail
;
37887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37888 if (!SWIG_IsOK(ecode3
)) {
37889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37891 arg3
= static_cast< int >(val3
);
37893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37894 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37895 wxPyEndAllowThreads(__tstate
);
37896 if (PyErr_Occurred()) SWIG_fail
;
37898 resultobj
= SWIG_Py_Void();
37913 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37917 return SWIG_Py_Void();
37920 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37921 return SWIG_Python_InitShadowInstance(args
);
37924 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37925 PyObject
*resultobj
= 0;
37926 wxWindow
*arg1
= (wxWindow
*) 0 ;
37927 int arg2
= (int) (int)-1 ;
37928 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37929 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37930 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37931 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37932 long arg5
= (long) 0 ;
37933 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37934 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37935 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37937 wxPyControl
*result
= 0 ;
37948 bool temp7
= false ;
37949 PyObject
* obj0
= 0 ;
37950 PyObject
* obj1
= 0 ;
37951 PyObject
* obj2
= 0 ;
37952 PyObject
* obj3
= 0 ;
37953 PyObject
* obj4
= 0 ;
37954 PyObject
* obj5
= 0 ;
37955 PyObject
* obj6
= 0 ;
37956 char * kwnames
[] = {
37957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37962 if (!SWIG_IsOK(res1
)) {
37963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37968 if (!SWIG_IsOK(ecode2
)) {
37969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37971 arg2
= static_cast< int >(val2
);
37976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37982 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37986 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37987 if (!SWIG_IsOK(ecode5
)) {
37988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37990 arg5
= static_cast< long >(val5
);
37993 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
37994 if (!SWIG_IsOK(res6
)) {
37995 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38000 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38004 arg7
= wxString_in_helper(obj6
);
38005 if (arg7
== NULL
) SWIG_fail
;
38010 if (!wxPyCheckForApp()) SWIG_fail
;
38011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38012 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38013 wxPyEndAllowThreads(__tstate
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38031 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38032 PyObject
*resultobj
= 0;
38033 wxPyControl
*result
= 0 ;
38035 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38037 if (!wxPyCheckForApp()) SWIG_fail
;
38038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38039 result
= (wxPyControl
*)new wxPyControl();
38040 wxPyEndAllowThreads(__tstate
);
38041 if (PyErr_Occurred()) SWIG_fail
;
38043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38050 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38051 PyObject
*resultobj
= 0;
38052 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38053 PyObject
*arg2
= (PyObject
*) 0 ;
38054 PyObject
*arg3
= (PyObject
*) 0 ;
38057 PyObject
* obj0
= 0 ;
38058 PyObject
* obj1
= 0 ;
38059 PyObject
* obj2
= 0 ;
38060 char * kwnames
[] = {
38061 (char *) "self",(char *) "self",(char *) "_class", NULL
38064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38066 if (!SWIG_IsOK(res1
)) {
38067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38069 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38075 wxPyEndAllowThreads(__tstate
);
38076 if (PyErr_Occurred()) SWIG_fail
;
38078 resultobj
= SWIG_Py_Void();
38085 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38086 PyObject
*resultobj
= 0;
38087 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38092 PyObject
* obj0
= 0 ;
38093 PyObject
* obj1
= 0 ;
38094 char * kwnames
[] = {
38095 (char *) "self",(char *) "size", NULL
38098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38100 if (!SWIG_IsOK(res1
)) {
38101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38103 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38106 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38110 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38111 wxPyEndAllowThreads(__tstate
);
38112 if (PyErr_Occurred()) SWIG_fail
;
38114 resultobj
= SWIG_Py_Void();
38121 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38122 PyObject
*resultobj
= 0;
38123 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38124 wxDC
*arg2
= (wxDC
*) 0 ;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 char * kwnames
[] = {
38133 (char *) "self",(char *) "dc", NULL
38136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38138 if (!SWIG_IsOK(res1
)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38141 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38143 if (!SWIG_IsOK(res2
)) {
38144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38146 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38149 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38162 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38163 PyObject
*resultobj
= 0;
38164 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 PyObject
* obj2
= 0 ;
38182 PyObject
* obj3
= 0 ;
38183 PyObject
* obj4
= 0 ;
38184 char * kwnames
[] = {
38185 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38190 if (!SWIG_IsOK(res1
)) {
38191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38193 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38195 if (!SWIG_IsOK(ecode2
)) {
38196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38198 arg2
= static_cast< int >(val2
);
38199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38200 if (!SWIG_IsOK(ecode3
)) {
38201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38203 arg3
= static_cast< int >(val3
);
38204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38205 if (!SWIG_IsOK(ecode4
)) {
38206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38208 arg4
= static_cast< int >(val4
);
38209 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38210 if (!SWIG_IsOK(ecode5
)) {
38211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38213 arg5
= static_cast< int >(val5
);
38215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38216 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38217 wxPyEndAllowThreads(__tstate
);
38218 if (PyErr_Occurred()) SWIG_fail
;
38220 resultobj
= SWIG_Py_Void();
38227 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38228 PyObject
*resultobj
= 0;
38229 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38234 int arg6
= (int) wxSIZE_AUTO
;
38247 PyObject
* obj0
= 0 ;
38248 PyObject
* obj1
= 0 ;
38249 PyObject
* obj2
= 0 ;
38250 PyObject
* obj3
= 0 ;
38251 PyObject
* obj4
= 0 ;
38252 PyObject
* obj5
= 0 ;
38253 char * kwnames
[] = {
38254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38259 if (!SWIG_IsOK(res1
)) {
38260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38262 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38264 if (!SWIG_IsOK(ecode2
)) {
38265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38267 arg2
= static_cast< int >(val2
);
38268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38269 if (!SWIG_IsOK(ecode3
)) {
38270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38272 arg3
= static_cast< int >(val3
);
38273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38274 if (!SWIG_IsOK(ecode4
)) {
38275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38277 arg4
= static_cast< int >(val4
);
38278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38279 if (!SWIG_IsOK(ecode5
)) {
38280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38282 arg5
= static_cast< int >(val5
);
38284 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38285 if (!SWIG_IsOK(ecode6
)) {
38286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38288 arg6
= static_cast< int >(val6
);
38291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38292 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38296 resultobj
= SWIG_Py_Void();
38303 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
= 0;
38305 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38314 PyObject
* obj0
= 0 ;
38315 PyObject
* obj1
= 0 ;
38316 PyObject
* obj2
= 0 ;
38317 char * kwnames
[] = {
38318 (char *) "self",(char *) "width",(char *) "height", NULL
38321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38323 if (!SWIG_IsOK(res1
)) {
38324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38326 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38328 if (!SWIG_IsOK(ecode2
)) {
38329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38331 arg2
= static_cast< int >(val2
);
38332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38333 if (!SWIG_IsOK(ecode3
)) {
38334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38336 arg3
= static_cast< int >(val3
);
38338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38339 (arg1
)->DoSetClientSize(arg2
,arg3
);
38340 wxPyEndAllowThreads(__tstate
);
38341 if (PyErr_Occurred()) SWIG_fail
;
38343 resultobj
= SWIG_Py_Void();
38350 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
= 0;
38352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38361 PyObject
* obj0
= 0 ;
38362 PyObject
* obj1
= 0 ;
38363 PyObject
* obj2
= 0 ;
38364 char * kwnames
[] = {
38365 (char *) "self",(char *) "x",(char *) "y", NULL
38368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38370 if (!SWIG_IsOK(res1
)) {
38371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38373 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38375 if (!SWIG_IsOK(ecode2
)) {
38376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38378 arg2
= static_cast< int >(val2
);
38379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38380 if (!SWIG_IsOK(ecode3
)) {
38381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38383 arg3
= static_cast< int >(val3
);
38385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38386 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38387 wxPyEndAllowThreads(__tstate
);
38388 if (PyErr_Occurred()) SWIG_fail
;
38390 resultobj
= SWIG_Py_Void();
38397 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38398 PyObject
*resultobj
= 0;
38399 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38400 int *arg2
= (int *) 0 ;
38401 int *arg3
= (int *) 0 ;
38405 int res2
= SWIG_TMPOBJ
;
38407 int res3
= SWIG_TMPOBJ
;
38408 PyObject
*swig_obj
[1] ;
38412 if (!args
) SWIG_fail
;
38413 swig_obj
[0] = args
;
38414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38415 if (!SWIG_IsOK(res1
)) {
38416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38418 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38421 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38422 wxPyEndAllowThreads(__tstate
);
38423 if (PyErr_Occurred()) SWIG_fail
;
38425 resultobj
= SWIG_Py_Void();
38426 if (SWIG_IsTmpObj(res2
)) {
38427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38429 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38432 if (SWIG_IsTmpObj(res3
)) {
38433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38435 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38444 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38445 PyObject
*resultobj
= 0;
38446 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38447 int *arg2
= (int *) 0 ;
38448 int *arg3
= (int *) 0 ;
38452 int res2
= SWIG_TMPOBJ
;
38454 int res3
= SWIG_TMPOBJ
;
38455 PyObject
*swig_obj
[1] ;
38459 if (!args
) SWIG_fail
;
38460 swig_obj
[0] = args
;
38461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38462 if (!SWIG_IsOK(res1
)) {
38463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38465 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38468 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38469 wxPyEndAllowThreads(__tstate
);
38470 if (PyErr_Occurred()) SWIG_fail
;
38472 resultobj
= SWIG_Py_Void();
38473 if (SWIG_IsTmpObj(res2
)) {
38474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38476 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38479 if (SWIG_IsTmpObj(res3
)) {
38480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38482 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38491 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38492 PyObject
*resultobj
= 0;
38493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38494 int *arg2
= (int *) 0 ;
38495 int *arg3
= (int *) 0 ;
38499 int res2
= SWIG_TMPOBJ
;
38501 int res3
= SWIG_TMPOBJ
;
38502 PyObject
*swig_obj
[1] ;
38506 if (!args
) SWIG_fail
;
38507 swig_obj
[0] = args
;
38508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38509 if (!SWIG_IsOK(res1
)) {
38510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38512 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38515 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38516 wxPyEndAllowThreads(__tstate
);
38517 if (PyErr_Occurred()) SWIG_fail
;
38519 resultobj
= SWIG_Py_Void();
38520 if (SWIG_IsTmpObj(res2
)) {
38521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38523 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38526 if (SWIG_IsTmpObj(res3
)) {
38527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38529 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38538 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38539 PyObject
*resultobj
= 0;
38540 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38544 PyObject
*swig_obj
[1] ;
38546 if (!args
) SWIG_fail
;
38547 swig_obj
[0] = args
;
38548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38549 if (!SWIG_IsOK(res1
)) {
38550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38552 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38555 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38556 wxPyEndAllowThreads(__tstate
);
38557 if (PyErr_Occurred()) SWIG_fail
;
38559 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38566 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38567 PyObject
*resultobj
= 0;
38568 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38572 PyObject
*swig_obj
[1] ;
38574 if (!args
) SWIG_fail
;
38575 swig_obj
[0] = args
;
38576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38577 if (!SWIG_IsOK(res1
)) {
38578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38580 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38587 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38594 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38595 PyObject
*resultobj
= 0;
38596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38597 SwigValueWrapper
<wxVisualAttributes
> result
;
38600 PyObject
*swig_obj
[1] ;
38602 if (!args
) SWIG_fail
;
38603 swig_obj
[0] = args
;
38604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38605 if (!SWIG_IsOK(res1
)) {
38606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38608 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38611 result
= (arg1
)->GetDefaultAttributes();
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38622 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38623 PyObject
*resultobj
= 0;
38624 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38627 PyObject
*swig_obj
[1] ;
38629 if (!args
) SWIG_fail
;
38630 swig_obj
[0] = args
;
38631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38632 if (!SWIG_IsOK(res1
)) {
38633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38635 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 (arg1
)->OnInternalIdle();
38639 wxPyEndAllowThreads(__tstate
);
38640 if (PyErr_Occurred()) SWIG_fail
;
38642 resultobj
= SWIG_Py_Void();
38649 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38653 return SWIG_Py_Void();
38656 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38657 return SWIG_Python_InitShadowInstance(args
);
38660 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38661 PyObject
*resultobj
= 0;
38662 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38663 int arg2
= (int) 0 ;
38664 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38665 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38666 wxHelpEvent
*result
= 0 ;
38672 PyObject
* obj0
= 0 ;
38673 PyObject
* obj1
= 0 ;
38674 PyObject
* obj2
= 0 ;
38675 char * kwnames
[] = {
38676 (char *) "type",(char *) "winid",(char *) "pt", NULL
38679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38682 if (!SWIG_IsOK(ecode1
)) {
38683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38685 arg1
= static_cast< wxEventType
>(val1
);
38688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38689 if (!SWIG_IsOK(ecode2
)) {
38690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38692 arg2
= static_cast< int >(val2
);
38697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38702 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38703 wxPyEndAllowThreads(__tstate
);
38704 if (PyErr_Occurred()) SWIG_fail
;
38706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38713 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38714 PyObject
*resultobj
= 0;
38715 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38719 PyObject
*swig_obj
[1] ;
38721 if (!args
) SWIG_fail
;
38722 swig_obj
[0] = args
;
38723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38724 if (!SWIG_IsOK(res1
)) {
38725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38727 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38731 wxPyEndAllowThreads(__tstate
);
38732 if (PyErr_Occurred()) SWIG_fail
;
38734 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38741 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38742 PyObject
*resultobj
= 0;
38743 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38744 wxPoint
*arg2
= 0 ;
38748 PyObject
* obj0
= 0 ;
38749 PyObject
* obj1
= 0 ;
38750 char * kwnames
[] = {
38751 (char *) "self",(char *) "pos", NULL
38754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38756 if (!SWIG_IsOK(res1
)) {
38757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38759 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38766 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38767 wxPyEndAllowThreads(__tstate
);
38768 if (PyErr_Occurred()) SWIG_fail
;
38770 resultobj
= SWIG_Py_Void();
38777 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38778 PyObject
*resultobj
= 0;
38779 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38780 wxString
*result
= 0 ;
38783 PyObject
*swig_obj
[1] ;
38785 if (!args
) SWIG_fail
;
38786 swig_obj
[0] = args
;
38787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38788 if (!SWIG_IsOK(res1
)) {
38789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38791 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38796 result
= (wxString
*) &_result_ref
;
38798 wxPyEndAllowThreads(__tstate
);
38799 if (PyErr_Occurred()) SWIG_fail
;
38803 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38805 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38814 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38815 PyObject
*resultobj
= 0;
38816 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38817 wxString
*arg2
= 0 ;
38820 bool temp2
= false ;
38821 PyObject
* obj0
= 0 ;
38822 PyObject
* obj1
= 0 ;
38823 char * kwnames
[] = {
38824 (char *) "self",(char *) "link", NULL
38827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38829 if (!SWIG_IsOK(res1
)) {
38830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38832 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38834 arg2
= wxString_in_helper(obj1
);
38835 if (arg2
== NULL
) SWIG_fail
;
38839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38840 (arg1
)->SetLink((wxString
const &)*arg2
);
38841 wxPyEndAllowThreads(__tstate
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38844 resultobj
= SWIG_Py_Void();
38859 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38860 PyObject
*resultobj
= 0;
38861 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38862 wxString
*result
= 0 ;
38865 PyObject
*swig_obj
[1] ;
38867 if (!args
) SWIG_fail
;
38868 swig_obj
[0] = args
;
38869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38870 if (!SWIG_IsOK(res1
)) {
38871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38873 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38877 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38878 result
= (wxString
*) &_result_ref
;
38880 wxPyEndAllowThreads(__tstate
);
38881 if (PyErr_Occurred()) SWIG_fail
;
38885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38896 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38897 PyObject
*resultobj
= 0;
38898 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38899 wxString
*arg2
= 0 ;
38902 bool temp2
= false ;
38903 PyObject
* obj0
= 0 ;
38904 PyObject
* obj1
= 0 ;
38905 char * kwnames
[] = {
38906 (char *) "self",(char *) "target", NULL
38909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38911 if (!SWIG_IsOK(res1
)) {
38912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38914 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38916 arg2
= wxString_in_helper(obj1
);
38917 if (arg2
== NULL
) SWIG_fail
;
38921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38922 (arg1
)->SetTarget((wxString
const &)*arg2
);
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 resultobj
= SWIG_Py_Void();
38941 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38944 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38945 return SWIG_Py_Void();
38948 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38949 return SWIG_Python_InitShadowInstance(args
);
38952 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38953 PyObject
*resultobj
= 0;
38954 wxWindow
*arg1
= (wxWindow
*) NULL
;
38955 bool arg2
= (bool) true ;
38956 wxContextHelp
*result
= 0 ;
38961 PyObject
* obj0
= 0 ;
38962 PyObject
* obj1
= 0 ;
38963 char * kwnames
[] = {
38964 (char *) "window",(char *) "doNow", NULL
38967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38970 if (!SWIG_IsOK(res1
)) {
38971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38976 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38977 if (!SWIG_IsOK(ecode2
)) {
38978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38980 arg2
= static_cast< bool >(val2
);
38983 if (!wxPyCheckForApp()) SWIG_fail
;
38984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38985 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
38996 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38997 PyObject
*resultobj
= 0;
38998 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39001 PyObject
*swig_obj
[1] ;
39003 if (!args
) SWIG_fail
;
39004 swig_obj
[0] = args
;
39005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39006 if (!SWIG_IsOK(res1
)) {
39007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39009 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39014 wxPyEndAllowThreads(__tstate
);
39015 if (PyErr_Occurred()) SWIG_fail
;
39017 resultobj
= SWIG_Py_Void();
39024 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39025 PyObject
*resultobj
= 0;
39026 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39027 wxWindow
*arg2
= (wxWindow
*) NULL
;
39033 PyObject
* obj0
= 0 ;
39034 PyObject
* obj1
= 0 ;
39035 char * kwnames
[] = {
39036 (char *) "self",(char *) "window", NULL
39039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39041 if (!SWIG_IsOK(res1
)) {
39042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39044 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39047 if (!SWIG_IsOK(res2
)) {
39048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39050 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39054 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39055 wxPyEndAllowThreads(__tstate
);
39056 if (PyErr_Occurred()) SWIG_fail
;
39059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39067 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39068 PyObject
*resultobj
= 0;
39069 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39073 PyObject
*swig_obj
[1] ;
39075 if (!args
) SWIG_fail
;
39076 swig_obj
[0] = args
;
39077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39078 if (!SWIG_IsOK(res1
)) {
39079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39081 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 result
= (bool)(arg1
)->EndContextHelp();
39085 wxPyEndAllowThreads(__tstate
);
39086 if (PyErr_Occurred()) SWIG_fail
;
39089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39097 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39100 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39101 return SWIG_Py_Void();
39104 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39105 return SWIG_Python_InitShadowInstance(args
);
39108 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39109 PyObject
*resultobj
= 0;
39110 wxWindow
*arg1
= (wxWindow
*) 0 ;
39111 int arg2
= (int) wxID_CONTEXT_HELP
;
39112 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39113 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39114 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39115 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39116 long arg5
= (long) wxBU_AUTODRAW
;
39117 wxContextHelpButton
*result
= 0 ;
39126 PyObject
* obj0
= 0 ;
39127 PyObject
* obj1
= 0 ;
39128 PyObject
* obj2
= 0 ;
39129 PyObject
* obj3
= 0 ;
39130 PyObject
* obj4
= 0 ;
39131 char * kwnames
[] = {
39132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39137 if (!SWIG_IsOK(res1
)) {
39138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39143 if (!SWIG_IsOK(ecode2
)) {
39144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39146 arg2
= static_cast< int >(val2
);
39151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39161 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39162 if (!SWIG_IsOK(ecode5
)) {
39163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39165 arg5
= static_cast< long >(val5
);
39168 if (!wxPyCheckForApp()) SWIG_fail
;
39169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39170 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39171 wxPyEndAllowThreads(__tstate
);
39172 if (PyErr_Occurred()) SWIG_fail
;
39174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39181 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39184 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39185 return SWIG_Py_Void();
39188 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39189 return SWIG_Python_InitShadowInstance(args
);
39192 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39193 PyObject
*resultobj
= 0;
39194 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39197 PyObject
*swig_obj
[1] ;
39199 if (!args
) SWIG_fail
;
39200 swig_obj
[0] = args
;
39201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39202 if (!SWIG_IsOK(res1
)) {
39203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39205 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39210 wxPyEndAllowThreads(__tstate
);
39211 if (PyErr_Occurred()) SWIG_fail
;
39213 resultobj
= SWIG_Py_Void();
39220 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39221 PyObject
*resultobj
= 0;
39222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39223 wxHelpProvider
*result
= 0 ;
39225 PyObject
* obj0
= 0 ;
39226 char * kwnames
[] = {
39227 (char *) "helpProvider", NULL
39230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39231 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39232 if (!SWIG_IsOK(res1
)) {
39233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39237 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39248 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39249 PyObject
*resultobj
= 0;
39250 wxHelpProvider
*result
= 0 ;
39252 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39255 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39256 wxPyEndAllowThreads(__tstate
);
39257 if (PyErr_Occurred()) SWIG_fail
;
39259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39266 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39267 PyObject
*resultobj
= 0;
39268 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39269 wxWindow
*arg2
= (wxWindow
*) 0 ;
39275 PyObject
* obj0
= 0 ;
39276 PyObject
* obj1
= 0 ;
39277 char * kwnames
[] = {
39278 (char *) "self",(char *) "window", NULL
39281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39283 if (!SWIG_IsOK(res1
)) {
39284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39286 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39288 if (!SWIG_IsOK(res2
)) {
39289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39294 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39295 wxPyEndAllowThreads(__tstate
);
39296 if (PyErr_Occurred()) SWIG_fail
;
39300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39311 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39312 PyObject
*resultobj
= 0;
39313 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39314 wxWindow
*arg2
= (wxWindow
*) 0 ;
39320 PyObject
* obj0
= 0 ;
39321 PyObject
* obj1
= 0 ;
39322 char * kwnames
[] = {
39323 (char *) "self",(char *) "window", NULL
39326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39328 if (!SWIG_IsOK(res1
)) {
39329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39331 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39333 if (!SWIG_IsOK(res2
)) {
39334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39336 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39339 result
= (bool)(arg1
)->ShowHelp(arg2
);
39340 wxPyEndAllowThreads(__tstate
);
39341 if (PyErr_Occurred()) SWIG_fail
;
39344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39352 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39353 PyObject
*resultobj
= 0;
39354 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39355 wxWindow
*arg2
= (wxWindow
*) 0 ;
39356 wxString
*arg3
= 0 ;
39361 bool temp3
= false ;
39362 PyObject
* obj0
= 0 ;
39363 PyObject
* obj1
= 0 ;
39364 PyObject
* obj2
= 0 ;
39365 char * kwnames
[] = {
39366 (char *) "self",(char *) "window",(char *) "text", NULL
39369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39371 if (!SWIG_IsOK(res1
)) {
39372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39374 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39376 if (!SWIG_IsOK(res2
)) {
39377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39381 arg3
= wxString_in_helper(obj2
);
39382 if (arg3
== NULL
) SWIG_fail
;
39386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39387 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39391 resultobj
= SWIG_Py_Void();
39406 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39407 PyObject
*resultobj
= 0;
39408 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39410 wxString
*arg3
= 0 ;
39415 bool temp3
= false ;
39416 PyObject
* obj0
= 0 ;
39417 PyObject
* obj1
= 0 ;
39418 PyObject
* obj2
= 0 ;
39419 char * kwnames
[] = {
39420 (char *) "self",(char *) "id",(char *) "text", NULL
39423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39425 if (!SWIG_IsOK(res1
)) {
39426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39428 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39430 if (!SWIG_IsOK(ecode2
)) {
39431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39433 arg2
= static_cast< int >(val2
);
39435 arg3
= wxString_in_helper(obj2
);
39436 if (arg3
== NULL
) SWIG_fail
;
39440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39441 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39442 wxPyEndAllowThreads(__tstate
);
39443 if (PyErr_Occurred()) SWIG_fail
;
39445 resultobj
= SWIG_Py_Void();
39460 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39461 PyObject
*resultobj
= 0;
39462 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39463 wxWindow
*arg2
= (wxWindow
*) 0 ;
39468 PyObject
* obj0
= 0 ;
39469 PyObject
* obj1
= 0 ;
39470 char * kwnames
[] = {
39471 (char *) "self",(char *) "window", NULL
39474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39476 if (!SWIG_IsOK(res1
)) {
39477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39479 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39481 if (!SWIG_IsOK(res2
)) {
39482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39484 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39487 (arg1
)->RemoveHelp(arg2
);
39488 wxPyEndAllowThreads(__tstate
);
39489 if (PyErr_Occurred()) SWIG_fail
;
39491 resultobj
= SWIG_Py_Void();
39498 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39499 PyObject
*resultobj
= 0;
39500 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39503 PyObject
*swig_obj
[1] ;
39505 if (!args
) SWIG_fail
;
39506 swig_obj
[0] = args
;
39507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39508 if (!SWIG_IsOK(res1
)) {
39509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39511 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39514 wxHelpProvider_Destroy(arg1
);
39515 wxPyEndAllowThreads(__tstate
);
39516 if (PyErr_Occurred()) SWIG_fail
;
39518 resultobj
= SWIG_Py_Void();
39525 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39528 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39529 return SWIG_Py_Void();
39532 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39533 PyObject
*resultobj
= 0;
39534 wxSimpleHelpProvider
*result
= 0 ;
39536 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39539 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39540 wxPyEndAllowThreads(__tstate
);
39541 if (PyErr_Occurred()) SWIG_fail
;
39543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39550 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39553 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39554 return SWIG_Py_Void();
39557 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39558 return SWIG_Python_InitShadowInstance(args
);
39561 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39562 PyObject
*resultobj
= 0;
39563 wxBitmap
*arg1
= 0 ;
39564 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39565 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39566 wxGenericDragImage
*result
= 0 ;
39571 PyObject
* obj0
= 0 ;
39572 PyObject
* obj1
= 0 ;
39573 char * kwnames
[] = {
39574 (char *) "image",(char *) "cursor", NULL
39577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39578 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39579 if (!SWIG_IsOK(res1
)) {
39580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39585 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39588 if (!SWIG_IsOK(res2
)) {
39589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39594 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39597 if (!wxPyCheckForApp()) SWIG_fail
;
39598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39599 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39600 wxPyEndAllowThreads(__tstate
);
39601 if (PyErr_Occurred()) SWIG_fail
;
39603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39610 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39611 PyObject
*resultobj
= 0;
39613 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39614 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39615 wxGenericDragImage
*result
= 0 ;
39620 PyObject
* obj0
= 0 ;
39621 PyObject
* obj1
= 0 ;
39622 char * kwnames
[] = {
39623 (char *) "image",(char *) "cursor", NULL
39626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39627 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39628 if (!SWIG_IsOK(res1
)) {
39629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39634 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39637 if (!SWIG_IsOK(res2
)) {
39638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39643 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39646 if (!wxPyCheckForApp()) SWIG_fail
;
39647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39648 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39649 wxPyEndAllowThreads(__tstate
);
39650 if (PyErr_Occurred()) SWIG_fail
;
39652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39659 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39660 PyObject
*resultobj
= 0;
39661 wxString
*arg1
= 0 ;
39662 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39663 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39664 wxGenericDragImage
*result
= 0 ;
39665 bool temp1
= false ;
39668 PyObject
* obj0
= 0 ;
39669 PyObject
* obj1
= 0 ;
39670 char * kwnames
[] = {
39671 (char *) "str",(char *) "cursor", NULL
39674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39676 arg1
= wxString_in_helper(obj0
);
39677 if (arg1
== NULL
) SWIG_fail
;
39681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39682 if (!SWIG_IsOK(res2
)) {
39683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39688 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39691 if (!wxPyCheckForApp()) SWIG_fail
;
39692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39693 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39694 wxPyEndAllowThreads(__tstate
);
39695 if (PyErr_Occurred()) SWIG_fail
;
39697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39712 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39713 PyObject
*resultobj
= 0;
39714 wxPyTreeCtrl
*arg1
= 0 ;
39715 wxTreeItemId
*arg2
= 0 ;
39716 wxGenericDragImage
*result
= 0 ;
39721 PyObject
* obj0
= 0 ;
39722 PyObject
* obj1
= 0 ;
39723 char * kwnames
[] = {
39724 (char *) "treeCtrl",(char *) "id", NULL
39727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39728 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39729 if (!SWIG_IsOK(res1
)) {
39730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39735 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39737 if (!SWIG_IsOK(res2
)) {
39738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39743 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39745 if (!wxPyCheckForApp()) SWIG_fail
;
39746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39747 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39748 wxPyEndAllowThreads(__tstate
);
39749 if (PyErr_Occurred()) SWIG_fail
;
39751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39758 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39759 PyObject
*resultobj
= 0;
39760 wxPyListCtrl
*arg1
= 0 ;
39762 wxGenericDragImage
*result
= 0 ;
39767 PyObject
* obj0
= 0 ;
39768 PyObject
* obj1
= 0 ;
39769 char * kwnames
[] = {
39770 (char *) "listCtrl",(char *) "id", NULL
39773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39775 if (!SWIG_IsOK(res1
)) {
39776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39781 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39782 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39783 if (!SWIG_IsOK(ecode2
)) {
39784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39786 arg2
= static_cast< long >(val2
);
39788 if (!wxPyCheckForApp()) SWIG_fail
;
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39791 wxPyEndAllowThreads(__tstate
);
39792 if (PyErr_Occurred()) SWIG_fail
;
39794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39801 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39802 PyObject
*resultobj
= 0;
39803 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39806 PyObject
*swig_obj
[1] ;
39808 if (!args
) SWIG_fail
;
39809 swig_obj
[0] = args
;
39810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39811 if (!SWIG_IsOK(res1
)) {
39812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39814 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 resultobj
= SWIG_Py_Void();
39829 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
= 0;
39831 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39832 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39837 PyObject
* obj0
= 0 ;
39838 PyObject
* obj1
= 0 ;
39839 char * kwnames
[] = {
39840 (char *) "self",(char *) "bitmap", NULL
39843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39845 if (!SWIG_IsOK(res1
)) {
39846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39848 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39850 if (!SWIG_IsOK(res2
)) {
39851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39853 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39856 (arg1
)->SetBackingBitmap(arg2
);
39857 wxPyEndAllowThreads(__tstate
);
39858 if (PyErr_Occurred()) SWIG_fail
;
39860 resultobj
= SWIG_Py_Void();
39867 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39868 PyObject
*resultobj
= 0;
39869 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39870 wxPoint
*arg2
= 0 ;
39871 wxWindow
*arg3
= (wxWindow
*) 0 ;
39872 bool arg4
= (bool) false ;
39873 wxRect
*arg5
= (wxRect
*) NULL
;
39884 PyObject
* obj0
= 0 ;
39885 PyObject
* obj1
= 0 ;
39886 PyObject
* obj2
= 0 ;
39887 PyObject
* obj3
= 0 ;
39888 PyObject
* obj4
= 0 ;
39889 char * kwnames
[] = {
39890 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39895 if (!SWIG_IsOK(res1
)) {
39896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39898 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39901 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39903 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39904 if (!SWIG_IsOK(res3
)) {
39905 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39907 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39909 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39910 if (!SWIG_IsOK(ecode4
)) {
39911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39913 arg4
= static_cast< bool >(val4
);
39916 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39917 if (!SWIG_IsOK(res5
)) {
39918 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39920 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39925 wxPyEndAllowThreads(__tstate
);
39926 if (PyErr_Occurred()) SWIG_fail
;
39929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39937 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39938 PyObject
*resultobj
= 0;
39939 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39940 wxPoint
*arg2
= 0 ;
39941 wxWindow
*arg3
= (wxWindow
*) 0 ;
39942 wxWindow
*arg4
= (wxWindow
*) 0 ;
39951 PyObject
* obj0
= 0 ;
39952 PyObject
* obj1
= 0 ;
39953 PyObject
* obj2
= 0 ;
39954 PyObject
* obj3
= 0 ;
39955 char * kwnames
[] = {
39956 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39961 if (!SWIG_IsOK(res1
)) {
39962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39964 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39969 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39970 if (!SWIG_IsOK(res3
)) {
39971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39973 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39974 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39975 if (!SWIG_IsOK(res4
)) {
39976 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39978 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39981 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39982 wxPyEndAllowThreads(__tstate
);
39983 if (PyErr_Occurred()) SWIG_fail
;
39986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39994 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39995 PyObject
*resultobj
= 0;
39996 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40000 PyObject
*swig_obj
[1] ;
40002 if (!args
) SWIG_fail
;
40003 swig_obj
[0] = args
;
40004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40005 if (!SWIG_IsOK(res1
)) {
40006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40008 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40011 result
= (bool)(arg1
)->EndDrag();
40012 wxPyEndAllowThreads(__tstate
);
40013 if (PyErr_Occurred()) SWIG_fail
;
40016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40024 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40025 PyObject
*resultobj
= 0;
40026 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40027 wxPoint
*arg2
= 0 ;
40032 PyObject
* obj0
= 0 ;
40033 PyObject
* obj1
= 0 ;
40034 char * kwnames
[] = {
40035 (char *) "self",(char *) "pt", NULL
40038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40040 if (!SWIG_IsOK(res1
)) {
40041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40043 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40046 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40050 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40051 wxPyEndAllowThreads(__tstate
);
40052 if (PyErr_Occurred()) SWIG_fail
;
40055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40063 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40064 PyObject
*resultobj
= 0;
40065 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40069 PyObject
*swig_obj
[1] ;
40071 if (!args
) SWIG_fail
;
40072 swig_obj
[0] = args
;
40073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40074 if (!SWIG_IsOK(res1
)) {
40075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40077 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40080 result
= (bool)(arg1
)->Show();
40081 wxPyEndAllowThreads(__tstate
);
40082 if (PyErr_Occurred()) SWIG_fail
;
40085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40093 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40094 PyObject
*resultobj
= 0;
40095 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40099 PyObject
*swig_obj
[1] ;
40101 if (!args
) SWIG_fail
;
40102 swig_obj
[0] = args
;
40103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40104 if (!SWIG_IsOK(res1
)) {
40105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40107 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40110 result
= (bool)(arg1
)->Hide();
40111 wxPyEndAllowThreads(__tstate
);
40112 if (PyErr_Occurred()) SWIG_fail
;
40115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40123 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40124 PyObject
*resultobj
= 0;
40125 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40126 wxPoint
*arg2
= 0 ;
40131 PyObject
* obj0
= 0 ;
40132 PyObject
* obj1
= 0 ;
40133 char * kwnames
[] = {
40134 (char *) "self",(char *) "pos", NULL
40137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40139 if (!SWIG_IsOK(res1
)) {
40140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40142 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40149 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40150 wxPyEndAllowThreads(__tstate
);
40151 if (PyErr_Occurred()) SWIG_fail
;
40153 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40160 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40161 PyObject
*resultobj
= 0;
40162 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40164 wxPoint
*arg3
= 0 ;
40171 PyObject
* obj0
= 0 ;
40172 PyObject
* obj1
= 0 ;
40173 PyObject
* obj2
= 0 ;
40174 char * kwnames
[] = {
40175 (char *) "self",(char *) "dc",(char *) "pos", NULL
40178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40180 if (!SWIG_IsOK(res1
)) {
40181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40183 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40185 if (!SWIG_IsOK(res2
)) {
40186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40191 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40194 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40198 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40199 wxPyEndAllowThreads(__tstate
);
40200 if (PyErr_Occurred()) SWIG_fail
;
40203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40211 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40212 PyObject
*resultobj
= 0;
40213 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40215 wxMemoryDC
*arg3
= 0 ;
40227 PyObject
* obj0
= 0 ;
40228 PyObject
* obj1
= 0 ;
40229 PyObject
* obj2
= 0 ;
40230 PyObject
* obj3
= 0 ;
40231 PyObject
* obj4
= 0 ;
40232 char * kwnames
[] = {
40233 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40238 if (!SWIG_IsOK(res1
)) {
40239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40241 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40243 if (!SWIG_IsOK(res2
)) {
40244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40249 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40250 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40251 if (!SWIG_IsOK(res3
)) {
40252 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40257 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40260 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40264 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40268 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40269 wxPyEndAllowThreads(__tstate
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40281 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40282 PyObject
*resultobj
= 0;
40283 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40284 wxPoint
*arg2
= 0 ;
40285 wxPoint
*arg3
= 0 ;
40297 PyObject
* obj0
= 0 ;
40298 PyObject
* obj1
= 0 ;
40299 PyObject
* obj2
= 0 ;
40300 PyObject
* obj3
= 0 ;
40301 PyObject
* obj4
= 0 ;
40302 char * kwnames
[] = {
40303 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40308 if (!SWIG_IsOK(res1
)) {
40309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40311 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40320 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40321 if (!SWIG_IsOK(ecode4
)) {
40322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40324 arg4
= static_cast< bool >(val4
);
40325 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40326 if (!SWIG_IsOK(ecode5
)) {
40327 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40329 arg5
= static_cast< bool >(val5
);
40331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40332 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40333 wxPyEndAllowThreads(__tstate
);
40334 if (PyErr_Occurred()) SWIG_fail
;
40337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40345 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40348 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40349 return SWIG_Py_Void();
40352 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40353 return SWIG_Python_InitShadowInstance(args
);
40356 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40357 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40362 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40363 PyObject
*pyobj
= 0;
40367 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40369 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40376 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40377 PyObject
*resultobj
= 0;
40378 wxWindow
*arg1
= (wxWindow
*) 0 ;
40379 int arg2
= (int) -1 ;
40380 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40381 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40386 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40387 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40388 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40389 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40390 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40391 wxDatePickerCtrl
*result
= 0 ;
40404 bool temp8
= false ;
40405 PyObject
* obj0
= 0 ;
40406 PyObject
* obj1
= 0 ;
40407 PyObject
* obj2
= 0 ;
40408 PyObject
* obj3
= 0 ;
40409 PyObject
* obj4
= 0 ;
40410 PyObject
* obj5
= 0 ;
40411 PyObject
* obj6
= 0 ;
40412 PyObject
* obj7
= 0 ;
40413 char * kwnames
[] = {
40414 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40419 if (!SWIG_IsOK(res1
)) {
40420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40425 if (!SWIG_IsOK(ecode2
)) {
40426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40428 arg2
= static_cast< int >(val2
);
40431 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40432 if (!SWIG_IsOK(res3
)) {
40433 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40438 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40443 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40449 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40453 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40454 if (!SWIG_IsOK(ecode6
)) {
40455 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40457 arg6
= static_cast< long >(val6
);
40460 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40461 if (!SWIG_IsOK(res7
)) {
40462 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40467 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40471 arg8
= wxString_in_helper(obj7
);
40472 if (arg8
== NULL
) SWIG_fail
;
40477 if (!wxPyCheckForApp()) SWIG_fail
;
40478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40479 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40480 wxPyEndAllowThreads(__tstate
);
40481 if (PyErr_Occurred()) SWIG_fail
;
40483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40498 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40499 PyObject
*resultobj
= 0;
40500 wxDatePickerCtrl
*result
= 0 ;
40502 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40504 if (!wxPyCheckForApp()) SWIG_fail
;
40505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40506 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40507 wxPyEndAllowThreads(__tstate
);
40508 if (PyErr_Occurred()) SWIG_fail
;
40510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40517 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40518 PyObject
*resultobj
= 0;
40519 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40520 wxWindow
*arg2
= (wxWindow
*) 0 ;
40521 int arg3
= (int) -1 ;
40522 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40523 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40528 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40529 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40530 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40531 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40532 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40548 bool temp9
= false ;
40549 PyObject
* obj0
= 0 ;
40550 PyObject
* obj1
= 0 ;
40551 PyObject
* obj2
= 0 ;
40552 PyObject
* obj3
= 0 ;
40553 PyObject
* obj4
= 0 ;
40554 PyObject
* obj5
= 0 ;
40555 PyObject
* obj6
= 0 ;
40556 PyObject
* obj7
= 0 ;
40557 PyObject
* obj8
= 0 ;
40558 char * kwnames
[] = {
40559 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40564 if (!SWIG_IsOK(res1
)) {
40565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40567 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40569 if (!SWIG_IsOK(res2
)) {
40570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40572 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40575 if (!SWIG_IsOK(ecode3
)) {
40576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40578 arg3
= static_cast< int >(val3
);
40581 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40582 if (!SWIG_IsOK(res4
)) {
40583 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40588 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40593 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40599 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40603 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40604 if (!SWIG_IsOK(ecode7
)) {
40605 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40607 arg7
= static_cast< long >(val7
);
40610 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40611 if (!SWIG_IsOK(res8
)) {
40612 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40617 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40621 arg9
= wxString_in_helper(obj8
);
40622 if (arg9
== NULL
) SWIG_fail
;
40627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40628 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40629 wxPyEndAllowThreads(__tstate
);
40630 if (PyErr_Occurred()) SWIG_fail
;
40633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40649 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40650 PyObject
*resultobj
= 0;
40651 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40652 wxDateTime
*arg2
= 0 ;
40657 PyObject
* obj0
= 0 ;
40658 PyObject
* obj1
= 0 ;
40659 char * kwnames
[] = {
40660 (char *) "self",(char *) "dt", NULL
40663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40665 if (!SWIG_IsOK(res1
)) {
40666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40668 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40670 if (!SWIG_IsOK(res2
)) {
40671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40676 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40679 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40680 wxPyEndAllowThreads(__tstate
);
40681 if (PyErr_Occurred()) SWIG_fail
;
40683 resultobj
= SWIG_Py_Void();
40690 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40691 PyObject
*resultobj
= 0;
40692 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40696 PyObject
*swig_obj
[1] ;
40698 if (!args
) SWIG_fail
;
40699 swig_obj
[0] = args
;
40700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40701 if (!SWIG_IsOK(res1
)) {
40702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40704 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40707 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40708 wxPyEndAllowThreads(__tstate
);
40709 if (PyErr_Occurred()) SWIG_fail
;
40711 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40718 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40719 PyObject
*resultobj
= 0;
40720 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40721 wxDateTime
*arg2
= 0 ;
40722 wxDateTime
*arg3
= 0 ;
40729 PyObject
* obj0
= 0 ;
40730 PyObject
* obj1
= 0 ;
40731 PyObject
* obj2
= 0 ;
40732 char * kwnames
[] = {
40733 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40738 if (!SWIG_IsOK(res1
)) {
40739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40741 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40743 if (!SWIG_IsOK(res2
)) {
40744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40749 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40750 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40751 if (!SWIG_IsOK(res3
)) {
40752 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40757 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40760 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40761 wxPyEndAllowThreads(__tstate
);
40762 if (PyErr_Occurred()) SWIG_fail
;
40764 resultobj
= SWIG_Py_Void();
40771 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40772 PyObject
*resultobj
= 0;
40773 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40777 PyObject
*swig_obj
[1] ;
40779 if (!args
) SWIG_fail
;
40780 swig_obj
[0] = args
;
40781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40782 if (!SWIG_IsOK(res1
)) {
40783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40785 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40788 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40792 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40799 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40800 PyObject
*resultobj
= 0;
40801 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40805 PyObject
*swig_obj
[1] ;
40807 if (!args
) SWIG_fail
;
40808 swig_obj
[0] = args
;
40809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40810 if (!SWIG_IsOK(res1
)) {
40811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40813 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40816 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40817 wxPyEndAllowThreads(__tstate
);
40818 if (PyErr_Occurred()) SWIG_fail
;
40820 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40827 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40830 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40831 return SWIG_Py_Void();
40834 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40835 return SWIG_Python_InitShadowInstance(args
);
40838 static PyMethodDef SwigMethods
[] = {
40839 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40841 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40843 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40844 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40846 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40847 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40849 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40851 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40852 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40853 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40854 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40855 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40862 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40863 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40864 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40865 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40867 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40869 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40870 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40872 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40874 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40875 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40877 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40878 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40880 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40882 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40884 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40885 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40887 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40889 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40891 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40892 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40893 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40895 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40896 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40899 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40903 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40905 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40906 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40907 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40908 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40909 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40910 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40911 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40912 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40913 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40915 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40916 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40918 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40921 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40923 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40924 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40926 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40928 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40930 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40931 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40933 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40936 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40937 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40939 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40941 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40942 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40944 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40945 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40947 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40951 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40952 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40954 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40956 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40960 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40961 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40963 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40974 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40979 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40985 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40986 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40988 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
40992 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
40993 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
40995 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
40996 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41006 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41007 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41008 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41009 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41010 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41011 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41012 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41014 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41015 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41016 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41017 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41018 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41019 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41020 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41021 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41022 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41023 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
41025 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
41026 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
41028 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
41030 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
41035 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
41036 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
41037 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
41038 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
41039 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
41040 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
41041 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
41042 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
41047 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
41048 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
41056 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
41062 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
41063 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
41064 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
41065 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
41066 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
41067 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
41068 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
41069 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
41070 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
41071 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
41073 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
41074 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
41075 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
41077 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
41082 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
41083 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
41085 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
41086 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
41087 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
41088 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
41089 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
41091 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
41093 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
41094 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
41095 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
41096 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
41097 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
41100 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
41101 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
41103 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
41105 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
41106 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
41107 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
41112 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
41114 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
41115 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
41117 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
41119 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
41123 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
41124 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
41127 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
41128 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
41130 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
41132 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41133 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41135 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41138 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41139 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41141 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41149 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41150 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41155 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41156 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41158 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41160 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41164 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41166 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41168 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41171 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41172 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41177 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41178 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41180 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41182 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41183 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41185 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41186 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41187 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41190 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41191 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41193 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41196 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41198 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41199 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41200 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41202 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41203 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41208 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41213 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41215 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41217 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41219 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41220 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41223 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41229 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41231 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41233 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41235 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41236 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41238 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41240 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41244 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41246 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41247 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41249 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41250 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41252 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41254 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41255 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41256 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41258 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41259 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41261 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41263 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41264 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41265 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41267 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41268 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41270 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41278 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41279 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41280 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41282 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41283 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41285 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41287 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41288 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41289 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41290 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41292 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41293 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41294 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41295 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41296 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41297 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41298 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41299 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41300 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41301 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41302 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41303 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41304 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41305 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41306 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41307 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41308 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41309 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41310 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41312 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41319 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41321 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41323 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41331 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41336 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41337 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41354 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41355 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41356 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41357 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41360 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41361 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41363 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41364 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41367 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41368 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41369 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41371 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41374 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41375 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41377 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41381 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41382 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41383 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41384 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41385 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41386 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41388 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41389 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41390 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41391 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41392 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41393 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41394 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41408 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41409 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41410 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41411 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41412 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41413 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41414 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41415 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41416 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41417 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41418 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41419 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41420 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41421 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41422 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41423 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41424 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41425 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41426 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41427 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41428 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41429 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41430 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41431 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41432 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41433 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41434 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41435 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41436 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41437 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41438 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41439 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41440 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41441 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41442 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41443 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41445 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41446 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41447 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41448 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41449 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41450 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41451 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41452 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41453 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41454 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41455 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41456 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41457 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41458 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41459 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41460 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41461 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41462 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41463 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41464 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41465 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41466 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41467 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41468 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41470 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41471 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41473 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41480 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41481 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41482 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41497 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41498 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41499 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41501 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41502 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41504 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41510 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41511 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41516 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41518 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41519 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41541 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41543 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41544 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41546 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41550 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41552 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41556 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41557 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41558 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41559 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41560 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41563 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41564 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41565 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41566 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41568 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41569 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41571 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41573 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41574 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41575 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41577 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41579 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41581 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41583 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41584 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41586 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41588 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41591 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41592 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41593 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41595 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41598 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41599 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41601 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41603 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41604 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41632 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41633 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41634 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41641 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41651 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41656 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41658 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41664 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
41670 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41671 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41672 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41674 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41677 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41679 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41680 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41683 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41684 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41686 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41688 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41689 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41690 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41692 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41693 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41694 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41695 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41697 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41700 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41701 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41703 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41711 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41712 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41713 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41714 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41715 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41716 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41717 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41718 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41719 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41721 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41723 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41725 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41727 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41728 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41730 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41732 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41733 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41734 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41736 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41737 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41738 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41740 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41746 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41747 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41748 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41749 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41750 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41756 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41760 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41762 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41763 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41768 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41769 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41771 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41774 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41776 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41777 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41778 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41779 { NULL
, NULL
, 0, NULL
}
41783 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41785 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41786 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41788 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41789 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41791 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41792 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41794 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41795 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41797 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41798 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41800 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41801 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41803 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41804 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41806 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41807 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41809 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41810 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41812 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41813 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41815 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41816 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41818 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41821 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41822 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41824 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41825 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41827 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41828 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41830 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41831 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41833 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41834 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41836 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41837 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41839 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41840 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41842 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41845 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41846 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41848 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41851 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41852 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41854 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41855 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41857 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41858 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41860 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41861 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41863 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41864 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41866 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41867 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41869 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41872 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
41873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
41875 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41876 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41878 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41879 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41881 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41882 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41884 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41885 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41887 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41888 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41890 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41891 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41893 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41894 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41896 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41897 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41899 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41900 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41902 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41905 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41906 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41908 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41909 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41911 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41914 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41917 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41918 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41920 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41921 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41923 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41924 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41926 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41927 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41929 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41930 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
41932 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41933 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41935 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41936 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41938 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41939 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41941 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41942 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41944 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41945 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41947 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41948 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41950 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41951 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41953 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41954 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41956 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41957 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41959 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41960 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41962 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41963 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41965 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41966 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41968 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41969 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41971 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41972 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41974 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41975 return (void *)((wxControl
*) ((wxComboBox
*) x
));
41977 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41978 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41980 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41981 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41983 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41984 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41986 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41987 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41989 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41990 return (void *)((wxControl
*) ((wxGauge
*) x
));
41992 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41993 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41995 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41996 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41998 static void *_p_wxListbookTo_p_wxControl(void *x
) {
41999 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
42001 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
42002 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
42004 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
42005 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
42007 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
42008 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
42010 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
42011 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42013 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
42014 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42016 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
42017 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42019 static void *_p_wxListViewTo_p_wxControl(void *x
) {
42020 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
42022 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
42023 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
42025 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
42026 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
42028 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
42029 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
42031 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
42032 return (void *)((wxControl
*) ((wxStaticText
*) x
));
42034 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
42035 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
42037 static void *_p_wxSliderTo_p_wxControl(void *x
) {
42038 return (void *)((wxControl
*) ((wxSlider
*) x
));
42040 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
42041 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
42043 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
42044 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
42046 static void *_p_wxButtonTo_p_wxControl(void *x
) {
42047 return (void *)((wxControl
*) ((wxButton
*) x
));
42049 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
42050 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
42052 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
42053 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42055 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
42056 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
42058 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
42059 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
42061 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
42062 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
42064 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
42065 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42067 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
42068 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42070 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
42071 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42073 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
42074 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
42076 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
42077 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42079 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
42080 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42082 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
42083 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42085 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
42086 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42088 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
42089 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42091 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
42092 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42094 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
42095 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42097 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
42098 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
42100 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
42101 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
42103 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
42104 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
42106 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
42107 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
42109 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42110 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42112 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
42113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42115 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42116 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42118 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42119 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42121 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
42122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42124 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42125 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42127 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
42128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42130 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
42131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42133 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
42134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42136 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42137 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42139 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42140 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42142 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42145 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42148 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42151 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42154 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42157 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42158 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42160 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42163 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42166 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42169 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42172 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42175 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42178 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42181 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42184 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42187 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42190 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42193 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42196 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42199 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42202 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42205 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42208 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42211 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42214 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42217 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42220 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42223 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42226 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42229 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42232 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42235 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42238 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42241 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42242 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42244 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42245 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42247 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42248 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42250 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42251 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42253 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42254 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42256 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42259 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42262 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42265 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42268 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42271 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42274 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42277 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42280 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42283 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) ((wxSizer
*) x
));
42286 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42289 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42292 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42295 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42298 static void *_p_wxEventTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) ((wxEvent
*) x
));
42301 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42304 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42307 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42310 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42313 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42316 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42319 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42322 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42325 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42328 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42331 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42334 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42337 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42340 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42343 static void *_p_wxControlTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42346 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42349 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42352 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42355 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42358 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42361 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42364 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42367 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42370 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42373 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42376 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42379 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42382 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42385 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42388 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42391 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42394 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42397 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42398 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42400 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42403 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42406 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42407 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42409 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42412 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42413 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42415 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42418 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42419 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42421 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42422 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42424 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42425 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42427 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42428 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42430 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42431 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42433 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42434 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42436 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42439 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42440 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42442 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42445 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42448 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42451 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42454 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42457 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42460 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42463 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42464 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42466 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42467 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42469 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42472 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42475 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42476 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42478 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42481 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42482 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42484 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42485 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42487 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42490 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42493 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42496 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42499 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42502 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42505 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42508 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42509 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42511 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42512 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42514 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42517 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42520 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42523 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42526 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42527 return (void *)((wxObject
*) ((wxListItem
*) x
));
42529 static void *_p_wxImageTo_p_wxObject(void *x
) {
42530 return (void *)((wxObject
*) ((wxImage
*) x
));
42532 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42533 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42535 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42538 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42539 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42541 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42544 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42547 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42550 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42553 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42556 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42559 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42562 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42563 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42565 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42566 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42568 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42571 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42572 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42574 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42577 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42578 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42580 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42583 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42584 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42586 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42587 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42589 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42590 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42592 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42593 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42595 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42596 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42598 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42601 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42604 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42607 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42608 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42610 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42613 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42614 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42616 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42617 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42619 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42622 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42625 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42628 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42629 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42631 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42634 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42637 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42638 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42640 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42641 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42643 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42644 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42646 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42647 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42649 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42650 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42652 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42653 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42655 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42656 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42658 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42659 return (void *)((wxWindow
*) ((wxControl
*) x
));
42661 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42662 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42664 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42665 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42667 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42668 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42670 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42671 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42673 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42674 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42676 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42677 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42679 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42680 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42682 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42683 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42685 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42686 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42688 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42689 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42691 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42692 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42694 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42695 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42697 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42698 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42700 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42701 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42703 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42704 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42706 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42707 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42709 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42710 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42712 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42713 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42715 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42716 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42718 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42719 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42721 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42722 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42724 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42725 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42727 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42728 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42730 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42731 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42733 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42734 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42736 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42737 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42739 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42740 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42742 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42743 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42745 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42746 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42748 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42749 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42751 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42752 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42754 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42755 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42757 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42758 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42760 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42761 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42763 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42764 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42766 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42767 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42769 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42770 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42772 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42773 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42775 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
42776 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42778 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42779 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42781 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42782 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42784 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42785 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42787 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42788 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42790 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42791 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42793 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42794 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42796 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42797 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42799 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42800 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42802 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42803 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42805 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42806 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42808 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42809 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42811 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42812 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42814 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42815 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42817 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42818 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42820 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42821 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42823 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42824 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42826 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42827 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42829 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42830 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42832 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42833 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42835 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42836 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42838 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42839 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42841 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42842 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42844 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42845 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42847 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42848 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42850 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42851 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42852 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};
42853 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42854 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42855 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42856 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42857 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42858 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42859 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42860 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42861 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42862 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42863 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42864 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42865 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42866 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42867 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42868 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42869 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42870 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42871 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42872 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42873 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42874 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42875 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
42876 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42877 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42878 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42879 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42880 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42881 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42882 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42883 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42884 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42885 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42886 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42887 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42888 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42889 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42890 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42891 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42892 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42893 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42894 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42895 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42896 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42897 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42898 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42899 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42900 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42901 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42902 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42903 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42904 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42905 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42906 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42907 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42908 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42909 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42910 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42911 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42912 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42913 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42914 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42915 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42916 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42917 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42918 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42919 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42920 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42921 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42922 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42923 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42924 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42925 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42926 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42927 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42928 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42929 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42930 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42931 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42932 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42933 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42934 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42935 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42936 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42937 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42938 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42939 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42940 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42941 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42942 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42943 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42944 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42945 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42946 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42947 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42948 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42949 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42950 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42951 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42952 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42953 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42954 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42955 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42956 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42957 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42958 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42959 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42960 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42961 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42962 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42963 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42964 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42965 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42966 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42967 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42968 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42969 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42970 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42971 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42972 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42973 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42974 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42975 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42976 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42977 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42978 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42979 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42980 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42981 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42982 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42983 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42984 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42985 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42986 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42987 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42988 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42989 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42990 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42991 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42992 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42993 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42994 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42995 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42996 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42997 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42998 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42999 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
43000 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
43001 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
43002 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
43003 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
43004 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
43005 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
43006 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
43007 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
43008 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
43009 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
43010 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
43011 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
43012 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
43013 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
43015 static swig_type_info
*swig_type_initial
[] = {
43018 &_swigt__p_form_ops_t
,
43021 &_swigt__p_unsigned_char
,
43022 &_swigt__p_unsigned_int
,
43023 &_swigt__p_unsigned_long
,
43025 &_swigt__p_wxANIHandler
,
43026 &_swigt__p_wxAcceleratorTable
,
43027 &_swigt__p_wxActivateEvent
,
43028 &_swigt__p_wxArrayInt
,
43029 &_swigt__p_wxArrayString
,
43030 &_swigt__p_wxBMPHandler
,
43031 &_swigt__p_wxBitmap
,
43032 &_swigt__p_wxBitmapButton
,
43033 &_swigt__p_wxBookCtrlBase
,
43034 &_swigt__p_wxBookCtrlBaseEvent
,
43035 &_swigt__p_wxBoxSizer
,
43036 &_swigt__p_wxButton
,
43037 &_swigt__p_wxCURHandler
,
43038 &_swigt__p_wxCheckBox
,
43039 &_swigt__p_wxCheckListBox
,
43040 &_swigt__p_wxChildFocusEvent
,
43041 &_swigt__p_wxChoice
,
43042 &_swigt__p_wxChoicebook
,
43043 &_swigt__p_wxChoicebookEvent
,
43044 &_swigt__p_wxClipboardTextEvent
,
43045 &_swigt__p_wxCloseEvent
,
43046 &_swigt__p_wxColour
,
43047 &_swigt__p_wxComboBox
,
43048 &_swigt__p_wxCommandEvent
,
43049 &_swigt__p_wxContextHelp
,
43050 &_swigt__p_wxContextHelpButton
,
43051 &_swigt__p_wxContextMenuEvent
,
43052 &_swigt__p_wxControl
,
43053 &_swigt__p_wxControlWithItems
,
43054 &_swigt__p_wxCursor
,
43056 &_swigt__p_wxDateEvent
,
43057 &_swigt__p_wxDatePickerCtrl
,
43058 &_swigt__p_wxDateTime
,
43059 &_swigt__p_wxDirFilterListCtrl
,
43060 &_swigt__p_wxDisplayChangedEvent
,
43061 &_swigt__p_wxDropFilesEvent
,
43062 &_swigt__p_wxDuplexMode
,
43063 &_swigt__p_wxEraseEvent
,
43064 &_swigt__p_wxEvent
,
43065 &_swigt__p_wxEvtHandler
,
43066 &_swigt__p_wxFSFile
,
43067 &_swigt__p_wxFileSystem
,
43068 &_swigt__p_wxFlexGridSizer
,
43069 &_swigt__p_wxFocusEvent
,
43071 &_swigt__p_wxGBSizerItem
,
43072 &_swigt__p_wxGIFHandler
,
43073 &_swigt__p_wxGauge
,
43074 &_swigt__p_wxGenericDirCtrl
,
43075 &_swigt__p_wxGenericDragImage
,
43076 &_swigt__p_wxGridBagSizer
,
43077 &_swigt__p_wxGridSizer
,
43078 &_swigt__p_wxHelpEvent
,
43079 &_swigt__p_wxHelpProvider
,
43080 &_swigt__p_wxICOHandler
,
43082 &_swigt__p_wxIconizeEvent
,
43083 &_swigt__p_wxIdleEvent
,
43084 &_swigt__p_wxImage
,
43085 &_swigt__p_wxImageHandler
,
43086 &_swigt__p_wxImageList
,
43087 &_swigt__p_wxIndividualLayoutConstraint
,
43088 &_swigt__p_wxInitDialogEvent
,
43089 &_swigt__p_wxItemContainer
,
43090 &_swigt__p_wxJPEGHandler
,
43091 &_swigt__p_wxKeyEvent
,
43092 &_swigt__p_wxLayoutConstraints
,
43093 &_swigt__p_wxListBox
,
43094 &_swigt__p_wxListEvent
,
43095 &_swigt__p_wxListItem
,
43096 &_swigt__p_wxListItemAttr
,
43097 &_swigt__p_wxListView
,
43098 &_swigt__p_wxListbook
,
43099 &_swigt__p_wxListbookEvent
,
43100 &_swigt__p_wxMaximizeEvent
,
43101 &_swigt__p_wxMemoryDC
,
43103 &_swigt__p_wxMenuBar
,
43104 &_swigt__p_wxMenuEvent
,
43105 &_swigt__p_wxMenuItem
,
43106 &_swigt__p_wxMouseCaptureChangedEvent
,
43107 &_swigt__p_wxMouseEvent
,
43108 &_swigt__p_wxMoveEvent
,
43109 &_swigt__p_wxNavigationKeyEvent
,
43110 &_swigt__p_wxNcPaintEvent
,
43111 &_swigt__p_wxNotebook
,
43112 &_swigt__p_wxNotebookEvent
,
43113 &_swigt__p_wxNotifyEvent
,
43114 &_swigt__p_wxObject
,
43115 &_swigt__p_wxPCXHandler
,
43116 &_swigt__p_wxPNGHandler
,
43117 &_swigt__p_wxPNMHandler
,
43118 &_swigt__p_wxPaintEvent
,
43119 &_swigt__p_wxPaletteChangedEvent
,
43120 &_swigt__p_wxPaperSize
,
43121 &_swigt__p_wxPoint
,
43122 &_swigt__p_wxPyApp
,
43123 &_swigt__p_wxPyCommandEvent
,
43124 &_swigt__p_wxPyControl
,
43125 &_swigt__p_wxPyEvent
,
43126 &_swigt__p_wxPyImageHandler
,
43127 &_swigt__p_wxPyListCtrl
,
43128 &_swigt__p_wxPySizer
,
43129 &_swigt__p_wxPyTreeCtrl
,
43130 &_swigt__p_wxPyTreeItemData
,
43131 &_swigt__p_wxPyValidator
,
43132 &_swigt__p_wxQueryNewPaletteEvent
,
43133 &_swigt__p_wxRadioBox
,
43134 &_swigt__p_wxRadioButton
,
43136 &_swigt__p_wxScrollBar
,
43137 &_swigt__p_wxScrollEvent
,
43138 &_swigt__p_wxScrollWinEvent
,
43139 &_swigt__p_wxSetCursorEvent
,
43140 &_swigt__p_wxShowEvent
,
43141 &_swigt__p_wxSimpleHelpProvider
,
43143 &_swigt__p_wxSizeEvent
,
43144 &_swigt__p_wxSizer
,
43145 &_swigt__p_wxSizerItem
,
43146 &_swigt__p_wxSlider
,
43147 &_swigt__p_wxSpinButton
,
43148 &_swigt__p_wxSpinCtrl
,
43149 &_swigt__p_wxSpinEvent
,
43150 &_swigt__p_wxStaticBitmap
,
43151 &_swigt__p_wxStaticBox
,
43152 &_swigt__p_wxStaticBoxSizer
,
43153 &_swigt__p_wxStaticLine
,
43154 &_swigt__p_wxStaticText
,
43155 &_swigt__p_wxStdDialogButtonSizer
,
43156 &_swigt__p_wxString
,
43157 &_swigt__p_wxSysColourChangedEvent
,
43158 &_swigt__p_wxTIFFHandler
,
43159 &_swigt__p_wxTextAttr
,
43160 &_swigt__p_wxTextCtrl
,
43161 &_swigt__p_wxTextUrlEvent
,
43162 &_swigt__p_wxToggleButton
,
43163 &_swigt__p_wxToolBar
,
43164 &_swigt__p_wxToolBarBase
,
43165 &_swigt__p_wxToolBarToolBase
,
43166 &_swigt__p_wxToolbook
,
43167 &_swigt__p_wxToolbookEvent
,
43168 &_swigt__p_wxTreeCtrl
,
43169 &_swigt__p_wxTreeEvent
,
43170 &_swigt__p_wxTreeItemId
,
43171 &_swigt__p_wxTreebook
,
43172 &_swigt__p_wxTreebookEvent
,
43173 &_swigt__p_wxUpdateUIEvent
,
43174 &_swigt__p_wxValidator
,
43175 &_swigt__p_wxVisualAttributes
,
43176 &_swigt__p_wxWindow
,
43177 &_swigt__p_wxWindowCreateEvent
,
43178 &_swigt__p_wxWindowDestroyEvent
,
43179 &_swigt__p_wxXPMHandler
,
43182 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43183 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43184 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43185 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43186 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43187 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43188 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43189 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43190 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43191 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43192 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43193 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43194 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}};
43195 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}};
43196 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}};
43197 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}};
43198 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43199 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43200 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}};
43201 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43202 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43203 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43204 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43205 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43206 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
43207 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43208 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43209 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43210 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43211 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43212 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43213 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43214 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_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_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}};
43215 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43216 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43217 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
43218 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}};
43219 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43220 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43221 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43222 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43223 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43224 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43225 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43226 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43227 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43228 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43229 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43230 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43231 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43232 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43233 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43234 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43235 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43236 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43237 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43238 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43239 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43240 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43241 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43242 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43243 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43244 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43245 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43246 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43247 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43248 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43249 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
43250 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43251 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43252 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43253 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43254 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
43255 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43256 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43257 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43258 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43259 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43260 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}};
43261 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43262 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43263 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}};
43264 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43265 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}};
43266 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43267 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43268 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43269 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43270 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43271 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43272 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43273 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43274 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43275 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43276 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}};
43277 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43278 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43279 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43280 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43281 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43282 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43283 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43284 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43285 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43286 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43287 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43288 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43289 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43290 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43291 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43292 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43293 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43294 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43295 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43296 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43297 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43298 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43299 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43300 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43301 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43302 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43303 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43304 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43305 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43306 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43307 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
43308 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43309 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43310 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43311 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}};
43312 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43313 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43314 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43315 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43316 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43317 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43318 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43319 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43320 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43321 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43322 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43323 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43324 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43325 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43326 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43327 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43328 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43329 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43330 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43331 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43332 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43333 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43334 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}};
43335 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43336 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43337 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43338 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43339 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43340 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43341 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43342 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43343 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}};
43344 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43345 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
43347 static swig_cast_info
*swig_cast_initial
[] = {
43350 _swigc__p_form_ops_t
,
43353 _swigc__p_unsigned_char
,
43354 _swigc__p_unsigned_int
,
43355 _swigc__p_unsigned_long
,
43357 _swigc__p_wxANIHandler
,
43358 _swigc__p_wxAcceleratorTable
,
43359 _swigc__p_wxActivateEvent
,
43360 _swigc__p_wxArrayInt
,
43361 _swigc__p_wxArrayString
,
43362 _swigc__p_wxBMPHandler
,
43363 _swigc__p_wxBitmap
,
43364 _swigc__p_wxBitmapButton
,
43365 _swigc__p_wxBookCtrlBase
,
43366 _swigc__p_wxBookCtrlBaseEvent
,
43367 _swigc__p_wxBoxSizer
,
43368 _swigc__p_wxButton
,
43369 _swigc__p_wxCURHandler
,
43370 _swigc__p_wxCheckBox
,
43371 _swigc__p_wxCheckListBox
,
43372 _swigc__p_wxChildFocusEvent
,
43373 _swigc__p_wxChoice
,
43374 _swigc__p_wxChoicebook
,
43375 _swigc__p_wxChoicebookEvent
,
43376 _swigc__p_wxClipboardTextEvent
,
43377 _swigc__p_wxCloseEvent
,
43378 _swigc__p_wxColour
,
43379 _swigc__p_wxComboBox
,
43380 _swigc__p_wxCommandEvent
,
43381 _swigc__p_wxContextHelp
,
43382 _swigc__p_wxContextHelpButton
,
43383 _swigc__p_wxContextMenuEvent
,
43384 _swigc__p_wxControl
,
43385 _swigc__p_wxControlWithItems
,
43386 _swigc__p_wxCursor
,
43388 _swigc__p_wxDateEvent
,
43389 _swigc__p_wxDatePickerCtrl
,
43390 _swigc__p_wxDateTime
,
43391 _swigc__p_wxDirFilterListCtrl
,
43392 _swigc__p_wxDisplayChangedEvent
,
43393 _swigc__p_wxDropFilesEvent
,
43394 _swigc__p_wxDuplexMode
,
43395 _swigc__p_wxEraseEvent
,
43397 _swigc__p_wxEvtHandler
,
43398 _swigc__p_wxFSFile
,
43399 _swigc__p_wxFileSystem
,
43400 _swigc__p_wxFlexGridSizer
,
43401 _swigc__p_wxFocusEvent
,
43403 _swigc__p_wxGBSizerItem
,
43404 _swigc__p_wxGIFHandler
,
43406 _swigc__p_wxGenericDirCtrl
,
43407 _swigc__p_wxGenericDragImage
,
43408 _swigc__p_wxGridBagSizer
,
43409 _swigc__p_wxGridSizer
,
43410 _swigc__p_wxHelpEvent
,
43411 _swigc__p_wxHelpProvider
,
43412 _swigc__p_wxICOHandler
,
43414 _swigc__p_wxIconizeEvent
,
43415 _swigc__p_wxIdleEvent
,
43417 _swigc__p_wxImageHandler
,
43418 _swigc__p_wxImageList
,
43419 _swigc__p_wxIndividualLayoutConstraint
,
43420 _swigc__p_wxInitDialogEvent
,
43421 _swigc__p_wxItemContainer
,
43422 _swigc__p_wxJPEGHandler
,
43423 _swigc__p_wxKeyEvent
,
43424 _swigc__p_wxLayoutConstraints
,
43425 _swigc__p_wxListBox
,
43426 _swigc__p_wxListEvent
,
43427 _swigc__p_wxListItem
,
43428 _swigc__p_wxListItemAttr
,
43429 _swigc__p_wxListView
,
43430 _swigc__p_wxListbook
,
43431 _swigc__p_wxListbookEvent
,
43432 _swigc__p_wxMaximizeEvent
,
43433 _swigc__p_wxMemoryDC
,
43435 _swigc__p_wxMenuBar
,
43436 _swigc__p_wxMenuEvent
,
43437 _swigc__p_wxMenuItem
,
43438 _swigc__p_wxMouseCaptureChangedEvent
,
43439 _swigc__p_wxMouseEvent
,
43440 _swigc__p_wxMoveEvent
,
43441 _swigc__p_wxNavigationKeyEvent
,
43442 _swigc__p_wxNcPaintEvent
,
43443 _swigc__p_wxNotebook
,
43444 _swigc__p_wxNotebookEvent
,
43445 _swigc__p_wxNotifyEvent
,
43446 _swigc__p_wxObject
,
43447 _swigc__p_wxPCXHandler
,
43448 _swigc__p_wxPNGHandler
,
43449 _swigc__p_wxPNMHandler
,
43450 _swigc__p_wxPaintEvent
,
43451 _swigc__p_wxPaletteChangedEvent
,
43452 _swigc__p_wxPaperSize
,
43455 _swigc__p_wxPyCommandEvent
,
43456 _swigc__p_wxPyControl
,
43457 _swigc__p_wxPyEvent
,
43458 _swigc__p_wxPyImageHandler
,
43459 _swigc__p_wxPyListCtrl
,
43460 _swigc__p_wxPySizer
,
43461 _swigc__p_wxPyTreeCtrl
,
43462 _swigc__p_wxPyTreeItemData
,
43463 _swigc__p_wxPyValidator
,
43464 _swigc__p_wxQueryNewPaletteEvent
,
43465 _swigc__p_wxRadioBox
,
43466 _swigc__p_wxRadioButton
,
43468 _swigc__p_wxScrollBar
,
43469 _swigc__p_wxScrollEvent
,
43470 _swigc__p_wxScrollWinEvent
,
43471 _swigc__p_wxSetCursorEvent
,
43472 _swigc__p_wxShowEvent
,
43473 _swigc__p_wxSimpleHelpProvider
,
43475 _swigc__p_wxSizeEvent
,
43477 _swigc__p_wxSizerItem
,
43478 _swigc__p_wxSlider
,
43479 _swigc__p_wxSpinButton
,
43480 _swigc__p_wxSpinCtrl
,
43481 _swigc__p_wxSpinEvent
,
43482 _swigc__p_wxStaticBitmap
,
43483 _swigc__p_wxStaticBox
,
43484 _swigc__p_wxStaticBoxSizer
,
43485 _swigc__p_wxStaticLine
,
43486 _swigc__p_wxStaticText
,
43487 _swigc__p_wxStdDialogButtonSizer
,
43488 _swigc__p_wxString
,
43489 _swigc__p_wxSysColourChangedEvent
,
43490 _swigc__p_wxTIFFHandler
,
43491 _swigc__p_wxTextAttr
,
43492 _swigc__p_wxTextCtrl
,
43493 _swigc__p_wxTextUrlEvent
,
43494 _swigc__p_wxToggleButton
,
43495 _swigc__p_wxToolBar
,
43496 _swigc__p_wxToolBarBase
,
43497 _swigc__p_wxToolBarToolBase
,
43498 _swigc__p_wxToolbook
,
43499 _swigc__p_wxToolbookEvent
,
43500 _swigc__p_wxTreeCtrl
,
43501 _swigc__p_wxTreeEvent
,
43502 _swigc__p_wxTreeItemId
,
43503 _swigc__p_wxTreebook
,
43504 _swigc__p_wxTreebookEvent
,
43505 _swigc__p_wxUpdateUIEvent
,
43506 _swigc__p_wxValidator
,
43507 _swigc__p_wxVisualAttributes
,
43508 _swigc__p_wxWindow
,
43509 _swigc__p_wxWindowCreateEvent
,
43510 _swigc__p_wxWindowDestroyEvent
,
43511 _swigc__p_wxXPMHandler
,
43515 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43517 static swig_const_info swig_const_table
[] = {
43518 {0, 0, 0, 0.0, 0, 0}};
43523 /* -----------------------------------------------------------------------------
43524 * Type initialization:
43525 * This problem is tough by the requirement that no dynamic
43526 * memory is used. Also, since swig_type_info structures store pointers to
43527 * swig_cast_info structures and swig_cast_info structures store pointers back
43528 * to swig_type_info structures, we need some lookup code at initialization.
43529 * The idea is that swig generates all the structures that are needed.
43530 * The runtime then collects these partially filled structures.
43531 * The SWIG_InitializeModule function takes these initial arrays out of
43532 * swig_module, and does all the lookup, filling in the swig_module.types
43533 * array with the correct data and linking the correct swig_cast_info
43534 * structures together.
43536 * The generated swig_type_info structures are assigned staticly to an initial
43537 * array. We just loop though that array, and handle each type individually.
43538 * First we lookup if this type has been already loaded, and if so, use the
43539 * loaded structure instead of the generated one. Then we have to fill in the
43540 * cast linked list. The cast data is initially stored in something like a
43541 * two-dimensional array. Each row corresponds to a type (there are the same
43542 * number of rows as there are in the swig_type_initial array). Each entry in
43543 * a column is one of the swig_cast_info structures for that type.
43544 * The cast_initial array is actually an array of arrays, because each row has
43545 * a variable number of columns. So to actually build the cast linked list,
43546 * we find the array of casts associated with the type, and loop through it
43547 * adding the casts to the list. The one last trick we need to do is making
43548 * sure the type pointer in the swig_cast_info struct is correct.
43550 * First off, we lookup the cast->type name to see if it is already loaded.
43551 * There are three cases to handle:
43552 * 1) If the cast->type has already been loaded AND the type we are adding
43553 * casting info to has not been loaded (it is in this module), THEN we
43554 * replace the cast->type pointer with the type pointer that has already
43556 * 2) If BOTH types (the one we are adding casting info to, and the
43557 * cast->type) are loaded, THEN the cast info has already been loaded by
43558 * the previous module so we just ignore it.
43559 * 3) Finally, if cast->type has not already been loaded, then we add that
43560 * swig_cast_info to the linked list (because the cast->type) pointer will
43562 * ----------------------------------------------------------------------------- */
43572 #define SWIGRUNTIME_DEBUG
43576 SWIG_InitializeModule(void *clientdata
) {
43578 swig_module_info
*module_head
;
43579 static int init_run
= 0;
43581 clientdata
= clientdata
;
43583 if (init_run
) return;
43586 /* Initialize the swig_module */
43587 swig_module
.type_initial
= swig_type_initial
;
43588 swig_module
.cast_initial
= swig_cast_initial
;
43590 /* Try and load any already created modules */
43591 module_head
= SWIG_GetModule(clientdata
);
43593 swig_module
.next
= module_head
->next
;
43594 module_head
->next
= &swig_module
;
43596 /* This is the first module loaded */
43597 swig_module
.next
= &swig_module
;
43598 SWIG_SetModule(clientdata
, &swig_module
);
43601 /* Now work on filling in swig_module.types */
43602 #ifdef SWIGRUNTIME_DEBUG
43603 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43605 for (i
= 0; i
< swig_module
.size
; ++i
) {
43606 swig_type_info
*type
= 0;
43607 swig_type_info
*ret
;
43608 swig_cast_info
*cast
;
43610 #ifdef SWIGRUNTIME_DEBUG
43611 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43614 /* if there is another module already loaded */
43615 if (swig_module
.next
!= &swig_module
) {
43616 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43619 /* Overwrite clientdata field */
43620 #ifdef SWIGRUNTIME_DEBUG
43621 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43623 if (swig_module
.type_initial
[i
]->clientdata
) {
43624 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43625 #ifdef SWIGRUNTIME_DEBUG
43626 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43630 type
= swig_module
.type_initial
[i
];
43633 /* Insert casting types */
43634 cast
= swig_module
.cast_initial
[i
];
43635 while (cast
->type
) {
43636 /* Don't need to add information already in the list */
43638 #ifdef SWIGRUNTIME_DEBUG
43639 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43641 if (swig_module
.next
!= &swig_module
) {
43642 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43643 #ifdef SWIGRUNTIME_DEBUG
43644 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43648 if (type
== swig_module
.type_initial
[i
]) {
43649 #ifdef SWIGRUNTIME_DEBUG
43650 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43655 /* Check for casting already in the list */
43656 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43657 #ifdef SWIGRUNTIME_DEBUG
43658 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43660 if (!ocast
) ret
= 0;
43665 #ifdef SWIGRUNTIME_DEBUG
43666 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43669 type
->cast
->prev
= cast
;
43670 cast
->next
= type
->cast
;
43676 /* Set entry in modules->types array equal to the type */
43677 swig_module
.types
[i
] = type
;
43679 swig_module
.types
[i
] = 0;
43681 #ifdef SWIGRUNTIME_DEBUG
43682 printf("**** SWIG_InitializeModule: Cast List ******\n");
43683 for (i
= 0; i
< swig_module
.size
; ++i
) {
43685 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43686 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43687 while (cast
->type
) {
43688 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43692 printf("---- Total casts: %d\n",j
);
43694 printf("**** SWIG_InitializeModule: Cast List ******\n");
43698 /* This function will propagate the clientdata field of type to
43699 * any new swig_type_info structures that have been added into the list
43700 * of equivalent types. It is like calling
43701 * SWIG_TypeClientData(type, clientdata) a second time.
43704 SWIG_PropagateClientData(void) {
43706 swig_cast_info
*equiv
;
43707 static int init_run
= 0;
43709 if (init_run
) return;
43712 for (i
= 0; i
< swig_module
.size
; i
++) {
43713 if (swig_module
.types
[i
]->clientdata
) {
43714 equiv
= swig_module
.types
[i
]->cast
;
43716 if (!equiv
->converter
) {
43717 if (equiv
->type
&& !equiv
->type
->clientdata
)
43718 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43720 equiv
= equiv
->next
;
43740 /* Python-specific SWIG API */
43741 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43742 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43743 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43745 /* -----------------------------------------------------------------------------
43746 * global variable support code.
43747 * ----------------------------------------------------------------------------- */
43749 typedef struct swig_globalvar
{
43750 char *name
; /* Name of global variable */
43751 PyObject
*(*get_attr
)(void); /* Return the current value */
43752 int (*set_attr
)(PyObject
*); /* Set the value */
43753 struct swig_globalvar
*next
;
43756 typedef struct swig_varlinkobject
{
43758 swig_globalvar
*vars
;
43759 } swig_varlinkobject
;
43761 SWIGINTERN PyObject
*
43762 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43763 return PyString_FromString("<Swig global variables>");
43766 SWIGINTERN PyObject
*
43767 swig_varlink_str(swig_varlinkobject
*v
) {
43768 PyObject
*str
= PyString_FromString("(");
43769 swig_globalvar
*var
;
43770 for (var
= v
->vars
; var
; var
=var
->next
) {
43771 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43772 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43774 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43779 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43780 PyObject
*str
= swig_varlink_str(v
);
43781 fprintf(fp
,"Swig global variables ");
43782 fprintf(fp
,"%s\n", PyString_AsString(str
));
43788 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43789 swig_globalvar
*var
= v
->vars
;
43791 swig_globalvar
*n
= var
->next
;
43798 SWIGINTERN PyObject
*
43799 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43800 PyObject
*res
= NULL
;
43801 swig_globalvar
*var
= v
->vars
;
43803 if (strcmp(var
->name
,n
) == 0) {
43804 res
= (*var
->get_attr
)();
43809 if (res
== NULL
&& !PyErr_Occurred()) {
43810 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43816 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43818 swig_globalvar
*var
= v
->vars
;
43820 if (strcmp(var
->name
,n
) == 0) {
43821 res
= (*var
->set_attr
)(p
);
43826 if (res
== 1 && !PyErr_Occurred()) {
43827 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43832 SWIGINTERN PyTypeObject
*
43833 swig_varlink_type(void) {
43834 static char varlink__doc__
[] = "Swig var link object";
43835 static PyTypeObject varlink_type
;
43836 static int type_init
= 0;
43838 const PyTypeObject tmp
43840 PyObject_HEAD_INIT(NULL
)
43841 0, /* Number of items in variable part (ob_size) */
43842 (char *)"swigvarlink", /* Type name (tp_name) */
43843 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43844 0, /* Itemsize (tp_itemsize) */
43845 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43846 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43847 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43848 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43849 0, /* tp_compare */
43850 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43851 0, /* tp_as_number */
43852 0, /* tp_as_sequence */
43853 0, /* tp_as_mapping */
43856 (reprfunc
)swig_varlink_str
, /* tp_str */
43857 0, /* tp_getattro */
43858 0, /* tp_setattro */
43859 0, /* tp_as_buffer */
43861 varlink__doc__
, /* tp_doc */
43862 0, /* tp_traverse */
43864 0, /* tp_richcompare */
43865 0, /* tp_weaklistoffset */
43866 #if PY_VERSION_HEX >= 0x02020000
43867 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43869 #if PY_VERSION_HEX >= 0x02030000
43872 #ifdef COUNT_ALLOCS
43873 0,0,0,0 /* tp_alloc -> tp_next */
43876 varlink_type
= tmp
;
43877 varlink_type
.ob_type
= &PyType_Type
;
43880 return &varlink_type
;
43883 /* Create a variable linking object for use later */
43884 SWIGINTERN PyObject
*
43885 SWIG_Python_newvarlink(void) {
43886 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43890 return ((PyObject
*) result
);
43894 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43895 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43896 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43898 size_t size
= strlen(name
)+1;
43899 gv
->name
= (char *)malloc(size
);
43901 strncpy(gv
->name
,name
,size
);
43902 gv
->get_attr
= get_attr
;
43903 gv
->set_attr
= set_attr
;
43904 gv
->next
= v
->vars
;
43910 SWIGINTERN PyObject
*
43912 static PyObject
*_SWIG_globals
= 0;
43913 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43914 return _SWIG_globals
;
43917 /* -----------------------------------------------------------------------------
43918 * constants/methods manipulation
43919 * ----------------------------------------------------------------------------- */
43921 /* Install Constants */
43923 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43926 for (i
= 0; constants
[i
].type
; ++i
) {
43927 switch(constants
[i
].type
) {
43928 case SWIG_PY_POINTER
:
43929 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43931 case SWIG_PY_BINARY
:
43932 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43939 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43945 /* -----------------------------------------------------------------------------*/
43946 /* Fix SwigMethods to carry the callback ptrs when needed */
43947 /* -----------------------------------------------------------------------------*/
43950 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43951 swig_const_info
*const_table
,
43952 swig_type_info
**types
,
43953 swig_type_info
**types_initial
) {
43955 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43956 char *c
= methods
[i
].ml_doc
;
43957 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43959 swig_const_info
*ci
= 0;
43960 char *name
= c
+ 10;
43961 for (j
= 0; const_table
[j
].type
; ++j
) {
43962 if (strncmp(const_table
[j
].name
, name
,
43963 strlen(const_table
[j
].name
)) == 0) {
43964 ci
= &(const_table
[j
]);
43969 size_t shift
= (ci
->ptype
) - types
;
43970 swig_type_info
*ty
= types_initial
[shift
];
43971 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43972 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43973 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43976 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43978 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43980 strncpy(buff
, "swig_ptr: ", 10);
43982 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43983 methods
[i
].ml_doc
= ndoc
;
43995 /* -----------------------------------------------------------------------------*
43996 * Partial Init method
43997 * -----------------------------------------------------------------------------*/
44002 SWIGEXPORT
void SWIG_init(void) {
44005 /* Fix SwigMethods to carry the callback ptrs when needed */
44006 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
44008 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
44009 d
= PyModule_GetDict(m
);
44011 SWIG_InitializeModule(0);
44012 SWIG_InstallConstants(d
,swig_const_table
);
44015 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
44016 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
44017 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
44018 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
44019 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
44020 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
44021 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
44022 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
44023 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
44024 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
44025 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
44026 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
44027 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
44028 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
44029 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
44030 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
44031 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
44032 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
44033 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
44034 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
44035 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
44036 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
44037 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
44038 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
44039 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
44040 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
44041 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
44042 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
44043 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
44044 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
44045 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
44046 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
44047 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
44048 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
44049 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
44050 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
44051 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
44052 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
44053 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
44054 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
44055 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
44056 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
44057 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
44058 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
44059 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
44060 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
44061 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
44062 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
44063 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
44064 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
44065 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
44066 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
44067 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
44068 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
44069 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
44070 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
44071 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
44072 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
44073 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
44074 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
44075 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
44076 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
44077 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
44078 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
44079 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
44080 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
44081 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
44082 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
44083 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
44084 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
44085 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
44086 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
44087 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
44088 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
44089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
44090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
44091 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
44092 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
44093 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
44094 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
44095 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
44096 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
44097 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
44098 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
44099 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
44100 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
44101 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
44102 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
44103 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
44104 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
44105 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
44106 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
44107 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
44108 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
44109 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
44110 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
44111 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
44112 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
44113 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
44114 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
44115 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
44116 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
44117 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
44118 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
44119 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
44120 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
44121 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
44122 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
44123 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
44124 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
44125 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
44126 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
44127 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
44128 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
44129 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
44130 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
44131 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
44132 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
44133 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
44134 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
44135 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
44136 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
44137 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
44138 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
44139 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
44140 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
44141 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
44142 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
44143 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
44144 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
44145 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44146 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44147 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44148 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44149 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44150 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44151 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44152 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44153 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44154 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44155 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44156 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44159 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44160 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44161 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44162 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44163 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44164 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44165 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44166 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44167 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44168 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44169 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44170 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44171 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44172 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44173 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44174 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44175 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44176 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44177 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44178 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44179 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44180 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44181 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44182 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44183 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44184 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44185 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44186 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44187 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44188 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44189 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44190 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44191 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44192 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44193 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44194 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44195 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44196 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44197 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44198 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44199 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44200 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44201 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44202 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44203 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44204 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44205 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44206 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44207 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44208 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44209 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44210 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44211 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44212 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44213 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44214 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44215 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44216 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44217 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44218 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44219 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44220 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44221 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44222 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44223 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44224 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44225 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44226 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44227 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44228 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44229 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44230 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44231 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44232 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44233 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44234 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44235 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44236 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44237 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44238 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44239 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44240 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44241 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44242 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44243 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44244 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44245 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44246 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44247 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44253 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44254 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44255 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44256 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44257 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44258 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44259 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44260 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44261 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44263 // Map renamed classes back to their common name for OOR
44264 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44266 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44267 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44268 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44269 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44270 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44271 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44272 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44273 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44274 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44275 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44276 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44277 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44278 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44279 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44280 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44281 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44282 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44283 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44284 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44285 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44286 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44287 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44288 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44289 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44290 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44291 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44292 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44293 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44294 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44295 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44296 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44297 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44298 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44299 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44308 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44309 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44310 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44311 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44312 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44313 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44314 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44315 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44316 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44317 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44318 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44319 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44320 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44322 // Map renamed classes back to their common name for OOR
44323 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44324 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44326 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44327 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44328 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44329 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44330 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44331 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44332 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44333 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44334 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44335 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44337 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44339 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44340 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44341 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44342 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44343 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44344 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));