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_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2811 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2812 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2819 self
->Insert(item
, pos
);
2823 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2826 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2827 return SWIG_TypeError
;
2830 *val
= (unsigned long)v
;
2836 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2839 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2840 if (SWIG_IsOK(res
)) {
2841 if ((v
> UINT_MAX
)) {
2842 return SWIG_OverflowError
;
2844 if (val
) *val
= static_cast< unsigned int >(v
);
2850 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 self
->GetSelections(lst
);
2854 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2855 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2857 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2859 wxPyEndBlockThreads(blocked
);
2862 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2864 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2865 self
->GetItem(item
)->SetTextColour(c
);
2868 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2870 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2871 self
->GetItem(item
)->SetBackgroundColour(c
);
2874 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetFont(f
);
2880 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2881 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2882 self
->AppendText(text
);
2884 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2885 return self
->GetValue().Mid(from
, to
- from
);
2887 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2888 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2889 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2890 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2891 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2893 SWIGINTERNINLINE PyObject
*
2894 SWIG_From_unsigned_SS_long (unsigned long value
)
2896 return (value
> LONG_MAX
) ?
2897 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2901 SWIGINTERNINLINE PyObject
*
2902 SWIG_From_size_t (size_t value
)
2904 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2908 SWIGINTERNINLINE PyObject
*
2909 SWIG_From_unsigned_SS_int (unsigned int value
)
2911 return SWIG_From_unsigned_SS_long (value
);
2915 #include <wx/slider.h>
2918 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2919 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2921 #if !wxUSE_TOGGLEBTN
2922 // implement dummy items for platforms that don't have this class
2924 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2926 class wxToggleButton
: public wxControl
2929 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2930 const wxPoint
&, const wxSize
&, long,
2931 const wxValidator
&, const wxString
&)
2932 { wxPyRaiseNotImplemented(); }
2935 { wxPyRaiseNotImplemented(); }
2939 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2941 SWIGINTERNINLINE
int
2942 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2945 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2946 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2950 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2951 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2952 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2954 Py_INCREF(udata
->m_obj
);
2955 return udata
->m_obj
;
2961 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2962 self
->SetClientData(new wxPyUserData(clientData
));
2964 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
){
2965 wxPyUserData
* udata
= NULL
;
2966 if (clientData
&& clientData
!= Py_None
)
2967 udata
= new wxPyUserData(clientData
);
2968 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2969 shortHelp
, longHelp
, udata
);
2971 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
){
2972 wxPyUserData
* udata
= NULL
;
2973 if (clientData
&& clientData
!= Py_None
)
2974 udata
= new wxPyUserData(clientData
);
2975 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2976 shortHelp
, longHelp
, udata
);
2978 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2979 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2981 Py_INCREF(udata
->m_obj
);
2982 return udata
->m_obj
;
2988 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2989 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2992 #include <wx/listctrl.h>
2994 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2995 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2996 // Python aware sorting function for wxPyListCtrl
2997 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2999 PyObject
* func
= (PyObject
*)funcPtr
;
3000 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3002 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3003 PyObject
* result
= PyEval_CallObject(func
, args
);
3006 retval
= PyInt_AsLong(result
);
3010 wxPyEndBlockThreads(blocked
);
3014 // C++ Version of a Python aware class
3015 class wxPyListCtrl
: public wxListCtrl
{
3016 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3018 wxPyListCtrl() : wxListCtrl() {}
3019 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3023 const wxValidator
& validator
,
3024 const wxString
& name
) :
3025 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3027 bool Create(wxWindow
* parent
, wxWindowID id
,
3031 const wxValidator
& validator
,
3032 const wxString
& name
) {
3033 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3036 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3037 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3039 // use the virtual version to avoid a confusing assert in the base class
3040 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3041 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3048 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3049 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3050 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3051 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3054 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3056 item
.SetMask( wxLIST_MASK_STATE
|
3064 if (self
->GetColumn(col
, item
))
3065 return new wxListItem(item
);
3069 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3070 wxListItem
* info
= new wxListItem
;
3071 info
->m_itemId
= itemId
;
3073 info
->m_mask
= 0xFFFF;
3074 self
->GetItem(*info
);
3077 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3079 self
->GetItemPosition(item
, pos
);
3082 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3084 self
->GetItemRect(item
, rect
, code
);
3087 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3088 if (!PyCallable_Check(func
))
3090 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3092 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3100 #include <wx/treectrl.h>
3101 #include "wx/wxPython/pytree.h"
3103 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3104 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3105 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3106 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3107 // C++ version of Python aware wxTreeCtrl
3108 class wxPyTreeCtrl
: public wxTreeCtrl
{
3109 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3111 wxPyTreeCtrl() : wxTreeCtrl() {}
3112 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3116 const wxValidator
& validator
,
3117 const wxString
& name
) :
3118 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3120 bool Create(wxWindow
*parent
, wxWindowID id
,
3124 const wxValidator
& validator
,
3125 const wxString
& name
) {
3126 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3130 int OnCompareItems(const wxTreeItemId
& item1
,
3131 const wxTreeItemId
& item2
) {
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3136 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3137 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3138 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3142 wxPyEndBlockThreads(blocked
);
3144 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3150 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3153 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3154 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3156 data
= new wxPyTreeItemData();
3157 data
->SetId(item
); // set the id
3158 self
->SetItemData(item
, data
);
3162 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3163 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3165 data
= new wxPyTreeItemData();
3166 data
->SetId(item
); // set the id
3167 self
->SetItemData(item
, data
);
3169 return data
->GetData();
3171 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3175 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData(obj
);
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3185 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3186 PyObject
* rval
= PyList_New(0);
3187 wxArrayTreeItemIds array
;
3189 num
= self
->GetSelections(array
);
3190 for (x
=0; x
< num
; x
++) {
3191 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3192 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3193 PyList_Append(rval
, item
);
3196 wxPyEndBlockThreads(blocked
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3201 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3202 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3203 PyObject
* tup
= PyTuple_New(2);
3204 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3205 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3206 wxPyEndBlockThreads(blocked
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3210 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* tup
= PyTuple_New(2);
3213 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3214 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3220 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 wxRect
* r
= new wxRect(rect
);
3223 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3224 wxPyEndBlockThreads(blocked
);
3230 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3232 SWIGINTERNINLINE PyObject
*
3233 SWIG_From_bool (bool value
)
3235 return PyBool_FromLong(value
? 1 : 0);
3238 // C++ version of Python aware wxControl
3239 class wxPyControl
: public wxControl
3241 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3243 wxPyControl() : wxControl() {}
3244 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3245 const wxPoint
& pos
= wxDefaultPosition
,
3246 const wxSize
& size
= wxDefaultSize
,
3248 const wxValidator
& validator
=wxDefaultValidator
,
3249 const wxString
& name
= wxPyControlNameStr
)
3250 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3252 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3254 bool DoEraseBackground(wxDC
* dc
) {
3256 return wxWindow::DoEraseBackground(dc
->GetHDC());
3258 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3265 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3276 DEC_PYCALLBACK__(InitDialog
);
3277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3279 DEC_PYCALLBACK_BOOL_(Validate
);
3281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3283 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3289 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3291 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3293 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3298 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3300 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3301 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3309 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3312 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3313 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3317 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3319 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3324 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3325 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3327 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3329 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3333 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3335 #include <wx/generic/dragimgg.h>
3337 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3338 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3340 self
->GetRange(&rv
, NULL
);
3343 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3345 self
->GetRange(NULL
, &rv
);
3351 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3352 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3357 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3358 PyObject
*pyobj
= 0;
3362 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3364 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3371 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
= 0;
3373 wxWindow
*arg1
= (wxWindow
*) 0 ;
3374 int arg2
= (int) -1 ;
3375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3381 long arg6
= (long) 0 ;
3382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3384 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3386 wxButton
*result
= 0 ;
3391 bool temp3
= false ;
3398 bool temp8
= false ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3401 PyObject
* obj2
= 0 ;
3402 PyObject
* obj3
= 0 ;
3403 PyObject
* obj4
= 0 ;
3404 PyObject
* obj5
= 0 ;
3405 PyObject
* obj6
= 0 ;
3406 PyObject
* obj7
= 0 ;
3407 char * kwnames
[] = {
3408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3413 if (!SWIG_IsOK(res1
)) {
3414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3419 if (!SWIG_IsOK(ecode2
)) {
3420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3422 arg2
= static_cast< int >(val2
);
3426 arg3
= wxString_in_helper(obj2
);
3427 if (arg3
== NULL
) SWIG_fail
;
3434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3445 if (!SWIG_IsOK(ecode6
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3448 arg6
= static_cast< long >(val6
);
3451 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3452 if (!SWIG_IsOK(res7
)) {
3453 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3458 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3462 arg8
= wxString_in_helper(obj7
);
3463 if (arg8
== NULL
) SWIG_fail
;
3468 if (!wxPyCheckForApp()) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3497 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3498 PyObject
*resultobj
= 0;
3499 wxButton
*result
= 0 ;
3501 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3503 if (!wxPyCheckForApp()) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (wxButton
*)new wxButton();
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3516 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
= 0;
3518 wxButton
*arg1
= (wxButton
*) 0 ;
3519 wxWindow
*arg2
= (wxWindow
*) 0 ;
3520 int arg3
= (int) -1 ;
3521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3527 long arg7
= (long) 0 ;
3528 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3529 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3530 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3531 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3539 bool temp4
= false ;
3546 bool temp9
= false ;
3547 PyObject
* obj0
= 0 ;
3548 PyObject
* obj1
= 0 ;
3549 PyObject
* obj2
= 0 ;
3550 PyObject
* obj3
= 0 ;
3551 PyObject
* obj4
= 0 ;
3552 PyObject
* obj5
= 0 ;
3553 PyObject
* obj6
= 0 ;
3554 PyObject
* obj7
= 0 ;
3555 PyObject
* obj8
= 0 ;
3556 char * kwnames
[] = {
3557 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3562 if (!SWIG_IsOK(res1
)) {
3563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3565 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3567 if (!SWIG_IsOK(res2
)) {
3568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3573 if (!SWIG_IsOK(ecode3
)) {
3574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3576 arg3
= static_cast< int >(val3
);
3580 arg4
= wxString_in_helper(obj3
);
3581 if (arg4
== NULL
) SWIG_fail
;
3588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3599 if (!SWIG_IsOK(ecode7
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3602 arg7
= static_cast< long >(val7
);
3605 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3606 if (!SWIG_IsOK(res8
)) {
3607 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3612 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3616 arg9
= wxString_in_helper(obj8
);
3617 if (arg9
== NULL
) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3652 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3653 PyObject
*resultobj
= 0;
3654 wxButton
*arg1
= (wxButton
*) 0 ;
3657 PyObject
*swig_obj
[1] ;
3659 if (!args
) SWIG_fail
;
3661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3662 if (!SWIG_IsOK(res1
)) {
3663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3665 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 (arg1
)->SetDefault();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_Py_Void();
3679 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3683 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= wxButton::GetDefaultSize();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3697 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
= 0;
3699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3700 SwigValueWrapper
<wxVisualAttributes
> result
;
3703 PyObject
* obj0
= 0 ;
3704 char * kwnames
[] = {
3705 (char *) "variant", NULL
3708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3711 if (!SWIG_IsOK(ecode1
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3714 arg1
= static_cast< wxWindowVariant
>(val1
);
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxButton::GetClassDefaultAttributes(arg1
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3730 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3733 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3734 return SWIG_Py_Void();
3737 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3738 return SWIG_Python_InitShadowInstance(args
);
3741 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
= 0;
3743 wxWindow
*arg1
= (wxWindow
*) 0 ;
3744 int arg2
= (int) -1 ;
3745 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3746 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3751 long arg6
= (long) wxBU_AUTODRAW
;
3752 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3753 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3754 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3756 wxBitmapButton
*result
= 0 ;
3769 bool temp8
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 PyObject
* obj6
= 0 ;
3777 PyObject
* obj7
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3796 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3797 if (!SWIG_IsOK(res3
)) {
3798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3803 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3818 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3819 if (!SWIG_IsOK(ecode6
)) {
3820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3822 arg6
= static_cast< long >(val6
);
3825 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3826 if (!SWIG_IsOK(res7
)) {
3827 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3832 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3836 arg8
= wxString_in_helper(obj7
);
3837 if (arg8
== NULL
) SWIG_fail
;
3842 if (!wxPyCheckForApp()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3863 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3864 PyObject
*resultobj
= 0;
3865 wxBitmapButton
*result
= 0 ;
3867 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton();
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3882 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3885 wxWindow
*arg2
= (wxWindow
*) 0 ;
3886 int arg3
= (int) -1 ;
3887 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3888 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3889 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3890 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3891 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3892 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3893 long arg7
= (long) wxBU_AUTODRAW
;
3894 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3895 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3896 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3897 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3913 bool temp9
= false ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3916 PyObject
* obj2
= 0 ;
3917 PyObject
* obj3
= 0 ;
3918 PyObject
* obj4
= 0 ;
3919 PyObject
* obj5
= 0 ;
3920 PyObject
* obj6
= 0 ;
3921 PyObject
* obj7
= 0 ;
3922 PyObject
* obj8
= 0 ;
3923 char * kwnames
[] = {
3924 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3929 if (!SWIG_IsOK(res1
)) {
3930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3932 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3934 if (!SWIG_IsOK(res2
)) {
3935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3937 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3940 if (!SWIG_IsOK(ecode3
)) {
3941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3943 arg3
= static_cast< int >(val3
);
3946 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3947 if (!SWIG_IsOK(res4
)) {
3948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3953 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3968 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3969 if (!SWIG_IsOK(ecode7
)) {
3970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3972 arg7
= static_cast< long >(val7
);
3975 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3976 if (!SWIG_IsOK(res8
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3982 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3986 arg9
= wxString_in_helper(obj8
);
3987 if (arg9
== NULL
) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4014 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4028 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (arg1
)->GetBitmapLabel();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4042 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 PyObject
*resultobj
= 0;
4044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4048 PyObject
*swig_obj
[1] ;
4050 if (!args
) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4056 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (arg1
)->GetBitmapDisabled();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4070 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4071 PyObject
*resultobj
= 0;
4072 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4076 PyObject
*swig_obj
[1] ;
4078 if (!args
) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4084 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (arg1
)->GetBitmapFocus();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4098 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 PyObject
*resultobj
= 0;
4100 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4104 PyObject
*swig_obj
[1] ;
4106 if (!args
) SWIG_fail
;
4108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4109 if (!SWIG_IsOK(res1
)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4112 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (arg1
)->GetBitmapSelected();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4132 PyObject
*swig_obj
[1] ;
4134 if (!args
) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4140 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (arg1
)->GetBitmapHover();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4157 wxBitmap
*arg2
= 0 ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4164 char * kwnames
[] = {
4165 (char *) "self",(char *) "bitmap", NULL
4168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4170 if (!SWIG_IsOK(res1
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4173 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4175 if (!SWIG_IsOK(res2
)) {
4176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4181 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_Py_Void();
4195 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
= 0;
4197 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4198 wxBitmap
*arg2
= 0 ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4205 char * kwnames
[] = {
4206 (char *) "self",(char *) "bitmap", NULL
4209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4211 if (!SWIG_IsOK(res1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4214 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4216 if (!SWIG_IsOK(res2
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4222 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_Py_Void();
4236 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4239 wxBitmap
*arg2
= 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 char * kwnames
[] = {
4247 (char *) "self",(char *) "bitmap", NULL
4250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4255 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4257 if (!SWIG_IsOK(res2
)) {
4258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_Py_Void();
4277 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
= 0;
4279 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4280 wxBitmap
*arg2
= 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4287 char * kwnames
[] = {
4288 (char *) "self",(char *) "bitmap", NULL
4291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4293 if (!SWIG_IsOK(res1
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4296 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4298 if (!SWIG_IsOK(res2
)) {
4299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_Py_Void();
4318 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
= 0;
4320 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4321 wxBitmap
*arg2
= 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4328 char * kwnames
[] = {
4329 (char *) "self",(char *) "hover", NULL
4332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4334 if (!SWIG_IsOK(res1
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4337 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4339 if (!SWIG_IsOK(res2
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_Py_Void();
4359 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
= 0;
4361 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4372 PyObject
* obj2
= 0 ;
4373 char * kwnames
[] = {
4374 (char *) "self",(char *) "x",(char *) "y", NULL
4377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4379 if (!SWIG_IsOK(res1
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4382 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4384 if (!SWIG_IsOK(ecode2
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4387 arg2
= static_cast< int >(val2
);
4388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4389 if (!SWIG_IsOK(ecode3
)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4392 arg3
= static_cast< int >(val3
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 (arg1
)->SetMargins(arg2
,arg3
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_Py_Void();
4406 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 PyObject
*resultobj
= 0;
4408 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4412 PyObject
*swig_obj
[1] ;
4414 if (!args
) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4420 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_From_int(static_cast< int >(result
));
4434 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4435 PyObject
*resultobj
= 0;
4436 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4440 PyObject
*swig_obj
[1] ;
4442 if (!args
) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4448 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_From_int(static_cast< int >(result
));
4462 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4465 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4466 return SWIG_Py_Void();
4469 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4470 return SWIG_Python_InitShadowInstance(args
);
4473 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4474 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4479 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4480 PyObject
*pyobj
= 0;
4484 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4486 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4493 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxWindow
*arg1
= (wxWindow
*) 0 ;
4496 int arg2
= (int) -1 ;
4497 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4498 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4503 long arg6
= (long) 0 ;
4504 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4505 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4506 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4508 wxCheckBox
*result
= 0 ;
4513 bool temp3
= false ;
4520 bool temp8
= false ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4523 PyObject
* obj2
= 0 ;
4524 PyObject
* obj3
= 0 ;
4525 PyObject
* obj4
= 0 ;
4526 PyObject
* obj5
= 0 ;
4527 PyObject
* obj6
= 0 ;
4528 PyObject
* obj7
= 0 ;
4529 char * kwnames
[] = {
4530 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4535 if (!SWIG_IsOK(res1
)) {
4536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4541 if (!SWIG_IsOK(ecode2
)) {
4542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4544 arg2
= static_cast< int >(val2
);
4548 arg3
= wxString_in_helper(obj2
);
4549 if (arg3
== NULL
) SWIG_fail
;
4556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4566 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4567 if (!SWIG_IsOK(ecode6
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4570 arg6
= static_cast< long >(val6
);
4573 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4574 if (!SWIG_IsOK(res7
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4580 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4584 arg8
= wxString_in_helper(obj7
);
4585 if (arg8
== NULL
) SWIG_fail
;
4590 if (!wxPyCheckForApp()) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4619 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxCheckBox
*result
= 0 ;
4623 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4625 if (!wxPyCheckForApp()) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (wxCheckBox
*)new wxCheckBox();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4638 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4640 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4641 wxWindow
*arg2
= (wxWindow
*) 0 ;
4642 int arg3
= (int) -1 ;
4643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4649 long arg7
= (long) 0 ;
4650 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4651 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4652 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4653 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4661 bool temp4
= false ;
4668 bool temp9
= false ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 PyObject
* obj3
= 0 ;
4673 PyObject
* obj4
= 0 ;
4674 PyObject
* obj5
= 0 ;
4675 PyObject
* obj6
= 0 ;
4676 PyObject
* obj7
= 0 ;
4677 PyObject
* obj8
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4687 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4689 if (!SWIG_IsOK(res2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4695 if (!SWIG_IsOK(ecode3
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4698 arg3
= static_cast< int >(val3
);
4702 arg4
= wxString_in_helper(obj3
);
4703 if (arg4
== NULL
) SWIG_fail
;
4710 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4716 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4720 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4721 if (!SWIG_IsOK(ecode7
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4724 arg7
= static_cast< long >(val7
);
4727 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4728 if (!SWIG_IsOK(res8
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4734 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4738 arg9
= wxString_in_helper(obj8
);
4739 if (arg9
== NULL
) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 PyObject
*resultobj
= 0;
4776 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4780 PyObject
*swig_obj
[1] ;
4782 if (!args
) SWIG_fail
;
4784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4785 if (!SWIG_IsOK(res1
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4788 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (bool)(arg1
)->GetValue();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->IsChecked();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 char * kwnames
[] = {
4845 (char *) "self",(char *) "state", NULL
4848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4850 if (!SWIG_IsOK(res1
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4853 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4855 if (!SWIG_IsOK(ecode2
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4858 arg2
= static_cast< bool >(val2
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->SetValue(arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_Py_Void();
4872 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4873 PyObject
*resultobj
= 0;
4874 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4875 wxCheckBoxState result
;
4878 PyObject
*swig_obj
[1] ;
4880 if (!args
) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4886 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_From_int(static_cast< int >(result
));
4900 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= 0;
4902 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4903 wxCheckBoxState arg2
;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4910 char * kwnames
[] = {
4911 (char *) "self",(char *) "state", NULL
4914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4919 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4921 if (!SWIG_IsOK(ecode2
)) {
4922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4924 arg2
= static_cast< wxCheckBoxState
>(val2
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 (arg1
)->Set3StateValue(arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_Py_Void();
4938 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4939 PyObject
*resultobj
= 0;
4940 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4944 PyObject
*swig_obj
[1] ;
4946 if (!args
) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4952 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= 0;
5000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5001 SwigValueWrapper
<wxVisualAttributes
> result
;
5004 PyObject
* obj0
= 0 ;
5005 char * kwnames
[] = {
5006 (char *) "variant", NULL
5009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5012 if (!SWIG_IsOK(ecode1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5015 arg1
= static_cast< wxWindowVariant
>(val1
);
5018 if (!wxPyCheckForApp()) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5031 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5034 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5035 return SWIG_Py_Void();
5038 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5039 return SWIG_Python_InitShadowInstance(args
);
5042 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5043 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5048 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5049 PyObject
*pyobj
= 0;
5053 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5055 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5062 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxWindow
*arg1
= (wxWindow
*) 0 ;
5065 int arg2
= (int) -1 ;
5066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5070 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5071 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5072 long arg6
= (long) 0 ;
5073 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5074 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5075 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5077 wxChoice
*result
= 0 ;
5084 bool temp5
= false ;
5089 bool temp8
= false ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5092 PyObject
* obj2
= 0 ;
5093 PyObject
* obj3
= 0 ;
5094 PyObject
* obj4
= 0 ;
5095 PyObject
* obj5
= 0 ;
5096 PyObject
* obj6
= 0 ;
5097 PyObject
* obj7
= 0 ;
5098 char * kwnames
[] = {
5099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5104 if (!SWIG_IsOK(res1
)) {
5105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5110 if (!SWIG_IsOK(ecode2
)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5113 arg2
= static_cast< int >(val2
);
5118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5129 if (! PySequence_Check(obj4
)) {
5130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5133 arg5
= new wxArrayString
;
5135 int i
, len
=PySequence_Length(obj4
);
5136 for (i
=0; i
<len
; i
++) {
5137 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5138 wxString
* s
= wxString_in_helper(item
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5147 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5148 if (!SWIG_IsOK(ecode6
)) {
5149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5151 arg6
= static_cast< long >(val6
);
5154 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5155 if (!SWIG_IsOK(res7
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5161 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5165 arg8
= wxString_in_helper(obj7
);
5166 if (arg8
== NULL
) SWIG_fail
;
5171 if (!wxPyCheckForApp()) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5179 if (temp5
) delete arg5
;
5188 if (temp5
) delete arg5
;
5198 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5199 PyObject
*resultobj
= 0;
5200 wxChoice
*result
= 0 ;
5202 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxChoice
*)new wxChoice();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5217 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
= 0;
5219 wxChoice
*arg1
= (wxChoice
*) 0 ;
5220 wxWindow
*arg2
= (wxWindow
*) 0 ;
5221 int arg3
= (int) -1 ;
5222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5226 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5227 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5228 long arg7
= (long) 0 ;
5229 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5230 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5231 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5232 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5242 bool temp6
= false ;
5247 bool temp9
= false ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5251 PyObject
* obj3
= 0 ;
5252 PyObject
* obj4
= 0 ;
5253 PyObject
* obj5
= 0 ;
5254 PyObject
* obj6
= 0 ;
5255 PyObject
* obj7
= 0 ;
5256 PyObject
* obj8
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5266 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5268 if (!SWIG_IsOK(res2
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5274 if (!SWIG_IsOK(ecode3
)) {
5275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5277 arg3
= static_cast< int >(val3
);
5282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5293 if (! PySequence_Check(obj5
)) {
5294 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5297 arg6
= new wxArrayString
;
5299 int i
, len
=PySequence_Length(obj5
);
5300 for (i
=0; i
<len
; i
++) {
5301 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5302 wxString
* s
= wxString_in_helper(item
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5312 if (!SWIG_IsOK(ecode7
)) {
5313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5315 arg7
= static_cast< long >(val7
);
5318 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5319 if (!SWIG_IsOK(res8
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5325 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5329 arg9
= wxString_in_helper(obj8
);
5330 if (arg9
== NULL
) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5344 if (temp6
) delete arg6
;
5353 if (temp6
) delete arg6
;
5363 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5364 PyObject
*resultobj
= 0;
5365 wxChoice
*arg1
= (wxChoice
*) 0 ;
5369 PyObject
*swig_obj
[1] ;
5371 if (!args
) SWIG_fail
;
5373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5374 if (!SWIG_IsOK(res1
)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5377 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_From_int(static_cast< int >(result
));
5391 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
= 0;
5393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5394 SwigValueWrapper
<wxVisualAttributes
> result
;
5397 PyObject
* obj0
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "variant", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5405 if (!SWIG_IsOK(ecode1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5408 arg1
= static_cast< wxWindowVariant
>(val1
);
5411 if (!wxPyCheckForApp()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5424 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5427 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5428 return SWIG_Py_Void();
5431 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5432 return SWIG_Python_InitShadowInstance(args
);
5435 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5436 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5441 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5442 PyObject
*pyobj
= 0;
5446 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5448 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5455 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5457 wxWindow
*arg1
= (wxWindow
*) 0 ;
5458 int arg2
= (int) -1 ;
5459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5465 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5466 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5467 long arg7
= (long) 0 ;
5468 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5469 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5470 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5471 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5472 wxComboBox
*result
= 0 ;
5477 bool temp3
= false ;
5480 bool temp6
= false ;
5485 bool temp9
= false ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5488 PyObject
* obj2
= 0 ;
5489 PyObject
* obj3
= 0 ;
5490 PyObject
* obj4
= 0 ;
5491 PyObject
* obj5
= 0 ;
5492 PyObject
* obj6
= 0 ;
5493 PyObject
* obj7
= 0 ;
5494 PyObject
* obj8
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5507 if (!SWIG_IsOK(ecode2
)) {
5508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5510 arg2
= static_cast< int >(val2
);
5514 arg3
= wxString_in_helper(obj2
);
5515 if (arg3
== NULL
) SWIG_fail
;
5522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5533 if (! PySequence_Check(obj5
)) {
5534 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5537 arg6
= new wxArrayString
;
5539 int i
, len
=PySequence_Length(obj5
);
5540 for (i
=0; i
<len
; i
++) {
5541 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5542 wxString
* s
= wxString_in_helper(item
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5551 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5552 if (!SWIG_IsOK(ecode7
)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5555 arg7
= static_cast< long >(val7
);
5558 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5559 if (!SWIG_IsOK(res8
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5565 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5569 arg9
= wxString_in_helper(obj8
);
5570 if (arg9
== NULL
) SWIG_fail
;
5575 if (!wxPyCheckForApp()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 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
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5587 if (temp6
) delete arg6
;
5600 if (temp6
) delete arg6
;
5610 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5611 PyObject
*resultobj
= 0;
5612 wxComboBox
*result
= 0 ;
5614 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5616 if (!wxPyCheckForApp()) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (wxComboBox
*)new wxComboBox();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5629 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5632 wxWindow
*arg2
= (wxWindow
*) 0 ;
5633 int arg3
= (int) -1 ;
5634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5636 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5637 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5638 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5639 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5640 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5641 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5642 long arg8
= (long) 0 ;
5643 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5644 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5645 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5646 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5654 bool temp4
= false ;
5657 bool temp7
= false ;
5662 bool temp10
= false ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5666 PyObject
* obj3
= 0 ;
5667 PyObject
* obj4
= 0 ;
5668 PyObject
* obj5
= 0 ;
5669 PyObject
* obj6
= 0 ;
5670 PyObject
* obj7
= 0 ;
5671 PyObject
* obj8
= 0 ;
5672 PyObject
* obj9
= 0 ;
5673 char * kwnames
[] = {
5674 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5679 if (!SWIG_IsOK(res1
)) {
5680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5682 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5684 if (!SWIG_IsOK(res2
)) {
5685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5690 if (!SWIG_IsOK(ecode3
)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5693 arg3
= static_cast< int >(val3
);
5697 arg4
= wxString_in_helper(obj3
);
5698 if (arg4
== NULL
) SWIG_fail
;
5705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5716 if (! PySequence_Check(obj6
)) {
5717 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5720 arg7
= new wxArrayString
;
5722 int i
, len
=PySequence_Length(obj6
);
5723 for (i
=0; i
<len
; i
++) {
5724 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5725 wxString
* s
= wxString_in_helper(item
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5734 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5735 if (!SWIG_IsOK(ecode8
)) {
5736 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5738 arg8
= static_cast< long >(val8
);
5741 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5742 if (!SWIG_IsOK(res9
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5748 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5752 arg10
= wxString_in_helper(obj9
);
5753 if (arg10
== NULL
) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 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
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 if (temp7
) delete arg7
;
5784 if (temp7
) delete arg7
;
5794 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5795 PyObject
*resultobj
= 0;
5796 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5800 PyObject
*swig_obj
[1] ;
5802 if (!args
) SWIG_fail
;
5804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5805 if (!SWIG_IsOK(res1
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5808 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= ((wxComboBox
const *)arg1
)->GetValue();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5828 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5831 wxString
*arg2
= 0 ;
5834 bool temp2
= false ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 char * kwnames
[] = {
5838 (char *) "self",(char *) "value", NULL
5841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5846 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5848 arg2
= wxString_in_helper(obj1
);
5849 if (arg2
== NULL
) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->SetValue((wxString
const &)*arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5878 PyObject
*swig_obj
[1] ;
5880 if (!args
) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5886 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 char * kwnames
[] = {
5965 (char *) "self",(char *) "pos", NULL
5968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5970 if (!SWIG_IsOK(res1
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5973 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5975 if (!SWIG_IsOK(ecode2
)) {
5976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5978 arg2
= static_cast< long >(val2
);
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->SetInsertionPoint(arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_Py_Void();
5992 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5993 PyObject
*resultobj
= 0;
5994 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5998 PyObject
*swig_obj
[1] ;
6000 if (!args
) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6006 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_From_long(static_cast< long >(result
));
6020 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6021 PyObject
*resultobj
= 0;
6022 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6026 PyObject
*swig_obj
[1] ;
6028 if (!args
) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6034 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_From_long(static_cast< long >(result
));
6048 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 wxString
*arg4
= 0 ;
6060 bool temp4
= false ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 PyObject
* obj2
= 0 ;
6064 PyObject
* obj3
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6074 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6076 if (!SWIG_IsOK(ecode2
)) {
6077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6079 arg2
= static_cast< long >(val2
);
6080 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6081 if (!SWIG_IsOK(ecode3
)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6084 arg3
= static_cast< long >(val3
);
6086 arg4
= wxString_in_helper(obj3
);
6087 if (arg4
== NULL
) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_Py_Void();
6111 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6124 PyObject
* obj2
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "self",(char *) "_from",(char *) "to", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6134 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6136 if (!SWIG_IsOK(ecode2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6139 arg2
= static_cast< long >(val2
);
6140 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6141 if (!SWIG_IsOK(ecode3
)) {
6142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6144 arg3
= static_cast< long >(val3
);
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 (arg1
)->SetSelection(arg2
,arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_Py_Void();
6158 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6159 PyObject
*resultobj
= 0;
6160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6161 long *arg2
= (long *) 0 ;
6162 long *arg3
= (long *) 0 ;
6166 int res2
= SWIG_TMPOBJ
;
6168 int res3
= SWIG_TMPOBJ
;
6169 PyObject
*swig_obj
[1] ;
6173 if (!args
) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6179 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->GetSelection(arg2
,arg3
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_Py_Void();
6187 if (SWIG_IsTmpObj(res2
)) {
6188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6190 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6193 if (SWIG_IsTmpObj(res3
)) {
6194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6196 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6205 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6206 PyObject
*resultobj
= 0;
6207 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6211 PyObject
*swig_obj
[1] ;
6213 if (!args
) SWIG_fail
;
6215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6216 if (!SWIG_IsOK(res1
)) {
6217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6219 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_From_int(static_cast< int >(result
));
6233 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= 0;
6235 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6236 wxString
*arg2
= 0 ;
6240 bool temp2
= false ;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6243 char * kwnames
[] = {
6244 (char *) "self",(char *) "string", NULL
6247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6249 if (!SWIG_IsOK(res1
)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6252 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6254 arg2
= wxString_in_helper(obj1
);
6255 if (arg2
== NULL
) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6281 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
= 0;
6283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6285 wxString
*arg3
= 0 ;
6290 bool temp3
= false ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 PyObject
* obj2
= 0 ;
6294 char * kwnames
[] = {
6295 (char *) "self",(char *) "n",(char *) "string", NULL
6298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6300 if (!SWIG_IsOK(res1
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6303 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6305 if (!SWIG_IsOK(ecode2
)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6308 arg2
= static_cast< int >(val2
);
6310 arg3
= wxString_in_helper(obj2
);
6311 if (arg3
== NULL
) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_Py_Void();
6335 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
= 0;
6337 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "self",(char *) "editable", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6351 if (!SWIG_IsOK(res1
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6354 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6356 if (!SWIG_IsOK(ecode2
)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6359 arg2
= static_cast< bool >(val2
);
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 (arg1
)->SetEditable(arg2
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_Py_Void();
6373 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6378 PyObject
*swig_obj
[1] ;
6380 if (!args
) SWIG_fail
;
6382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6383 if (!SWIG_IsOK(res1
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6386 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetInsertionPointEnd();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 PyObject
* obj2
= 0 ;
6414 char * kwnames
[] = {
6415 (char *) "self",(char *) "_from",(char *) "to", NULL
6418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6420 if (!SWIG_IsOK(res1
)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6423 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6425 if (!SWIG_IsOK(ecode2
)) {
6426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6428 arg2
= static_cast< long >(val2
);
6429 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6430 if (!SWIG_IsOK(ecode3
)) {
6431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6433 arg3
= static_cast< long >(val3
);
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 (arg1
)->Remove(arg2
,arg3
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= SWIG_Py_Void();
6447 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6448 PyObject
*resultobj
= 0;
6449 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6453 PyObject
*swig_obj
[1] ;
6455 if (!args
) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6461 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6477 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6482 PyObject
*swig_obj
[1] ;
6484 if (!args
) SWIG_fail
;
6486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6487 if (!SWIG_IsOK(res1
)) {
6488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6490 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_Py_Void();
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 (arg1
)->SelectAll();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6564 PyObject
*swig_obj
[1] ;
6566 if (!args
) SWIG_fail
;
6568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6569 if (!SWIG_IsOK(res1
)) {
6570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6572 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6588 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6594 PyObject
*swig_obj
[1] ;
6596 if (!args
) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6602 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6624 PyObject
*swig_obj
[1] ;
6626 if (!args
) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6632 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6662 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6679 PyObject
*resultobj
= 0;
6680 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6692 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
= 0;
6710 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6711 SwigValueWrapper
<wxVisualAttributes
> result
;
6714 PyObject
* obj0
= 0 ;
6715 char * kwnames
[] = {
6716 (char *) "variant", NULL
6719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6722 if (!SWIG_IsOK(ecode1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6725 arg1
= static_cast< wxWindowVariant
>(val1
);
6728 if (!wxPyCheckForApp()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6741 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6744 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6745 return SWIG_Py_Void();
6748 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6749 return SWIG_Python_InitShadowInstance(args
);
6752 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6753 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6758 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6759 PyObject
*pyobj
= 0;
6763 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6765 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6772 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
= 0;
6774 wxWindow
*arg1
= (wxWindow
*) 0 ;
6775 int arg2
= (int) -1 ;
6776 int arg3
= (int) 100 ;
6777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6781 long arg6
= (long) wxGA_HORIZONTAL
;
6782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6784 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6786 wxGauge
*result
= 0 ;
6799 bool temp8
= false ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6802 PyObject
* obj2
= 0 ;
6803 PyObject
* obj3
= 0 ;
6804 PyObject
* obj4
= 0 ;
6805 PyObject
* obj5
= 0 ;
6806 PyObject
* obj6
= 0 ;
6807 PyObject
* obj7
= 0 ;
6808 char * kwnames
[] = {
6809 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6814 if (!SWIG_IsOK(res1
)) {
6815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6820 if (!SWIG_IsOK(ecode2
)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6823 arg2
= static_cast< int >(val2
);
6826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6827 if (!SWIG_IsOK(ecode3
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6830 arg3
= static_cast< int >(val3
);
6835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6846 if (!SWIG_IsOK(ecode6
)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6849 arg6
= static_cast< long >(val6
);
6852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6853 if (!SWIG_IsOK(res7
)) {
6854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6863 arg8
= wxString_in_helper(obj7
);
6864 if (arg8
== NULL
) SWIG_fail
;
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6890 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6891 PyObject
*resultobj
= 0;
6892 wxGauge
*result
= 0 ;
6894 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6909 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
= 0;
6911 wxGauge
*arg1
= (wxGauge
*) 0 ;
6912 wxWindow
*arg2
= (wxWindow
*) 0 ;
6913 int arg3
= (int) -1 ;
6914 int arg4
= (int) 100 ;
6915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6919 long arg7
= (long) wxGA_HORIZONTAL
;
6920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6922 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6939 bool temp9
= false ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 PyObject
* obj2
= 0 ;
6943 PyObject
* obj3
= 0 ;
6944 PyObject
* obj4
= 0 ;
6945 PyObject
* obj5
= 0 ;
6946 PyObject
* obj6
= 0 ;
6947 PyObject
* obj7
= 0 ;
6948 PyObject
* obj8
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6955 if (!SWIG_IsOK(res1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6958 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6960 if (!SWIG_IsOK(res2
)) {
6961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6966 if (!SWIG_IsOK(ecode3
)) {
6967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6969 arg3
= static_cast< int >(val3
);
6972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6973 if (!SWIG_IsOK(ecode4
)) {
6974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6976 arg4
= static_cast< int >(val4
);
6981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6992 if (!SWIG_IsOK(ecode7
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6995 arg7
= static_cast< long >(val7
);
6998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6999 if (!SWIG_IsOK(res8
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7009 arg9
= wxString_in_helper(obj8
);
7010 if (arg9
== NULL
) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7037 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxGauge
*arg1
= (wxGauge
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "range", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7056 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7058 if (!SWIG_IsOK(ecode2
)) {
7059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7061 arg2
= static_cast< int >(val2
);
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 (arg1
)->SetRange(arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_Py_Void();
7075 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7076 PyObject
*resultobj
= 0;
7077 wxGauge
*arg1
= (wxGauge
*) 0 ;
7081 PyObject
*swig_obj
[1] ;
7083 if (!args
) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7089 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_From_int(static_cast< int >(result
));
7103 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= 0;
7105 wxGauge
*arg1
= (wxGauge
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7113 char * kwnames
[] = {
7114 (char *) "self",(char *) "pos", NULL
7117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7122 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7124 if (!SWIG_IsOK(ecode2
)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7127 arg2
= static_cast< int >(val2
);
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->SetValue(arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= SWIG_Py_Void();
7141 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7142 PyObject
*resultobj
= 0;
7143 wxGauge
*arg1
= (wxGauge
*) 0 ;
7147 PyObject
*swig_obj
[1] ;
7149 if (!args
) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7155 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_From_int(static_cast< int >(result
));
7169 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7170 PyObject
*resultobj
= 0;
7171 wxGauge
*arg1
= (wxGauge
*) 0 ;
7175 PyObject
*swig_obj
[1] ;
7177 if (!args
) SWIG_fail
;
7179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7180 if (!SWIG_IsOK(res1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7183 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7199 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7209 char * kwnames
[] = {
7210 (char *) "self",(char *) "w", NULL
7213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7215 if (!SWIG_IsOK(res1
)) {
7216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7218 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7220 if (!SWIG_IsOK(ecode2
)) {
7221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7223 arg2
= static_cast< int >(val2
);
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 (arg1
)->SetShadowWidth(arg2
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= SWIG_Py_Void();
7237 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxGauge
*arg1
= (wxGauge
*) 0 ;
7243 PyObject
*swig_obj
[1] ;
7245 if (!args
) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7251 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_From_int(static_cast< int >(result
));
7265 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= 0;
7267 wxGauge
*arg1
= (wxGauge
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7275 char * kwnames
[] = {
7276 (char *) "self",(char *) "w", NULL
7279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7281 if (!SWIG_IsOK(res1
)) {
7282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7284 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7286 if (!SWIG_IsOK(ecode2
)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7289 arg2
= static_cast< int >(val2
);
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 (arg1
)->SetBezelFace(arg2
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_Py_Void();
7303 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7304 PyObject
*resultobj
= 0;
7305 wxGauge
*arg1
= (wxGauge
*) 0 ;
7309 PyObject
*swig_obj
[1] ;
7311 if (!args
) SWIG_fail
;
7313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7314 if (!SWIG_IsOK(res1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7317 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_From_int(static_cast< int >(result
));
7331 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
= 0;
7333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7334 SwigValueWrapper
<wxVisualAttributes
> result
;
7337 PyObject
* obj0
= 0 ;
7338 char * kwnames
[] = {
7339 (char *) "variant", NULL
7342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7345 if (!SWIG_IsOK(ecode1
)) {
7346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7348 arg1
= static_cast< wxWindowVariant
>(val1
);
7351 if (!wxPyCheckForApp()) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7364 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7367 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7368 return SWIG_Py_Void();
7371 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7372 return SWIG_Python_InitShadowInstance(args
);
7375 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7376 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7381 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7382 PyObject
*pyobj
= 0;
7386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7388 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7396 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7401 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7402 PyObject
*pyobj
= 0;
7406 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7408 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7416 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7421 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7422 PyObject
*pyobj
= 0;
7426 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7428 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
= 0;
7437 wxWindow
*arg1
= (wxWindow
*) 0 ;
7438 int arg2
= (int) -1 ;
7439 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7445 long arg6
= (long) 0 ;
7446 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7448 wxStaticBox
*result
= 0 ;
7453 bool temp3
= false ;
7458 bool temp7
= false ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 PyObject
* obj3
= 0 ;
7463 PyObject
* obj4
= 0 ;
7464 PyObject
* obj5
= 0 ;
7465 PyObject
* obj6
= 0 ;
7466 char * kwnames
[] = {
7467 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7472 if (!SWIG_IsOK(res1
)) {
7473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7478 if (!SWIG_IsOK(ecode2
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7481 arg2
= static_cast< int >(val2
);
7485 arg3
= wxString_in_helper(obj2
);
7486 if (arg3
== NULL
) SWIG_fail
;
7493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7503 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7504 if (!SWIG_IsOK(ecode6
)) {
7505 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7507 arg6
= static_cast< long >(val6
);
7511 arg7
= wxString_in_helper(obj6
);
7512 if (arg7
== NULL
) SWIG_fail
;
7517 if (!wxPyCheckForApp()) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7546 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7547 PyObject
*resultobj
= 0;
7548 wxStaticBox
*result
= 0 ;
7550 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7552 if (!wxPyCheckForApp()) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxStaticBox
*)new wxStaticBox();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7565 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
= 0;
7567 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7568 wxWindow
*arg2
= (wxWindow
*) 0 ;
7569 int arg3
= (int) -1 ;
7570 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7572 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7573 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7574 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7575 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7576 long arg7
= (long) 0 ;
7577 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7578 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7586 bool temp4
= false ;
7591 bool temp8
= false ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 PyObject
* obj2
= 0 ;
7595 PyObject
* obj3
= 0 ;
7596 PyObject
* obj4
= 0 ;
7597 PyObject
* obj5
= 0 ;
7598 PyObject
* obj6
= 0 ;
7599 PyObject
* obj7
= 0 ;
7600 char * kwnames
[] = {
7601 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7609 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7611 if (!SWIG_IsOK(res2
)) {
7612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7614 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7617 if (!SWIG_IsOK(ecode3
)) {
7618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7620 arg3
= static_cast< int >(val3
);
7624 arg4
= wxString_in_helper(obj3
);
7625 if (arg4
== NULL
) SWIG_fail
;
7632 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7638 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7642 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7643 if (!SWIG_IsOK(ecode7
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7646 arg7
= static_cast< long >(val7
);
7650 arg8
= wxString_in_helper(obj7
);
7651 if (arg8
== NULL
) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7686 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7689 SwigValueWrapper
<wxVisualAttributes
> result
;
7692 PyObject
* obj0
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "variant", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7700 if (!SWIG_IsOK(ecode1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7703 arg1
= static_cast< wxWindowVariant
>(val1
);
7706 if (!wxPyCheckForApp()) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7719 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7722 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7723 return SWIG_Py_Void();
7726 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7727 return SWIG_Python_InitShadowInstance(args
);
7730 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
= 0;
7732 wxWindow
*arg1
= (wxWindow
*) 0 ;
7733 int arg2
= (int) -1 ;
7734 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7735 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7736 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7737 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7738 long arg5
= (long) wxLI_HORIZONTAL
;
7739 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7740 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7741 wxStaticLine
*result
= 0 ;
7750 bool temp6
= false ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7754 PyObject
* obj3
= 0 ;
7755 PyObject
* obj4
= 0 ;
7756 PyObject
* obj5
= 0 ;
7757 char * kwnames
[] = {
7758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7769 if (!SWIG_IsOK(ecode2
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7772 arg2
= static_cast< int >(val2
);
7777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7787 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7788 if (!SWIG_IsOK(ecode5
)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7791 arg5
= static_cast< long >(val5
);
7795 arg6
= wxString_in_helper(obj5
);
7796 if (arg6
== NULL
) SWIG_fail
;
7801 if (!wxPyCheckForApp()) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7822 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7823 PyObject
*resultobj
= 0;
7824 wxStaticLine
*result
= 0 ;
7826 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxStaticLine
*)new wxStaticLine();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7841 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
= 0;
7843 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7844 wxWindow
*arg2
= (wxWindow
*) 0 ;
7845 int arg3
= (int) -1 ;
7846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7848 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7849 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7850 long arg6
= (long) wxLI_HORIZONTAL
;
7851 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7852 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7864 bool temp7
= false ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 PyObject
* obj2
= 0 ;
7868 PyObject
* obj3
= 0 ;
7869 PyObject
* obj4
= 0 ;
7870 PyObject
* obj5
= 0 ;
7871 PyObject
* obj6
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7881 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7883 if (!SWIG_IsOK(res2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7889 if (!SWIG_IsOK(ecode3
)) {
7890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7892 arg3
= static_cast< int >(val3
);
7897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7907 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7908 if (!SWIG_IsOK(ecode6
)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7911 arg6
= static_cast< long >(val6
);
7915 arg7
= wxString_in_helper(obj6
);
7916 if (arg7
== NULL
) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7944 PyObject
*resultobj
= 0;
7945 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7949 PyObject
*swig_obj
[1] ;
7951 if (!args
) SWIG_fail
;
7953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7954 if (!SWIG_IsOK(res1
)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7957 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 PyObject
*resultobj
= 0;
7977 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (int)wxStaticLine::GetDefaultSize();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_From_int(static_cast< int >(result
));
7991 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7994 SwigValueWrapper
<wxVisualAttributes
> result
;
7997 PyObject
* obj0
= 0 ;
7998 char * kwnames
[] = {
7999 (char *) "variant", NULL
8002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8005 if (!SWIG_IsOK(ecode1
)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8008 arg1
= static_cast< wxWindowVariant
>(val1
);
8011 if (!wxPyCheckForApp()) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8024 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8027 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8028 return SWIG_Py_Void();
8031 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 return SWIG_Python_InitShadowInstance(args
);
8035 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
= 0;
8037 wxWindow
*arg1
= (wxWindow
*) 0 ;
8038 int arg2
= (int) -1 ;
8039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8045 long arg6
= (long) 0 ;
8046 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8048 wxStaticText
*result
= 0 ;
8053 bool temp3
= false ;
8058 bool temp7
= false ;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8062 PyObject
* obj3
= 0 ;
8063 PyObject
* obj4
= 0 ;
8064 PyObject
* obj5
= 0 ;
8065 PyObject
* obj6
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8078 if (!SWIG_IsOK(ecode2
)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8081 arg2
= static_cast< int >(val2
);
8085 arg3
= wxString_in_helper(obj2
);
8086 if (arg3
== NULL
) SWIG_fail
;
8093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8104 if (!SWIG_IsOK(ecode6
)) {
8105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8107 arg6
= static_cast< long >(val6
);
8111 arg7
= wxString_in_helper(obj6
);
8112 if (arg7
== NULL
) SWIG_fail
;
8117 if (!wxPyCheckForApp()) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8146 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8147 PyObject
*resultobj
= 0;
8148 wxStaticText
*result
= 0 ;
8150 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8152 if (!wxPyCheckForApp()) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (wxStaticText
*)new wxStaticText();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8165 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8168 wxWindow
*arg2
= (wxWindow
*) 0 ;
8169 int arg3
= (int) -1 ;
8170 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8171 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8176 long arg7
= (long) 0 ;
8177 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8178 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8186 bool temp4
= false ;
8191 bool temp8
= false ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8194 PyObject
* obj2
= 0 ;
8195 PyObject
* obj3
= 0 ;
8196 PyObject
* obj4
= 0 ;
8197 PyObject
* obj5
= 0 ;
8198 PyObject
* obj6
= 0 ;
8199 PyObject
* obj7
= 0 ;
8200 char * kwnames
[] = {
8201 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8206 if (!SWIG_IsOK(res1
)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8209 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8211 if (!SWIG_IsOK(res2
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8217 if (!SWIG_IsOK(ecode3
)) {
8218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8220 arg3
= static_cast< int >(val3
);
8224 arg4
= wxString_in_helper(obj3
);
8225 if (arg4
== NULL
) SWIG_fail
;
8232 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8238 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8242 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8243 if (!SWIG_IsOK(ecode7
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8246 arg7
= static_cast< long >(val7
);
8250 arg8
= wxString_in_helper(obj7
);
8251 if (arg8
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8286 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
= 0;
8288 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "self",(char *) "width", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8305 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8307 if (!SWIG_IsOK(ecode2
)) {
8308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8310 arg2
= static_cast< int >(val2
);
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_Py_Void();
8324 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
= 0;
8326 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8327 SwigValueWrapper
<wxVisualAttributes
> result
;
8330 PyObject
* obj0
= 0 ;
8331 char * kwnames
[] = {
8332 (char *) "variant", NULL
8335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8338 if (!SWIG_IsOK(ecode1
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8341 arg1
= static_cast< wxWindowVariant
>(val1
);
8344 if (!wxPyCheckForApp()) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8357 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8360 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8361 return SWIG_Py_Void();
8364 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8365 return SWIG_Python_InitShadowInstance(args
);
8368 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
= 0;
8370 wxWindow
*arg1
= (wxWindow
*) 0 ;
8371 int arg2
= (int) -1 ;
8372 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8373 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8374 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8375 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8376 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8377 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8378 long arg6
= (long) 0 ;
8379 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8380 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8381 wxStaticBitmap
*result
= 0 ;
8392 bool temp7
= false ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8395 PyObject
* obj2
= 0 ;
8396 PyObject
* obj3
= 0 ;
8397 PyObject
* obj4
= 0 ;
8398 PyObject
* obj5
= 0 ;
8399 PyObject
* obj6
= 0 ;
8400 char * kwnames
[] = {
8401 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8412 if (!SWIG_IsOK(ecode2
)) {
8413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8415 arg2
= static_cast< int >(val2
);
8418 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8419 if (!SWIG_IsOK(res3
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8425 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8441 if (!SWIG_IsOK(ecode6
)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8444 arg6
= static_cast< long >(val6
);
8448 arg7
= wxString_in_helper(obj6
);
8449 if (arg7
== NULL
) SWIG_fail
;
8454 if (!wxPyCheckForApp()) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8475 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8476 PyObject
*resultobj
= 0;
8477 wxStaticBitmap
*result
= 0 ;
8479 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8494 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
= 0;
8496 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8497 wxWindow
*arg2
= (wxWindow
*) 0 ;
8498 int arg3
= (int) -1 ;
8499 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8500 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8501 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8502 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8503 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8504 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8505 long arg7
= (long) 0 ;
8506 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8521 bool temp8
= false ;
8522 PyObject
* obj0
= 0 ;
8523 PyObject
* obj1
= 0 ;
8524 PyObject
* obj2
= 0 ;
8525 PyObject
* obj3
= 0 ;
8526 PyObject
* obj4
= 0 ;
8527 PyObject
* obj5
= 0 ;
8528 PyObject
* obj6
= 0 ;
8529 PyObject
* obj7
= 0 ;
8530 char * kwnames
[] = {
8531 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8536 if (!SWIG_IsOK(res1
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8539 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8541 if (!SWIG_IsOK(res2
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8547 if (!SWIG_IsOK(ecode3
)) {
8548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8550 arg3
= static_cast< int >(val3
);
8553 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8554 if (!SWIG_IsOK(res4
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8560 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8565 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8571 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8575 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8576 if (!SWIG_IsOK(ecode7
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8579 arg7
= static_cast< long >(val7
);
8583 arg8
= wxString_in_helper(obj7
);
8584 if (arg8
== NULL
) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8611 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8612 PyObject
*resultobj
= 0;
8613 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8617 PyObject
*swig_obj
[1] ;
8619 if (!args
) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8625 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (arg1
)->GetBitmap();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8639 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8642 wxBitmap
*arg2
= 0 ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8649 char * kwnames
[] = {
8650 (char *) "self",(char *) "bitmap", NULL
8653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8658 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8660 if (!SWIG_IsOK(res2
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_Py_Void();
8680 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
= 0;
8682 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 char * kwnames
[] = {
8691 (char *) "self",(char *) "icon", NULL
8694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8699 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8701 if (!SWIG_IsOK(res2
)) {
8702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8707 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_Py_Void();
8721 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
= 0;
8723 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8724 SwigValueWrapper
<wxVisualAttributes
> result
;
8727 PyObject
* obj0
= 0 ;
8728 char * kwnames
[] = {
8729 (char *) "variant", NULL
8732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8735 if (!SWIG_IsOK(ecode1
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8738 arg1
= static_cast< wxWindowVariant
>(val1
);
8741 if (!wxPyCheckForApp()) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8754 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8757 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8758 return SWIG_Py_Void();
8761 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8762 return SWIG_Python_InitShadowInstance(args
);
8765 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8766 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8771 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8772 PyObject
*pyobj
= 0;
8776 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8778 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
= 0;
8787 wxWindow
*arg1
= (wxWindow
*) 0 ;
8788 int arg2
= (int) -1 ;
8789 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8790 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8791 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8792 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8793 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8794 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8795 long arg6
= (long) 0 ;
8796 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8797 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8798 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8800 wxListBox
*result
= 0 ;
8807 bool temp5
= false ;
8812 bool temp8
= false ;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8816 PyObject
* obj3
= 0 ;
8817 PyObject
* obj4
= 0 ;
8818 PyObject
* obj5
= 0 ;
8819 PyObject
* obj6
= 0 ;
8820 PyObject
* obj7
= 0 ;
8821 char * kwnames
[] = {
8822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8827 if (!SWIG_IsOK(res1
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8833 if (!SWIG_IsOK(ecode2
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8836 arg2
= static_cast< int >(val2
);
8841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8852 if (! PySequence_Check(obj4
)) {
8853 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8856 arg5
= new wxArrayString
;
8858 int i
, len
=PySequence_Length(obj4
);
8859 for (i
=0; i
<len
; i
++) {
8860 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8861 wxString
* s
= wxString_in_helper(item
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8870 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8871 if (!SWIG_IsOK(ecode6
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8874 arg6
= static_cast< long >(val6
);
8877 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8878 if (!SWIG_IsOK(res7
)) {
8879 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8884 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8888 arg8
= wxString_in_helper(obj7
);
8889 if (arg8
== NULL
) SWIG_fail
;
8894 if (!wxPyCheckForApp()) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8902 if (temp5
) delete arg5
;
8911 if (temp5
) delete arg5
;
8921 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8922 PyObject
*resultobj
= 0;
8923 wxListBox
*result
= 0 ;
8925 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8927 if (!wxPyCheckForApp()) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (wxListBox
*)new wxListBox();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8940 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
= 0;
8942 wxListBox
*arg1
= (wxListBox
*) 0 ;
8943 wxWindow
*arg2
= (wxWindow
*) 0 ;
8944 int arg3
= (int) -1 ;
8945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8951 long arg7
= (long) 0 ;
8952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8954 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8965 bool temp6
= false ;
8970 bool temp9
= false ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8973 PyObject
* obj2
= 0 ;
8974 PyObject
* obj3
= 0 ;
8975 PyObject
* obj4
= 0 ;
8976 PyObject
* obj5
= 0 ;
8977 PyObject
* obj6
= 0 ;
8978 PyObject
* obj7
= 0 ;
8979 PyObject
* obj8
= 0 ;
8980 char * kwnames
[] = {
8981 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8986 if (!SWIG_IsOK(res1
)) {
8987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8989 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8991 if (!SWIG_IsOK(res2
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8994 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8997 if (!SWIG_IsOK(ecode3
)) {
8998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9000 arg3
= static_cast< int >(val3
);
9005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9016 if (! PySequence_Check(obj5
)) {
9017 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9020 arg6
= new wxArrayString
;
9022 int i
, len
=PySequence_Length(obj5
);
9023 for (i
=0; i
<len
; i
++) {
9024 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9025 wxString
* s
= wxString_in_helper(item
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9034 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9035 if (!SWIG_IsOK(ecode7
)) {
9036 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9038 arg7
= static_cast< long >(val7
);
9041 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9042 if (!SWIG_IsOK(res8
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9048 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9052 arg9
= wxString_in_helper(obj8
);
9053 if (arg9
== NULL
) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9067 if (temp6
) delete arg6
;
9076 if (temp6
) delete arg6
;
9086 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxListBox
*arg1
= (wxListBox
*) 0 ;
9089 wxString
*arg2
= 0 ;
9091 PyObject
*arg4
= (PyObject
*) NULL
;
9094 bool temp2
= false ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9101 char * kwnames
[] = {
9102 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9110 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9112 arg2
= wxString_in_helper(obj1
);
9113 if (arg2
== NULL
) SWIG_fail
;
9116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9117 if (!SWIG_IsOK(ecode3
)) {
9118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9120 arg3
= static_cast< int >(val3
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_Py_Void();
9145 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
= 0;
9147 wxListBox
*arg1
= (wxListBox
*) 0 ;
9148 wxArrayString
*arg2
= 0 ;
9152 bool temp2
= false ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "self",(char *) "items",(char *) "pos", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9167 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9169 if (! PySequence_Check(obj1
)) {
9170 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9173 arg2
= new wxArrayString
;
9175 int i
, len
=PySequence_Length(obj1
);
9176 for (i
=0; i
<len
; i
++) {
9177 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9178 wxString
* s
= wxString_in_helper(item
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9185 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9186 if (!SWIG_IsOK(ecode3
)) {
9187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9189 arg3
= static_cast< unsigned int >(val3
);
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_Py_Void();
9198 if (temp2
) delete arg2
;
9203 if (temp2
) delete arg2
;
9209 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
= 0;
9211 wxListBox
*arg1
= (wxListBox
*) 0 ;
9212 wxArrayString
*arg2
= 0 ;
9215 bool temp2
= false ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 char * kwnames
[] = {
9219 (char *) "self",(char *) "items", NULL
9222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9224 if (!SWIG_IsOK(res1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9227 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9229 if (! PySequence_Check(obj1
)) {
9230 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9233 arg2
= new wxArrayString
;
9235 int i
, len
=PySequence_Length(obj1
);
9236 for (i
=0; i
<len
; i
++) {
9237 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9238 wxString
* s
= wxString_in_helper(item
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->Set((wxArrayString
const &)*arg2
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_Py_Void();
9253 if (temp2
) delete arg2
;
9258 if (temp2
) delete arg2
;
9264 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
= 0;
9266 wxListBox
*arg1
= (wxListBox
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "n", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9284 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9286 if (!SWIG_IsOK(ecode2
)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9289 arg2
= static_cast< int >(val2
);
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9305 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= 0;
9307 wxListBox
*arg1
= (wxListBox
*) 0 ;
9309 bool arg3
= (bool) true ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9318 PyObject
* obj2
= 0 ;
9319 char * kwnames
[] = {
9320 (char *) "self",(char *) "n",(char *) "select", NULL
9323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9328 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9330 if (!SWIG_IsOK(ecode2
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9333 arg2
= static_cast< int >(val2
);
9335 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9336 if (!SWIG_IsOK(ecode3
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9339 arg3
= static_cast< bool >(val3
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->SetSelection(arg2
,arg3
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_Py_Void();
9354 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxListBox
*arg1
= (wxListBox
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 char * kwnames
[] = {
9365 (char *) "self",(char *) "n", NULL
9368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9370 if (!SWIG_IsOK(res1
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9373 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9375 if (!SWIG_IsOK(ecode2
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9378 arg2
= static_cast< int >(val2
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 (arg1
)->Select(arg2
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_Py_Void();
9392 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
= 0;
9394 wxListBox
*arg1
= (wxListBox
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 char * kwnames
[] = {
9403 (char *) "self",(char *) "n", NULL
9406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9411 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9413 if (!SWIG_IsOK(ecode2
)) {
9414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9416 arg2
= static_cast< int >(val2
);
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->Deselect(arg2
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_Py_Void();
9430 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
= 0;
9432 wxListBox
*arg1
= (wxListBox
*) 0 ;
9433 int arg2
= (int) -1 ;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 char * kwnames
[] = {
9441 (char *) "self",(char *) "itemToLeaveSelected", NULL
9444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9449 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9452 if (!SWIG_IsOK(ecode2
)) {
9453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9455 arg2
= static_cast< int >(val2
);
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->DeselectAll(arg2
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_Py_Void();
9470 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
= 0;
9472 wxListBox
*arg1
= (wxListBox
*) 0 ;
9473 wxString
*arg2
= 0 ;
9474 bool arg3
= (bool) true ;
9478 bool temp2
= false ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 PyObject
* obj2
= 0 ;
9484 char * kwnames
[] = {
9485 (char *) "self",(char *) "s",(char *) "select", NULL
9488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9490 if (!SWIG_IsOK(res1
)) {
9491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9493 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9495 arg2
= wxString_in_helper(obj1
);
9496 if (arg2
== NULL
) SWIG_fail
;
9500 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9501 if (!SWIG_IsOK(ecode3
)) {
9502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9504 arg3
= static_cast< bool >(val3
);
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9529 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9530 PyObject
*resultobj
= 0;
9531 wxListBox
*arg1
= (wxListBox
*) 0 ;
9532 PyObject
*result
= 0 ;
9535 PyObject
*swig_obj
[1] ;
9537 if (!args
) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9543 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9557 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
= 0;
9559 wxListBox
*arg1
= (wxListBox
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9567 char * kwnames
[] = {
9568 (char *) "self",(char *) "n", NULL
9571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9576 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9578 if (!SWIG_IsOK(ecode2
)) {
9579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9581 arg2
= static_cast< int >(val2
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->SetFirstItem(arg2
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_Py_Void();
9595 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxListBox
*arg1
= (wxListBox
*) 0 ;
9598 wxString
*arg2
= 0 ;
9601 bool temp2
= false ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9604 char * kwnames
[] = {
9605 (char *) "self",(char *) "s", NULL
9608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",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_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9613 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9615 arg2
= wxString_in_helper(obj1
);
9616 if (arg2
== NULL
) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_Py_Void();
9640 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
= 0;
9642 wxListBox
*arg1
= (wxListBox
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9650 char * kwnames
[] = {
9651 (char *) "self",(char *) "n", NULL
9654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9656 if (!SWIG_IsOK(res1
)) {
9657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9659 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9661 if (!SWIG_IsOK(ecode2
)) {
9662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9664 arg2
= static_cast< int >(val2
);
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->EnsureVisible(arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_Py_Void();
9678 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
= 0;
9680 wxListBox
*arg1
= (wxListBox
*) 0 ;
9681 wxString
*arg2
= 0 ;
9684 bool temp2
= false ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 char * kwnames
[] = {
9688 (char *) "self",(char *) "s", NULL
9691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9693 if (!SWIG_IsOK(res1
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9696 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9698 arg2
= wxString_in_helper(obj1
);
9699 if (arg2
== NULL
) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_Py_Void();
9723 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9724 PyObject
*resultobj
= 0;
9725 wxListBox
*arg1
= (wxListBox
*) 0 ;
9729 PyObject
*swig_obj
[1] ;
9731 if (!args
) SWIG_fail
;
9733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9734 if (!SWIG_IsOK(res1
)) {
9735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9737 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9753 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
= 0;
9755 wxListBox
*arg1
= (wxListBox
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9763 char * kwnames
[] = {
9764 (char *) "self",(char *) "pt", NULL
9767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9769 if (!SWIG_IsOK(res1
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9772 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_From_int(static_cast< int >(result
));
9790 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
= 0;
9792 wxListBox
*arg1
= (wxListBox
*) 0 ;
9794 wxColour
*arg3
= 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 PyObject
* obj2
= 0 ;
9803 char * kwnames
[] = {
9804 (char *) "self",(char *) "item",(char *) "c", NULL
9807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9809 if (!SWIG_IsOK(res1
)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9812 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9814 if (!SWIG_IsOK(ecode2
)) {
9815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9817 arg2
= static_cast< int >(val2
);
9820 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxListBox
*arg1
= (wxListBox
*) 0 ;
9839 wxColour
*arg3
= 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9848 char * kwnames
[] = {
9849 (char *) "self",(char *) "item",(char *) "c", NULL
9852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",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_SetItemBackgroundColour" "', 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_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9862 arg2
= static_cast< int >(val2
);
9865 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_Py_Void();
9880 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
= 0;
9882 wxListBox
*arg1
= (wxListBox
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "self",(char *) "item",(char *) "f", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9903 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9905 if (!SWIG_IsOK(ecode2
)) {
9906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9908 arg2
= static_cast< int >(val2
);
9909 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9910 if (!SWIG_IsOK(res3
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9916 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_Py_Void();
9930 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
= 0;
9932 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9933 SwigValueWrapper
<wxVisualAttributes
> result
;
9936 PyObject
* obj0
= 0 ;
9937 char * kwnames
[] = {
9938 (char *) "variant", NULL
9941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9944 if (!SWIG_IsOK(ecode1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9947 arg1
= static_cast< wxWindowVariant
>(val1
);
9950 if (!wxPyCheckForApp()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9963 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9966 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9967 return SWIG_Py_Void();
9970 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 return SWIG_Python_InitShadowInstance(args
);
9974 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
= 0;
9976 wxWindow
*arg1
= (wxWindow
*) 0 ;
9977 int arg2
= (int) -1 ;
9978 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9979 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9980 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9981 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9982 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9983 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9984 long arg6
= (long) 0 ;
9985 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9986 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9987 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9989 wxCheckListBox
*result
= 0 ;
9996 bool temp5
= false ;
10001 bool temp8
= false ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 PyObject
* obj2
= 0 ;
10005 PyObject
* obj3
= 0 ;
10006 PyObject
* obj4
= 0 ;
10007 PyObject
* obj5
= 0 ;
10008 PyObject
* obj6
= 0 ;
10009 PyObject
* obj7
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10016 if (!SWIG_IsOK(res1
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10022 if (!SWIG_IsOK(ecode2
)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10025 arg2
= static_cast< int >(val2
);
10030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10041 if (! PySequence_Check(obj4
)) {
10042 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10045 arg5
= new wxArrayString
;
10047 int i
, len
=PySequence_Length(obj4
);
10048 for (i
=0; i
<len
; i
++) {
10049 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10050 wxString
* s
= wxString_in_helper(item
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10059 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10060 if (!SWIG_IsOK(ecode6
)) {
10061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10063 arg6
= static_cast< long >(val6
);
10066 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10067 if (!SWIG_IsOK(res7
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10073 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10077 arg8
= wxString_in_helper(obj7
);
10078 if (arg8
== NULL
) SWIG_fail
;
10083 if (!wxPyCheckForApp()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10091 if (temp5
) delete arg5
;
10100 if (temp5
) delete arg5
;
10110 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10111 PyObject
*resultobj
= 0;
10112 wxCheckListBox
*result
= 0 ;
10114 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10116 if (!wxPyCheckForApp()) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (wxCheckListBox
*)new wxCheckListBox();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10129 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= 0;
10131 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10132 wxWindow
*arg2
= (wxWindow
*) 0 ;
10133 int arg3
= (int) -1 ;
10134 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10135 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10136 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10137 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10138 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10139 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10140 long arg7
= (long) 0 ;
10141 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10142 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10143 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10144 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10154 bool temp6
= false ;
10159 bool temp9
= false ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 PyObject
* obj2
= 0 ;
10163 PyObject
* obj3
= 0 ;
10164 PyObject
* obj4
= 0 ;
10165 PyObject
* obj5
= 0 ;
10166 PyObject
* obj6
= 0 ;
10167 PyObject
* obj7
= 0 ;
10168 PyObject
* obj8
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10178 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10180 if (!SWIG_IsOK(res2
)) {
10181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10186 if (!SWIG_IsOK(ecode3
)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10189 arg3
= static_cast< int >(val3
);
10194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10205 if (! PySequence_Check(obj5
)) {
10206 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10209 arg6
= new wxArrayString
;
10211 int i
, len
=PySequence_Length(obj5
);
10212 for (i
=0; i
<len
; i
++) {
10213 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10214 wxString
* s
= wxString_in_helper(item
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10223 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10224 if (!SWIG_IsOK(ecode7
)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10227 arg7
= static_cast< long >(val7
);
10230 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10231 if (!SWIG_IsOK(res8
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10237 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10241 arg9
= wxString_in_helper(obj8
);
10242 if (arg9
== NULL
) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10256 if (temp6
) delete arg6
;
10265 if (temp6
) delete arg6
;
10275 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10278 unsigned int arg2
;
10282 unsigned int val2
;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 char * kwnames
[] = {
10287 (char *) "self",(char *) "index", NULL
10290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10292 if (!SWIG_IsOK(res1
)) {
10293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10295 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10296 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10297 if (!SWIG_IsOK(ecode2
)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10300 arg2
= static_cast< unsigned int >(val2
);
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (bool)(arg1
)->IsChecked(arg2
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10316 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10319 unsigned int arg2
;
10320 int arg3
= (int) true ;
10323 unsigned int val2
;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "index",(char *) "check", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10339 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10340 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10341 if (!SWIG_IsOK(ecode2
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10344 arg2
= static_cast< unsigned int >(val2
);
10346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10347 if (!SWIG_IsOK(ecode3
)) {
10348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10350 arg3
= static_cast< int >(val3
);
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->Check(arg2
,arg3
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_Py_Void();
10365 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10366 PyObject
*resultobj
= 0;
10367 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10371 PyObject
*swig_obj
[1] ;
10373 if (!args
) SWIG_fail
;
10374 swig_obj
[0] = args
;
10375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10376 if (!SWIG_IsOK(res1
)) {
10377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10379 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)(arg1
)->GetItemHeight();
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_From_int(static_cast< int >(result
));
10393 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10396 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10397 return SWIG_Py_Void();
10400 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10401 return SWIG_Python_InitShadowInstance(args
);
10404 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10405 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10410 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10411 PyObject
*pyobj
= 0;
10415 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10417 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10424 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxColour
const &arg1_defvalue
= wxNullColour
;
10427 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10428 wxColour
const &arg2_defvalue
= wxNullColour
;
10429 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10430 wxFont
const &arg3_defvalue
= wxNullFont
;
10431 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10432 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10433 wxTextAttr
*result
= 0 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 PyObject
* obj3
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10452 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10462 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10463 if (!SWIG_IsOK(res3
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10469 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10473 if (!SWIG_IsOK(ecode4
)) {
10474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10476 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10491 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10496 PyObject
*swig_obj
[1] ;
10498 if (!args
) SWIG_fail
;
10499 swig_obj
[0] = args
;
10500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10504 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_Py_Void();
10519 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10524 PyObject
*swig_obj
[1] ;
10526 if (!args
) SWIG_fail
;
10527 swig_obj
[0] = args
;
10528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10532 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10549 wxColour
*arg2
= 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char * kwnames
[] = {
10556 (char *) "self",(char *) "colText", NULL
10559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10564 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10567 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_Py_Void();
10582 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10585 wxColour
*arg2
= 0 ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 char * kwnames
[] = {
10592 (char *) "self",(char *) "colBack", NULL
10595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10597 if (!SWIG_IsOK(res1
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10600 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10603 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_Py_Void();
10618 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10622 long arg3
= (long) wxTEXT_ATTR_FONT
;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 char * kwnames
[] = {
10633 (char *) "self",(char *) "font",(char *) "flags", NULL
10636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10638 if (!SWIG_IsOK(res1
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10641 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10643 if (!SWIG_IsOK(res2
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10649 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10651 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10652 if (!SWIG_IsOK(ecode3
)) {
10653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10655 arg3
= static_cast< long >(val3
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_Py_Void();
10670 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
= 0;
10672 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10673 wxTextAttrAlignment arg2
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "self",(char *) "alignment", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10689 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10691 if (!SWIG_IsOK(ecode2
)) {
10692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10694 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->SetAlignment(arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_Py_Void();
10708 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
= 0;
10710 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10711 wxArrayInt
*arg2
= 0 ;
10714 bool temp2
= false ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char * kwnames
[] = {
10718 (char *) "self",(char *) "tabs", NULL
10721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10723 if (!SWIG_IsOK(res1
)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10726 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10728 if (! PySequence_Check(obj1
)) {
10729 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10732 arg2
= new wxArrayInt
;
10734 int i
, len
=PySequence_Length(obj1
);
10735 for (i
=0; i
<len
; i
++) {
10736 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10737 PyObject
* number
= PyNumber_Int(item
);
10738 arg2
->Add(PyInt_AS_LONG(number
));
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_Py_Void();
10751 if (temp2
) delete arg2
;
10756 if (temp2
) delete arg2
;
10762 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
= 0;
10764 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10766 int arg3
= (int) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 PyObject
* obj2
= 0 ;
10776 char * kwnames
[] = {
10777 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10782 if (!SWIG_IsOK(res1
)) {
10783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10785 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10787 if (!SWIG_IsOK(ecode2
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10790 arg2
= static_cast< int >(val2
);
10792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10793 if (!SWIG_IsOK(ecode3
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10796 arg3
= static_cast< int >(val3
);
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 (arg1
)->SetLeftIndent(arg2
,arg3
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_Py_Void();
10811 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
= 0;
10813 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "indent", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10827 if (!SWIG_IsOK(res1
)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10830 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetRightIndent(arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_Py_Void();
10849 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= 0;
10851 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char * kwnames
[] = {
10860 (char *) "self",(char *) "flags", NULL
10863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10868 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10869 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10870 if (!SWIG_IsOK(ecode2
)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10873 arg2
= static_cast< long >(val2
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 (arg1
)->SetFlags(arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_Py_Void();
10887 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10888 PyObject
*resultobj
= 0;
10889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10893 PyObject
*swig_obj
[1] ;
10895 if (!args
) SWIG_fail
;
10896 swig_obj
[0] = args
;
10897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10901 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10917 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10918 PyObject
*resultobj
= 0;
10919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10923 PyObject
*swig_obj
[1] ;
10925 if (!args
) SWIG_fail
;
10926 swig_obj
[0] = args
;
10927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10928 if (!SWIG_IsOK(res1
)) {
10929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10931 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10947 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10948 PyObject
*resultobj
= 0;
10949 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10953 PyObject
*swig_obj
[1] ;
10955 if (!args
) SWIG_fail
;
10956 swig_obj
[0] = args
;
10957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10958 if (!SWIG_IsOK(res1
)) {
10959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10961 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10977 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10978 PyObject
*resultobj
= 0;
10979 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10983 PyObject
*swig_obj
[1] ;
10985 if (!args
) SWIG_fail
;
10986 swig_obj
[0] = args
;
10987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10991 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11007 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11008 PyObject
*resultobj
= 0;
11009 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11013 PyObject
*swig_obj
[1] ;
11015 if (!args
) SWIG_fail
;
11016 swig_obj
[0] = args
;
11017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11018 if (!SWIG_IsOK(res1
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11021 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11037 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11038 PyObject
*resultobj
= 0;
11039 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11043 PyObject
*swig_obj
[1] ;
11045 if (!args
) SWIG_fail
;
11046 swig_obj
[0] = args
;
11047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11051 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11067 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11068 PyObject
*resultobj
= 0;
11069 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11073 PyObject
*swig_obj
[1] ;
11075 if (!args
) SWIG_fail
;
11076 swig_obj
[0] = args
;
11077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11078 if (!SWIG_IsOK(res1
)) {
11079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11081 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11097 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
= 0;
11099 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 char * kwnames
[] = {
11109 (char *) "self",(char *) "flag", NULL
11112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11114 if (!SWIG_IsOK(res1
)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11117 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11119 if (!SWIG_IsOK(ecode2
)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11122 arg2
= static_cast< long >(val2
);
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11139 PyObject
*resultobj
= 0;
11140 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11141 wxColour
*result
= 0 ;
11144 PyObject
*swig_obj
[1] ;
11146 if (!args
) SWIG_fail
;
11147 swig_obj
[0] = args
;
11148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11149 if (!SWIG_IsOK(res1
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11152 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11157 result
= (wxColour
*) &_result_ref
;
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11169 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11172 wxColour
*result
= 0 ;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11183 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11188 result
= (wxColour
*) &_result_ref
;
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11200 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11201 PyObject
*resultobj
= 0;
11202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11203 wxFont
*result
= 0 ;
11206 PyObject
*swig_obj
[1] ;
11208 if (!args
) SWIG_fail
;
11209 swig_obj
[0] = args
;
11210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11214 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11219 result
= (wxFont
*) &_result_ref
;
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 wxFont
* resultptr
= new wxFont(*result
);
11226 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11234 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11235 PyObject
*resultobj
= 0;
11236 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11237 wxTextAttrAlignment result
;
11240 PyObject
*swig_obj
[1] ;
11242 if (!args
) SWIG_fail
;
11243 swig_obj
[0] = args
;
11244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11245 if (!SWIG_IsOK(res1
)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11248 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= SWIG_From_int(static_cast< int >(result
));
11262 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11263 PyObject
*resultobj
= 0;
11264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11265 wxArrayInt
*result
= 0 ;
11268 PyObject
*swig_obj
[1] ;
11270 if (!args
) SWIG_fail
;
11271 swig_obj
[0] = args
;
11272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11273 if (!SWIG_IsOK(res1
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11276 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11281 result
= (wxArrayInt
*) &_result_ref
;
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= PyList_New(0);
11289 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11290 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11291 PyList_Append(resultobj
, val
);
11301 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11302 PyObject
*resultobj
= 0;
11303 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11307 PyObject
*swig_obj
[1] ;
11309 if (!args
) SWIG_fail
;
11310 swig_obj
[0] = args
;
11311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11315 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= SWIG_From_long(static_cast< long >(result
));
11329 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11330 PyObject
*resultobj
= 0;
11331 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11335 PyObject
*swig_obj
[1] ;
11337 if (!args
) SWIG_fail
;
11338 swig_obj
[0] = args
;
11339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11340 if (!SWIG_IsOK(res1
)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11343 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_From_long(static_cast< long >(result
));
11357 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11358 PyObject
*resultobj
= 0;
11359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11363 PyObject
*swig_obj
[1] ;
11365 if (!args
) SWIG_fail
;
11366 swig_obj
[0] = args
;
11367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11371 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= SWIG_From_long(static_cast< long >(result
));
11385 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11386 PyObject
*resultobj
= 0;
11387 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11391 PyObject
*swig_obj
[1] ;
11393 if (!args
) SWIG_fail
;
11394 swig_obj
[0] = args
;
11395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11399 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_From_long(static_cast< long >(result
));
11413 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11414 PyObject
*resultobj
= 0;
11415 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11419 PyObject
*swig_obj
[1] ;
11421 if (!args
) SWIG_fail
;
11422 swig_obj
[0] = args
;
11423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11427 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11443 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
= 0;
11445 wxTextAttr
*arg1
= 0 ;
11446 wxTextAttr
*arg2
= 0 ;
11447 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 PyObject
* obj2
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11470 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11472 if (!SWIG_IsOK(res2
)) {
11473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11478 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11480 if (!SWIG_IsOK(res3
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11483 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11497 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11500 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11501 return SWIG_Py_Void();
11504 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11505 return SWIG_Python_InitShadowInstance(args
);
11508 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
= 0;
11510 wxWindow
*arg1
= (wxWindow
*) 0 ;
11511 int arg2
= (int) -1 ;
11512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11518 long arg6
= (long) 0 ;
11519 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11520 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11521 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11522 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11523 wxTextCtrl
*result
= 0 ;
11528 bool temp3
= false ;
11535 bool temp8
= false ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 PyObject
* obj2
= 0 ;
11539 PyObject
* obj3
= 0 ;
11540 PyObject
* obj4
= 0 ;
11541 PyObject
* obj5
= 0 ;
11542 PyObject
* obj6
= 0 ;
11543 PyObject
* obj7
= 0 ;
11544 char * kwnames
[] = {
11545 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11553 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11556 if (!SWIG_IsOK(ecode2
)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11559 arg2
= static_cast< int >(val2
);
11563 arg3
= wxString_in_helper(obj2
);
11564 if (arg3
== NULL
) SWIG_fail
;
11571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11581 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11582 if (!SWIG_IsOK(ecode6
)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11585 arg6
= static_cast< long >(val6
);
11588 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11589 if (!SWIG_IsOK(res7
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11595 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11599 arg8
= wxString_in_helper(obj7
);
11600 if (arg8
== NULL
) SWIG_fail
;
11605 if (!wxPyCheckForApp()) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11634 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxTextCtrl
*result
= 0 ;
11638 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11640 if (!wxPyCheckForApp()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (wxTextCtrl
*)new wxTextCtrl();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11653 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
= 0;
11655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11656 wxWindow
*arg2
= (wxWindow
*) 0 ;
11657 int arg3
= (int) -1 ;
11658 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11659 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11660 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11661 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11662 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11663 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11664 long arg7
= (long) 0 ;
11665 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11666 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11667 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11668 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11676 bool temp4
= false ;
11683 bool temp9
= false ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 PyObject
* obj3
= 0 ;
11688 PyObject
* obj4
= 0 ;
11689 PyObject
* obj5
= 0 ;
11690 PyObject
* obj6
= 0 ;
11691 PyObject
* obj7
= 0 ;
11692 PyObject
* obj8
= 0 ;
11693 char * kwnames
[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11699 if (!SWIG_IsOK(res1
)) {
11700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11704 if (!SWIG_IsOK(res2
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11710 if (!SWIG_IsOK(ecode3
)) {
11711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11713 arg3
= static_cast< int >(val3
);
11717 arg4
= wxString_in_helper(obj3
);
11718 if (arg4
== NULL
) SWIG_fail
;
11725 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11731 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11735 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11736 if (!SWIG_IsOK(ecode7
)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11739 arg7
= static_cast< long >(val7
);
11742 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11743 if (!SWIG_IsOK(res8
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11749 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11753 arg9
= wxString_in_helper(obj8
);
11754 if (arg9
== NULL
) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11790 PyObject
*resultobj
= 0;
11791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11795 PyObject
*swig_obj
[1] ;
11797 if (!args
) SWIG_fail
;
11798 swig_obj
[0] = args
;
11799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11800 if (!SWIG_IsOK(res1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11803 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11823 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11826 wxString
*arg2
= 0 ;
11829 bool temp2
= false ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char * kwnames
[] = {
11833 (char *) "self",(char *) "value", NULL
11836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11838 if (!SWIG_IsOK(res1
)) {
11839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11841 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11843 arg2
= wxString_in_helper(obj1
);
11844 if (arg2
== NULL
) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->SetValue((wxString
const &)*arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_Py_Void();
11868 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
= 0;
11870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 char * kwnames
[] = {
11884 (char *) "self",(char *) "_from",(char *) "to", NULL
11887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11889 if (!SWIG_IsOK(res1
)) {
11890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11892 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11894 if (!SWIG_IsOK(ecode2
)) {
11895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11897 arg2
= static_cast< long >(val2
);
11898 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11899 if (!SWIG_IsOK(ecode3
)) {
11900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11902 arg3
= static_cast< long >(val3
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11922 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 char * kwnames
[] = {
11934 (char *) "self",(char *) "lineNo", NULL
11937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11939 if (!SWIG_IsOK(res1
)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11942 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11944 if (!SWIG_IsOK(ecode2
)) {
11945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11947 arg2
= static_cast< long >(val2
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_From_int(static_cast< int >(result
));
11961 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
= 0;
11963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char * kwnames
[] = {
11973 (char *) "self",(char *) "lineNo", NULL
11976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11978 if (!SWIG_IsOK(res1
)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11981 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11982 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11983 if (!SWIG_IsOK(ecode2
)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11986 arg2
= static_cast< long >(val2
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12006 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12007 PyObject
*resultobj
= 0;
12008 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12012 PyObject
*swig_obj
[1] ;
12014 if (!args
) SWIG_fail
;
12015 swig_obj
[0] = args
;
12016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12020 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_From_int(static_cast< int >(result
));
12034 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 PyObject
*resultobj
= 0;
12036 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12040 PyObject
*swig_obj
[1] ;
12042 if (!args
) SWIG_fail
;
12043 swig_obj
[0] = args
;
12044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12045 if (!SWIG_IsOK(res1
)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12048 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12064 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12065 PyObject
*resultobj
= 0;
12066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12070 PyObject
*swig_obj
[1] ;
12072 if (!args
) SWIG_fail
;
12073 swig_obj
[0] = args
;
12074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12078 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12094 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12095 PyObject
*resultobj
= 0;
12096 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12100 PyObject
*swig_obj
[1] ;
12102 if (!args
) SWIG_fail
;
12103 swig_obj
[0] = args
;
12104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12108 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12124 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12125 PyObject
*resultobj
= 0;
12126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12130 PyObject
*swig_obj
[1] ;
12132 if (!args
) SWIG_fail
;
12133 swig_obj
[0] = args
;
12134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12138 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12154 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12155 PyObject
*resultobj
= 0;
12156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12157 long *arg2
= (long *) 0 ;
12158 long *arg3
= (long *) 0 ;
12162 int res2
= SWIG_TMPOBJ
;
12164 int res3
= SWIG_TMPOBJ
;
12165 PyObject
*swig_obj
[1] ;
12169 if (!args
) SWIG_fail
;
12170 swig_obj
[0] = args
;
12171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12175 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_Py_Void();
12183 if (SWIG_IsTmpObj(res2
)) {
12184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12186 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12189 if (SWIG_IsTmpObj(res3
)) {
12190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12192 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12201 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12202 PyObject
*resultobj
= 0;
12203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12207 PyObject
*swig_obj
[1] ;
12209 if (!args
) SWIG_fail
;
12210 swig_obj
[0] = args
;
12211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12215 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12235 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12236 PyObject
*resultobj
= 0;
12237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12240 PyObject
*swig_obj
[1] ;
12242 if (!args
) SWIG_fail
;
12243 swig_obj
[0] = args
;
12244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12245 if (!SWIG_IsOK(res1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12248 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_Py_Void();
12262 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12267 wxString
*arg4
= 0 ;
12274 bool temp4
= false ;
12275 PyObject
* obj0
= 0 ;
12276 PyObject
* obj1
= 0 ;
12277 PyObject
* obj2
= 0 ;
12278 PyObject
* obj3
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12288 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12289 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12290 if (!SWIG_IsOK(ecode2
)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12293 arg2
= static_cast< long >(val2
);
12294 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12295 if (!SWIG_IsOK(ecode3
)) {
12296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12298 arg3
= static_cast< long >(val3
);
12300 arg4
= wxString_in_helper(obj3
);
12301 if (arg4
== NULL
) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_Py_Void();
12325 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
= 0;
12327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 PyObject
* obj1
= 0 ;
12338 PyObject
* obj2
= 0 ;
12339 char * kwnames
[] = {
12340 (char *) "self",(char *) "_from",(char *) "to", NULL
12343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12348 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12349 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12350 if (!SWIG_IsOK(ecode2
)) {
12351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12353 arg2
= static_cast< long >(val2
);
12354 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12355 if (!SWIG_IsOK(ecode3
)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12358 arg3
= static_cast< long >(val3
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 (arg1
)->Remove(arg2
,arg3
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_Py_Void();
12372 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12375 wxString
*arg2
= 0 ;
12379 bool temp2
= false ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "file", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12391 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12393 arg2
= wxString_in_helper(obj1
);
12394 if (arg2
== NULL
) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12420 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
= 0;
12422 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12423 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12424 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12428 bool temp2
= false ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 char * kwnames
[] = {
12432 (char *) "self",(char *) "file", NULL
12435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12440 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12443 arg2
= wxString_in_helper(obj1
);
12444 if (arg2
== NULL
) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12471 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12476 PyObject
*swig_obj
[1] ;
12478 if (!args
) SWIG_fail
;
12479 swig_obj
[0] = args
;
12480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12481 if (!SWIG_IsOK(res1
)) {
12482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12484 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->MarkDirty();
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_Py_Void();
12498 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12499 PyObject
*resultobj
= 0;
12500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12503 PyObject
*swig_obj
[1] ;
12505 if (!args
) SWIG_fail
;
12506 swig_obj
[0] = args
;
12507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12511 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->DiscardEdits();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_Py_Void();
12525 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
= 0;
12527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12528 unsigned long arg2
;
12531 unsigned long val2
;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char * kwnames
[] = {
12536 (char *) "self",(char *) "len", NULL
12539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12544 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12545 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12546 if (!SWIG_IsOK(ecode2
)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12549 arg2
= static_cast< unsigned long >(val2
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->SetMaxLength(arg2
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12566 wxString
*arg2
= 0 ;
12569 bool temp2
= false ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 char * kwnames
[] = {
12573 (char *) "self",(char *) "text", NULL
12576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12578 if (!SWIG_IsOK(res1
)) {
12579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12581 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12583 arg2
= wxString_in_helper(obj1
);
12584 if (arg2
== NULL
) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 (arg1
)->WriteText((wxString
const &)*arg2
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
= 0;
12610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12611 wxString
*arg2
= 0 ;
12614 bool temp2
= false ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char * kwnames
[] = {
12618 (char *) "self",(char *) "text", NULL
12621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12626 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12628 arg2
= wxString_in_helper(obj1
);
12629 if (arg2
== NULL
) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->AppendText((wxString
const &)*arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12653 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
= 0;
12655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12656 wxKeyEvent
*arg2
= 0 ;
12662 PyObject
* obj0
= 0 ;
12663 PyObject
* obj1
= 0 ;
12664 char * kwnames
[] = {
12665 (char *) "self",(char *) "event", NULL
12668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12670 if (!SWIG_IsOK(res1
)) {
12671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12673 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12675 if (!SWIG_IsOK(res2
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12681 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12697 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
= 0;
12699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12702 wxTextAttr
*arg4
= 0 ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 PyObject
* obj2
= 0 ;
12715 PyObject
* obj3
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12727 if (!SWIG_IsOK(ecode2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12730 arg2
= static_cast< long >(val2
);
12731 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12732 if (!SWIG_IsOK(ecode3
)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12735 arg3
= static_cast< long >(val3
);
12736 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12737 if (!SWIG_IsOK(res4
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12743 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12759 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12763 wxTextAttr
*arg3
= 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 PyObject
* obj2
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "self",(char *) "position",(char *) "style", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12784 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12785 if (!SWIG_IsOK(ecode2
)) {
12786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12788 arg2
= static_cast< long >(val2
);
12789 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12790 if (!SWIG_IsOK(res3
)) {
12791 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12796 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= 0;
12814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12815 wxTextAttr
*arg2
= 0 ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char * kwnames
[] = {
12824 (char *) "self",(char *) "style", NULL
12827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12832 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12834 if (!SWIG_IsOK(res2
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12840 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12856 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12857 PyObject
*resultobj
= 0;
12858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12859 wxTextAttr
*result
= 0 ;
12862 PyObject
*swig_obj
[1] ;
12864 if (!args
) SWIG_fail
;
12865 swig_obj
[0] = args
;
12866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12867 if (!SWIG_IsOK(res1
)) {
12868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12870 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12875 result
= (wxTextAttr
*) &_result_ref
;
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12887 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
= 0;
12889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12899 PyObject
* obj0
= 0 ;
12900 PyObject
* obj1
= 0 ;
12901 PyObject
* obj2
= 0 ;
12902 char * kwnames
[] = {
12903 (char *) "self",(char *) "x",(char *) "y", NULL
12906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12908 if (!SWIG_IsOK(res1
)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12911 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12912 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12913 if (!SWIG_IsOK(ecode2
)) {
12914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12916 arg2
= static_cast< long >(val2
);
12917 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12918 if (!SWIG_IsOK(ecode3
)) {
12919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12921 arg3
= static_cast< long >(val3
);
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_From_long(static_cast< long >(result
));
12935 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= 0;
12937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12939 long *arg3
= (long *) 0 ;
12940 long *arg4
= (long *) 0 ;
12946 int res3
= SWIG_TMPOBJ
;
12948 int res4
= SWIG_TMPOBJ
;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "self",(char *) "pos", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12964 if (!SWIG_IsOK(ecode2
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12967 arg2
= static_cast< long >(val2
);
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_Py_Void();
12975 if (SWIG_IsTmpObj(res3
)) {
12976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12978 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12981 if (SWIG_IsTmpObj(res4
)) {
12982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12984 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 char * kwnames
[] = {
13004 (char *) "self",(char *) "pos", NULL
13007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13009 if (!SWIG_IsOK(res1
)) {
13010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13012 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13014 if (!SWIG_IsOK(ecode2
)) {
13015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13017 arg2
= static_cast< long >(val2
);
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->ShowPosition(arg2
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= SWIG_Py_Void();
13031 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
= 0;
13033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13034 wxPoint
*arg2
= 0 ;
13035 long *arg3
= (long *) 0 ;
13036 long *arg4
= (long *) 0 ;
13037 wxTextCtrlHitTestResult result
;
13042 int res3
= SWIG_TMPOBJ
;
13044 int res4
= SWIG_TMPOBJ
;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char * kwnames
[] = {
13048 (char *) "self",(char *) "pt", NULL
13053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13058 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_From_int(static_cast< int >(result
));
13070 if (SWIG_IsTmpObj(res3
)) {
13071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13073 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13076 if (SWIG_IsTmpObj(res4
)) {
13077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13079 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13088 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
= 0;
13090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13091 wxPoint
*arg2
= 0 ;
13092 long *arg3
= (long *) 0 ;
13093 wxTextCtrlHitTestResult result
;
13098 int res3
= SWIG_TMPOBJ
;
13099 PyObject
* obj0
= 0 ;
13100 PyObject
* obj1
= 0 ;
13101 char * kwnames
[] = {
13102 (char *) "self",(char *) "pt", NULL
13106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13108 if (!SWIG_IsOK(res1
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13111 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_From_int(static_cast< int >(result
));
13123 if (SWIG_IsTmpObj(res3
)) {
13124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13126 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13135 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13136 PyObject
*resultobj
= 0;
13137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13140 PyObject
*swig_obj
[1] ;
13142 if (!args
) SWIG_fail
;
13143 swig_obj
[0] = args
;
13144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13148 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_Py_Void();
13162 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 PyObject
*resultobj
= 0;
13164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13167 PyObject
*swig_obj
[1] ;
13169 if (!args
) SWIG_fail
;
13170 swig_obj
[0] = args
;
13171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13172 if (!SWIG_IsOK(res1
)) {
13173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13175 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_Py_Void();
13189 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13190 PyObject
*resultobj
= 0;
13191 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13194 PyObject
*swig_obj
[1] ;
13196 if (!args
) SWIG_fail
;
13197 swig_obj
[0] = args
;
13198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13202 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_Py_Void();
13216 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13217 PyObject
*resultobj
= 0;
13218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13222 PyObject
*swig_obj
[1] ;
13224 if (!args
) SWIG_fail
;
13225 swig_obj
[0] = args
;
13226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13227 if (!SWIG_IsOK(res1
)) {
13228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13230 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13246 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 PyObject
*resultobj
= 0;
13248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13252 PyObject
*swig_obj
[1] ;
13254 if (!args
) SWIG_fail
;
13255 swig_obj
[0] = args
;
13256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13257 if (!SWIG_IsOK(res1
)) {
13258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13276 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13277 PyObject
*resultobj
= 0;
13278 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_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13307 PyObject
*resultobj
= 0;
13308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13311 PyObject
*swig_obj
[1] ;
13313 if (!args
) SWIG_fail
;
13314 swig_obj
[0] = args
;
13315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13319 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_Py_Void();
13333 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13334 PyObject
*resultobj
= 0;
13335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13338 PyObject
*swig_obj
[1] ;
13340 if (!args
) SWIG_fail
;
13341 swig_obj
[0] = args
;
13342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13343 if (!SWIG_IsOK(res1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13346 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_Py_Void();
13360 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13361 PyObject
*resultobj
= 0;
13362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13366 PyObject
*swig_obj
[1] ;
13368 if (!args
) SWIG_fail
;
13369 swig_obj
[0] = args
;
13370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13371 if (!SWIG_IsOK(res1
)) {
13372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13374 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13390 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13396 PyObject
*swig_obj
[1] ;
13398 if (!args
) SWIG_fail
;
13399 swig_obj
[0] = args
;
13400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13401 if (!SWIG_IsOK(res1
)) {
13402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13404 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13420 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= 0;
13422 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char * kwnames
[] = {
13431 (char *) "self",(char *) "pos", NULL
13434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13440 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13441 if (!SWIG_IsOK(ecode2
)) {
13442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13444 arg2
= static_cast< long >(val2
);
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 (arg1
)->SetInsertionPoint(arg2
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_Py_Void();
13458 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 PyObject
*resultobj
= 0;
13460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13463 PyObject
*swig_obj
[1] ;
13465 if (!args
) SWIG_fail
;
13466 swig_obj
[0] = args
;
13467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13471 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 (arg1
)->SetInsertionPointEnd();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_Py_Void();
13485 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13486 PyObject
*resultobj
= 0;
13487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13491 PyObject
*swig_obj
[1] ;
13493 if (!args
) SWIG_fail
;
13494 swig_obj
[0] = args
;
13495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13496 if (!SWIG_IsOK(res1
)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13499 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_From_long(static_cast< long >(result
));
13513 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 PyObject
*resultobj
= 0;
13515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13519 PyObject
*swig_obj
[1] ;
13521 if (!args
) SWIG_fail
;
13522 swig_obj
[0] = args
;
13523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13527 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= SWIG_From_long(static_cast< long >(result
));
13541 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
= 0;
13543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 PyObject
* obj1
= 0 ;
13554 PyObject
* obj2
= 0 ;
13555 char * kwnames
[] = {
13556 (char *) "self",(char *) "_from",(char *) "to", NULL
13559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13561 if (!SWIG_IsOK(res1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13564 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13565 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13566 if (!SWIG_IsOK(ecode2
)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13569 arg2
= static_cast< long >(val2
);
13570 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13571 if (!SWIG_IsOK(ecode3
)) {
13572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13574 arg3
= static_cast< long >(val3
);
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->SetSelection(arg2
,arg3
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13589 PyObject
*resultobj
= 0;
13590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13593 PyObject
*swig_obj
[1] ;
13595 if (!args
) SWIG_fail
;
13596 swig_obj
[0] = args
;
13597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13598 if (!SWIG_IsOK(res1
)) {
13599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13601 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 (arg1
)->SelectAll();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_Py_Void();
13615 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
= 0;
13617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char * kwnames
[] = {
13626 (char *) "self",(char *) "editable", NULL
13629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13631 if (!SWIG_IsOK(res1
)) {
13632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13634 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13636 if (!SWIG_IsOK(ecode2
)) {
13637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13639 arg2
= static_cast< bool >(val2
);
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->SetEditable(arg2
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_Py_Void();
13653 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
= 0;
13655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13656 bool arg2
= (bool) true ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 char * kwnames
[] = {
13665 (char *) "self",(char *) "show", NULL
13668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13670 if (!SWIG_IsOK(res1
)) {
13671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13673 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13675 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13676 if (!SWIG_IsOK(ecode2
)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13679 arg2
= static_cast< bool >(val2
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13696 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13697 PyObject
*resultobj
= 0;
13698 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13702 PyObject
*swig_obj
[1] ;
13704 if (!args
) SWIG_fail
;
13705 swig_obj
[0] = args
;
13706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13707 if (!SWIG_IsOK(res1
)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13710 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (bool)(arg1
)->HideNativeCaret();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13726 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
= 0;
13728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13729 wxString
*arg2
= 0 ;
13732 bool temp2
= false ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char * kwnames
[] = {
13736 (char *) "self",(char *) "text", NULL
13739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13741 if (!SWIG_IsOK(res1
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13746 arg2
= wxString_in_helper(obj1
);
13747 if (arg2
== NULL
) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_Py_Void();
13771 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
= 0;
13773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 PyObject
* obj2
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "_from",(char *) "to", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13795 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13796 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13797 if (!SWIG_IsOK(ecode2
)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13800 arg2
= static_cast< long >(val2
);
13801 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13802 if (!SWIG_IsOK(ecode3
)) {
13803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13805 arg3
= static_cast< long >(val3
);
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13825 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= 0;
13827 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13828 SwigValueWrapper
<wxVisualAttributes
> result
;
13831 PyObject
* obj0
= 0 ;
13832 char * kwnames
[] = {
13833 (char *) "variant", NULL
13836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13839 if (!SWIG_IsOK(ecode1
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13842 arg1
= static_cast< wxWindowVariant
>(val1
);
13845 if (!wxPyCheckForApp()) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13858 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13861 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13862 return SWIG_Py_Void();
13865 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13866 return SWIG_Python_InitShadowInstance(args
);
13869 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
= 0;
13872 wxMouseEvent
*arg2
= 0 ;
13875 wxTextUrlEvent
*result
= 0 ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 PyObject
* obj2
= 0 ;
13887 PyObject
* obj3
= 0 ;
13888 char * kwnames
[] = {
13889 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13893 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13894 if (!SWIG_IsOK(ecode1
)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13897 arg1
= static_cast< int >(val1
);
13898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13899 if (!SWIG_IsOK(res2
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13905 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13906 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13907 if (!SWIG_IsOK(ecode3
)) {
13908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13910 arg3
= static_cast< long >(val3
);
13911 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13912 if (!SWIG_IsOK(ecode4
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13915 arg4
= static_cast< long >(val4
);
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13929 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13930 PyObject
*resultobj
= 0;
13931 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13932 wxMouseEvent
*result
= 0 ;
13935 PyObject
*swig_obj
[1] ;
13937 if (!args
) SWIG_fail
;
13938 swig_obj
[0] = args
;
13939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13940 if (!SWIG_IsOK(res1
)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13943 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13948 result
= (wxMouseEvent
*) &_result_ref
;
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13960 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13961 PyObject
*resultobj
= 0;
13962 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13966 PyObject
*swig_obj
[1] ;
13968 if (!args
) SWIG_fail
;
13969 swig_obj
[0] = args
;
13970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13971 if (!SWIG_IsOK(res1
)) {
13972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13974 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_From_long(static_cast< long >(result
));
13988 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13990 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13994 PyObject
*swig_obj
[1] ;
13996 if (!args
) SWIG_fail
;
13997 swig_obj
[0] = args
;
13998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14002 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_From_long(static_cast< long >(result
));
14016 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14019 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14020 return SWIG_Py_Void();
14023 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14024 return SWIG_Python_InitShadowInstance(args
);
14027 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14028 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14033 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14034 PyObject
*pyobj
= 0;
14038 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14040 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14047 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
= 0;
14049 wxWindow
*arg1
= (wxWindow
*) 0 ;
14050 int arg2
= (int) -1 ;
14051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14055 long arg5
= (long) wxSB_HORIZONTAL
;
14056 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14057 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14058 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14059 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14060 wxScrollBar
*result
= 0 ;
14071 bool temp7
= false ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 PyObject
* obj2
= 0 ;
14075 PyObject
* obj3
= 0 ;
14076 PyObject
* obj4
= 0 ;
14077 PyObject
* obj5
= 0 ;
14078 PyObject
* obj6
= 0 ;
14079 char * kwnames
[] = {
14080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14091 if (!SWIG_IsOK(ecode2
)) {
14092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14094 arg2
= static_cast< int >(val2
);
14099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14105 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14109 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14110 if (!SWIG_IsOK(ecode5
)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14113 arg5
= static_cast< long >(val5
);
14116 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14117 if (!SWIG_IsOK(res6
)) {
14118 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14123 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14127 arg7
= wxString_in_helper(obj6
);
14128 if (arg7
== NULL
) SWIG_fail
;
14133 if (!wxPyCheckForApp()) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14154 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 PyObject
*resultobj
= 0;
14156 wxScrollBar
*result
= 0 ;
14158 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14160 if (!wxPyCheckForApp()) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (wxScrollBar
*)new wxScrollBar();
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14173 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
= 0;
14175 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14176 wxWindow
*arg2
= (wxWindow
*) 0 ;
14177 int arg3
= (int) -1 ;
14178 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14179 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14180 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14181 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14182 long arg6
= (long) wxSB_HORIZONTAL
;
14183 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14184 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14185 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14186 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14200 bool temp8
= false ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 PyObject
* obj2
= 0 ;
14204 PyObject
* obj3
= 0 ;
14205 PyObject
* obj4
= 0 ;
14206 PyObject
* obj5
= 0 ;
14207 PyObject
* obj6
= 0 ;
14208 PyObject
* obj7
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14218 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14220 if (!SWIG_IsOK(res2
)) {
14221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14223 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14226 if (!SWIG_IsOK(ecode3
)) {
14227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14229 arg3
= static_cast< int >(val3
);
14234 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14240 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14244 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14245 if (!SWIG_IsOK(ecode6
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14248 arg6
= static_cast< long >(val6
);
14251 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14252 if (!SWIG_IsOK(res7
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14258 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14262 arg8
= wxString_in_helper(obj7
);
14263 if (arg8
== NULL
) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14290 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14291 PyObject
*resultobj
= 0;
14292 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14296 PyObject
*swig_obj
[1] ;
14298 if (!args
) SWIG_fail
;
14299 swig_obj
[0] = args
;
14300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14301 if (!SWIG_IsOK(res1
)) {
14302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14304 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_From_int(static_cast< int >(result
));
14318 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14319 PyObject
*resultobj
= 0;
14320 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14324 PyObject
*swig_obj
[1] ;
14326 if (!args
) SWIG_fail
;
14327 swig_obj
[0] = args
;
14328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14329 if (!SWIG_IsOK(res1
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14332 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_From_int(static_cast< int >(result
));
14346 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14352 PyObject
*swig_obj
[1] ;
14354 if (!args
) SWIG_fail
;
14355 swig_obj
[0] = args
;
14356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14360 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_int(static_cast< int >(result
));
14374 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14375 PyObject
*resultobj
= 0;
14376 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14380 PyObject
*swig_obj
[1] ;
14382 if (!args
) SWIG_fail
;
14383 swig_obj
[0] = args
;
14384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14388 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_From_int(static_cast< int >(result
));
14402 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14403 PyObject
*resultobj
= 0;
14404 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14408 PyObject
*swig_obj
[1] ;
14410 if (!args
) SWIG_fail
;
14411 swig_obj
[0] = args
;
14412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14416 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
= 0;
14434 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 char * kwnames
[] = {
14443 (char *) "self",(char *) "viewStart", NULL
14446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14448 if (!SWIG_IsOK(res1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14451 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14453 if (!SWIG_IsOK(ecode2
)) {
14454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14456 arg2
= static_cast< int >(val2
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 (arg1
)->SetThumbPosition(arg2
);
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= SWIG_Py_Void();
14470 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
= 0;
14472 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14473 SwigValueWrapper
<wxVisualAttributes
> result
;
14476 PyObject
* obj0
= 0 ;
14477 char * kwnames
[] = {
14478 (char *) "variant", NULL
14481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14484 if (!SWIG_IsOK(ecode1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14487 arg1
= static_cast< wxWindowVariant
>(val1
);
14490 if (!wxPyCheckForApp()) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14503 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14506 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14507 return SWIG_Py_Void();
14510 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 return SWIG_Python_InitShadowInstance(args
);
14514 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14515 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14520 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14521 PyObject
*pyobj
= 0;
14525 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14527 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14534 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14535 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14540 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14541 PyObject
*pyobj
= 0;
14545 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14547 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14554 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
= 0;
14556 wxWindow
*arg1
= (wxWindow
*) 0 ;
14557 int arg2
= (int) -1 ;
14558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14562 long arg5
= (long) wxSP_HORIZONTAL
;
14563 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14564 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14565 wxSpinButton
*result
= 0 ;
14574 bool temp6
= false ;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 PyObject
* obj2
= 0 ;
14578 PyObject
* obj3
= 0 ;
14579 PyObject
* obj4
= 0 ;
14580 PyObject
* obj5
= 0 ;
14581 char * kwnames
[] = {
14582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14593 if (!SWIG_IsOK(ecode2
)) {
14594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14596 arg2
= static_cast< int >(val2
);
14601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14607 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14611 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14612 if (!SWIG_IsOK(ecode5
)) {
14613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14615 arg5
= static_cast< long >(val5
);
14619 arg6
= wxString_in_helper(obj5
);
14620 if (arg6
== NULL
) SWIG_fail
;
14625 if (!wxPyCheckForApp()) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14646 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14647 PyObject
*resultobj
= 0;
14648 wxSpinButton
*result
= 0 ;
14650 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14652 if (!wxPyCheckForApp()) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (wxSpinButton
*)new wxSpinButton();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14665 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
= 0;
14667 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14668 wxWindow
*arg2
= (wxWindow
*) 0 ;
14669 int arg3
= (int) -1 ;
14670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14674 long arg6
= (long) wxSP_HORIZONTAL
;
14675 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14688 bool temp7
= false ;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 PyObject
* obj2
= 0 ;
14692 PyObject
* obj3
= 0 ;
14693 PyObject
* obj4
= 0 ;
14694 PyObject
* obj5
= 0 ;
14695 PyObject
* obj6
= 0 ;
14696 char * kwnames
[] = {
14697 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14702 if (!SWIG_IsOK(res1
)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14705 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14707 if (!SWIG_IsOK(res2
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14713 if (!SWIG_IsOK(ecode3
)) {
14714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14716 arg3
= static_cast< int >(val3
);
14721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14731 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14732 if (!SWIG_IsOK(ecode6
)) {
14733 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14735 arg6
= static_cast< long >(val6
);
14739 arg7
= wxString_in_helper(obj6
);
14740 if (arg7
== NULL
) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14767 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14768 PyObject
*resultobj
= 0;
14769 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14773 PyObject
*swig_obj
[1] ;
14775 if (!args
) SWIG_fail
;
14776 swig_obj
[0] = args
;
14777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14778 if (!SWIG_IsOK(res1
)) {
14779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14781 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= SWIG_From_int(static_cast< int >(result
));
14795 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14796 PyObject
*resultobj
= 0;
14797 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14801 PyObject
*swig_obj
[1] ;
14803 if (!args
) SWIG_fail
;
14804 swig_obj
[0] = args
;
14805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14806 if (!SWIG_IsOK(res1
)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14809 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= SWIG_From_int(static_cast< int >(result
));
14823 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14824 PyObject
*resultobj
= 0;
14825 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14829 PyObject
*swig_obj
[1] ;
14831 if (!args
) SWIG_fail
;
14832 swig_obj
[0] = args
;
14833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14834 if (!SWIG_IsOK(res1
)) {
14835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14837 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= SWIG_From_int(static_cast< int >(result
));
14851 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
= 0;
14853 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 char * kwnames
[] = {
14862 (char *) "self",(char *) "val", NULL
14865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14870 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14872 if (!SWIG_IsOK(ecode2
)) {
14873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14875 arg2
= static_cast< int >(val2
);
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->SetValue(arg2
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= SWIG_Py_Void();
14889 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
= 0;
14891 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char * kwnames
[] = {
14900 (char *) "self",(char *) "minVal", NULL
14903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14908 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14910 if (!SWIG_IsOK(ecode2
)) {
14911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14913 arg2
= static_cast< int >(val2
);
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 (arg1
)->SetMin(arg2
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_Py_Void();
14927 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
= 0;
14929 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char * kwnames
[] = {
14938 (char *) "self",(char *) "maxVal", NULL
14941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14946 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14948 if (!SWIG_IsOK(ecode2
)) {
14949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14951 arg2
= static_cast< int >(val2
);
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 (arg1
)->SetMax(arg2
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= SWIG_Py_Void();
14965 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14967 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 PyObject
* obj2
= 0 ;
14979 char * kwnames
[] = {
14980 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14988 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14990 if (!SWIG_IsOK(ecode2
)) {
14991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14993 arg2
= static_cast< int >(val2
);
14994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14995 if (!SWIG_IsOK(ecode3
)) {
14996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14998 arg3
= static_cast< int >(val3
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 (arg1
)->SetRange(arg2
,arg3
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_Py_Void();
15012 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15026 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15042 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
= 0;
15044 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15045 SwigValueWrapper
<wxVisualAttributes
> result
;
15048 PyObject
* obj0
= 0 ;
15049 char * kwnames
[] = {
15050 (char *) "variant", NULL
15053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15056 if (!SWIG_IsOK(ecode1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15059 arg1
= static_cast< wxWindowVariant
>(val1
);
15062 if (!wxPyCheckForApp()) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15075 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15078 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15079 return SWIG_Py_Void();
15082 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 return SWIG_Python_InitShadowInstance(args
);
15086 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxWindow
*arg1
= (wxWindow
*) 0 ;
15089 int arg2
= (int) -1 ;
15090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15096 long arg6
= (long) wxSP_ARROW_KEYS
;
15097 int arg7
= (int) 0 ;
15098 int arg8
= (int) 100 ;
15099 int arg9
= (int) 0 ;
15100 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15101 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15102 wxSpinCtrl
*result
= 0 ;
15107 bool temp3
= false ;
15118 bool temp10
= false ;
15119 PyObject
* obj0
= 0 ;
15120 PyObject
* obj1
= 0 ;
15121 PyObject
* obj2
= 0 ;
15122 PyObject
* obj3
= 0 ;
15123 PyObject
* obj4
= 0 ;
15124 PyObject
* obj5
= 0 ;
15125 PyObject
* obj6
= 0 ;
15126 PyObject
* obj7
= 0 ;
15127 PyObject
* obj8
= 0 ;
15128 PyObject
* obj9
= 0 ;
15129 char * kwnames
[] = {
15130 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15141 if (!SWIG_IsOK(ecode2
)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15144 arg2
= static_cast< int >(val2
);
15148 arg3
= wxString_in_helper(obj2
);
15149 if (arg3
== NULL
) SWIG_fail
;
15156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15166 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15167 if (!SWIG_IsOK(ecode6
)) {
15168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15170 arg6
= static_cast< long >(val6
);
15173 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15174 if (!SWIG_IsOK(ecode7
)) {
15175 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15177 arg7
= static_cast< int >(val7
);
15180 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15181 if (!SWIG_IsOK(ecode8
)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15184 arg8
= static_cast< int >(val8
);
15187 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15188 if (!SWIG_IsOK(ecode9
)) {
15189 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15191 arg9
= static_cast< int >(val9
);
15195 arg10
= wxString_in_helper(obj9
);
15196 if (arg10
== NULL
) SWIG_fail
;
15201 if (!wxPyCheckForApp()) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15230 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15231 PyObject
*resultobj
= 0;
15232 wxSpinCtrl
*result
= 0 ;
15234 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15236 if (!wxPyCheckForApp()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15249 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
= 0;
15251 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15252 wxWindow
*arg2
= (wxWindow
*) 0 ;
15253 int arg3
= (int) -1 ;
15254 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15256 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15257 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15258 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15259 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15260 long arg7
= (long) wxSP_ARROW_KEYS
;
15261 int arg8
= (int) 0 ;
15262 int arg9
= (int) 100 ;
15263 int arg10
= (int) 0 ;
15264 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15265 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15273 bool temp4
= false ;
15284 bool temp11
= false ;
15285 PyObject
* obj0
= 0 ;
15286 PyObject
* obj1
= 0 ;
15287 PyObject
* obj2
= 0 ;
15288 PyObject
* obj3
= 0 ;
15289 PyObject
* obj4
= 0 ;
15290 PyObject
* obj5
= 0 ;
15291 PyObject
* obj6
= 0 ;
15292 PyObject
* obj7
= 0 ;
15293 PyObject
* obj8
= 0 ;
15294 PyObject
* obj9
= 0 ;
15295 PyObject
* obj10
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15305 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15307 if (!SWIG_IsOK(res2
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15310 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15313 if (!SWIG_IsOK(ecode3
)) {
15314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15316 arg3
= static_cast< int >(val3
);
15320 arg4
= wxString_in_helper(obj3
);
15321 if (arg4
== NULL
) SWIG_fail
;
15328 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15334 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15339 if (!SWIG_IsOK(ecode7
)) {
15340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15342 arg7
= static_cast< long >(val7
);
15345 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15346 if (!SWIG_IsOK(ecode8
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15349 arg8
= static_cast< int >(val8
);
15352 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15353 if (!SWIG_IsOK(ecode9
)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15356 arg9
= static_cast< int >(val9
);
15359 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15360 if (!SWIG_IsOK(ecode10
)) {
15361 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15363 arg10
= static_cast< int >(val10
);
15367 arg11
= wxString_in_helper(obj10
);
15368 if (arg11
== NULL
) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15403 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15404 PyObject
*resultobj
= 0;
15405 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15409 PyObject
*swig_obj
[1] ;
15411 if (!args
) SWIG_fail
;
15412 swig_obj
[0] = args
;
15413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15414 if (!SWIG_IsOK(res1
)) {
15415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15417 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_From_int(static_cast< int >(result
));
15431 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
= 0;
15433 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 PyObject
* obj1
= 0 ;
15441 char * kwnames
[] = {
15442 (char *) "self",(char *) "value", NULL
15445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15450 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15452 if (!SWIG_IsOK(ecode2
)) {
15453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15455 arg2
= static_cast< int >(val2
);
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 (arg1
)->SetValue(arg2
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_Py_Void();
15469 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
= 0;
15471 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15472 wxString
*arg2
= 0 ;
15475 bool temp2
= false ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 char * kwnames
[] = {
15479 (char *) "self",(char *) "text", NULL
15482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15484 if (!SWIG_IsOK(res1
)) {
15485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15487 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15489 arg2
= wxString_in_helper(obj1
);
15490 if (arg2
== NULL
) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->SetValue((wxString
const &)*arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_Py_Void();
15514 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
= 0;
15516 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 PyObject
* obj2
= 0 ;
15528 char * kwnames
[] = {
15529 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15537 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15539 if (!SWIG_IsOK(ecode2
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15542 arg2
= static_cast< int >(val2
);
15543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15544 if (!SWIG_IsOK(ecode3
)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15547 arg3
= static_cast< int >(val3
);
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->SetRange(arg2
,arg3
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_Py_Void();
15561 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15562 PyObject
*resultobj
= 0;
15563 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15567 PyObject
*swig_obj
[1] ;
15569 if (!args
) SWIG_fail
;
15570 swig_obj
[0] = args
;
15571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15572 if (!SWIG_IsOK(res1
)) {
15573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15575 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= SWIG_From_int(static_cast< int >(result
));
15589 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15590 PyObject
*resultobj
= 0;
15591 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15595 PyObject
*swig_obj
[1] ;
15597 if (!args
) SWIG_fail
;
15598 swig_obj
[0] = args
;
15599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15600 if (!SWIG_IsOK(res1
)) {
15601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15603 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= SWIG_From_int(static_cast< int >(result
));
15617 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
= 0;
15619 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 PyObject
* obj1
= 0 ;
15630 PyObject
* obj2
= 0 ;
15631 char * kwnames
[] = {
15632 (char *) "self",(char *) "_from",(char *) "to", NULL
15635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15637 if (!SWIG_IsOK(res1
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15640 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15642 if (!SWIG_IsOK(ecode2
)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15645 arg2
= static_cast< long >(val2
);
15646 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15647 if (!SWIG_IsOK(ecode3
)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15650 arg3
= static_cast< long >(val3
);
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetSelection(arg2
,arg3
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_Py_Void();
15664 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15667 SwigValueWrapper
<wxVisualAttributes
> result
;
15670 PyObject
* obj0
= 0 ;
15671 char * kwnames
[] = {
15672 (char *) "variant", NULL
15675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15677 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15678 if (!SWIG_IsOK(ecode1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15681 arg1
= static_cast< wxWindowVariant
>(val1
);
15684 if (!wxPyCheckForApp()) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15697 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15700 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15701 return SWIG_Py_Void();
15704 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15705 return SWIG_Python_InitShadowInstance(args
);
15708 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
= 0;
15710 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15711 int arg2
= (int) 0 ;
15712 wxSpinEvent
*result
= 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 char * kwnames
[] = {
15720 (char *) "commandType",(char *) "winid", NULL
15723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15726 if (!SWIG_IsOK(ecode1
)) {
15727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15729 arg1
= static_cast< wxEventType
>(val1
);
15732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15733 if (!SWIG_IsOK(ecode2
)) {
15734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15736 arg2
= static_cast< int >(val2
);
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15751 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15752 PyObject
*resultobj
= 0;
15753 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15757 PyObject
*swig_obj
[1] ;
15759 if (!args
) SWIG_fail
;
15760 swig_obj
[0] = args
;
15761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15765 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= SWIG_From_int(static_cast< int >(result
));
15779 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
= 0;
15781 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 char * kwnames
[] = {
15790 (char *) "self",(char *) "pos", NULL
15793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15795 if (!SWIG_IsOK(res1
)) {
15796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15798 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15800 if (!SWIG_IsOK(ecode2
)) {
15801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15803 arg2
= static_cast< int >(val2
);
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 (arg1
)->SetPosition(arg2
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= SWIG_Py_Void();
15817 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15820 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15821 return SWIG_Py_Void();
15824 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15825 return SWIG_Python_InitShadowInstance(args
);
15828 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15829 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15834 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15835 PyObject
*pyobj
= 0;
15839 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15841 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15848 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15849 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15854 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15855 PyObject
*pyobj
= 0;
15859 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15861 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15868 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
= 0;
15870 wxWindow
*arg1
= (wxWindow
*) 0 ;
15871 int arg2
= (int) -1 ;
15872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15878 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15879 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15880 int arg7
= (int) 0 ;
15881 long arg8
= (long) wxRA_HORIZONTAL
;
15882 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15883 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15884 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15885 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15886 wxRadioBox
*result
= 0 ;
15891 bool temp3
= false ;
15894 bool temp6
= false ;
15901 bool temp10
= false ;
15902 PyObject
* obj0
= 0 ;
15903 PyObject
* obj1
= 0 ;
15904 PyObject
* obj2
= 0 ;
15905 PyObject
* obj3
= 0 ;
15906 PyObject
* obj4
= 0 ;
15907 PyObject
* obj5
= 0 ;
15908 PyObject
* obj6
= 0 ;
15909 PyObject
* obj7
= 0 ;
15910 PyObject
* obj8
= 0 ;
15911 PyObject
* obj9
= 0 ;
15912 char * kwnames
[] = {
15913 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15921 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15924 if (!SWIG_IsOK(ecode2
)) {
15925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15927 arg2
= static_cast< int >(val2
);
15931 arg3
= wxString_in_helper(obj2
);
15932 if (arg3
== NULL
) SWIG_fail
;
15939 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15945 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15950 if (! PySequence_Check(obj5
)) {
15951 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15954 arg6
= new wxArrayString
;
15956 int i
, len
=PySequence_Length(obj5
);
15957 for (i
=0; i
<len
; i
++) {
15958 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15959 wxString
* s
= wxString_in_helper(item
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15968 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15969 if (!SWIG_IsOK(ecode7
)) {
15970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15972 arg7
= static_cast< int >(val7
);
15975 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15976 if (!SWIG_IsOK(ecode8
)) {
15977 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15979 arg8
= static_cast< long >(val8
);
15982 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15983 if (!SWIG_IsOK(res9
)) {
15984 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15989 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15993 arg10
= wxString_in_helper(obj9
);
15994 if (arg10
== NULL
) SWIG_fail
;
15999 if (!wxPyCheckForApp()) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 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
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16011 if (temp6
) delete arg6
;
16024 if (temp6
) delete arg6
;
16034 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 PyObject
*resultobj
= 0;
16036 wxRadioBox
*result
= 0 ;
16038 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16040 if (!wxPyCheckForApp()) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (wxRadioBox
*)new wxRadioBox();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16053 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16055 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16056 wxWindow
*arg2
= (wxWindow
*) 0 ;
16057 int arg3
= (int) -1 ;
16058 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16060 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16061 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16062 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16063 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16064 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16065 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16066 int arg8
= (int) 0 ;
16067 long arg9
= (long) wxRA_HORIZONTAL
;
16068 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16069 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16070 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16071 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16079 bool temp4
= false ;
16082 bool temp7
= false ;
16089 bool temp11
= false ;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 PyObject
* obj2
= 0 ;
16093 PyObject
* obj3
= 0 ;
16094 PyObject
* obj4
= 0 ;
16095 PyObject
* obj5
= 0 ;
16096 PyObject
* obj6
= 0 ;
16097 PyObject
* obj7
= 0 ;
16098 PyObject
* obj8
= 0 ;
16099 PyObject
* obj9
= 0 ;
16100 PyObject
* obj10
= 0 ;
16101 char * kwnames
[] = {
16102 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16107 if (!SWIG_IsOK(res1
)) {
16108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16110 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16112 if (!SWIG_IsOK(res2
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16115 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16118 if (!SWIG_IsOK(ecode3
)) {
16119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16121 arg3
= static_cast< int >(val3
);
16125 arg4
= wxString_in_helper(obj3
);
16126 if (arg4
== NULL
) SWIG_fail
;
16133 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16139 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16144 if (! PySequence_Check(obj6
)) {
16145 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16148 arg7
= new wxArrayString
;
16150 int i
, len
=PySequence_Length(obj6
);
16151 for (i
=0; i
<len
; i
++) {
16152 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16153 wxString
* s
= wxString_in_helper(item
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16162 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16163 if (!SWIG_IsOK(ecode8
)) {
16164 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16166 arg8
= static_cast< int >(val8
);
16169 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16170 if (!SWIG_IsOK(ecode9
)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16173 arg9
= static_cast< long >(val9
);
16176 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16177 if (!SWIG_IsOK(res10
)) {
16178 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16183 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16187 arg11
= wxString_in_helper(obj10
);
16188 if (arg11
== NULL
) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 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
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 if (temp7
) delete arg7
;
16219 if (temp7
) delete arg7
;
16229 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
= 0;
16231 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 char * kwnames
[] = {
16240 (char *) "self",(char *) "n", NULL
16243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16245 if (!SWIG_IsOK(res1
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16248 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16250 if (!SWIG_IsOK(ecode2
)) {
16251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16253 arg2
= static_cast< int >(val2
);
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 (arg1
)->SetSelection(arg2
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_Py_Void();
16267 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16268 PyObject
*resultobj
= 0;
16269 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16273 PyObject
*swig_obj
[1] ;
16275 if (!args
) SWIG_fail
;
16276 swig_obj
[0] = args
;
16277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16281 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_From_int(static_cast< int >(result
));
16295 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16296 PyObject
*resultobj
= 0;
16297 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16301 PyObject
*swig_obj
[1] ;
16303 if (!args
) SWIG_fail
;
16304 swig_obj
[0] = args
;
16305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16306 if (!SWIG_IsOK(res1
)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16309 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16329 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
= 0;
16331 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16332 wxString
*arg2
= 0 ;
16336 bool temp2
= false ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char * kwnames
[] = {
16340 (char *) "self",(char *) "s", NULL
16343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16345 if (!SWIG_IsOK(res1
)) {
16346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16348 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16350 arg2
= wxString_in_helper(obj1
);
16351 if (arg2
== NULL
) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16377 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16378 PyObject
*resultobj
= 0;
16379 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16383 PyObject
*swig_obj
[1] ;
16385 if (!args
) SWIG_fail
;
16386 swig_obj
[0] = args
;
16387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16388 if (!SWIG_IsOK(res1
)) {
16389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16391 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16405 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
= 0;
16407 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16408 wxString
*arg2
= 0 ;
16412 bool temp2
= false ;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char * kwnames
[] = {
16416 (char *) "self",(char *) "s", NULL
16419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16421 if (!SWIG_IsOK(res1
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16424 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16426 arg2
= wxString_in_helper(obj1
);
16427 if (arg2
== NULL
) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= SWIG_From_int(static_cast< int >(result
));
16451 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= 0;
16453 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char * kwnames
[] = {
16463 (char *) "self",(char *) "n", NULL
16466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) 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_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16471 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16473 if (!SWIG_IsOK(ecode2
)) {
16474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16476 arg2
= static_cast< int >(val2
);
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16496 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16500 wxString
*arg3
= 0 ;
16505 bool temp3
= false ;
16506 PyObject
* obj0
= 0 ;
16507 PyObject
* obj1
= 0 ;
16508 PyObject
* obj2
= 0 ;
16509 char * kwnames
[] = {
16510 (char *) "self",(char *) "n",(char *) "label", NULL
16513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16518 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16520 if (!SWIG_IsOK(ecode2
)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16523 arg2
= static_cast< int >(val2
);
16525 arg3
= wxString_in_helper(obj2
);
16526 if (arg3
== NULL
) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= SWIG_Py_Void();
16550 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
= 0;
16552 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16553 unsigned int arg2
;
16554 bool arg3
= (bool) true ;
16557 unsigned int val2
;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 PyObject
* obj2
= 0 ;
16564 char * kwnames
[] = {
16565 (char *) "self",(char *) "n",(char *) "enable", NULL
16568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16570 if (!SWIG_IsOK(res1
)) {
16571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16573 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16574 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16575 if (!SWIG_IsOK(ecode2
)) {
16576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16578 arg2
= static_cast< unsigned int >(val2
);
16580 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16581 if (!SWIG_IsOK(ecode3
)) {
16582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16584 arg3
= static_cast< bool >(val3
);
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 (arg1
)->Enable(arg2
,arg3
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_Py_Void();
16599 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
= 0;
16601 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16602 unsigned int arg2
;
16603 bool arg3
= (bool) true ;
16606 unsigned int val2
;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char * kwnames
[] = {
16614 (char *) "self",(char *) "n",(char *) "show", NULL
16617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16619 if (!SWIG_IsOK(res1
)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16622 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16623 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16624 if (!SWIG_IsOK(ecode2
)) {
16625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16627 arg2
= static_cast< unsigned int >(val2
);
16629 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16630 if (!SWIG_IsOK(ecode3
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16633 arg3
= static_cast< bool >(val3
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->Show(arg2
,arg3
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_Py_Void();
16648 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16650 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16651 unsigned int arg2
;
16655 unsigned int val2
;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 char * kwnames
[] = {
16660 (char *) "self",(char *) "n", NULL
16663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16665 if (!SWIG_IsOK(res1
)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16668 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16669 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16670 if (!SWIG_IsOK(ecode2
)) {
16671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16673 arg2
= static_cast< unsigned int >(val2
);
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16689 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
= 0;
16691 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16692 unsigned int arg2
;
16696 unsigned int val2
;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 char * kwnames
[] = {
16701 (char *) "self",(char *) "n", NULL
16704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16706 if (!SWIG_IsOK(res1
)) {
16707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16709 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16710 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16711 if (!SWIG_IsOK(ecode2
)) {
16712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16714 arg2
= static_cast< unsigned int >(val2
);
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16730 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16731 PyObject
*resultobj
= 0;
16732 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16733 unsigned int result
;
16736 PyObject
*swig_obj
[1] ;
16738 if (!args
) SWIG_fail
;
16739 swig_obj
[0] = args
;
16740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16744 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16758 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16759 PyObject
*resultobj
= 0;
16760 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16761 unsigned int result
;
16764 PyObject
*swig_obj
[1] ;
16766 if (!args
) SWIG_fail
;
16767 swig_obj
[0] = args
;
16768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16769 if (!SWIG_IsOK(res1
)) {
16770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16772 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16786 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
= 0;
16788 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 PyObject
* obj2
= 0 ;
16804 PyObject
* obj3
= 0 ;
16805 char * kwnames
[] = {
16806 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16814 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16816 if (!SWIG_IsOK(ecode2
)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16819 arg2
= static_cast< int >(val2
);
16820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16821 if (!SWIG_IsOK(ecode3
)) {
16822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16824 arg3
= static_cast< wxDirection
>(val3
);
16825 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16826 if (!SWIG_IsOK(ecode4
)) {
16827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16829 arg4
= static_cast< long >(val4
);
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_From_int(static_cast< int >(result
));
16843 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
= 0;
16845 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16846 SwigValueWrapper
<wxVisualAttributes
> result
;
16849 PyObject
* obj0
= 0 ;
16850 char * kwnames
[] = {
16851 (char *) "variant", NULL
16854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16857 if (!SWIG_IsOK(ecode1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16860 arg1
= static_cast< wxWindowVariant
>(val1
);
16863 if (!wxPyCheckForApp()) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16876 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16879 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16880 return SWIG_Py_Void();
16883 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16884 return SWIG_Python_InitShadowInstance(args
);
16887 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
= 0;
16889 wxWindow
*arg1
= (wxWindow
*) 0 ;
16890 int arg2
= (int) -1 ;
16891 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16892 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16893 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16894 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16895 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16896 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16897 long arg6
= (long) 0 ;
16898 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16899 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16900 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16901 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16902 wxRadioButton
*result
= 0 ;
16907 bool temp3
= false ;
16914 bool temp8
= false ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 PyObject
* obj2
= 0 ;
16918 PyObject
* obj3
= 0 ;
16919 PyObject
* obj4
= 0 ;
16920 PyObject
* obj5
= 0 ;
16921 PyObject
* obj6
= 0 ;
16922 PyObject
* obj7
= 0 ;
16923 char * kwnames
[] = {
16924 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16929 if (!SWIG_IsOK(res1
)) {
16930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16935 if (!SWIG_IsOK(ecode2
)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16938 arg2
= static_cast< int >(val2
);
16942 arg3
= wxString_in_helper(obj2
);
16943 if (arg3
== NULL
) SWIG_fail
;
16950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16960 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16961 if (!SWIG_IsOK(ecode6
)) {
16962 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16964 arg6
= static_cast< long >(val6
);
16967 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16968 if (!SWIG_IsOK(res7
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16974 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16978 arg8
= wxString_in_helper(obj7
);
16979 if (arg8
== NULL
) SWIG_fail
;
16984 if (!wxPyCheckForApp()) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17013 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17014 PyObject
*resultobj
= 0;
17015 wxRadioButton
*result
= 0 ;
17017 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17019 if (!wxPyCheckForApp()) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (wxRadioButton
*)new wxRadioButton();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17032 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= 0;
17034 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17035 wxWindow
*arg2
= (wxWindow
*) 0 ;
17036 int arg3
= (int) -1 ;
17037 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17038 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17039 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17040 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17041 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17042 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17043 long arg7
= (long) 0 ;
17044 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17045 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17046 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17047 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17055 bool temp4
= false ;
17062 bool temp9
= false ;
17063 PyObject
* obj0
= 0 ;
17064 PyObject
* obj1
= 0 ;
17065 PyObject
* obj2
= 0 ;
17066 PyObject
* obj3
= 0 ;
17067 PyObject
* obj4
= 0 ;
17068 PyObject
* obj5
= 0 ;
17069 PyObject
* obj6
= 0 ;
17070 PyObject
* obj7
= 0 ;
17071 PyObject
* obj8
= 0 ;
17072 char * kwnames
[] = {
17073 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17078 if (!SWIG_IsOK(res1
)) {
17079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17081 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17083 if (!SWIG_IsOK(res2
)) {
17084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17089 if (!SWIG_IsOK(ecode3
)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17092 arg3
= static_cast< int >(val3
);
17096 arg4
= wxString_in_helper(obj3
);
17097 if (arg4
== NULL
) SWIG_fail
;
17104 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17110 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17114 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17115 if (!SWIG_IsOK(ecode7
)) {
17116 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17118 arg7
= static_cast< long >(val7
);
17121 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17122 if (!SWIG_IsOK(res8
)) {
17123 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17128 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17132 arg9
= wxString_in_helper(obj8
);
17133 if (arg9
== NULL
) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17168 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17169 PyObject
*resultobj
= 0;
17170 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17174 PyObject
*swig_obj
[1] ;
17176 if (!args
) SWIG_fail
;
17177 swig_obj
[0] = args
;
17178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17179 if (!SWIG_IsOK(res1
)) {
17180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17182 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (bool)(arg1
)->GetValue();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17198 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
= 0;
17200 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17206 PyObject
* obj0
= 0 ;
17207 PyObject
* obj1
= 0 ;
17208 char * kwnames
[] = {
17209 (char *) "self",(char *) "value", NULL
17212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17214 if (!SWIG_IsOK(res1
)) {
17215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17217 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17218 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17219 if (!SWIG_IsOK(ecode2
)) {
17220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17222 arg2
= static_cast< bool >(val2
);
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 (arg1
)->SetValue(arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17239 SwigValueWrapper
<wxVisualAttributes
> result
;
17242 PyObject
* obj0
= 0 ;
17243 char * kwnames
[] = {
17244 (char *) "variant", NULL
17247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17249 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17250 if (!SWIG_IsOK(ecode1
)) {
17251 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17253 arg1
= static_cast< wxWindowVariant
>(val1
);
17256 if (!wxPyCheckForApp()) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17269 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17272 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17273 return SWIG_Py_Void();
17276 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17277 return SWIG_Python_InitShadowInstance(args
);
17280 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17281 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17286 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17287 PyObject
*pyobj
= 0;
17291 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17293 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17300 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxWindow
*arg1
= (wxWindow
*) 0 ;
17303 int arg2
= (int) -1 ;
17304 int arg3
= (int) 0 ;
17305 int arg4
= (int) 0 ;
17306 int arg5
= (int) 100 ;
17307 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17308 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17309 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17310 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17311 long arg8
= (long) wxSL_HORIZONTAL
;
17312 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17313 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17314 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17315 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17316 wxSlider
*result
= 0 ;
17333 bool temp10
= false ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 PyObject
* obj2
= 0 ;
17337 PyObject
* obj3
= 0 ;
17338 PyObject
* obj4
= 0 ;
17339 PyObject
* obj5
= 0 ;
17340 PyObject
* obj6
= 0 ;
17341 PyObject
* obj7
= 0 ;
17342 PyObject
* obj8
= 0 ;
17343 PyObject
* obj9
= 0 ;
17344 char * kwnames
[] = {
17345 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17350 if (!SWIG_IsOK(res1
)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17353 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17356 if (!SWIG_IsOK(ecode2
)) {
17357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17359 arg2
= static_cast< int >(val2
);
17362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17363 if (!SWIG_IsOK(ecode3
)) {
17364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17366 arg3
= static_cast< int >(val3
);
17369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17370 if (!SWIG_IsOK(ecode4
)) {
17371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17373 arg4
= static_cast< int >(val4
);
17376 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17377 if (!SWIG_IsOK(ecode5
)) {
17378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17380 arg5
= static_cast< int >(val5
);
17385 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17391 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17395 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17396 if (!SWIG_IsOK(ecode8
)) {
17397 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17399 arg8
= static_cast< long >(val8
);
17402 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17403 if (!SWIG_IsOK(res9
)) {
17404 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17409 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17413 arg10
= wxString_in_helper(obj9
);
17414 if (arg10
== NULL
) SWIG_fail
;
17419 if (!wxPyCheckForApp()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17440 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17441 PyObject
*resultobj
= 0;
17442 wxSlider
*result
= 0 ;
17444 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17446 if (!wxPyCheckForApp()) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxSlider
*)new wxSlider();
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17459 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
= 0;
17461 wxSlider
*arg1
= (wxSlider
*) 0 ;
17462 wxWindow
*arg2
= (wxWindow
*) 0 ;
17463 int arg3
= (int) -1 ;
17464 int arg4
= (int) 0 ;
17465 int arg5
= (int) 0 ;
17466 int arg6
= (int) 100 ;
17467 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17468 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17469 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17470 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17471 long arg9
= (long) wxSL_HORIZONTAL
;
17472 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17473 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17474 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17475 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17495 bool temp11
= false ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 PyObject
* obj2
= 0 ;
17499 PyObject
* obj3
= 0 ;
17500 PyObject
* obj4
= 0 ;
17501 PyObject
* obj5
= 0 ;
17502 PyObject
* obj6
= 0 ;
17503 PyObject
* obj7
= 0 ;
17504 PyObject
* obj8
= 0 ;
17505 PyObject
* obj9
= 0 ;
17506 PyObject
* obj10
= 0 ;
17507 char * kwnames
[] = {
17508 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17513 if (!SWIG_IsOK(res1
)) {
17514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17516 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17518 if (!SWIG_IsOK(res2
)) {
17519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17521 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17524 if (!SWIG_IsOK(ecode3
)) {
17525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17527 arg3
= static_cast< int >(val3
);
17530 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17531 if (!SWIG_IsOK(ecode4
)) {
17532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17534 arg4
= static_cast< int >(val4
);
17537 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17538 if (!SWIG_IsOK(ecode5
)) {
17539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17541 arg5
= static_cast< int >(val5
);
17544 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17545 if (!SWIG_IsOK(ecode6
)) {
17546 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17548 arg6
= static_cast< int >(val6
);
17553 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17559 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17563 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17564 if (!SWIG_IsOK(ecode9
)) {
17565 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17567 arg9
= static_cast< long >(val9
);
17570 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17571 if (!SWIG_IsOK(res10
)) {
17572 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17577 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17581 arg11
= wxString_in_helper(obj10
);
17582 if (arg11
== NULL
) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17609 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17610 PyObject
*resultobj
= 0;
17611 wxSlider
*arg1
= (wxSlider
*) 0 ;
17615 PyObject
*swig_obj
[1] ;
17617 if (!args
) SWIG_fail
;
17618 swig_obj
[0] = args
;
17619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17620 if (!SWIG_IsOK(res1
)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17623 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_From_int(static_cast< int >(result
));
17637 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
= 0;
17639 wxSlider
*arg1
= (wxSlider
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char * kwnames
[] = {
17648 (char *) "self",(char *) "value", NULL
17651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17653 if (!SWIG_IsOK(res1
)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17656 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17658 if (!SWIG_IsOK(ecode2
)) {
17659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17661 arg2
= static_cast< int >(val2
);
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 (arg1
)->SetValue(arg2
);
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= SWIG_Py_Void();
17675 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
= 0;
17677 wxSlider
*arg1
= (wxSlider
*) 0 ;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 PyObject
* obj2
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17698 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17700 if (!SWIG_IsOK(ecode2
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17703 arg2
= static_cast< int >(val2
);
17704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17705 if (!SWIG_IsOK(ecode3
)) {
17706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17708 arg3
= static_cast< int >(val3
);
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 (arg1
)->SetRange(arg2
,arg3
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_Py_Void();
17722 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17723 PyObject
*resultobj
= 0;
17724 wxSlider
*arg1
= (wxSlider
*) 0 ;
17728 PyObject
*swig_obj
[1] ;
17730 if (!args
) SWIG_fail
;
17731 swig_obj
[0] = args
;
17732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17733 if (!SWIG_IsOK(res1
)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17736 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_From_int(static_cast< int >(result
));
17750 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17751 PyObject
*resultobj
= 0;
17752 wxSlider
*arg1
= (wxSlider
*) 0 ;
17756 PyObject
*swig_obj
[1] ;
17758 if (!args
) SWIG_fail
;
17759 swig_obj
[0] = args
;
17760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17761 if (!SWIG_IsOK(res1
)) {
17762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17764 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_From_int(static_cast< int >(result
));
17778 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
= 0;
17780 wxSlider
*arg1
= (wxSlider
*) 0 ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 char * kwnames
[] = {
17789 (char *) "self",(char *) "minValue", NULL
17792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17797 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17799 if (!SWIG_IsOK(ecode2
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17802 arg2
= static_cast< int >(val2
);
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 (arg1
)->SetMin(arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_Py_Void();
17816 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
= 0;
17818 wxSlider
*arg1
= (wxSlider
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char * kwnames
[] = {
17827 (char *) "self",(char *) "maxValue", NULL
17830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17832 if (!SWIG_IsOK(res1
)) {
17833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17835 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17837 if (!SWIG_IsOK(ecode2
)) {
17838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17840 arg2
= static_cast< int >(val2
);
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 (arg1
)->SetMax(arg2
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= SWIG_Py_Void();
17854 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= 0;
17856 wxSlider
*arg1
= (wxSlider
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 char * kwnames
[] = {
17865 (char *) "self",(char *) "lineSize", NULL
17868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17870 if (!SWIG_IsOK(res1
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17873 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17875 if (!SWIG_IsOK(ecode2
)) {
17876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17878 arg2
= static_cast< int >(val2
);
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 (arg1
)->SetLineSize(arg2
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= SWIG_Py_Void();
17892 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
= 0;
17894 wxSlider
*arg1
= (wxSlider
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 char * kwnames
[] = {
17903 (char *) "self",(char *) "pageSize", NULL
17906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17908 if (!SWIG_IsOK(res1
)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17911 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17913 if (!SWIG_IsOK(ecode2
)) {
17914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17916 arg2
= static_cast< int >(val2
);
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 (arg1
)->SetPageSize(arg2
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= SWIG_Py_Void();
17930 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17931 PyObject
*resultobj
= 0;
17932 wxSlider
*arg1
= (wxSlider
*) 0 ;
17936 PyObject
*swig_obj
[1] ;
17938 if (!args
) SWIG_fail
;
17939 swig_obj
[0] = args
;
17940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17941 if (!SWIG_IsOK(res1
)) {
17942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17944 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= SWIG_From_int(static_cast< int >(result
));
17958 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17959 PyObject
*resultobj
= 0;
17960 wxSlider
*arg1
= (wxSlider
*) 0 ;
17964 PyObject
*swig_obj
[1] ;
17966 if (!args
) SWIG_fail
;
17967 swig_obj
[0] = args
;
17968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17969 if (!SWIG_IsOK(res1
)) {
17970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17972 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_From_int(static_cast< int >(result
));
17986 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxSlider
*arg1
= (wxSlider
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 char * kwnames
[] = {
17997 (char *) "self",(char *) "lenPixels", NULL
18000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18002 if (!SWIG_IsOK(res1
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18005 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18007 if (!SWIG_IsOK(ecode2
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18010 arg2
= static_cast< int >(val2
);
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->SetThumbLength(arg2
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_Py_Void();
18024 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18025 PyObject
*resultobj
= 0;
18026 wxSlider
*arg1
= (wxSlider
*) 0 ;
18030 PyObject
*swig_obj
[1] ;
18032 if (!args
) SWIG_fail
;
18033 swig_obj
[0] = args
;
18034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18035 if (!SWIG_IsOK(res1
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18038 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_From_int(static_cast< int >(result
));
18052 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
= 0;
18054 wxSlider
*arg1
= (wxSlider
*) 0 ;
18056 int arg3
= (int) 1 ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 PyObject
* obj2
= 0 ;
18066 char * kwnames
[] = {
18067 (char *) "self",(char *) "n",(char *) "pos", NULL
18070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18072 if (!SWIG_IsOK(res1
)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18075 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18077 if (!SWIG_IsOK(ecode2
)) {
18078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18080 arg2
= static_cast< int >(val2
);
18082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18083 if (!SWIG_IsOK(ecode3
)) {
18084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18086 arg3
= static_cast< int >(val3
);
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 (arg1
)->SetTickFreq(arg2
,arg3
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_Py_Void();
18101 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18102 PyObject
*resultobj
= 0;
18103 wxSlider
*arg1
= (wxSlider
*) 0 ;
18107 PyObject
*swig_obj
[1] ;
18109 if (!args
) SWIG_fail
;
18110 swig_obj
[0] = args
;
18111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18112 if (!SWIG_IsOK(res1
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18115 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_From_int(static_cast< int >(result
));
18129 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18130 PyObject
*resultobj
= 0;
18131 wxSlider
*arg1
= (wxSlider
*) 0 ;
18134 PyObject
*swig_obj
[1] ;
18136 if (!args
) SWIG_fail
;
18137 swig_obj
[0] = args
;
18138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18139 if (!SWIG_IsOK(res1
)) {
18140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18142 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 (arg1
)->ClearTicks();
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_Py_Void();
18156 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
= 0;
18158 wxSlider
*arg1
= (wxSlider
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 char * kwnames
[] = {
18167 (char *) "self",(char *) "tickPos", NULL
18170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18172 if (!SWIG_IsOK(res1
)) {
18173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18175 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18177 if (!SWIG_IsOK(ecode2
)) {
18178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18180 arg2
= static_cast< int >(val2
);
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->SetTick(arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_Py_Void();
18194 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18195 PyObject
*resultobj
= 0;
18196 wxSlider
*arg1
= (wxSlider
*) 0 ;
18199 PyObject
*swig_obj
[1] ;
18201 if (!args
) SWIG_fail
;
18202 swig_obj
[0] = args
;
18203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18207 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 (arg1
)->ClearSel();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_Py_Void();
18221 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18222 PyObject
*resultobj
= 0;
18223 wxSlider
*arg1
= (wxSlider
*) 0 ;
18227 PyObject
*swig_obj
[1] ;
18229 if (!args
) SWIG_fail
;
18230 swig_obj
[0] = args
;
18231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18232 if (!SWIG_IsOK(res1
)) {
18233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18235 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_From_int(static_cast< int >(result
));
18249 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18250 PyObject
*resultobj
= 0;
18251 wxSlider
*arg1
= (wxSlider
*) 0 ;
18255 PyObject
*swig_obj
[1] ;
18257 if (!args
) SWIG_fail
;
18258 swig_obj
[0] = args
;
18259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18260 if (!SWIG_IsOK(res1
)) {
18261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18263 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= SWIG_From_int(static_cast< int >(result
));
18277 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
= 0;
18279 wxSlider
*arg1
= (wxSlider
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 PyObject
* obj2
= 0 ;
18291 char * kwnames
[] = {
18292 (char *) "self",(char *) "min",(char *) "max", NULL
18295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18297 if (!SWIG_IsOK(res1
)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18300 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18302 if (!SWIG_IsOK(ecode2
)) {
18303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18305 arg2
= static_cast< int >(val2
);
18306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18307 if (!SWIG_IsOK(ecode3
)) {
18308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18310 arg3
= static_cast< int >(val3
);
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 (arg1
)->SetSelection(arg2
,arg3
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_Py_Void();
18324 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
= 0;
18326 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18327 SwigValueWrapper
<wxVisualAttributes
> result
;
18330 PyObject
* obj0
= 0 ;
18331 char * kwnames
[] = {
18332 (char *) "variant", NULL
18335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18338 if (!SWIG_IsOK(ecode1
)) {
18339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18341 arg1
= static_cast< wxWindowVariant
>(val1
);
18344 if (!wxPyCheckForApp()) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18357 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18360 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18361 return SWIG_Py_Void();
18364 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18365 return SWIG_Python_InitShadowInstance(args
);
18368 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18369 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18374 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18375 PyObject
*pyobj
= 0;
18379 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18381 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18388 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
= 0;
18390 wxWindow
*arg1
= (wxWindow
*) 0 ;
18391 int arg2
= (int) -1 ;
18392 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18393 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18394 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18395 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18396 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18397 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18398 long arg6
= (long) 0 ;
18399 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18400 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18401 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18402 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18403 wxToggleButton
*result
= 0 ;
18408 bool temp3
= false ;
18415 bool temp8
= false ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 PyObject
* obj2
= 0 ;
18419 PyObject
* obj3
= 0 ;
18420 PyObject
* obj4
= 0 ;
18421 PyObject
* obj5
= 0 ;
18422 PyObject
* obj6
= 0 ;
18423 PyObject
* obj7
= 0 ;
18424 char * kwnames
[] = {
18425 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18430 if (!SWIG_IsOK(res1
)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18436 if (!SWIG_IsOK(ecode2
)) {
18437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18439 arg2
= static_cast< int >(val2
);
18443 arg3
= wxString_in_helper(obj2
);
18444 if (arg3
== NULL
) SWIG_fail
;
18451 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18457 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18461 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18462 if (!SWIG_IsOK(ecode6
)) {
18463 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18465 arg6
= static_cast< long >(val6
);
18468 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18469 if (!SWIG_IsOK(res7
)) {
18470 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18475 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18479 arg8
= wxString_in_helper(obj7
);
18480 if (arg8
== NULL
) SWIG_fail
;
18485 if (!wxPyCheckForApp()) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18514 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 PyObject
*resultobj
= 0;
18516 wxToggleButton
*result
= 0 ;
18518 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18520 if (!wxPyCheckForApp()) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (wxToggleButton
*)new wxToggleButton();
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18533 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= 0;
18535 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18536 wxWindow
*arg2
= (wxWindow
*) 0 ;
18537 int arg3
= (int) -1 ;
18538 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18540 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18541 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18542 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18543 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18544 long arg7
= (long) 0 ;
18545 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18546 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18547 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18548 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18556 bool temp4
= false ;
18563 bool temp9
= false ;
18564 PyObject
* obj0
= 0 ;
18565 PyObject
* obj1
= 0 ;
18566 PyObject
* obj2
= 0 ;
18567 PyObject
* obj3
= 0 ;
18568 PyObject
* obj4
= 0 ;
18569 PyObject
* obj5
= 0 ;
18570 PyObject
* obj6
= 0 ;
18571 PyObject
* obj7
= 0 ;
18572 PyObject
* obj8
= 0 ;
18573 char * kwnames
[] = {
18574 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18579 if (!SWIG_IsOK(res1
)) {
18580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18582 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18584 if (!SWIG_IsOK(res2
)) {
18585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18590 if (!SWIG_IsOK(ecode3
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18593 arg3
= static_cast< int >(val3
);
18597 arg4
= wxString_in_helper(obj3
);
18598 if (arg4
== NULL
) SWIG_fail
;
18605 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18611 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18615 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18616 if (!SWIG_IsOK(ecode7
)) {
18617 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18619 arg7
= static_cast< long >(val7
);
18622 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18623 if (!SWIG_IsOK(res8
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18629 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18633 arg9
= wxString_in_helper(obj8
);
18634 if (arg9
== NULL
) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18669 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
= 0;
18671 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 char * kwnames
[] = {
18680 (char *) "self",(char *) "value", NULL
18683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18685 if (!SWIG_IsOK(res1
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18688 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18690 if (!SWIG_IsOK(ecode2
)) {
18691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18693 arg2
= static_cast< bool >(val2
);
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetValue(arg2
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= SWIG_Py_Void();
18707 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18708 PyObject
*resultobj
= 0;
18709 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18713 PyObject
*swig_obj
[1] ;
18715 if (!args
) SWIG_fail
;
18716 swig_obj
[0] = args
;
18717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18718 if (!SWIG_IsOK(res1
)) {
18719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18721 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18737 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= 0;
18739 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18740 SwigValueWrapper
<wxVisualAttributes
> result
;
18743 PyObject
* obj0
= 0 ;
18744 char * kwnames
[] = {
18745 (char *) "variant", NULL
18748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18750 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18751 if (!SWIG_IsOK(ecode1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18754 arg1
= static_cast< wxWindowVariant
>(val1
);
18757 if (!wxPyCheckForApp()) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18770 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18773 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18774 return SWIG_Py_Void();
18777 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18778 return SWIG_Python_InitShadowInstance(args
);
18781 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18782 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18787 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18788 PyObject
*pyobj
= 0;
18792 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18794 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18801 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18802 PyObject
*resultobj
= 0;
18803 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18807 PyObject
*swig_obj
[1] ;
18809 if (!args
) SWIG_fail
;
18810 swig_obj
[0] = args
;
18811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18815 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18829 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
= 0;
18831 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18833 wxWindow
*result
= 0 ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char * kwnames
[] = {
18841 (char *) "self",(char *) "n", NULL
18844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18846 if (!SWIG_IsOK(res1
)) {
18847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18849 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18850 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18851 if (!SWIG_IsOK(ecode2
)) {
18852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18854 arg2
= static_cast< size_t >(val2
);
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= wxPyMake_wxObject(result
, 0);
18870 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18871 PyObject
*resultobj
= 0;
18872 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18873 wxWindow
*result
= 0 ;
18876 PyObject
*swig_obj
[1] ;
18878 if (!args
) SWIG_fail
;
18879 swig_obj
[0] = args
;
18880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18881 if (!SWIG_IsOK(res1
)) {
18882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18884 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= wxPyMake_wxObject(result
, 0);
18900 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18901 PyObject
*resultobj
= 0;
18902 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18906 PyObject
*swig_obj
[1] ;
18908 if (!args
) SWIG_fail
;
18909 swig_obj
[0] = args
;
18910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18914 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_From_int(static_cast< int >(result
));
18928 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18932 wxString
*arg3
= 0 ;
18938 bool temp3
= false ;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 PyObject
* obj2
= 0 ;
18942 char * kwnames
[] = {
18943 (char *) "self",(char *) "n",(char *) "strText", NULL
18946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18948 if (!SWIG_IsOK(res1
)) {
18949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18951 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18952 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18953 if (!SWIG_IsOK(ecode2
)) {
18954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18956 arg2
= static_cast< size_t >(val2
);
18958 arg3
= wxString_in_helper(obj2
);
18959 if (arg3
== NULL
) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18985 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
= 0;
18987 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char * kwnames
[] = {
18997 (char *) "self",(char *) "n", NULL
19000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19005 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19006 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19007 if (!SWIG_IsOK(ecode2
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19010 arg2
= static_cast< size_t >(val2
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19030 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
= 0;
19032 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19033 wxImageList
*arg2
= (wxImageList
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "imageList", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19049 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19051 if (!SWIG_IsOK(res2
)) {
19052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19054 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetImageList(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_Py_Void();
19068 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
= 0;
19070 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19071 wxImageList
*arg2
= (wxImageList
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char * kwnames
[] = {
19078 (char *) "self",(char *) "imageList", NULL
19081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19083 if (!SWIG_IsOK(res1
)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19086 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19087 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19088 if (!SWIG_IsOK(res2
)) {
19089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 (arg1
)->AssignImageList(arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= SWIG_Py_Void();
19104 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19105 PyObject
*resultobj
= 0;
19106 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19107 wxImageList
*result
= 0 ;
19110 PyObject
*swig_obj
[1] ;
19112 if (!args
) SWIG_fail
;
19113 swig_obj
[0] = args
;
19114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19115 if (!SWIG_IsOK(res1
)) {
19116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19118 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19134 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= 0;
19136 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char * kwnames
[] = {
19146 (char *) "self",(char *) "n", NULL
19149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19151 if (!SWIG_IsOK(res1
)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19154 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19155 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19156 if (!SWIG_IsOK(ecode2
)) {
19157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19159 arg2
= static_cast< size_t >(val2
);
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= SWIG_From_int(static_cast< int >(result
));
19173 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
= 0;
19175 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 PyObject
* obj2
= 0 ;
19188 char * kwnames
[] = {
19189 (char *) "self",(char *) "n",(char *) "imageId", NULL
19192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19194 if (!SWIG_IsOK(res1
)) {
19195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19197 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19198 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19199 if (!SWIG_IsOK(ecode2
)) {
19200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19202 arg2
= static_cast< size_t >(val2
);
19203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19204 if (!SWIG_IsOK(ecode3
)) {
19205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19207 arg3
= static_cast< int >(val3
);
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19223 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char * kwnames
[] = {
19233 (char *) "self",(char *) "size", NULL
19236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19238 if (!SWIG_IsOK(res1
)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19241 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19244 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_Py_Void();
19259 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
= 0;
19261 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 char * kwnames
[] = {
19270 (char *) "self",(char *) "sizePage", NULL
19273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19275 if (!SWIG_IsOK(res1
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19278 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19281 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19296 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19297 PyObject
*resultobj
= 0;
19298 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19299 unsigned int result
;
19302 PyObject
*swig_obj
[1] ;
19304 if (!args
) SWIG_fail
;
19305 swig_obj
[0] = args
;
19306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19307 if (!SWIG_IsOK(res1
)) {
19308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19310 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19324 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
= 0;
19326 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19327 unsigned int arg2
;
19330 unsigned int val2
;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char * kwnames
[] = {
19335 (char *) "self",(char *) "internalBorder", NULL
19338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19340 if (!SWIG_IsOK(res1
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19343 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19344 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19345 if (!SWIG_IsOK(ecode2
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19348 arg2
= static_cast< unsigned int >(val2
);
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 (arg1
)->SetInternalBorder(arg2
);
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= SWIG_Py_Void();
19362 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19363 PyObject
*resultobj
= 0;
19364 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19368 PyObject
*swig_obj
[1] ;
19370 if (!args
) SWIG_fail
;
19371 swig_obj
[0] = args
;
19372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19373 if (!SWIG_IsOK(res1
)) {
19374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19376 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19392 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 char * kwnames
[] = {
19403 (char *) "self",(char *) "margin", NULL
19406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19408 if (!SWIG_IsOK(res1
)) {
19409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19411 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19413 if (!SWIG_IsOK(ecode2
)) {
19414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19416 arg2
= static_cast< int >(val2
);
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 (arg1
)->SetControlMargin(arg2
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_Py_Void();
19430 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19431 PyObject
*resultobj
= 0;
19432 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19436 PyObject
*swig_obj
[1] ;
19438 if (!args
) SWIG_fail
;
19439 swig_obj
[0] = args
;
19440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19441 if (!SWIG_IsOK(res1
)) {
19442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19444 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= SWIG_From_int(static_cast< int >(result
));
19458 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
= 0;
19460 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char * kwnames
[] = {
19469 (char *) "self",(char *) "fit", NULL
19472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19474 if (!SWIG_IsOK(res1
)) {
19475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19477 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19478 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19479 if (!SWIG_IsOK(ecode2
)) {
19480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19482 arg2
= static_cast< bool >(val2
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->SetFitToCurrentPage(arg2
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19496 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19497 PyObject
*resultobj
= 0;
19498 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19502 PyObject
*swig_obj
[1] ;
19504 if (!args
) SWIG_fail
;
19505 swig_obj
[0] = args
;
19506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19507 if (!SWIG_IsOK(res1
)) {
19508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19510 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19526 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19527 PyObject
*resultobj
= 0;
19528 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19529 wxSizer
*result
= 0 ;
19532 PyObject
*swig_obj
[1] ;
19534 if (!args
) SWIG_fail
;
19535 swig_obj
[0] = args
;
19536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19537 if (!SWIG_IsOK(res1
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19540 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19556 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
= 0;
19558 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char * kwnames
[] = {
19568 (char *) "self",(char *) "n", NULL
19571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19573 if (!SWIG_IsOK(res1
)) {
19574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19576 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19577 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19578 if (!SWIG_IsOK(ecode2
)) {
19579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19581 arg2
= static_cast< size_t >(val2
);
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= (bool)(arg1
)->DeletePage(arg2
);
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19597 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
= 0;
19599 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "self",(char *) "n", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19617 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19618 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19619 if (!SWIG_IsOK(ecode2
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19622 arg2
= static_cast< size_t >(val2
);
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (bool)(arg1
)->RemovePage(arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19638 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19639 PyObject
*resultobj
= 0;
19640 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19644 PyObject
*swig_obj
[1] ;
19646 if (!args
) SWIG_fail
;
19647 swig_obj
[0] = args
;
19648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19649 if (!SWIG_IsOK(res1
)) {
19650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19652 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (bool)(arg1
)->DeleteAllPages();
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19668 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
= 0;
19670 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19671 wxWindow
*arg2
= (wxWindow
*) 0 ;
19672 wxString
*arg3
= 0 ;
19673 bool arg4
= (bool) false ;
19674 int arg5
= (int) -1 ;
19680 bool temp3
= false ;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 PyObject
* obj2
= 0 ;
19688 PyObject
* obj3
= 0 ;
19689 PyObject
* obj4
= 0 ;
19690 char * kwnames
[] = {
19691 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19696 if (!SWIG_IsOK(res1
)) {
19697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19699 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19701 if (!SWIG_IsOK(res2
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19706 arg3
= wxString_in_helper(obj2
);
19707 if (arg3
== NULL
) SWIG_fail
;
19711 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19712 if (!SWIG_IsOK(ecode4
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19715 arg4
= static_cast< bool >(val4
);
19718 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19719 if (!SWIG_IsOK(ecode5
)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19722 arg5
= static_cast< int >(val5
);
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19747 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= 0;
19749 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19751 wxWindow
*arg3
= (wxWindow
*) 0 ;
19752 wxString
*arg4
= 0 ;
19753 bool arg5
= (bool) false ;
19754 int arg6
= (int) -1 ;
19762 bool temp4
= false ;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 PyObject
* obj2
= 0 ;
19770 PyObject
* obj3
= 0 ;
19771 PyObject
* obj4
= 0 ;
19772 PyObject
* obj5
= 0 ;
19773 char * kwnames
[] = {
19774 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19779 if (!SWIG_IsOK(res1
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19782 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19783 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19784 if (!SWIG_IsOK(ecode2
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19787 arg2
= static_cast< size_t >(val2
);
19788 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19789 if (!SWIG_IsOK(res3
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19792 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19794 arg4
= wxString_in_helper(obj3
);
19795 if (arg4
== NULL
) SWIG_fail
;
19799 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19800 if (!SWIG_IsOK(ecode5
)) {
19801 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19803 arg5
= static_cast< bool >(val5
);
19806 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19807 if (!SWIG_IsOK(ecode6
)) {
19808 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19810 arg6
= static_cast< int >(val6
);
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19835 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 char * kwnames
[] = {
19847 (char *) "self",(char *) "n", NULL
19850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19852 if (!SWIG_IsOK(res1
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19855 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19856 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19857 if (!SWIG_IsOK(ecode2
)) {
19858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19860 arg2
= static_cast< size_t >(val2
);
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (int)(arg1
)->SetSelection(arg2
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_From_int(static_cast< int >(result
));
19874 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
= 0;
19876 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19877 bool arg2
= (bool) true ;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 char * kwnames
[] = {
19885 (char *) "self",(char *) "forward", NULL
19888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19890 if (!SWIG_IsOK(res1
)) {
19891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19893 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19895 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19896 if (!SWIG_IsOK(ecode2
)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19899 arg2
= static_cast< bool >(val2
);
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 (arg1
)->AdvanceSelection(arg2
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_Py_Void();
19914 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
= 0;
19916 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19917 SwigValueWrapper
<wxVisualAttributes
> result
;
19920 PyObject
* obj0
= 0 ;
19921 char * kwnames
[] = {
19922 (char *) "variant", NULL
19925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19928 if (!SWIG_IsOK(ecode1
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19931 arg1
= static_cast< wxWindowVariant
>(val1
);
19934 if (!wxPyCheckForApp()) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19947 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19950 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19951 return SWIG_Py_Void();
19954 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
= 0;
19956 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19957 int arg2
= (int) 0 ;
19958 int arg3
= (int) -1 ;
19959 int arg4
= (int) -1 ;
19960 wxBookCtrlBaseEvent
*result
= 0 ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 PyObject
* obj2
= 0 ;
19972 PyObject
* obj3
= 0 ;
19973 char * kwnames
[] = {
19974 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19980 if (!SWIG_IsOK(ecode1
)) {
19981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19983 arg1
= static_cast< wxEventType
>(val1
);
19986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19987 if (!SWIG_IsOK(ecode2
)) {
19988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19990 arg2
= static_cast< int >(val2
);
19993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19994 if (!SWIG_IsOK(ecode3
)) {
19995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19997 arg3
= static_cast< int >(val3
);
20000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20001 if (!SWIG_IsOK(ecode4
)) {
20002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20004 arg4
= static_cast< int >(val4
);
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20019 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20020 PyObject
*resultobj
= 0;
20021 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20025 PyObject
*swig_obj
[1] ;
20027 if (!args
) SWIG_fail
;
20028 swig_obj
[0] = args
;
20029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20030 if (!SWIG_IsOK(res1
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20033 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= SWIG_From_int(static_cast< int >(result
));
20047 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
= 0;
20049 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 char * kwnames
[] = {
20058 (char *) "self",(char *) "nSel", NULL
20061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20063 if (!SWIG_IsOK(res1
)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20066 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20068 if (!SWIG_IsOK(ecode2
)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20071 arg2
= static_cast< int >(val2
);
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->SetSelection(arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 resultobj
= SWIG_Py_Void();
20085 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20086 PyObject
*resultobj
= 0;
20087 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20091 PyObject
*swig_obj
[1] ;
20093 if (!args
) SWIG_fail
;
20094 swig_obj
[0] = args
;
20095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20096 if (!SWIG_IsOK(res1
)) {
20097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20099 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_From_int(static_cast< int >(result
));
20113 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char * kwnames
[] = {
20124 (char *) "self",(char *) "nOldSel", NULL
20127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20129 if (!SWIG_IsOK(res1
)) {
20130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20132 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20134 if (!SWIG_IsOK(ecode2
)) {
20135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20137 arg2
= static_cast< int >(val2
);
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 (arg1
)->SetOldSelection(arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= SWIG_Py_Void();
20151 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20154 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20155 return SWIG_Py_Void();
20158 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20159 return SWIG_Python_InitShadowInstance(args
);
20162 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
= 0;
20164 wxWindow
*arg1
= (wxWindow
*) 0 ;
20165 int arg2
= (int) -1 ;
20166 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20167 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20168 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20169 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20170 long arg5
= (long) 0 ;
20171 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20172 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20173 wxNotebook
*result
= 0 ;
20182 bool temp6
= false ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 PyObject
* obj2
= 0 ;
20186 PyObject
* obj3
= 0 ;
20187 PyObject
* obj4
= 0 ;
20188 PyObject
* obj5
= 0 ;
20189 char * kwnames
[] = {
20190 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20195 if (!SWIG_IsOK(res1
)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20201 if (!SWIG_IsOK(ecode2
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20204 arg2
= static_cast< int >(val2
);
20209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20219 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20220 if (!SWIG_IsOK(ecode5
)) {
20221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20223 arg5
= static_cast< long >(val5
);
20227 arg6
= wxString_in_helper(obj5
);
20228 if (arg6
== NULL
) SWIG_fail
;
20233 if (!wxPyCheckForApp()) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20254 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20255 PyObject
*resultobj
= 0;
20256 wxNotebook
*result
= 0 ;
20258 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20260 if (!wxPyCheckForApp()) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (wxNotebook
*)new wxNotebook();
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20273 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= 0;
20275 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20276 wxWindow
*arg2
= (wxWindow
*) 0 ;
20277 int arg3
= (int) -1 ;
20278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20282 long arg6
= (long) 0 ;
20283 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20284 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20296 bool temp7
= false ;
20297 PyObject
* obj0
= 0 ;
20298 PyObject
* obj1
= 0 ;
20299 PyObject
* obj2
= 0 ;
20300 PyObject
* obj3
= 0 ;
20301 PyObject
* obj4
= 0 ;
20302 PyObject
* obj5
= 0 ;
20303 PyObject
* obj6
= 0 ;
20304 char * kwnames
[] = {
20305 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20310 if (!SWIG_IsOK(res1
)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20313 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20315 if (!SWIG_IsOK(res2
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20318 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20321 if (!SWIG_IsOK(ecode3
)) {
20322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20324 arg3
= static_cast< int >(val3
);
20329 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20335 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20339 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20340 if (!SWIG_IsOK(ecode6
)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20343 arg6
= static_cast< long >(val6
);
20347 arg7
= wxString_in_helper(obj6
);
20348 if (arg7
== NULL
) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20375 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20376 PyObject
*resultobj
= 0;
20377 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20381 PyObject
*swig_obj
[1] ;
20383 if (!args
) SWIG_fail
;
20384 swig_obj
[0] = args
;
20385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20386 if (!SWIG_IsOK(res1
)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20389 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_From_int(static_cast< int >(result
));
20403 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
= 0;
20405 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 char * kwnames
[] = {
20413 (char *) "self",(char *) "padding", NULL
20416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20418 if (!SWIG_IsOK(res1
)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20421 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20424 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= SWIG_Py_Void();
20439 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
= 0;
20441 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 char * kwnames
[] = {
20449 (char *) "self",(char *) "sz", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20457 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20460 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_Py_Void();
20475 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
= 0;
20477 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20478 wxPoint
*arg2
= 0 ;
20479 long *arg3
= (long *) 0 ;
20485 int res3
= SWIG_TMPOBJ
;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 char * kwnames
[] = {
20489 (char *) "self",(char *) "pt", NULL
20493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20495 if (!SWIG_IsOK(res1
)) {
20496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20498 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_From_int(static_cast< int >(result
));
20510 if (SWIG_IsTmpObj(res3
)) {
20511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20513 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20522 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20523 PyObject
*resultobj
= 0;
20524 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20528 PyObject
*swig_obj
[1] ;
20530 if (!args
) SWIG_fail
;
20531 swig_obj
[0] = args
;
20532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20533 if (!SWIG_IsOK(res1
)) {
20534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20536 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20550 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
= 0;
20552 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20553 SwigValueWrapper
<wxVisualAttributes
> result
;
20556 PyObject
* obj0
= 0 ;
20557 char * kwnames
[] = {
20558 (char *) "variant", NULL
20561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20563 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20564 if (!SWIG_IsOK(ecode1
)) {
20565 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20567 arg1
= static_cast< wxWindowVariant
>(val1
);
20570 if (!wxPyCheckForApp()) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20583 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20586 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20587 return SWIG_Py_Void();
20590 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20591 return SWIG_Python_InitShadowInstance(args
);
20594 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= 0;
20596 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20597 int arg2
= (int) 0 ;
20598 int arg3
= (int) -1 ;
20599 int arg4
= (int) -1 ;
20600 wxNotebookEvent
*result
= 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 PyObject
* obj2
= 0 ;
20612 PyObject
* obj3
= 0 ;
20613 char * kwnames
[] = {
20614 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20619 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20620 if (!SWIG_IsOK(ecode1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20623 arg1
= static_cast< wxEventType
>(val1
);
20626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20627 if (!SWIG_IsOK(ecode2
)) {
20628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20630 arg2
= static_cast< int >(val2
);
20633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20634 if (!SWIG_IsOK(ecode3
)) {
20635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20637 arg3
= static_cast< int >(val3
);
20640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20641 if (!SWIG_IsOK(ecode4
)) {
20642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20644 arg4
= static_cast< int >(val4
);
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20659 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20662 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20663 return SWIG_Py_Void();
20666 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20667 return SWIG_Python_InitShadowInstance(args
);
20670 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
= 0;
20672 wxWindow
*arg1
= (wxWindow
*) 0 ;
20673 int arg2
= (int) -1 ;
20674 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20675 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20676 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20677 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20678 long arg5
= (long) 0 ;
20679 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20680 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20681 wxListbook
*result
= 0 ;
20690 bool temp6
= false ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 PyObject
* obj2
= 0 ;
20694 PyObject
* obj3
= 0 ;
20695 PyObject
* obj4
= 0 ;
20696 PyObject
* obj5
= 0 ;
20697 char * kwnames
[] = {
20698 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20709 if (!SWIG_IsOK(ecode2
)) {
20710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20712 arg2
= static_cast< int >(val2
);
20717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20723 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20727 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20728 if (!SWIG_IsOK(ecode5
)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20731 arg5
= static_cast< long >(val5
);
20735 arg6
= wxString_in_helper(obj5
);
20736 if (arg6
== NULL
) SWIG_fail
;
20741 if (!wxPyCheckForApp()) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20762 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20763 PyObject
*resultobj
= 0;
20764 wxListbook
*result
= 0 ;
20766 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20768 if (!wxPyCheckForApp()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (wxListbook
*)new wxListbook();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20781 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
= 0;
20783 wxListbook
*arg1
= (wxListbook
*) 0 ;
20784 wxWindow
*arg2
= (wxWindow
*) 0 ;
20785 int arg3
= (int) -1 ;
20786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20790 long arg6
= (long) 0 ;
20791 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20792 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20804 bool temp7
= false ;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 PyObject
* obj2
= 0 ;
20808 PyObject
* obj3
= 0 ;
20809 PyObject
* obj4
= 0 ;
20810 PyObject
* obj5
= 0 ;
20811 PyObject
* obj6
= 0 ;
20812 char * kwnames
[] = {
20813 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20818 if (!SWIG_IsOK(res1
)) {
20819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20821 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20823 if (!SWIG_IsOK(res2
)) {
20824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20829 if (!SWIG_IsOK(ecode3
)) {
20830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20832 arg3
= static_cast< int >(val3
);
20837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20847 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20848 if (!SWIG_IsOK(ecode6
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20851 arg6
= static_cast< long >(val6
);
20855 arg7
= wxString_in_helper(obj6
);
20856 if (arg7
== NULL
) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20883 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20884 PyObject
*resultobj
= 0;
20885 wxListbook
*arg1
= (wxListbook
*) 0 ;
20886 wxListView
*result
= 0 ;
20889 PyObject
*swig_obj
[1] ;
20891 if (!args
) SWIG_fail
;
20892 swig_obj
[0] = args
;
20893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20894 if (!SWIG_IsOK(res1
)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20897 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (wxListView
*)(arg1
)->GetListView();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20911 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20914 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20915 return SWIG_Py_Void();
20918 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20919 return SWIG_Python_InitShadowInstance(args
);
20922 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
= 0;
20924 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20925 int arg2
= (int) 0 ;
20926 int arg3
= (int) -1 ;
20927 int arg4
= (int) -1 ;
20928 wxListbookEvent
*result
= 0 ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 PyObject
* obj3
= 0 ;
20941 char * kwnames
[] = {
20942 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20948 if (!SWIG_IsOK(ecode1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20951 arg1
= static_cast< wxEventType
>(val1
);
20954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20955 if (!SWIG_IsOK(ecode2
)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20958 arg2
= static_cast< int >(val2
);
20961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20962 if (!SWIG_IsOK(ecode3
)) {
20963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20965 arg3
= static_cast< int >(val3
);
20968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20969 if (!SWIG_IsOK(ecode4
)) {
20970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20972 arg4
= static_cast< int >(val4
);
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20987 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20990 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20991 return SWIG_Py_Void();
20994 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20995 return SWIG_Python_InitShadowInstance(args
);
20998 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
= 0;
21000 wxWindow
*arg1
= (wxWindow
*) 0 ;
21002 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21003 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21004 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21005 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21006 long arg5
= (long) 0 ;
21007 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21008 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21009 wxChoicebook
*result
= 0 ;
21018 bool temp6
= false ;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 PyObject
* obj2
= 0 ;
21022 PyObject
* obj3
= 0 ;
21023 PyObject
* obj4
= 0 ;
21024 PyObject
* obj5
= 0 ;
21025 char * kwnames
[] = {
21026 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21031 if (!SWIG_IsOK(res1
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21034 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21036 if (!SWIG_IsOK(ecode2
)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21039 arg2
= static_cast< int >(val2
);
21043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21053 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21054 if (!SWIG_IsOK(ecode5
)) {
21055 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21057 arg5
= static_cast< long >(val5
);
21061 arg6
= wxString_in_helper(obj5
);
21062 if (arg6
== NULL
) SWIG_fail
;
21067 if (!wxPyCheckForApp()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21088 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 PyObject
*resultobj
= 0;
21090 wxChoicebook
*result
= 0 ;
21092 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21094 if (!wxPyCheckForApp()) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (wxChoicebook
*)new wxChoicebook();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21107 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
= 0;
21109 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21110 wxWindow
*arg2
= (wxWindow
*) 0 ;
21112 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21113 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21114 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21115 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21116 long arg6
= (long) 0 ;
21117 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21118 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21130 bool temp7
= false ;
21131 PyObject
* obj0
= 0 ;
21132 PyObject
* obj1
= 0 ;
21133 PyObject
* obj2
= 0 ;
21134 PyObject
* obj3
= 0 ;
21135 PyObject
* obj4
= 0 ;
21136 PyObject
* obj5
= 0 ;
21137 PyObject
* obj6
= 0 ;
21138 char * kwnames
[] = {
21139 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21144 if (!SWIG_IsOK(res1
)) {
21145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21147 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21149 if (!SWIG_IsOK(res2
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21152 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21154 if (!SWIG_IsOK(ecode3
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21157 arg3
= static_cast< int >(val3
);
21161 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21167 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21171 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21172 if (!SWIG_IsOK(ecode6
)) {
21173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21175 arg6
= static_cast< long >(val6
);
21179 arg7
= wxString_in_helper(obj6
);
21180 if (arg7
== NULL
) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21207 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21208 PyObject
*resultobj
= 0;
21209 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21210 wxChoice
*result
= 0 ;
21213 PyObject
*swig_obj
[1] ;
21215 if (!args
) SWIG_fail
;
21216 swig_obj
[0] = args
;
21217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21221 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21235 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21237 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21238 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21239 return SWIG_Py_Void();
21242 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21243 return SWIG_Python_InitShadowInstance(args
);
21246 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
= 0;
21248 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21249 int arg2
= (int) 0 ;
21250 int arg3
= (int) -1 ;
21251 int arg4
= (int) -1 ;
21252 wxChoicebookEvent
*result
= 0 ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 PyObject
* obj2
= 0 ;
21264 PyObject
* obj3
= 0 ;
21265 char * kwnames
[] = {
21266 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21272 if (!SWIG_IsOK(ecode1
)) {
21273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21275 arg1
= static_cast< wxEventType
>(val1
);
21278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21279 if (!SWIG_IsOK(ecode2
)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21282 arg2
= static_cast< int >(val2
);
21285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21286 if (!SWIG_IsOK(ecode3
)) {
21287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21289 arg3
= static_cast< int >(val3
);
21292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21293 if (!SWIG_IsOK(ecode4
)) {
21294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21296 arg4
= static_cast< int >(val4
);
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21311 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21314 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21315 return SWIG_Py_Void();
21318 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21319 return SWIG_Python_InitShadowInstance(args
);
21322 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
= 0;
21324 wxWindow
*arg1
= (wxWindow
*) 0 ;
21326 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21327 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21328 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21329 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21330 long arg5
= (long) wxBK_DEFAULT
;
21331 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21332 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21333 wxTreebook
*result
= 0 ;
21342 bool temp6
= false ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 PyObject
* obj2
= 0 ;
21346 PyObject
* obj3
= 0 ;
21347 PyObject
* obj4
= 0 ;
21348 PyObject
* obj5
= 0 ;
21349 char * kwnames
[] = {
21350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21355 if (!SWIG_IsOK(res1
)) {
21356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21360 if (!SWIG_IsOK(ecode2
)) {
21361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21363 arg2
= static_cast< int >(val2
);
21367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21373 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21377 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21378 if (!SWIG_IsOK(ecode5
)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21381 arg5
= static_cast< long >(val5
);
21385 arg6
= wxString_in_helper(obj5
);
21386 if (arg6
== NULL
) SWIG_fail
;
21391 if (!wxPyCheckForApp()) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21412 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21413 PyObject
*resultobj
= 0;
21414 wxTreebook
*result
= 0 ;
21416 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21418 if (!wxPyCheckForApp()) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (wxTreebook
*)new wxTreebook();
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21431 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
= 0;
21433 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21434 wxWindow
*arg2
= (wxWindow
*) 0 ;
21436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21440 long arg6
= (long) wxBK_DEFAULT
;
21441 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21442 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21454 bool temp7
= false ;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 PyObject
* obj2
= 0 ;
21458 PyObject
* obj3
= 0 ;
21459 PyObject
* obj4
= 0 ;
21460 PyObject
* obj5
= 0 ;
21461 PyObject
* obj6
= 0 ;
21462 char * kwnames
[] = {
21463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21468 if (!SWIG_IsOK(res1
)) {
21469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21471 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21473 if (!SWIG_IsOK(res2
)) {
21474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21478 if (!SWIG_IsOK(ecode3
)) {
21479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21481 arg3
= static_cast< int >(val3
);
21485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21495 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21496 if (!SWIG_IsOK(ecode6
)) {
21497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21499 arg6
= static_cast< long >(val6
);
21503 arg7
= wxString_in_helper(obj6
);
21504 if (arg7
== NULL
) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21531 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
= 0;
21533 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21535 wxWindow
*arg3
= (wxWindow
*) 0 ;
21536 wxString
*arg4
= 0 ;
21537 bool arg5
= (bool) false ;
21538 int arg6
= (int) wxNOT_FOUND
;
21546 bool temp4
= false ;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 PyObject
* obj2
= 0 ;
21554 PyObject
* obj3
= 0 ;
21555 PyObject
* obj4
= 0 ;
21556 PyObject
* obj5
= 0 ;
21557 char * kwnames
[] = {
21558 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21563 if (!SWIG_IsOK(res1
)) {
21564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21566 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21567 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21568 if (!SWIG_IsOK(ecode2
)) {
21569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21571 arg2
= static_cast< size_t >(val2
);
21572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21573 if (!SWIG_IsOK(res3
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21576 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21578 arg4
= wxString_in_helper(obj3
);
21579 if (arg4
== NULL
) SWIG_fail
;
21583 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21584 if (!SWIG_IsOK(ecode5
)) {
21585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21587 arg5
= static_cast< bool >(val5
);
21590 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21591 if (!SWIG_IsOK(ecode6
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21594 arg6
= static_cast< int >(val6
);
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21619 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21622 wxWindow
*arg2
= (wxWindow
*) 0 ;
21623 wxString
*arg3
= 0 ;
21624 bool arg4
= (bool) false ;
21625 int arg5
= (int) wxNOT_FOUND
;
21631 bool temp3
= false ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 PyObject
* obj2
= 0 ;
21639 PyObject
* obj3
= 0 ;
21640 PyObject
* obj4
= 0 ;
21641 char * kwnames
[] = {
21642 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21647 if (!SWIG_IsOK(res1
)) {
21648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21650 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21652 if (!SWIG_IsOK(res2
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21657 arg3
= wxString_in_helper(obj2
);
21658 if (arg3
== NULL
) SWIG_fail
;
21662 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21663 if (!SWIG_IsOK(ecode4
)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21666 arg4
= static_cast< bool >(val4
);
21669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21670 if (!SWIG_IsOK(ecode5
)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21673 arg5
= static_cast< int >(val5
);
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21698 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
= 0;
21700 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char * kwnames
[] = {
21710 (char *) "self",(char *) "pos", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21718 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21719 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21720 if (!SWIG_IsOK(ecode2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21723 arg2
= static_cast< size_t >(val2
);
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21739 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= 0;
21741 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21743 bool arg3
= (bool) true ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 PyObject
* obj2
= 0 ;
21754 char * kwnames
[] = {
21755 (char *) "self",(char *) "pos",(char *) "expand", NULL
21758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21760 if (!SWIG_IsOK(res1
)) {
21761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21763 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21764 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21765 if (!SWIG_IsOK(ecode2
)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21768 arg2
= static_cast< size_t >(val2
);
21770 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21771 if (!SWIG_IsOK(ecode3
)) {
21772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21774 arg3
= static_cast< bool >(val3
);
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21791 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
= 0;
21793 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char * kwnames
[] = {
21803 (char *) "self",(char *) "pos", NULL
21806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21811 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21812 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21813 if (!SWIG_IsOK(ecode2
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21816 arg2
= static_cast< size_t >(val2
);
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= (bool)(arg1
)->CollapseNode(arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21832 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
= 0;
21834 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 char * kwnames
[] = {
21844 (char *) "self",(char *) "pos", NULL
21847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21852 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21853 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21854 if (!SWIG_IsOK(ecode2
)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21857 arg2
= static_cast< size_t >(val2
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_From_int(static_cast< int >(result
));
21871 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21872 PyObject
*resultobj
= 0;
21873 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21874 wxTreeCtrl
*result
= 0 ;
21877 PyObject
*swig_obj
[1] ;
21879 if (!args
) SWIG_fail
;
21880 swig_obj
[0] = args
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21885 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21899 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21902 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21903 return SWIG_Py_Void();
21906 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 return SWIG_Python_InitShadowInstance(args
);
21910 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
= 0;
21912 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21913 int arg2
= (int) 0 ;
21914 int arg3
= (int) wxNOT_FOUND
;
21915 int arg4
= (int) wxNOT_FOUND
;
21916 wxTreebookEvent
*result
= 0 ;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 PyObject
* obj2
= 0 ;
21928 PyObject
* obj3
= 0 ;
21929 char * kwnames
[] = {
21930 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21935 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21936 if (!SWIG_IsOK(ecode1
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21939 arg1
= static_cast< wxEventType
>(val1
);
21942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21943 if (!SWIG_IsOK(ecode2
)) {
21944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21946 arg2
= static_cast< int >(val2
);
21949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21950 if (!SWIG_IsOK(ecode3
)) {
21951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21953 arg3
= static_cast< int >(val3
);
21956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21957 if (!SWIG_IsOK(ecode4
)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21960 arg4
= static_cast< int >(val4
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21975 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21979 return SWIG_Py_Void();
21982 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21983 return SWIG_Python_InitShadowInstance(args
);
21986 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
= 0;
21988 wxWindow
*arg1
= (wxWindow
*) 0 ;
21990 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21991 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21992 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21993 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21994 long arg5
= (long) wxBK_DEFAULT
;
21995 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21996 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21997 wxToolbook
*result
= 0 ;
22006 bool temp6
= false ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 PyObject
* obj3
= 0 ;
22011 PyObject
* obj4
= 0 ;
22012 PyObject
* obj5
= 0 ;
22013 char * kwnames
[] = {
22014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22019 if (!SWIG_IsOK(res1
)) {
22020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22024 if (!SWIG_IsOK(ecode2
)) {
22025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22027 arg2
= static_cast< int >(val2
);
22031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22041 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22042 if (!SWIG_IsOK(ecode5
)) {
22043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22045 arg5
= static_cast< long >(val5
);
22049 arg6
= wxString_in_helper(obj5
);
22050 if (arg6
== NULL
) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22075 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22076 PyObject
*resultobj
= 0;
22077 wxToolbook
*result
= 0 ;
22079 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (wxToolbook
*)new wxToolbook();
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22093 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
= 0;
22095 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22096 wxWindow
*arg2
= (wxWindow
*) 0 ;
22098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22102 long arg6
= (long) 0 ;
22103 wxString
const &arg7_defvalue
= wxEmptyString
;
22104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22116 bool temp7
= false ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 PyObject
* obj3
= 0 ;
22121 PyObject
* obj4
= 0 ;
22122 PyObject
* obj5
= 0 ;
22123 PyObject
* obj6
= 0 ;
22124 char * kwnames
[] = {
22125 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22130 if (!SWIG_IsOK(res1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22133 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22134 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22135 if (!SWIG_IsOK(res2
)) {
22136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22138 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22140 if (!SWIG_IsOK(ecode3
)) {
22141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22143 arg3
= static_cast< int >(val3
);
22147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22157 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22158 if (!SWIG_IsOK(ecode6
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22161 arg6
= static_cast< long >(val6
);
22165 arg7
= wxString_in_helper(obj6
);
22166 if (arg7
== NULL
) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22193 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22194 PyObject
*resultobj
= 0;
22195 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22196 wxToolBarBase
*result
= 0 ;
22199 PyObject
*swig_obj
[1] ;
22201 if (!args
) SWIG_fail
;
22202 swig_obj
[0] = args
;
22203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22204 if (!SWIG_IsOK(res1
)) {
22205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22207 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22223 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22224 PyObject
*resultobj
= 0;
22225 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22228 PyObject
*swig_obj
[1] ;
22230 if (!args
) SWIG_fail
;
22231 swig_obj
[0] = args
;
22232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22236 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_Py_Void();
22250 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22253 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22254 return SWIG_Py_Void();
22257 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22258 return SWIG_Python_InitShadowInstance(args
);
22261 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
= 0;
22263 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22264 int arg2
= (int) 0 ;
22265 int arg3
= (int) wxNOT_FOUND
;
22266 int arg4
= (int) wxNOT_FOUND
;
22267 wxToolbookEvent
*result
= 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 PyObject
* obj3
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22286 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22287 if (!SWIG_IsOK(ecode1
)) {
22288 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22290 arg1
= static_cast< wxEventType
>(val1
);
22293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22294 if (!SWIG_IsOK(ecode2
)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22297 arg2
= static_cast< int >(val2
);
22300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22301 if (!SWIG_IsOK(ecode3
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22304 arg3
= static_cast< int >(val3
);
22307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22308 if (!SWIG_IsOK(ecode4
)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22311 arg4
= static_cast< int >(val4
);
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22326 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22329 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22330 return SWIG_Py_Void();
22333 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22334 return SWIG_Python_InitShadowInstance(args
);
22337 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22338 PyObject
*resultobj
= 0;
22339 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22343 PyObject
*swig_obj
[1] ;
22345 if (!args
) SWIG_fail
;
22346 swig_obj
[0] = args
;
22347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22351 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (int)(arg1
)->GetId();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_From_int(static_cast< int >(result
));
22365 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22366 PyObject
*resultobj
= 0;
22367 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22368 wxControl
*result
= 0 ;
22371 PyObject
*swig_obj
[1] ;
22373 if (!args
) SWIG_fail
;
22374 swig_obj
[0] = args
;
22375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22379 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (wxControl
*)(arg1
)->GetControl();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= wxPyMake_wxObject(result
, 0);
22395 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 PyObject
*resultobj
= 0;
22397 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22398 wxToolBarBase
*result
= 0 ;
22401 PyObject
*swig_obj
[1] ;
22403 if (!args
) SWIG_fail
;
22404 swig_obj
[0] = args
;
22405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22409 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22425 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 PyObject
*resultobj
= 0;
22427 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22431 PyObject
*swig_obj
[1] ;
22433 if (!args
) SWIG_fail
;
22434 swig_obj
[0] = args
;
22435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22436 if (!SWIG_IsOK(res1
)) {
22437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22439 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (int)(arg1
)->IsButton();
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= SWIG_From_int(static_cast< int >(result
));
22453 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 PyObject
*resultobj
= 0;
22455 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22459 PyObject
*swig_obj
[1] ;
22461 if (!args
) SWIG_fail
;
22462 swig_obj
[0] = args
;
22463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22464 if (!SWIG_IsOK(res1
)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22467 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (int)(arg1
)->IsControl();
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_From_int(static_cast< int >(result
));
22481 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 PyObject
*resultobj
= 0;
22483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22487 PyObject
*swig_obj
[1] ;
22489 if (!args
) SWIG_fail
;
22490 swig_obj
[0] = args
;
22491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22492 if (!SWIG_IsOK(res1
)) {
22493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22495 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (int)(arg1
)->IsSeparator();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_From_int(static_cast< int >(result
));
22509 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22510 PyObject
*resultobj
= 0;
22511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22515 PyObject
*swig_obj
[1] ;
22517 if (!args
) SWIG_fail
;
22518 swig_obj
[0] = args
;
22519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22523 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (int)(arg1
)->GetStyle();
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_From_int(static_cast< int >(result
));
22537 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22538 PyObject
*resultobj
= 0;
22539 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22543 PyObject
*swig_obj
[1] ;
22545 if (!args
) SWIG_fail
;
22546 swig_obj
[0] = args
;
22547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22548 if (!SWIG_IsOK(res1
)) {
22549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22551 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= (wxItemKind
)(arg1
)->GetKind();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_From_int(static_cast< int >(result
));
22565 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22566 PyObject
*resultobj
= 0;
22567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22571 PyObject
*swig_obj
[1] ;
22573 if (!args
) SWIG_fail
;
22574 swig_obj
[0] = args
;
22575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22576 if (!SWIG_IsOK(res1
)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22579 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= (bool)(arg1
)->IsEnabled();
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22595 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22596 PyObject
*resultobj
= 0;
22597 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22601 PyObject
*swig_obj
[1] ;
22603 if (!args
) SWIG_fail
;
22604 swig_obj
[0] = args
;
22605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22606 if (!SWIG_IsOK(res1
)) {
22607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22609 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (bool)(arg1
)->IsToggled();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22625 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22626 PyObject
*resultobj
= 0;
22627 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22631 PyObject
*swig_obj
[1] ;
22633 if (!args
) SWIG_fail
;
22634 swig_obj
[0] = args
;
22635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22639 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (bool)(arg1
)->CanBeToggled();
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22655 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22656 PyObject
*resultobj
= 0;
22657 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22658 wxBitmap
*result
= 0 ;
22661 PyObject
*swig_obj
[1] ;
22663 if (!args
) SWIG_fail
;
22664 swig_obj
[0] = args
;
22665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22666 if (!SWIG_IsOK(res1
)) {
22667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22669 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22674 result
= (wxBitmap
*) &_result_ref
;
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22680 wxBitmap
* resultptr
= new wxBitmap(*result
);
22681 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22689 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22690 PyObject
*resultobj
= 0;
22691 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22692 wxBitmap
*result
= 0 ;
22695 PyObject
*swig_obj
[1] ;
22697 if (!args
) SWIG_fail
;
22698 swig_obj
[0] = args
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22703 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22708 result
= (wxBitmap
*) &_result_ref
;
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 wxBitmap
* resultptr
= new wxBitmap(*result
);
22715 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22723 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22724 PyObject
*resultobj
= 0;
22725 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22729 PyObject
*swig_obj
[1] ;
22731 if (!args
) SWIG_fail
;
22732 swig_obj
[0] = args
;
22733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22737 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (arg1
)->GetBitmap();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22751 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22752 PyObject
*resultobj
= 0;
22753 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22757 PyObject
*swig_obj
[1] ;
22759 if (!args
) SWIG_fail
;
22760 swig_obj
[0] = args
;
22761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22762 if (!SWIG_IsOK(res1
)) {
22763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22765 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= (arg1
)->GetLabel();
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22785 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22786 PyObject
*resultobj
= 0;
22787 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22791 PyObject
*swig_obj
[1] ;
22793 if (!args
) SWIG_fail
;
22794 swig_obj
[0] = args
;
22795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22796 if (!SWIG_IsOK(res1
)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22799 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= (arg1
)->GetShortHelp();
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22819 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22820 PyObject
*resultobj
= 0;
22821 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22825 PyObject
*swig_obj
[1] ;
22827 if (!args
) SWIG_fail
;
22828 swig_obj
[0] = args
;
22829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22830 if (!SWIG_IsOK(res1
)) {
22831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22833 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (arg1
)->GetLongHelp();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22853 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
= 0;
22855 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 char * kwnames
[] = {
22865 (char *) "self",(char *) "enable", NULL
22868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22873 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22874 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22875 if (!SWIG_IsOK(ecode2
)) {
22876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22878 arg2
= static_cast< bool >(val2
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (bool)(arg1
)->Enable(arg2
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22894 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22895 PyObject
*resultobj
= 0;
22896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22899 PyObject
*swig_obj
[1] ;
22901 if (!args
) SWIG_fail
;
22902 swig_obj
[0] = args
;
22903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22904 if (!SWIG_IsOK(res1
)) {
22905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22907 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_Py_Void();
22921 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= 0;
22923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char * kwnames
[] = {
22933 (char *) "self",(char *) "toggle", NULL
22936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22938 if (!SWIG_IsOK(res1
)) {
22939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22941 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22942 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22943 if (!SWIG_IsOK(ecode2
)) {
22944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22946 arg2
= static_cast< bool >(val2
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (bool)(arg1
)->SetToggle(arg2
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22962 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
= 0;
22964 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22965 wxString
*arg2
= 0 ;
22969 bool temp2
= false ;
22970 PyObject
* obj0
= 0 ;
22971 PyObject
* obj1
= 0 ;
22972 char * kwnames
[] = {
22973 (char *) "self",(char *) "help", NULL
22976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22981 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22983 arg2
= wxString_in_helper(obj1
);
22984 if (arg2
== NULL
) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23010 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
= 0;
23012 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23013 wxString
*arg2
= 0 ;
23017 bool temp2
= false ;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 char * kwnames
[] = {
23021 (char *) "self",(char *) "help", NULL
23024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23026 if (!SWIG_IsOK(res1
)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23029 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23031 arg2
= wxString_in_helper(obj1
);
23032 if (arg2
== NULL
) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23058 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= 0;
23060 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23061 wxBitmap
*arg2
= 0 ;
23066 PyObject
* obj0
= 0 ;
23067 PyObject
* obj1
= 0 ;
23068 char * kwnames
[] = {
23069 (char *) "self",(char *) "bmp", NULL
23072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23074 if (!SWIG_IsOK(res1
)) {
23075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23077 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23079 if (!SWIG_IsOK(res2
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23085 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_Py_Void();
23099 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
= 0;
23101 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23102 wxBitmap
*arg2
= 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char * kwnames
[] = {
23110 (char *) "self",(char *) "bmp", NULL
23113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23118 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23120 if (!SWIG_IsOK(res2
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23126 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= SWIG_Py_Void();
23140 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
= 0;
23142 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23143 wxString
*arg2
= 0 ;
23146 bool temp2
= false ;
23147 PyObject
* obj0
= 0 ;
23148 PyObject
* obj1
= 0 ;
23149 char * kwnames
[] = {
23150 (char *) "self",(char *) "label", NULL
23153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23155 if (!SWIG_IsOK(res1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23158 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23160 arg2
= wxString_in_helper(obj1
);
23161 if (arg2
== NULL
) SWIG_fail
;
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 (arg1
)->SetLabel((wxString
const &)*arg2
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_Py_Void();
23185 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23186 PyObject
*resultobj
= 0;
23187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23190 PyObject
*swig_obj
[1] ;
23192 if (!args
) SWIG_fail
;
23193 swig_obj
[0] = args
;
23194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23195 if (!SWIG_IsOK(res1
)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23198 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_Py_Void();
23212 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
= 0;
23214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23215 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 char * kwnames
[] = {
23223 (char *) "self",(char *) "tbar", NULL
23226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23228 if (!SWIG_IsOK(res1
)) {
23229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23231 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23233 if (!SWIG_IsOK(res2
)) {
23234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23236 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 (arg1
)->Attach(arg2
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_Py_Void();
23250 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 PyObject
*resultobj
= 0;
23252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23253 PyObject
*result
= 0 ;
23256 PyObject
*swig_obj
[1] ;
23258 if (!args
) SWIG_fail
;
23259 swig_obj
[0] = args
;
23260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23261 if (!SWIG_IsOK(res1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23264 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= result
;
23278 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
= 0;
23280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23281 PyObject
*arg2
= (PyObject
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char * kwnames
[] = {
23287 (char *) "self",(char *) "clientData", NULL
23290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23292 if (!SWIG_IsOK(res1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23295 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= SWIG_Py_Void();
23310 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23313 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23314 return SWIG_Py_Void();
23317 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
= 0;
23319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23321 wxString
*arg3
= 0 ;
23322 wxBitmap
*arg4
= 0 ;
23323 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23324 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23325 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23326 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23328 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23329 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23330 PyObject
*arg9
= (PyObject
*) NULL
;
23331 wxToolBarToolBase
*result
= 0 ;
23336 bool temp3
= false ;
23343 bool temp7
= false ;
23344 bool temp8
= false ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 PyObject
* obj3
= 0 ;
23349 PyObject
* obj4
= 0 ;
23350 PyObject
* obj5
= 0 ;
23351 PyObject
* obj6
= 0 ;
23352 PyObject
* obj7
= 0 ;
23353 PyObject
* obj8
= 0 ;
23354 char * kwnames
[] = {
23355 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23360 if (!SWIG_IsOK(res1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23363 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23365 if (!SWIG_IsOK(ecode2
)) {
23366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23368 arg2
= static_cast< int >(val2
);
23370 arg3
= wxString_in_helper(obj2
);
23371 if (arg3
== NULL
) SWIG_fail
;
23374 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23375 if (!SWIG_IsOK(res4
)) {
23376 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23381 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23383 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23384 if (!SWIG_IsOK(res5
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23390 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23393 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23394 if (!SWIG_IsOK(ecode6
)) {
23395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23397 arg6
= static_cast< wxItemKind
>(val6
);
23401 arg7
= wxString_in_helper(obj6
);
23402 if (arg7
== NULL
) SWIG_fail
;
23408 arg8
= wxString_in_helper(obj7
);
23409 if (arg8
== NULL
) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23455 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
= 0;
23457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23460 wxString
*arg4
= 0 ;
23461 wxBitmap
*arg5
= 0 ;
23462 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23463 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23464 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23465 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23467 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23468 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23469 PyObject
*arg10
= (PyObject
*) NULL
;
23470 wxToolBarToolBase
*result
= 0 ;
23477 bool temp4
= false ;
23484 bool temp8
= false ;
23485 bool temp9
= false ;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 PyObject
* obj2
= 0 ;
23489 PyObject
* obj3
= 0 ;
23490 PyObject
* obj4
= 0 ;
23491 PyObject
* obj5
= 0 ;
23492 PyObject
* obj6
= 0 ;
23493 PyObject
* obj7
= 0 ;
23494 PyObject
* obj8
= 0 ;
23495 PyObject
* obj9
= 0 ;
23496 char * kwnames
[] = {
23497 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23502 if (!SWIG_IsOK(res1
)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23505 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23506 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23507 if (!SWIG_IsOK(ecode2
)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23510 arg2
= static_cast< size_t >(val2
);
23511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23512 if (!SWIG_IsOK(ecode3
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23515 arg3
= static_cast< int >(val3
);
23517 arg4
= wxString_in_helper(obj3
);
23518 if (arg4
== NULL
) SWIG_fail
;
23521 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23522 if (!SWIG_IsOK(res5
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23528 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23530 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23531 if (!SWIG_IsOK(res6
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23537 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23540 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23541 if (!SWIG_IsOK(ecode7
)) {
23542 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23544 arg7
= static_cast< wxItemKind
>(val7
);
23548 arg8
= wxString_in_helper(obj7
);
23549 if (arg8
== NULL
) SWIG_fail
;
23555 arg9
= wxString_in_helper(obj8
);
23556 if (arg9
== NULL
) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23602 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= 0;
23604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23605 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23606 wxToolBarToolBase
*result
= 0 ;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 char * kwnames
[] = {
23614 (char *) "self",(char *) "tool", NULL
23617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23619 if (!SWIG_IsOK(res1
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23622 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23624 if (!SWIG_IsOK(res2
)) {
23625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23627 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23643 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
= 0;
23645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23647 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23648 wxToolBarToolBase
*result
= 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 PyObject
* obj2
= 0 ;
23658 char * kwnames
[] = {
23659 (char *) "self",(char *) "pos",(char *) "tool", NULL
23662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23664 if (!SWIG_IsOK(res1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23668 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23669 if (!SWIG_IsOK(ecode2
)) {
23670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23672 arg2
= static_cast< size_t >(val2
);
23673 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23674 if (!SWIG_IsOK(res3
)) {
23675 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23677 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23693 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
= 0;
23695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23696 wxControl
*arg2
= (wxControl
*) 0 ;
23697 wxToolBarToolBase
*result
= 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char * kwnames
[] = {
23705 (char *) "self",(char *) "control", NULL
23708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23710 if (!SWIG_IsOK(res1
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23713 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23715 if (!SWIG_IsOK(res2
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23718 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23734 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
= 0;
23736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23738 wxControl
*arg3
= (wxControl
*) 0 ;
23739 wxToolBarToolBase
*result
= 0 ;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 PyObject
* obj2
= 0 ;
23749 char * kwnames
[] = {
23750 (char *) "self",(char *) "pos",(char *) "control", NULL
23753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23755 if (!SWIG_IsOK(res1
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23758 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23759 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23760 if (!SWIG_IsOK(ecode2
)) {
23761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23763 arg2
= static_cast< size_t >(val2
);
23764 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23765 if (!SWIG_IsOK(res3
)) {
23766 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23768 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23784 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= 0;
23786 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23788 wxControl
*result
= 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char * kwnames
[] = {
23796 (char *) "self",(char *) "id", NULL
23799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23801 if (!SWIG_IsOK(res1
)) {
23802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23804 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23806 if (!SWIG_IsOK(ecode2
)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23809 arg2
= static_cast< int >(val2
);
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= wxPyMake_wxObject(result
, 0);
23825 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23826 PyObject
*resultobj
= 0;
23827 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23828 wxToolBarToolBase
*result
= 0 ;
23831 PyObject
*swig_obj
[1] ;
23833 if (!args
) SWIG_fail
;
23834 swig_obj
[0] = args
;
23835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23839 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23855 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
= 0;
23857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23859 wxToolBarToolBase
*result
= 0 ;
23864 PyObject
* obj0
= 0 ;
23865 PyObject
* obj1
= 0 ;
23866 char * kwnames
[] = {
23867 (char *) "self",(char *) "pos", NULL
23870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23872 if (!SWIG_IsOK(res1
)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23875 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23876 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23877 if (!SWIG_IsOK(ecode2
)) {
23878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23880 arg2
= static_cast< size_t >(val2
);
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23896 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
= 0;
23898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23900 wxToolBarToolBase
*result
= 0 ;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char * kwnames
[] = {
23908 (char *) "self",(char *) "id", NULL
23911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23916 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23918 if (!SWIG_IsOK(ecode2
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23921 arg2
= static_cast< int >(val2
);
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23937 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
= 0;
23939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 char * kwnames
[] = {
23949 (char *) "self",(char *) "pos", NULL
23952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23954 if (!SWIG_IsOK(res1
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23957 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23958 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23959 if (!SWIG_IsOK(ecode2
)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23962 arg2
= static_cast< size_t >(val2
);
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23978 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
= 0;
23980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "id", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23998 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24000 if (!SWIG_IsOK(ecode2
)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24003 arg2
= static_cast< int >(val2
);
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (bool)(arg1
)->DeleteTool(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24019 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24020 PyObject
*resultobj
= 0;
24021 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24024 PyObject
*swig_obj
[1] ;
24026 if (!args
) SWIG_fail
;
24027 swig_obj
[0] = args
;
24028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24029 if (!SWIG_IsOK(res1
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24032 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 (arg1
)->ClearTools();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_Py_Void();
24046 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24047 PyObject
*resultobj
= 0;
24048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24052 PyObject
*swig_obj
[1] ;
24054 if (!args
) SWIG_fail
;
24055 swig_obj
[0] = args
;
24056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24060 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (bool)(arg1
)->Realize();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24076 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
= 0;
24078 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24089 PyObject
* obj2
= 0 ;
24090 char * kwnames
[] = {
24091 (char *) "self",(char *) "id",(char *) "enable", NULL
24094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24096 if (!SWIG_IsOK(res1
)) {
24097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24099 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24101 if (!SWIG_IsOK(ecode2
)) {
24102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24104 arg2
= static_cast< int >(val2
);
24105 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24106 if (!SWIG_IsOK(ecode3
)) {
24107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24109 arg3
= static_cast< bool >(val3
);
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 (arg1
)->EnableTool(arg2
,arg3
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_Py_Void();
24123 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= 0;
24125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 PyObject
* obj2
= 0 ;
24137 char * kwnames
[] = {
24138 (char *) "self",(char *) "id",(char *) "toggle", NULL
24141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24146 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24148 if (!SWIG_IsOK(ecode2
)) {
24149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24151 arg2
= static_cast< int >(val2
);
24152 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24153 if (!SWIG_IsOK(ecode3
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24156 arg3
= static_cast< bool >(val3
);
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->ToggleTool(arg2
,arg3
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_Py_Void();
24170 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 PyObject
* obj2
= 0 ;
24184 char * kwnames
[] = {
24185 (char *) "self",(char *) "id",(char *) "toggle", NULL
24188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24190 if (!SWIG_IsOK(res1
)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24193 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24195 if (!SWIG_IsOK(ecode2
)) {
24196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24198 arg2
= static_cast< int >(val2
);
24199 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24200 if (!SWIG_IsOK(ecode3
)) {
24201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24203 arg3
= static_cast< bool >(val3
);
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 (arg1
)->SetToggle(arg2
,arg3
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= SWIG_Py_Void();
24217 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
= 0;
24219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24221 PyObject
*result
= 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 char * kwnames
[] = {
24229 (char *) "self",(char *) "id", NULL
24232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24237 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24239 if (!SWIG_IsOK(ecode2
)) {
24240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24242 arg2
= static_cast< int >(val2
);
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= result
;
24256 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
= 0;
24258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24260 PyObject
*arg3
= (PyObject
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24267 PyObject
* obj2
= 0 ;
24268 char * kwnames
[] = {
24269 (char *) "self",(char *) "id",(char *) "clientData", NULL
24272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24274 if (!SWIG_IsOK(res1
)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24277 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24279 if (!SWIG_IsOK(ecode2
)) {
24280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24282 arg2
= static_cast< int >(val2
);
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_Py_Void();
24297 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 char * kwnames
[] = {
24309 (char *) "self",(char *) "id", NULL
24312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24314 if (!SWIG_IsOK(res1
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24317 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24319 if (!SWIG_IsOK(ecode2
)) {
24320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24322 arg2
= static_cast< int >(val2
);
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_From_int(static_cast< int >(result
));
24336 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
= 0;
24338 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24345 PyObject
* obj0
= 0 ;
24346 PyObject
* obj1
= 0 ;
24347 char * kwnames
[] = {
24348 (char *) "self",(char *) "id", NULL
24351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24353 if (!SWIG_IsOK(res1
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24356 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24358 if (!SWIG_IsOK(ecode2
)) {
24359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24361 arg2
= static_cast< int >(val2
);
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= (bool)(arg1
)->GetToolState(arg2
);
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24377 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char * kwnames
[] = {
24389 (char *) "self",(char *) "id", NULL
24392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24394 if (!SWIG_IsOK(res1
)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24397 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24399 if (!SWIG_IsOK(ecode2
)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24402 arg2
= static_cast< int >(val2
);
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24418 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
= 0;
24420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24422 wxString
*arg3
= 0 ;
24427 bool temp3
= false ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 PyObject
* obj2
= 0 ;
24431 char * kwnames
[] = {
24432 (char *) "self",(char *) "id",(char *) "helpString", NULL
24435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24437 if (!SWIG_IsOK(res1
)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24440 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24442 if (!SWIG_IsOK(ecode2
)) {
24443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24445 arg2
= static_cast< int >(val2
);
24447 arg3
= wxString_in_helper(obj2
);
24448 if (arg3
== NULL
) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_Py_Void();
24472 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
= 0;
24474 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 char * kwnames
[] = {
24484 (char *) "self",(char *) "id", NULL
24487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24492 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24494 if (!SWIG_IsOK(ecode2
)) {
24495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24497 arg2
= static_cast< int >(val2
);
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= (arg1
)->GetToolShortHelp(arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24517 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
= 0;
24519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24521 wxString
*arg3
= 0 ;
24526 bool temp3
= false ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 PyObject
* obj2
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "self",(char *) "id",(char *) "helpString", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24539 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24541 if (!SWIG_IsOK(ecode2
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24544 arg2
= static_cast< int >(val2
);
24546 arg3
= wxString_in_helper(obj2
);
24547 if (arg3
== NULL
) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_Py_Void();
24571 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
= 0;
24573 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char * kwnames
[] = {
24583 (char *) "self",(char *) "id", NULL
24586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24591 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24593 if (!SWIG_IsOK(ecode2
)) {
24594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24596 arg2
= static_cast< int >(val2
);
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= (arg1
)->GetToolLongHelp(arg2
);
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24616 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
= 0;
24618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 PyObject
* obj1
= 0 ;
24629 PyObject
* obj2
= 0 ;
24630 char * kwnames
[] = {
24631 (char *) "self",(char *) "x",(char *) "y", NULL
24634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24636 if (!SWIG_IsOK(res1
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24641 if (!SWIG_IsOK(ecode2
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24644 arg2
= static_cast< int >(val2
);
24645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24646 if (!SWIG_IsOK(ecode3
)) {
24647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24649 arg3
= static_cast< int >(val3
);
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 (arg1
)->SetMargins(arg2
,arg3
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= SWIG_Py_Void();
24663 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
= 0;
24665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char * kwnames
[] = {
24673 (char *) "self",(char *) "size", NULL
24676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24678 if (!SWIG_IsOK(res1
)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24681 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24684 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_Py_Void();
24699 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char * kwnames
[] = {
24710 (char *) "self",(char *) "packing", NULL
24713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24718 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24720 if (!SWIG_IsOK(ecode2
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24723 arg2
= static_cast< int >(val2
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->SetToolPacking(arg2
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_Py_Void();
24737 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= 0;
24739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "self",(char *) "separation", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24756 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24758 if (!SWIG_IsOK(ecode2
)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24761 arg2
= static_cast< int >(val2
);
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->SetToolSeparation(arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_Py_Void();
24775 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24776 PyObject
*resultobj
= 0;
24777 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24781 PyObject
*swig_obj
[1] ;
24783 if (!args
) SWIG_fail
;
24784 swig_obj
[0] = args
;
24785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24786 if (!SWIG_IsOK(res1
)) {
24787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24789 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 result
= (arg1
)->GetToolMargins();
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24803 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24804 PyObject
*resultobj
= 0;
24805 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24809 PyObject
*swig_obj
[1] ;
24811 if (!args
) SWIG_fail
;
24812 swig_obj
[0] = args
;
24813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24814 if (!SWIG_IsOK(res1
)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24817 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (arg1
)->GetMargins();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24831 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24832 PyObject
*resultobj
= 0;
24833 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24837 PyObject
*swig_obj
[1] ;
24839 if (!args
) SWIG_fail
;
24840 swig_obj
[0] = args
;
24841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24842 if (!SWIG_IsOK(res1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24845 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (int)(arg1
)->GetToolPacking();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_From_int(static_cast< int >(result
));
24859 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24860 PyObject
*resultobj
= 0;
24861 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24865 PyObject
*swig_obj
[1] ;
24867 if (!args
) SWIG_fail
;
24868 swig_obj
[0] = args
;
24869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24873 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (int)(arg1
)->GetToolSeparation();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_From_int(static_cast< int >(result
));
24887 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
= 0;
24889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char * kwnames
[] = {
24898 (char *) "self",(char *) "nRows", NULL
24901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24906 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24908 if (!SWIG_IsOK(ecode2
)) {
24909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24911 arg2
= static_cast< int >(val2
);
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->SetRows(arg2
);
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= SWIG_Py_Void();
24925 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
= 0;
24927 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 PyObject
* obj2
= 0 ;
24939 char * kwnames
[] = {
24940 (char *) "self",(char *) "rows",(char *) "cols", NULL
24943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24945 if (!SWIG_IsOK(res1
)) {
24946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24948 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24950 if (!SWIG_IsOK(ecode2
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24953 arg2
= static_cast< int >(val2
);
24954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24955 if (!SWIG_IsOK(ecode3
)) {
24956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24958 arg3
= static_cast< int >(val3
);
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= SWIG_Py_Void();
24972 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24973 PyObject
*resultobj
= 0;
24974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24978 PyObject
*swig_obj
[1] ;
24980 if (!args
) SWIG_fail
;
24981 swig_obj
[0] = args
;
24982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24983 if (!SWIG_IsOK(res1
)) {
24984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24986 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (int)(arg1
)->GetMaxRows();
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_From_int(static_cast< int >(result
));
25000 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25001 PyObject
*resultobj
= 0;
25002 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25006 PyObject
*swig_obj
[1] ;
25008 if (!args
) SWIG_fail
;
25009 swig_obj
[0] = args
;
25010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25011 if (!SWIG_IsOK(res1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25014 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (int)(arg1
)->GetMaxCols();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_From_int(static_cast< int >(result
));
25028 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
= 0;
25030 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 char * kwnames
[] = {
25038 (char *) "self",(char *) "size", NULL
25041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25043 if (!SWIG_IsOK(res1
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25046 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25049 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_Py_Void();
25064 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25070 PyObject
*swig_obj
[1] ;
25072 if (!args
) SWIG_fail
;
25073 swig_obj
[0] = args
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25078 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (arg1
)->GetToolBitmapSize();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25092 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25093 PyObject
*resultobj
= 0;
25094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25098 PyObject
*swig_obj
[1] ;
25100 if (!args
) SWIG_fail
;
25101 swig_obj
[0] = args
;
25102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25103 if (!SWIG_IsOK(res1
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25106 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (arg1
)->GetToolSize();
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25120 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
= 0;
25122 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25125 wxToolBarToolBase
*result
= 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 PyObject
* obj2
= 0 ;
25135 char * kwnames
[] = {
25136 (char *) "self",(char *) "x",(char *) "y", NULL
25139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25141 if (!SWIG_IsOK(res1
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25144 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25146 if (!SWIG_IsOK(ecode2
)) {
25147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25149 arg2
= static_cast< int >(val2
);
25150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25151 if (!SWIG_IsOK(ecode3
)) {
25152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25154 arg3
= static_cast< int >(val3
);
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25170 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
= 0;
25172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25174 wxToolBarToolBase
*result
= 0 ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 char * kwnames
[] = {
25182 (char *) "self",(char *) "toolid", NULL
25185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25187 if (!SWIG_IsOK(res1
)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25192 if (!SWIG_IsOK(ecode2
)) {
25193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25195 arg2
= static_cast< int >(val2
);
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25211 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25212 PyObject
*resultobj
= 0;
25213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25217 PyObject
*swig_obj
[1] ;
25219 if (!args
) SWIG_fail
;
25220 swig_obj
[0] = args
;
25221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25225 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (bool)(arg1
)->IsVertical();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25241 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25242 PyObject
*resultobj
= 0;
25243 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25247 PyObject
*swig_obj
[1] ;
25249 if (!args
) SWIG_fail
;
25250 swig_obj
[0] = args
;
25251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25252 if (!SWIG_IsOK(res1
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25255 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25269 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25272 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25273 return SWIG_Py_Void();
25276 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
= 0;
25278 wxWindow
*arg1
= (wxWindow
*) 0 ;
25279 int arg2
= (int) -1 ;
25280 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25281 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25282 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25283 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25284 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25285 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25286 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25287 wxToolBar
*result
= 0 ;
25296 bool temp6
= false ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 PyObject
* obj2
= 0 ;
25300 PyObject
* obj3
= 0 ;
25301 PyObject
* obj4
= 0 ;
25302 PyObject
* obj5
= 0 ;
25303 char * kwnames
[] = {
25304 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25315 if (!SWIG_IsOK(ecode2
)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25318 arg2
= static_cast< int >(val2
);
25323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25329 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25333 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25334 if (!SWIG_IsOK(ecode5
)) {
25335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25337 arg5
= static_cast< long >(val5
);
25341 arg6
= wxString_in_helper(obj5
);
25342 if (arg6
== NULL
) SWIG_fail
;
25347 if (!wxPyCheckForApp()) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25368 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25369 PyObject
*resultobj
= 0;
25370 wxToolBar
*result
= 0 ;
25372 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25374 if (!wxPyCheckForApp()) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (wxToolBar
*)new wxToolBar();
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25387 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
= 0;
25389 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25390 wxWindow
*arg2
= (wxWindow
*) 0 ;
25391 int arg3
= (int) -1 ;
25392 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25393 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25394 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25395 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25396 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25397 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25398 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25410 bool temp7
= false ;
25411 PyObject
* obj0
= 0 ;
25412 PyObject
* obj1
= 0 ;
25413 PyObject
* obj2
= 0 ;
25414 PyObject
* obj3
= 0 ;
25415 PyObject
* obj4
= 0 ;
25416 PyObject
* obj5
= 0 ;
25417 PyObject
* obj6
= 0 ;
25418 char * kwnames
[] = {
25419 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25427 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25429 if (!SWIG_IsOK(res2
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25432 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25435 if (!SWIG_IsOK(ecode3
)) {
25436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25438 arg3
= static_cast< int >(val3
);
25443 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25449 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25453 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25454 if (!SWIG_IsOK(ecode6
)) {
25455 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25457 arg6
= static_cast< long >(val6
);
25461 arg7
= wxString_in_helper(obj6
);
25462 if (arg7
== NULL
) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25489 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
= 0;
25491 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25492 SwigValueWrapper
<wxVisualAttributes
> result
;
25495 PyObject
* obj0
= 0 ;
25496 char * kwnames
[] = {
25497 (char *) "variant", NULL
25500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25503 if (!SWIG_IsOK(ecode1
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25506 arg1
= static_cast< wxWindowVariant
>(val1
);
25509 if (!wxPyCheckForApp()) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25522 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25525 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25526 return SWIG_Py_Void();
25529 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25530 return SWIG_Python_InitShadowInstance(args
);
25533 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25534 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25539 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25540 PyObject
*pyobj
= 0;
25544 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25546 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25553 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
= 0;
25555 wxColour
const &arg1_defvalue
= wxNullColour
;
25556 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25557 wxColour
const &arg2_defvalue
= wxNullColour
;
25558 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25559 wxFont
const &arg3_defvalue
= wxNullFont
;
25560 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25561 wxListItemAttr
*result
= 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 PyObject
* obj2
= 0 ;
25569 char * kwnames
[] = {
25570 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25577 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25583 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25587 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25588 if (!SWIG_IsOK(res3
)) {
25589 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25594 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25609 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25614 PyObject
*swig_obj
[1] ;
25616 if (!args
) SWIG_fail
;
25617 swig_obj
[0] = args
;
25618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25619 if (!SWIG_IsOK(res1
)) {
25620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25622 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_Py_Void();
25637 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
= 0;
25639 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25640 wxColour
*arg2
= 0 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char * kwnames
[] = {
25647 (char *) "self",(char *) "colText", NULL
25650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25655 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_Py_Void();
25673 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
= 0;
25675 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25676 wxColour
*arg2
= 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char * kwnames
[] = {
25683 (char *) "self",(char *) "colBack", NULL
25686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25691 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_Py_Void();
25709 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
= 0;
25711 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 char * kwnames
[] = {
25720 (char *) "self",(char *) "font", NULL
25723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25728 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25730 if (!SWIG_IsOK(res2
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25736 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 (arg1
)->SetFont((wxFont
const &)*arg2
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_Py_Void();
25750 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25756 PyObject
*swig_obj
[1] ;
25758 if (!args
) SWIG_fail
;
25759 swig_obj
[0] = args
;
25760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25764 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= (bool)(arg1
)->HasTextColour();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25780 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25781 PyObject
*resultobj
= 0;
25782 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25786 PyObject
*swig_obj
[1] ;
25788 if (!args
) SWIG_fail
;
25789 swig_obj
[0] = args
;
25790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25791 if (!SWIG_IsOK(res1
)) {
25792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25794 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 result
= (bool)(arg1
)->HasBackgroundColour();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25810 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25811 PyObject
*resultobj
= 0;
25812 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25816 PyObject
*swig_obj
[1] ;
25818 if (!args
) SWIG_fail
;
25819 swig_obj
[0] = args
;
25820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25821 if (!SWIG_IsOK(res1
)) {
25822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25824 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= (bool)(arg1
)->HasFont();
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25840 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25841 PyObject
*resultobj
= 0;
25842 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25846 PyObject
*swig_obj
[1] ;
25848 if (!args
) SWIG_fail
;
25849 swig_obj
[0] = args
;
25850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25851 if (!SWIG_IsOK(res1
)) {
25852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25854 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 result
= (arg1
)->GetTextColour();
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25868 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25869 PyObject
*resultobj
= 0;
25870 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25874 PyObject
*swig_obj
[1] ;
25876 if (!args
) SWIG_fail
;
25877 swig_obj
[0] = args
;
25878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25879 if (!SWIG_IsOK(res1
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25882 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (arg1
)->GetBackgroundColour();
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25896 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25897 PyObject
*resultobj
= 0;
25898 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25902 PyObject
*swig_obj
[1] ;
25904 if (!args
) SWIG_fail
;
25905 swig_obj
[0] = args
;
25906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25907 if (!SWIG_IsOK(res1
)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25910 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (arg1
)->GetFont();
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25924 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
= 0;
25926 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25927 wxListItemAttr
*arg2
= 0 ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 char * kwnames
[] = {
25935 (char *) "self",(char *) "source", NULL
25938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25940 if (!SWIG_IsOK(res1
)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25943 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25945 if (!SWIG_IsOK(res2
)) {
25946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25951 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_Py_Void();
25965 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25970 PyObject
*swig_obj
[1] ;
25972 if (!args
) SWIG_fail
;
25973 swig_obj
[0] = args
;
25974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25978 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 wxListItemAttr_Destroy(arg1
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_Py_Void();
25992 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25995 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25996 return SWIG_Py_Void();
25999 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26000 return SWIG_Python_InitShadowInstance(args
);
26003 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26004 PyObject
*resultobj
= 0;
26005 wxListItem
*result
= 0 ;
26007 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (wxListItem
*)new wxListItem();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26023 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26024 PyObject
*resultobj
= 0;
26025 wxListItem
*arg1
= (wxListItem
*) 0 ;
26028 PyObject
*swig_obj
[1] ;
26030 if (!args
) SWIG_fail
;
26031 swig_obj
[0] = args
;
26032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26033 if (!SWIG_IsOK(res1
)) {
26034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_Py_Void();
26051 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26052 PyObject
*resultobj
= 0;
26053 wxListItem
*arg1
= (wxListItem
*) 0 ;
26056 PyObject
*swig_obj
[1] ;
26058 if (!args
) SWIG_fail
;
26059 swig_obj
[0] = args
;
26060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26061 if (!SWIG_IsOK(res1
)) {
26062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26064 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= SWIG_Py_Void();
26078 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26079 PyObject
*resultobj
= 0;
26080 wxListItem
*arg1
= (wxListItem
*) 0 ;
26083 PyObject
*swig_obj
[1] ;
26085 if (!args
) SWIG_fail
;
26086 swig_obj
[0] = args
;
26087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26091 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 (arg1
)->ClearAttributes();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_Py_Void();
26105 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
= 0;
26107 wxListItem
*arg1
= (wxListItem
*) 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char * kwnames
[] = {
26116 (char *) "self",(char *) "mask", NULL
26119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26121 if (!SWIG_IsOK(res1
)) {
26122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26124 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26125 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26126 if (!SWIG_IsOK(ecode2
)) {
26127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26129 arg2
= static_cast< long >(val2
);
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 (arg1
)->SetMask(arg2
);
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_Py_Void();
26143 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
= 0;
26145 wxListItem
*arg1
= (wxListItem
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char * kwnames
[] = {
26154 (char *) "self",(char *) "id", NULL
26157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26162 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26163 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26164 if (!SWIG_IsOK(ecode2
)) {
26165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26167 arg2
= static_cast< long >(val2
);
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 (arg1
)->SetId(arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_Py_Void();
26181 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
= 0;
26183 wxListItem
*arg1
= (wxListItem
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char * kwnames
[] = {
26192 (char *) "self",(char *) "col", NULL
26195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26197 if (!SWIG_IsOK(res1
)) {
26198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26200 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26202 if (!SWIG_IsOK(ecode2
)) {
26203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26205 arg2
= static_cast< int >(val2
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->SetColumn(arg2
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26219 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
= 0;
26221 wxListItem
*arg1
= (wxListItem
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char * kwnames
[] = {
26230 (char *) "self",(char *) "state", NULL
26233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26238 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26239 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26240 if (!SWIG_IsOK(ecode2
)) {
26241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26243 arg2
= static_cast< long >(val2
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 (arg1
)->SetState(arg2
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_Py_Void();
26257 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
= 0;
26259 wxListItem
*arg1
= (wxListItem
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char * kwnames
[] = {
26268 (char *) "self",(char *) "stateMask", NULL
26271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26276 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26277 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26278 if (!SWIG_IsOK(ecode2
)) {
26279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26281 arg2
= static_cast< long >(val2
);
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 (arg1
)->SetStateMask(arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= SWIG_Py_Void();
26295 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
= 0;
26297 wxListItem
*arg1
= (wxListItem
*) 0 ;
26298 wxString
*arg2
= 0 ;
26301 bool temp2
= false ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char * kwnames
[] = {
26305 (char *) "self",(char *) "text", NULL
26308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26310 if (!SWIG_IsOK(res1
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26313 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26315 arg2
= wxString_in_helper(obj1
);
26316 if (arg2
== NULL
) SWIG_fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 (arg1
)->SetText((wxString
const &)*arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_Py_Void();
26340 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
= 0;
26342 wxListItem
*arg1
= (wxListItem
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char * kwnames
[] = {
26351 (char *) "self",(char *) "image", NULL
26354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26359 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26361 if (!SWIG_IsOK(ecode2
)) {
26362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26364 arg2
= static_cast< int >(val2
);
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 (arg1
)->SetImage(arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_Py_Void();
26378 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
= 0;
26380 wxListItem
*arg1
= (wxListItem
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char * kwnames
[] = {
26389 (char *) "self",(char *) "data", NULL
26392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26397 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26398 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26399 if (!SWIG_IsOK(ecode2
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26402 arg2
= static_cast< long >(val2
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetData(arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxListItem
*arg1
= (wxListItem
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "width", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26435 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26437 if (!SWIG_IsOK(ecode2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26440 arg2
= static_cast< int >(val2
);
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->SetWidth(arg2
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= SWIG_Py_Void();
26454 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
= 0;
26456 wxListItem
*arg1
= (wxListItem
*) 0 ;
26457 wxListColumnFormat arg2
;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char * kwnames
[] = {
26465 (char *) "self",(char *) "align", NULL
26468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26475 if (!SWIG_IsOK(ecode2
)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26478 arg2
= static_cast< wxListColumnFormat
>(val2
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->SetAlign(arg2
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_Py_Void();
26492 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
= 0;
26494 wxListItem
*arg1
= (wxListItem
*) 0 ;
26495 wxColour
*arg2
= 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 char * kwnames
[] = {
26502 (char *) "self",(char *) "colText", NULL
26505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26507 if (!SWIG_IsOK(res1
)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26510 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_Py_Void();
26528 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
= 0;
26530 wxListItem
*arg1
= (wxListItem
*) 0 ;
26531 wxColour
*arg2
= 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 char * kwnames
[] = {
26538 (char *) "self",(char *) "colBack", NULL
26541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26546 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_Py_Void();
26564 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
= 0;
26566 wxListItem
*arg1
= (wxListItem
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char * kwnames
[] = {
26575 (char *) "self",(char *) "font", NULL
26578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26583 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26585 if (!SWIG_IsOK(res2
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26591 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 (arg1
)->SetFont((wxFont
const &)*arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= SWIG_Py_Void();
26605 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26606 PyObject
*resultobj
= 0;
26607 wxListItem
*arg1
= (wxListItem
*) 0 ;
26611 PyObject
*swig_obj
[1] ;
26613 if (!args
) SWIG_fail
;
26614 swig_obj
[0] = args
;
26615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26616 if (!SWIG_IsOK(res1
)) {
26617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26619 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (long)(arg1
)->GetMask();
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_From_long(static_cast< long >(result
));
26633 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26634 PyObject
*resultobj
= 0;
26635 wxListItem
*arg1
= (wxListItem
*) 0 ;
26639 PyObject
*swig_obj
[1] ;
26641 if (!args
) SWIG_fail
;
26642 swig_obj
[0] = args
;
26643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26644 if (!SWIG_IsOK(res1
)) {
26645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26647 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (long)(arg1
)->GetId();
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_From_long(static_cast< long >(result
));
26661 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26662 PyObject
*resultobj
= 0;
26663 wxListItem
*arg1
= (wxListItem
*) 0 ;
26667 PyObject
*swig_obj
[1] ;
26669 if (!args
) SWIG_fail
;
26670 swig_obj
[0] = args
;
26671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26672 if (!SWIG_IsOK(res1
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26675 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 result
= (int)(arg1
)->GetColumn();
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= SWIG_From_int(static_cast< int >(result
));
26689 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26690 PyObject
*resultobj
= 0;
26691 wxListItem
*arg1
= (wxListItem
*) 0 ;
26695 PyObject
*swig_obj
[1] ;
26697 if (!args
) SWIG_fail
;
26698 swig_obj
[0] = args
;
26699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26700 if (!SWIG_IsOK(res1
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26703 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 result
= (long)(arg1
)->GetState();
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 resultobj
= SWIG_From_long(static_cast< long >(result
));
26717 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26718 PyObject
*resultobj
= 0;
26719 wxListItem
*arg1
= (wxListItem
*) 0 ;
26720 wxString
*result
= 0 ;
26723 PyObject
*swig_obj
[1] ;
26725 if (!args
) SWIG_fail
;
26726 swig_obj
[0] = args
;
26727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26731 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 wxString
const &_result_ref
= (arg1
)->GetText();
26736 result
= (wxString
*) &_result_ref
;
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26745 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26754 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26755 PyObject
*resultobj
= 0;
26756 wxListItem
*arg1
= (wxListItem
*) 0 ;
26760 PyObject
*swig_obj
[1] ;
26762 if (!args
) SWIG_fail
;
26763 swig_obj
[0] = args
;
26764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26768 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (int)(arg1
)->GetImage();
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_From_int(static_cast< int >(result
));
26782 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26783 PyObject
*resultobj
= 0;
26784 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 PyObject
*swig_obj
[1] ;
26790 if (!args
) SWIG_fail
;
26791 swig_obj
[0] = args
;
26792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26793 if (!SWIG_IsOK(res1
)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26796 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= (long)(arg1
)->GetData();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_From_long(static_cast< long >(result
));
26810 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26811 PyObject
*resultobj
= 0;
26812 wxListItem
*arg1
= (wxListItem
*) 0 ;
26816 PyObject
*swig_obj
[1] ;
26818 if (!args
) SWIG_fail
;
26819 swig_obj
[0] = args
;
26820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26821 if (!SWIG_IsOK(res1
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26824 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 result
= (int)(arg1
)->GetWidth();
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_From_int(static_cast< int >(result
));
26838 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26839 PyObject
*resultobj
= 0;
26840 wxListItem
*arg1
= (wxListItem
*) 0 ;
26841 wxListColumnFormat result
;
26844 PyObject
*swig_obj
[1] ;
26846 if (!args
) SWIG_fail
;
26847 swig_obj
[0] = args
;
26848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26852 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_From_int(static_cast< int >(result
));
26866 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26867 PyObject
*resultobj
= 0;
26868 wxListItem
*arg1
= (wxListItem
*) 0 ;
26869 wxListItemAttr
*result
= 0 ;
26872 PyObject
*swig_obj
[1] ;
26874 if (!args
) SWIG_fail
;
26875 swig_obj
[0] = args
;
26876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26877 if (!SWIG_IsOK(res1
)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26880 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26894 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26895 PyObject
*resultobj
= 0;
26896 wxListItem
*arg1
= (wxListItem
*) 0 ;
26900 PyObject
*swig_obj
[1] ;
26902 if (!args
) SWIG_fail
;
26903 swig_obj
[0] = args
;
26904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26908 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (bool)(arg1
)->HasAttributes();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26924 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26925 PyObject
*resultobj
= 0;
26926 wxListItem
*arg1
= (wxListItem
*) 0 ;
26930 PyObject
*swig_obj
[1] ;
26932 if (!args
) SWIG_fail
;
26933 swig_obj
[0] = args
;
26934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26935 if (!SWIG_IsOK(res1
)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26938 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26952 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26953 PyObject
*resultobj
= 0;
26954 wxListItem
*arg1
= (wxListItem
*) 0 ;
26958 PyObject
*swig_obj
[1] ;
26960 if (!args
) SWIG_fail
;
26961 swig_obj
[0] = args
;
26962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26963 if (!SWIG_IsOK(res1
)) {
26964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26966 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26973 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26980 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26981 PyObject
*resultobj
= 0;
26982 wxListItem
*arg1
= (wxListItem
*) 0 ;
26986 PyObject
*swig_obj
[1] ;
26988 if (!args
) SWIG_fail
;
26989 swig_obj
[0] = args
;
26990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26994 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= ((wxListItem
const *)arg1
)->GetFont();
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27008 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27009 PyObject
*resultobj
= 0;
27010 wxListItem
*arg1
= (wxListItem
*) 0 ;
27016 PyObject
*swig_obj
[2] ;
27018 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27023 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27024 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27025 if (!SWIG_IsOK(ecode2
)) {
27026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27028 arg2
= static_cast< long >(val2
);
27029 if (arg1
) (arg1
)->m_mask
= arg2
;
27031 resultobj
= SWIG_Py_Void();
27038 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27039 PyObject
*resultobj
= 0;
27040 wxListItem
*arg1
= (wxListItem
*) 0 ;
27044 PyObject
*swig_obj
[1] ;
27046 if (!args
) SWIG_fail
;
27047 swig_obj
[0] = args
;
27048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27052 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27053 result
= (long) ((arg1
)->m_mask
);
27054 resultobj
= SWIG_From_long(static_cast< long >(result
));
27061 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27062 PyObject
*resultobj
= 0;
27063 wxListItem
*arg1
= (wxListItem
*) 0 ;
27069 PyObject
*swig_obj
[2] ;
27071 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27073 if (!SWIG_IsOK(res1
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27076 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27077 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27078 if (!SWIG_IsOK(ecode2
)) {
27079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27081 arg2
= static_cast< long >(val2
);
27082 if (arg1
) (arg1
)->m_itemId
= arg2
;
27084 resultobj
= SWIG_Py_Void();
27091 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27092 PyObject
*resultobj
= 0;
27093 wxListItem
*arg1
= (wxListItem
*) 0 ;
27097 PyObject
*swig_obj
[1] ;
27099 if (!args
) SWIG_fail
;
27100 swig_obj
[0] = args
;
27101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27105 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27106 result
= (long) ((arg1
)->m_itemId
);
27107 resultobj
= SWIG_From_long(static_cast< long >(result
));
27114 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27115 PyObject
*resultobj
= 0;
27116 wxListItem
*arg1
= (wxListItem
*) 0 ;
27122 PyObject
*swig_obj
[2] ;
27124 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27126 if (!SWIG_IsOK(res1
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27129 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27130 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27131 if (!SWIG_IsOK(ecode2
)) {
27132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27134 arg2
= static_cast< int >(val2
);
27135 if (arg1
) (arg1
)->m_col
= arg2
;
27137 resultobj
= SWIG_Py_Void();
27144 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27145 PyObject
*resultobj
= 0;
27146 wxListItem
*arg1
= (wxListItem
*) 0 ;
27150 PyObject
*swig_obj
[1] ;
27152 if (!args
) SWIG_fail
;
27153 swig_obj
[0] = args
;
27154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27158 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27159 result
= (int) ((arg1
)->m_col
);
27160 resultobj
= SWIG_From_int(static_cast< int >(result
));
27167 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27168 PyObject
*resultobj
= 0;
27169 wxListItem
*arg1
= (wxListItem
*) 0 ;
27175 PyObject
*swig_obj
[2] ;
27177 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27182 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27183 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27184 if (!SWIG_IsOK(ecode2
)) {
27185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27187 arg2
= static_cast< long >(val2
);
27188 if (arg1
) (arg1
)->m_state
= arg2
;
27190 resultobj
= SWIG_Py_Void();
27197 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27198 PyObject
*resultobj
= 0;
27199 wxListItem
*arg1
= (wxListItem
*) 0 ;
27203 PyObject
*swig_obj
[1] ;
27205 if (!args
) SWIG_fail
;
27206 swig_obj
[0] = args
;
27207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27211 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27212 result
= (long) ((arg1
)->m_state
);
27213 resultobj
= SWIG_From_long(static_cast< long >(result
));
27220 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27221 PyObject
*resultobj
= 0;
27222 wxListItem
*arg1
= (wxListItem
*) 0 ;
27228 PyObject
*swig_obj
[2] ;
27230 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27232 if (!SWIG_IsOK(res1
)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27235 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27236 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27237 if (!SWIG_IsOK(ecode2
)) {
27238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27240 arg2
= static_cast< long >(val2
);
27241 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27243 resultobj
= SWIG_Py_Void();
27250 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27251 PyObject
*resultobj
= 0;
27252 wxListItem
*arg1
= (wxListItem
*) 0 ;
27256 PyObject
*swig_obj
[1] ;
27258 if (!args
) SWIG_fail
;
27259 swig_obj
[0] = args
;
27260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27261 if (!SWIG_IsOK(res1
)) {
27262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27264 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27265 result
= (long) ((arg1
)->m_stateMask
);
27266 resultobj
= SWIG_From_long(static_cast< long >(result
));
27273 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27274 PyObject
*resultobj
= 0;
27275 wxListItem
*arg1
= (wxListItem
*) 0 ;
27276 wxString
*arg2
= (wxString
*) 0 ;
27279 bool temp2
= false ;
27280 PyObject
*swig_obj
[2] ;
27282 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27284 if (!SWIG_IsOK(res1
)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27287 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27289 arg2
= wxString_in_helper(swig_obj
[1]);
27290 if (arg2
== NULL
) SWIG_fail
;
27293 if (arg1
) (arg1
)->m_text
= *arg2
;
27295 resultobj
= SWIG_Py_Void();
27310 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27311 PyObject
*resultobj
= 0;
27312 wxListItem
*arg1
= (wxListItem
*) 0 ;
27313 wxString
*result
= 0 ;
27316 PyObject
*swig_obj
[1] ;
27318 if (!args
) SWIG_fail
;
27319 swig_obj
[0] = args
;
27320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27321 if (!SWIG_IsOK(res1
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27324 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27325 result
= (wxString
*)& ((arg1
)->m_text
);
27328 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27330 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27339 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27340 PyObject
*resultobj
= 0;
27341 wxListItem
*arg1
= (wxListItem
*) 0 ;
27347 PyObject
*swig_obj
[2] ;
27349 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27351 if (!SWIG_IsOK(res1
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27354 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27355 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27356 if (!SWIG_IsOK(ecode2
)) {
27357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27359 arg2
= static_cast< int >(val2
);
27360 if (arg1
) (arg1
)->m_image
= arg2
;
27362 resultobj
= SWIG_Py_Void();
27369 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27370 PyObject
*resultobj
= 0;
27371 wxListItem
*arg1
= (wxListItem
*) 0 ;
27375 PyObject
*swig_obj
[1] ;
27377 if (!args
) SWIG_fail
;
27378 swig_obj
[0] = args
;
27379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27380 if (!SWIG_IsOK(res1
)) {
27381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27383 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27384 result
= (int) ((arg1
)->m_image
);
27385 resultobj
= SWIG_From_int(static_cast< int >(result
));
27392 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27393 PyObject
*resultobj
= 0;
27394 wxListItem
*arg1
= (wxListItem
*) 0 ;
27400 PyObject
*swig_obj
[2] ;
27402 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27407 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27408 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27409 if (!SWIG_IsOK(ecode2
)) {
27410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27412 arg2
= static_cast< long >(val2
);
27413 if (arg1
) (arg1
)->m_data
= arg2
;
27415 resultobj
= SWIG_Py_Void();
27422 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27423 PyObject
*resultobj
= 0;
27424 wxListItem
*arg1
= (wxListItem
*) 0 ;
27428 PyObject
*swig_obj
[1] ;
27430 if (!args
) SWIG_fail
;
27431 swig_obj
[0] = args
;
27432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27433 if (!SWIG_IsOK(res1
)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27436 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27437 result
= (long) ((arg1
)->m_data
);
27438 resultobj
= SWIG_From_long(static_cast< long >(result
));
27445 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 PyObject
*resultobj
= 0;
27447 wxListItem
*arg1
= (wxListItem
*) 0 ;
27453 PyObject
*swig_obj
[2] ;
27455 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27457 if (!SWIG_IsOK(res1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27460 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27461 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27462 if (!SWIG_IsOK(ecode2
)) {
27463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27465 arg2
= static_cast< int >(val2
);
27466 if (arg1
) (arg1
)->m_format
= arg2
;
27468 resultobj
= SWIG_Py_Void();
27475 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27476 PyObject
*resultobj
= 0;
27477 wxListItem
*arg1
= (wxListItem
*) 0 ;
27481 PyObject
*swig_obj
[1] ;
27483 if (!args
) SWIG_fail
;
27484 swig_obj
[0] = args
;
27485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27486 if (!SWIG_IsOK(res1
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27489 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27490 result
= (int) ((arg1
)->m_format
);
27491 resultobj
= SWIG_From_int(static_cast< int >(result
));
27498 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxListItem
*arg1
= (wxListItem
*) 0 ;
27506 PyObject
*swig_obj
[2] ;
27508 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27510 if (!SWIG_IsOK(res1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27513 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27514 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27515 if (!SWIG_IsOK(ecode2
)) {
27516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27518 arg2
= static_cast< int >(val2
);
27519 if (arg1
) (arg1
)->m_width
= arg2
;
27521 resultobj
= SWIG_Py_Void();
27528 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 PyObject
*resultobj
= 0;
27530 wxListItem
*arg1
= (wxListItem
*) 0 ;
27534 PyObject
*swig_obj
[1] ;
27536 if (!args
) SWIG_fail
;
27537 swig_obj
[0] = args
;
27538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27539 if (!SWIG_IsOK(res1
)) {
27540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27542 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27543 result
= (int) ((arg1
)->m_width
);
27544 resultobj
= SWIG_From_int(static_cast< int >(result
));
27551 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27554 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27555 return SWIG_Py_Void();
27558 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27559 return SWIG_Python_InitShadowInstance(args
);
27562 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27563 PyObject
*resultobj
= 0;
27564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27565 int arg2
= (int) 0 ;
27566 wxListEvent
*result
= 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27573 char * kwnames
[] = {
27574 (char *) "commandType",(char *) "id", NULL
27577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27579 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27580 if (!SWIG_IsOK(ecode1
)) {
27581 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27583 arg1
= static_cast< wxEventType
>(val1
);
27586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27587 if (!SWIG_IsOK(ecode2
)) {
27588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27590 arg2
= static_cast< int >(val2
);
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27605 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27606 PyObject
*resultobj
= 0;
27607 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27613 PyObject
*swig_obj
[2] ;
27615 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27620 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27621 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27622 if (!SWIG_IsOK(ecode2
)) {
27623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27625 arg2
= static_cast< int >(val2
);
27626 if (arg1
) (arg1
)->m_code
= arg2
;
27628 resultobj
= SWIG_Py_Void();
27635 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27636 PyObject
*resultobj
= 0;
27637 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27641 PyObject
*swig_obj
[1] ;
27643 if (!args
) SWIG_fail
;
27644 swig_obj
[0] = args
;
27645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27646 if (!SWIG_IsOK(res1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27649 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27650 result
= (int) ((arg1
)->m_code
);
27651 resultobj
= SWIG_From_int(static_cast< int >(result
));
27658 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27659 PyObject
*resultobj
= 0;
27660 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27666 PyObject
*swig_obj
[2] ;
27668 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27670 if (!SWIG_IsOK(res1
)) {
27671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27673 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27674 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27675 if (!SWIG_IsOK(ecode2
)) {
27676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27678 arg2
= static_cast< long >(val2
);
27679 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27681 resultobj
= SWIG_Py_Void();
27688 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27689 PyObject
*resultobj
= 0;
27690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27694 PyObject
*swig_obj
[1] ;
27696 if (!args
) SWIG_fail
;
27697 swig_obj
[0] = args
;
27698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27702 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27703 result
= (long) ((arg1
)->m_oldItemIndex
);
27704 resultobj
= SWIG_From_long(static_cast< long >(result
));
27711 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27712 PyObject
*resultobj
= 0;
27713 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27719 PyObject
*swig_obj
[2] ;
27721 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27726 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27727 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27728 if (!SWIG_IsOK(ecode2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27731 arg2
= static_cast< long >(val2
);
27732 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27734 resultobj
= SWIG_Py_Void();
27741 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27742 PyObject
*resultobj
= 0;
27743 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27747 PyObject
*swig_obj
[1] ;
27749 if (!args
) SWIG_fail
;
27750 swig_obj
[0] = args
;
27751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27755 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27756 result
= (long) ((arg1
)->m_itemIndex
);
27757 resultobj
= SWIG_From_long(static_cast< long >(result
));
27764 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27765 PyObject
*resultobj
= 0;
27766 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27772 PyObject
*swig_obj
[2] ;
27774 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27779 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27780 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27781 if (!SWIG_IsOK(ecode2
)) {
27782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27784 arg2
= static_cast< int >(val2
);
27785 if (arg1
) (arg1
)->m_col
= arg2
;
27787 resultobj
= SWIG_Py_Void();
27794 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27795 PyObject
*resultobj
= 0;
27796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27800 PyObject
*swig_obj
[1] ;
27802 if (!args
) SWIG_fail
;
27803 swig_obj
[0] = args
;
27804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27805 if (!SWIG_IsOK(res1
)) {
27806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27808 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27809 result
= (int) ((arg1
)->m_col
);
27810 resultobj
= SWIG_From_int(static_cast< int >(result
));
27817 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27818 PyObject
*resultobj
= 0;
27819 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27820 wxPoint
*arg2
= (wxPoint
*) 0 ;
27825 PyObject
*swig_obj
[2] ;
27827 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27832 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27833 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27834 if (!SWIG_IsOK(res2
)) {
27835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27837 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27838 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27840 resultobj
= SWIG_Py_Void();
27847 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27848 PyObject
*resultobj
= 0;
27849 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27850 wxPoint
*result
= 0 ;
27853 PyObject
*swig_obj
[1] ;
27855 if (!args
) SWIG_fail
;
27856 swig_obj
[0] = args
;
27857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27861 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27862 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27870 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27871 PyObject
*resultobj
= 0;
27872 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27873 wxListItem
*result
= 0 ;
27876 PyObject
*swig_obj
[1] ;
27878 if (!args
) SWIG_fail
;
27879 swig_obj
[0] = args
;
27880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27881 if (!SWIG_IsOK(res1
)) {
27882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27884 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27885 result
= (wxListItem
*)& ((arg1
)->m_item
);
27887 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27895 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27896 PyObject
*resultobj
= 0;
27897 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27901 PyObject
*swig_obj
[1] ;
27903 if (!args
) SWIG_fail
;
27904 swig_obj
[0] = args
;
27905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27906 if (!SWIG_IsOK(res1
)) {
27907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27909 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 result
= (int)(arg1
)->GetKeyCode();
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= SWIG_From_int(static_cast< int >(result
));
27923 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27924 PyObject
*resultobj
= 0;
27925 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27929 PyObject
*swig_obj
[1] ;
27931 if (!args
) SWIG_fail
;
27932 swig_obj
[0] = args
;
27933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27937 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 result
= (long)(arg1
)->GetIndex();
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_From_long(static_cast< long >(result
));
27951 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27952 PyObject
*resultobj
= 0;
27953 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27957 PyObject
*swig_obj
[1] ;
27959 if (!args
) SWIG_fail
;
27960 swig_obj
[0] = args
;
27961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27962 if (!SWIG_IsOK(res1
)) {
27963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27965 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (int)(arg1
)->GetColumn();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_From_int(static_cast< int >(result
));
27979 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27980 PyObject
*resultobj
= 0;
27981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27985 PyObject
*swig_obj
[1] ;
27987 if (!args
) SWIG_fail
;
27988 swig_obj
[0] = args
;
27989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27993 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= (arg1
)->GetPoint();
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28007 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28008 PyObject
*resultobj
= 0;
28009 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28010 wxString
*result
= 0 ;
28013 PyObject
*swig_obj
[1] ;
28015 if (!args
) SWIG_fail
;
28016 swig_obj
[0] = args
;
28017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28018 if (!SWIG_IsOK(res1
)) {
28019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28021 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 wxString
const &_result_ref
= (arg1
)->GetLabel();
28026 result
= (wxString
*) &_result_ref
;
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28035 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28044 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28045 PyObject
*resultobj
= 0;
28046 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28047 wxString
*result
= 0 ;
28050 PyObject
*swig_obj
[1] ;
28052 if (!args
) SWIG_fail
;
28053 swig_obj
[0] = args
;
28054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28055 if (!SWIG_IsOK(res1
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28058 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 wxString
const &_result_ref
= (arg1
)->GetText();
28063 result
= (wxString
*) &_result_ref
;
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28081 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28082 PyObject
*resultobj
= 0;
28083 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28087 PyObject
*swig_obj
[1] ;
28089 if (!args
) SWIG_fail
;
28090 swig_obj
[0] = args
;
28091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28095 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 result
= (int)(arg1
)->GetImage();
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28102 resultobj
= SWIG_From_int(static_cast< int >(result
));
28109 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28110 PyObject
*resultobj
= 0;
28111 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28115 PyObject
*swig_obj
[1] ;
28117 if (!args
) SWIG_fail
;
28118 swig_obj
[0] = args
;
28119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28123 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= (long)(arg1
)->GetData();
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= SWIG_From_long(static_cast< long >(result
));
28137 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28138 PyObject
*resultobj
= 0;
28139 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28143 PyObject
*swig_obj
[1] ;
28145 if (!args
) SWIG_fail
;
28146 swig_obj
[0] = args
;
28147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28148 if (!SWIG_IsOK(res1
)) {
28149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28151 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (long)(arg1
)->GetMask();
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= SWIG_From_long(static_cast< long >(result
));
28165 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28166 PyObject
*resultobj
= 0;
28167 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28168 wxListItem
*result
= 0 ;
28171 PyObject
*swig_obj
[1] ;
28173 if (!args
) SWIG_fail
;
28174 swig_obj
[0] = args
;
28175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28176 if (!SWIG_IsOK(res1
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28179 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28184 result
= (wxListItem
*) &_result_ref
;
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28196 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28197 PyObject
*resultobj
= 0;
28198 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28202 PyObject
*swig_obj
[1] ;
28204 if (!args
) SWIG_fail
;
28205 swig_obj
[0] = args
;
28206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28210 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 result
= (long)(arg1
)->GetCacheFrom();
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= SWIG_From_long(static_cast< long >(result
));
28224 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28225 PyObject
*resultobj
= 0;
28226 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28230 PyObject
*swig_obj
[1] ;
28232 if (!args
) SWIG_fail
;
28233 swig_obj
[0] = args
;
28234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28238 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28241 result
= (long)(arg1
)->GetCacheTo();
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28245 resultobj
= SWIG_From_long(static_cast< long >(result
));
28252 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28253 PyObject
*resultobj
= 0;
28254 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28258 PyObject
*swig_obj
[1] ;
28260 if (!args
) SWIG_fail
;
28261 swig_obj
[0] = args
;
28262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28263 if (!SWIG_IsOK(res1
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28266 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28282 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
= 0;
28284 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 char * kwnames
[] = {
28293 (char *) "self",(char *) "editCancelled", NULL
28296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28298 if (!SWIG_IsOK(res1
)) {
28299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28301 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28303 if (!SWIG_IsOK(ecode2
)) {
28304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28306 arg2
= static_cast< bool >(val2
);
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 (arg1
)->SetEditCanceled(arg2
);
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= SWIG_Py_Void();
28320 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28323 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28324 return SWIG_Py_Void();
28327 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28328 return SWIG_Python_InitShadowInstance(args
);
28331 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
= 0;
28333 wxWindow
*arg1
= (wxWindow
*) 0 ;
28334 int arg2
= (int) -1 ;
28335 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28336 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28337 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28338 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28339 long arg5
= (long) wxLC_ICON
;
28340 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28341 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28342 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28343 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28344 wxPyListCtrl
*result
= 0 ;
28355 bool temp7
= false ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 PyObject
* obj2
= 0 ;
28359 PyObject
* obj3
= 0 ;
28360 PyObject
* obj4
= 0 ;
28361 PyObject
* obj5
= 0 ;
28362 PyObject
* obj6
= 0 ;
28363 char * kwnames
[] = {
28364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28369 if (!SWIG_IsOK(res1
)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28375 if (!SWIG_IsOK(ecode2
)) {
28376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28378 arg2
= static_cast< int >(val2
);
28383 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28389 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28393 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28394 if (!SWIG_IsOK(ecode5
)) {
28395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28397 arg5
= static_cast< long >(val5
);
28400 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28401 if (!SWIG_IsOK(res6
)) {
28402 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28407 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28411 arg7
= wxString_in_helper(obj6
);
28412 if (arg7
== NULL
) SWIG_fail
;
28417 if (!wxPyCheckForApp()) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28438 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28439 PyObject
*resultobj
= 0;
28440 wxPyListCtrl
*result
= 0 ;
28442 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28444 if (!wxPyCheckForApp()) SWIG_fail
;
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28457 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
= 0;
28459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28460 wxWindow
*arg2
= (wxWindow
*) 0 ;
28461 int arg3
= (int) -1 ;
28462 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28463 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28464 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28465 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28466 long arg6
= (long) wxLC_ICON
;
28467 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28468 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28469 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28484 bool temp8
= false ;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 PyObject
* obj2
= 0 ;
28488 PyObject
* obj3
= 0 ;
28489 PyObject
* obj4
= 0 ;
28490 PyObject
* obj5
= 0 ;
28491 PyObject
* obj6
= 0 ;
28492 PyObject
* obj7
= 0 ;
28493 char * kwnames
[] = {
28494 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28499 if (!SWIG_IsOK(res1
)) {
28500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28502 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28504 if (!SWIG_IsOK(res2
)) {
28505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28507 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28510 if (!SWIG_IsOK(ecode3
)) {
28511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28513 arg3
= static_cast< int >(val3
);
28518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28529 if (!SWIG_IsOK(ecode6
)) {
28530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28532 arg6
= static_cast< long >(val6
);
28535 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28536 if (!SWIG_IsOK(res7
)) {
28537 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28542 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28546 arg8
= wxString_in_helper(obj7
);
28547 if (arg8
== NULL
) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28574 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
= 0;
28576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28577 PyObject
*arg2
= (PyObject
*) 0 ;
28578 PyObject
*arg3
= (PyObject
*) 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 PyObject
* obj2
= 0 ;
28584 char * kwnames
[] = {
28585 (char *) "self",(char *) "self",(char *) "_class", NULL
28588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28593 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_Py_Void();
28609 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28613 wxListItem
*result
= 0 ;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 char * kwnames
[] = {
28621 (char *) "self",(char *) "col", NULL
28624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28629 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28631 if (!SWIG_IsOK(ecode2
)) {
28632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28634 arg2
= static_cast< int >(val2
);
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28650 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
= 0;
28652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28654 wxListItem
*arg3
= 0 ;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj1
= 0 ;
28664 PyObject
* obj2
= 0 ;
28665 char * kwnames
[] = {
28666 (char *) "self",(char *) "col",(char *) "item", NULL
28669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28676 if (!SWIG_IsOK(ecode2
)) {
28677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28679 arg2
= static_cast< int >(val2
);
28680 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28681 if (!SWIG_IsOK(res3
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28687 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28703 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
= 0;
28705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 char * kwnames
[] = {
28715 (char *) "self",(char *) "col", NULL
28718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28720 if (!SWIG_IsOK(res1
)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28723 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28725 if (!SWIG_IsOK(ecode2
)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28728 arg2
= static_cast< int >(val2
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_From_int(static_cast< int >(result
));
28742 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
= 0;
28744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 PyObject
* obj2
= 0 ;
28757 char * kwnames
[] = {
28758 (char *) "self",(char *) "col",(char *) "width", NULL
28761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28763 if (!SWIG_IsOK(res1
)) {
28764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28766 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28768 if (!SWIG_IsOK(ecode2
)) {
28769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28771 arg2
= static_cast< int >(val2
);
28772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28773 if (!SWIG_IsOK(ecode3
)) {
28774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28776 arg3
= static_cast< int >(val3
);
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28792 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28793 PyObject
*resultobj
= 0;
28794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28798 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28806 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_From_int(static_cast< int >(result
));
28820 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28821 PyObject
*resultobj
= 0;
28822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28826 PyObject
*swig_obj
[1] ;
28828 if (!args
) SWIG_fail
;
28829 swig_obj
[0] = args
;
28830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28834 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28848 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28849 PyObject
*resultobj
= 0;
28850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28851 wxTextCtrl
*result
= 0 ;
28854 PyObject
*swig_obj
[1] ;
28856 if (!args
) SWIG_fail
;
28857 swig_obj
[0] = args
;
28858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28862 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= wxPyMake_wxObject(result
, 0);
28878 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
= 0;
28880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28882 int arg3
= (int) 0 ;
28883 wxListItem
*result
= 0 ;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 PyObject
* obj2
= 0 ;
28893 char * kwnames
[] = {
28894 (char *) "self",(char *) "itemId",(char *) "col", NULL
28897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28899 if (!SWIG_IsOK(res1
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28902 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28904 if (!SWIG_IsOK(ecode2
)) {
28905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28907 arg2
= static_cast< long >(val2
);
28909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28910 if (!SWIG_IsOK(ecode3
)) {
28911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28913 arg3
= static_cast< int >(val3
);
28916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28930 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
= 0;
28932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28933 wxListItem
*arg2
= 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "self",(char *) "info", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28950 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28952 if (!SWIG_IsOK(res2
)) {
28953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28958 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (bool)(arg1
)->SetItem(*arg2
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28974 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28975 PyObject
*resultobj
= 0;
28976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28979 wxString
*arg4
= 0 ;
28980 int arg5
= (int) -1 ;
28988 bool temp4
= false ;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 PyObject
* obj2
= 0 ;
28994 PyObject
* obj3
= 0 ;
28995 PyObject
* obj4
= 0 ;
28996 char * kwnames
[] = {
28997 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29002 if (!SWIG_IsOK(res1
)) {
29003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29005 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29006 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29007 if (!SWIG_IsOK(ecode2
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29010 arg2
= static_cast< long >(val2
);
29011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29012 if (!SWIG_IsOK(ecode3
)) {
29013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29015 arg3
= static_cast< int >(val3
);
29017 arg4
= wxString_in_helper(obj3
);
29018 if (arg4
== NULL
) SWIG_fail
;
29022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29023 if (!SWIG_IsOK(ecode5
)) {
29024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29026 arg5
= static_cast< int >(val5
);
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_From_long(static_cast< long >(result
));
29049 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
= 0;
29051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 PyObject
* obj2
= 0 ;
29064 char * kwnames
[] = {
29065 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29070 if (!SWIG_IsOK(res1
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29075 if (!SWIG_IsOK(ecode2
)) {
29076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29078 arg2
= static_cast< long >(val2
);
29079 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29080 if (!SWIG_IsOK(ecode3
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29083 arg3
= static_cast< long >(val3
);
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29087 wxPyEndAllowThreads(__tstate
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 resultobj
= SWIG_From_int(static_cast< int >(result
));
29097 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
= 0;
29099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 PyObject
* obj3
= 0 ;
29116 char * kwnames
[] = {
29117 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29122 if (!SWIG_IsOK(res1
)) {
29123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29125 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29126 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29127 if (!SWIG_IsOK(ecode2
)) {
29128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29130 arg2
= static_cast< long >(val2
);
29131 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29132 if (!SWIG_IsOK(ecode3
)) {
29133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29135 arg3
= static_cast< long >(val3
);
29136 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29137 if (!SWIG_IsOK(ecode4
)) {
29138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29140 arg4
= static_cast< long >(val4
);
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29156 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
= 0;
29158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29161 int arg4
= (int) -1 ;
29171 PyObject
* obj0
= 0 ;
29172 PyObject
* obj1
= 0 ;
29173 PyObject
* obj2
= 0 ;
29174 PyObject
* obj3
= 0 ;
29175 char * kwnames
[] = {
29176 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29181 if (!SWIG_IsOK(res1
)) {
29182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29184 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29185 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29186 if (!SWIG_IsOK(ecode2
)) {
29187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29189 arg2
= static_cast< long >(val2
);
29190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29191 if (!SWIG_IsOK(ecode3
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29194 arg3
= static_cast< int >(val3
);
29196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29197 if (!SWIG_IsOK(ecode4
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29200 arg4
= static_cast< int >(val4
);
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29217 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= 0;
29219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29232 PyObject
* obj0
= 0 ;
29233 PyObject
* obj1
= 0 ;
29234 PyObject
* obj2
= 0 ;
29235 PyObject
* obj3
= 0 ;
29236 char * kwnames
[] = {
29237 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29242 if (!SWIG_IsOK(res1
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29245 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29246 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29247 if (!SWIG_IsOK(ecode2
)) {
29248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29250 arg2
= static_cast< long >(val2
);
29251 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29252 if (!SWIG_IsOK(ecode3
)) {
29253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29255 arg3
= static_cast< long >(val3
);
29256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29257 if (!SWIG_IsOK(ecode4
)) {
29258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29260 arg4
= static_cast< int >(val4
);
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29276 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
= 0;
29278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char * kwnames
[] = {
29288 (char *) "self",(char *) "item", NULL
29291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29297 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29298 if (!SWIG_IsOK(ecode2
)) {
29299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29301 arg2
= static_cast< long >(val2
);
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29321 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
= 0;
29323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29325 wxString
*arg3
= 0 ;
29330 bool temp3
= false ;
29331 PyObject
* obj0
= 0 ;
29332 PyObject
* obj1
= 0 ;
29333 PyObject
* obj2
= 0 ;
29334 char * kwnames
[] = {
29335 (char *) "self",(char *) "item",(char *) "str", NULL
29338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29340 if (!SWIG_IsOK(res1
)) {
29341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29343 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29344 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29345 if (!SWIG_IsOK(ecode2
)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29348 arg2
= static_cast< long >(val2
);
29350 arg3
= wxString_in_helper(obj2
);
29351 if (arg3
== NULL
) SWIG_fail
;
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= SWIG_Py_Void();
29375 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
= 0;
29377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 char * kwnames
[] = {
29387 (char *) "self",(char *) "item", NULL
29390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29392 if (!SWIG_IsOK(res1
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29395 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29396 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29397 if (!SWIG_IsOK(ecode2
)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29400 arg2
= static_cast< long >(val2
);
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_From_long(static_cast< long >(result
));
29414 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
= 0;
29416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29426 PyObject
* obj0
= 0 ;
29427 PyObject
* obj1
= 0 ;
29428 PyObject
* obj2
= 0 ;
29429 char * kwnames
[] = {
29430 (char *) "self",(char *) "item",(char *) "data", NULL
29433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29438 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29439 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29440 if (!SWIG_IsOK(ecode2
)) {
29441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29443 arg2
= static_cast< long >(val2
);
29444 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29445 if (!SWIG_IsOK(ecode3
)) {
29446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29448 arg3
= static_cast< long >(val3
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29464 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
= 0;
29466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 char * kwnames
[] = {
29476 (char *) "self",(char *) "item", NULL
29479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29481 if (!SWIG_IsOK(res1
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29484 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29486 if (!SWIG_IsOK(ecode2
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29489 arg2
= static_cast< long >(val2
);
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29503 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= 0;
29505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29507 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 char * kwnames
[] = {
29519 (char *) "self",(char *) "item",(char *) "code", NULL
29522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29524 if (!SWIG_IsOK(res1
)) {
29525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29527 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29528 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29529 if (!SWIG_IsOK(ecode2
)) {
29530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29532 arg2
= static_cast< long >(val2
);
29534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29535 if (!SWIG_IsOK(ecode3
)) {
29536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29538 arg3
= static_cast< int >(val3
);
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29553 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29554 PyObject
*resultobj
= 0;
29555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29557 wxPoint
*arg3
= 0 ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 PyObject
* obj2
= 0 ;
29567 char * kwnames
[] = {
29568 (char *) "self",(char *) "item",(char *) "pos", NULL
29571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29573 if (!SWIG_IsOK(res1
)) {
29574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29576 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29578 if (!SWIG_IsOK(ecode2
)) {
29579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29581 arg2
= static_cast< long >(val2
);
29584 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29601 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29602 PyObject
*resultobj
= 0;
29603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29607 PyObject
*swig_obj
[1] ;
29609 if (!args
) SWIG_fail
;
29610 swig_obj
[0] = args
;
29611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29612 if (!SWIG_IsOK(res1
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29615 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= SWIG_From_int(static_cast< int >(result
));
29629 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29630 PyObject
*resultobj
= 0;
29631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29635 PyObject
*swig_obj
[1] ;
29637 if (!args
) SWIG_fail
;
29638 swig_obj
[0] = args
;
29639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 resultobj
= SWIG_From_int(static_cast< int >(result
));
29657 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29658 PyObject
*resultobj
= 0;
29659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29663 PyObject
*swig_obj
[1] ;
29665 if (!args
) SWIG_fail
;
29666 swig_obj
[0] = args
;
29667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29671 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29685 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29686 PyObject
*resultobj
= 0;
29687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29691 PyObject
*swig_obj
[1] ;
29693 if (!args
) SWIG_fail
;
29694 swig_obj
[0] = args
;
29695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29699 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29702 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= SWIG_From_int(static_cast< int >(result
));
29713 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29714 PyObject
*resultobj
= 0;
29715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29719 PyObject
*swig_obj
[1] ;
29721 if (!args
) SWIG_fail
;
29722 swig_obj
[0] = args
;
29723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29724 if (!SWIG_IsOK(res1
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29727 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29741 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
= 0;
29743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29744 wxColour
*arg2
= 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 char * kwnames
[] = {
29751 (char *) "self",(char *) "col", NULL
29754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29759 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 resultobj
= SWIG_Py_Void();
29777 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29778 PyObject
*resultobj
= 0;
29779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29783 PyObject
*swig_obj
[1] ;
29785 if (!args
) SWIG_fail
;
29786 swig_obj
[0] = args
;
29787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29788 if (!SWIG_IsOK(res1
)) {
29789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29791 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29798 resultobj
= SWIG_From_long(static_cast< long >(result
));
29805 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29806 PyObject
*resultobj
= 0;
29807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29809 bool arg3
= (bool) true ;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 PyObject
* obj2
= 0 ;
29819 char * kwnames
[] = {
29820 (char *) "self",(char *) "style",(char *) "add", NULL
29823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29825 if (!SWIG_IsOK(res1
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29828 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29830 if (!SWIG_IsOK(ecode2
)) {
29831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29833 arg2
= static_cast< long >(val2
);
29835 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29836 if (!SWIG_IsOK(ecode3
)) {
29837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29839 arg3
= static_cast< bool >(val3
);
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 (arg1
)->SetSingleStyle(arg2
,arg3
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= SWIG_Py_Void();
29854 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
= 0;
29856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29858 int arg3
= (int) wxLIST_NEXT_ALL
;
29859 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 PyObject
* obj2
= 0 ;
29872 PyObject
* obj3
= 0 ;
29873 char * kwnames
[] = {
29874 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29879 if (!SWIG_IsOK(res1
)) {
29880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29882 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29884 if (!SWIG_IsOK(ecode2
)) {
29885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29887 arg2
= static_cast< long >(val2
);
29889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29890 if (!SWIG_IsOK(ecode3
)) {
29891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29893 arg3
= static_cast< int >(val3
);
29896 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29897 if (!SWIG_IsOK(ecode4
)) {
29898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29900 arg4
= static_cast< int >(val4
);
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29908 resultobj
= SWIG_From_long(static_cast< long >(result
));
29915 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
= 0;
29917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29919 wxImageList
*result
= 0 ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "which", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29937 if (!SWIG_IsOK(ecode2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29940 arg2
= static_cast< int >(val2
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29956 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
= 0;
29958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29959 wxImageList
*arg2
= (wxImageList
*) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 PyObject
* obj2
= 0 ;
29970 char * kwnames
[] = {
29971 (char *) "self",(char *) "imageList",(char *) "which", NULL
29974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29976 if (!SWIG_IsOK(res1
)) {
29977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29979 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29980 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29981 if (!SWIG_IsOK(res2
)) {
29982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29984 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29986 if (!SWIG_IsOK(ecode3
)) {
29987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29989 arg3
= static_cast< int >(val3
);
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 (arg1
)->SetImageList(arg2
,arg3
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_Py_Void();
30003 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30004 PyObject
*resultobj
= 0;
30005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30006 wxImageList
*arg2
= (wxImageList
*) 0 ;
30013 PyObject
* obj0
= 0 ;
30014 PyObject
* obj1
= 0 ;
30015 PyObject
* obj2
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "self",(char *) "imageList",(char *) "which", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30025 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30026 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30027 if (!SWIG_IsOK(res2
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30031 if (!SWIG_IsOK(ecode3
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30034 arg3
= static_cast< int >(val3
);
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 (arg1
)->AssignImageList(arg2
,arg3
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_Py_Void();
30048 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30049 PyObject
*resultobj
= 0;
30050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30054 PyObject
*swig_obj
[1] ;
30056 if (!args
) SWIG_fail
;
30057 swig_obj
[0] = args
;
30058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30059 if (!SWIG_IsOK(res1
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30062 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30078 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30079 PyObject
*resultobj
= 0;
30080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30084 PyObject
*swig_obj
[1] ;
30086 if (!args
) SWIG_fail
;
30087 swig_obj
[0] = args
;
30088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30092 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30108 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
= 0;
30110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 char * kwnames
[] = {
30119 (char *) "self",(char *) "item", NULL
30122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30124 if (!SWIG_IsOK(res1
)) {
30125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30127 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30128 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30129 if (!SWIG_IsOK(ecode2
)) {
30130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30132 arg2
= static_cast< long >(val2
);
30134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30135 (arg1
)->RefreshItem(arg2
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= SWIG_Py_Void();
30146 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
= 0;
30148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 PyObject
* obj2
= 0 ;
30160 char * kwnames
[] = {
30161 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) 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_RefreshItems" "', 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_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30174 arg2
= static_cast< long >(val2
);
30175 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30176 if (!SWIG_IsOK(ecode3
)) {
30177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30179 arg3
= static_cast< long >(val3
);
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 (arg1
)->RefreshItems(arg2
,arg3
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= SWIG_Py_Void();
30193 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
= 0;
30195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30196 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30202 PyObject
* obj0
= 0 ;
30203 PyObject
* obj1
= 0 ;
30204 char * kwnames
[] = {
30205 (char *) "self",(char *) "flag", NULL
30208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30210 if (!SWIG_IsOK(res1
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30216 if (!SWIG_IsOK(ecode2
)) {
30217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30219 arg2
= static_cast< int >(val2
);
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 result
= (bool)(arg1
)->Arrange(arg2
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30236 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
= 0;
30238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 char * kwnames
[] = {
30248 (char *) "self",(char *) "item", NULL
30251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30253 if (!SWIG_IsOK(res1
)) {
30254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30257 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30258 if (!SWIG_IsOK(ecode2
)) {
30259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30261 arg2
= static_cast< long >(val2
);
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= (bool)(arg1
)->DeleteItem(arg2
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30277 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30278 PyObject
*resultobj
= 0;
30279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30283 PyObject
*swig_obj
[1] ;
30285 if (!args
) SWIG_fail
;
30286 swig_obj
[0] = args
;
30287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30288 if (!SWIG_IsOK(res1
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30291 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= (bool)(arg1
)->DeleteAllItems();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30307 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
= 0;
30309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30316 PyObject
* obj0
= 0 ;
30317 PyObject
* obj1
= 0 ;
30318 char * kwnames
[] = {
30319 (char *) "self",(char *) "col", NULL
30322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30324 if (!SWIG_IsOK(res1
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30327 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30329 if (!SWIG_IsOK(ecode2
)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30332 arg2
= static_cast< int >(val2
);
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30348 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30349 PyObject
*resultobj
= 0;
30350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30354 PyObject
*swig_obj
[1] ;
30356 if (!args
) SWIG_fail
;
30357 swig_obj
[0] = args
;
30358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30359 if (!SWIG_IsOK(res1
)) {
30360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30362 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (bool)(arg1
)->DeleteAllColumns();
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30378 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30379 PyObject
*resultobj
= 0;
30380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30383 PyObject
*swig_obj
[1] ;
30385 if (!args
) SWIG_fail
;
30386 swig_obj
[0] = args
;
30387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30388 if (!SWIG_IsOK(res1
)) {
30389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30391 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 (arg1
)->ClearAll();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= SWIG_Py_Void();
30405 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
= 0;
30407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30409 wxTextCtrl
*result
= 0 ;
30414 PyObject
* obj0
= 0 ;
30415 PyObject
* obj1
= 0 ;
30416 char * kwnames
[] = {
30417 (char *) "self",(char *) "item", NULL
30420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30422 if (!SWIG_IsOK(res1
)) {
30423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30425 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30426 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30427 if (!SWIG_IsOK(ecode2
)) {
30428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30430 arg2
= static_cast< long >(val2
);
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30438 resultobj
= wxPyMake_wxObject(result
, 0);
30446 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30447 PyObject
*resultobj
= 0;
30448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 char * kwnames
[] = {
30458 (char *) "self",(char *) "cancel", NULL
30461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",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_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30466 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30467 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30468 if (!SWIG_IsOK(ecode2
)) {
30469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30471 arg2
= static_cast< bool >(val2
);
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30487 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
= 0;
30489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 char * kwnames
[] = {
30499 (char *) "self",(char *) "item", NULL
30502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30504 if (!SWIG_IsOK(res1
)) {
30505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30507 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30508 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30509 if (!SWIG_IsOK(ecode2
)) {
30510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30512 arg2
= static_cast< long >(val2
);
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30528 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30532 wxString
*arg3
= 0 ;
30533 bool arg4
= (bool) false ;
30539 bool temp3
= false ;
30542 PyObject
* obj0
= 0 ;
30543 PyObject
* obj1
= 0 ;
30544 PyObject
* obj2
= 0 ;
30545 PyObject
* obj3
= 0 ;
30546 char * kwnames
[] = {
30547 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30552 if (!SWIG_IsOK(res1
)) {
30553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30555 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30557 if (!SWIG_IsOK(ecode2
)) {
30558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30560 arg2
= static_cast< long >(val2
);
30562 arg3
= wxString_in_helper(obj2
);
30563 if (arg3
== NULL
) SWIG_fail
;
30567 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30568 if (!SWIG_IsOK(ecode4
)) {
30569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30571 arg4
= static_cast< bool >(val4
);
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_From_long(static_cast< long >(result
));
30594 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
= 0;
30596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 PyObject
* obj1
= 0 ;
30608 PyObject
* obj2
= 0 ;
30609 char * kwnames
[] = {
30610 (char *) "self",(char *) "start",(char *) "data", NULL
30613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30620 if (!SWIG_IsOK(ecode2
)) {
30621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30623 arg2
= static_cast< long >(val2
);
30624 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30625 if (!SWIG_IsOK(ecode3
)) {
30626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30628 arg3
= static_cast< long >(val3
);
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_From_long(static_cast< long >(result
));
30642 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= 0;
30644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30646 wxPoint
*arg3
= 0 ;
30656 PyObject
* obj0
= 0 ;
30657 PyObject
* obj1
= 0 ;
30658 PyObject
* obj2
= 0 ;
30659 PyObject
* obj3
= 0 ;
30660 char * kwnames
[] = {
30661 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30669 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30671 if (!SWIG_IsOK(ecode2
)) {
30672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30674 arg2
= static_cast< long >(val2
);
30677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30680 if (!SWIG_IsOK(ecode4
)) {
30681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30683 arg4
= static_cast< int >(val4
);
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30687 wxPyEndAllowThreads(__tstate
);
30688 if (PyErr_Occurred()) SWIG_fail
;
30690 resultobj
= SWIG_From_long(static_cast< long >(result
));
30697 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30698 PyObject
*resultobj
= 0;
30699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30700 wxPoint
*arg2
= 0 ;
30707 int res3
= SWIG_TMPOBJ
;
30708 PyObject
* obj0
= 0 ;
30709 PyObject
* obj1
= 0 ;
30710 char * kwnames
[] = {
30711 (char *) "self",(char *) "point", NULL
30715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30717 if (!SWIG_IsOK(res1
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30720 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30723 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_From_long(static_cast< long >(result
));
30732 if (SWIG_IsTmpObj(res3
)) {
30733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30735 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30744 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
= 0;
30746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30747 wxListItem
*arg2
= 0 ;
30753 PyObject
* obj0
= 0 ;
30754 PyObject
* obj1
= 0 ;
30755 char * kwnames
[] = {
30756 (char *) "self",(char *) "info", NULL
30759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30761 if (!SWIG_IsOK(res1
)) {
30762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30764 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30766 if (!SWIG_IsOK(res2
)) {
30767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30772 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (long)(arg1
)->InsertItem(*arg2
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= SWIG_From_long(static_cast< long >(result
));
30786 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
= 0;
30788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30790 wxString
*arg3
= 0 ;
30791 int arg4
= (int) -1 ;
30797 bool temp3
= false ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 PyObject
* obj2
= 0 ;
30803 PyObject
* obj3
= 0 ;
30804 char * kwnames
[] = {
30805 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30810 if (!SWIG_IsOK(res1
)) {
30811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30813 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30814 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30815 if (!SWIG_IsOK(ecode2
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30818 arg2
= static_cast< long >(val2
);
30820 arg3
= wxString_in_helper(obj2
);
30821 if (arg3
== NULL
) SWIG_fail
;
30825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30826 if (!SWIG_IsOK(ecode4
)) {
30827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30829 arg4
= static_cast< int >(val4
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= SWIG_From_long(static_cast< long >(result
));
30852 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30853 PyObject
*resultobj
= 0;
30854 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 PyObject
* obj2
= 0 ;
30867 char * kwnames
[] = {
30868 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30873 if (!SWIG_IsOK(res1
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30877 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30878 if (!SWIG_IsOK(ecode2
)) {
30879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30881 arg2
= static_cast< long >(val2
);
30882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30883 if (!SWIG_IsOK(ecode3
)) {
30884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30886 arg3
= static_cast< int >(val3
);
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_From_long(static_cast< long >(result
));
30900 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30904 wxString
*arg3
= 0 ;
30911 bool temp3
= false ;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 PyObject
* obj2
= 0 ;
30917 PyObject
* obj3
= 0 ;
30918 char * kwnames
[] = {
30919 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30924 if (!SWIG_IsOK(res1
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30927 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30928 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30929 if (!SWIG_IsOK(ecode2
)) {
30930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30932 arg2
= static_cast< long >(val2
);
30934 arg3
= wxString_in_helper(obj2
);
30935 if (arg3
== NULL
) SWIG_fail
;
30938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30939 if (!SWIG_IsOK(ecode4
)) {
30940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30942 arg4
= static_cast< int >(val4
);
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= SWIG_From_long(static_cast< long >(result
));
30964 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
= 0;
30966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30968 wxListItem
*arg3
= 0 ;
30976 PyObject
* obj0
= 0 ;
30977 PyObject
* obj1
= 0 ;
30978 PyObject
* obj2
= 0 ;
30979 char * kwnames
[] = {
30980 (char *) "self",(char *) "col",(char *) "info", NULL
30983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30988 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30990 if (!SWIG_IsOK(ecode2
)) {
30991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30993 arg2
= static_cast< long >(val2
);
30994 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30995 if (!SWIG_IsOK(res3
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31001 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= SWIG_From_long(static_cast< long >(result
));
31015 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
= 0;
31017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31019 wxString
*arg3
= 0 ;
31020 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31021 int arg5
= (int) -1 ;
31027 bool temp3
= false ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 PyObject
* obj2
= 0 ;
31035 PyObject
* obj3
= 0 ;
31036 PyObject
* obj4
= 0 ;
31037 char * kwnames
[] = {
31038 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31043 if (!SWIG_IsOK(res1
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31046 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31048 if (!SWIG_IsOK(ecode2
)) {
31049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31051 arg2
= static_cast< long >(val2
);
31053 arg3
= wxString_in_helper(obj2
);
31054 if (arg3
== NULL
) SWIG_fail
;
31058 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31059 if (!SWIG_IsOK(ecode4
)) {
31060 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31062 arg4
= static_cast< int >(val4
);
31065 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31066 if (!SWIG_IsOK(ecode5
)) {
31067 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31069 arg5
= static_cast< int >(val5
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_From_long(static_cast< long >(result
));
31092 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
= 0;
31094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 char * kwnames
[] = {
31103 (char *) "self",(char *) "count", NULL
31106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31108 if (!SWIG_IsOK(res1
)) {
31109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31111 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31113 if (!SWIG_IsOK(ecode2
)) {
31114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31116 arg2
= static_cast< long >(val2
);
31118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 (arg1
)->SetItemCount(arg2
);
31120 wxPyEndAllowThreads(__tstate
);
31121 if (PyErr_Occurred()) SWIG_fail
;
31123 resultobj
= SWIG_Py_Void();
31130 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
= 0;
31132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 PyObject
* obj2
= 0 ;
31145 char * kwnames
[] = {
31146 (char *) "self",(char *) "dx",(char *) "dy", NULL
31149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31151 if (!SWIG_IsOK(res1
)) {
31152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31154 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31156 if (!SWIG_IsOK(ecode2
)) {
31157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31159 arg2
= static_cast< int >(val2
);
31160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31161 if (!SWIG_IsOK(ecode3
)) {
31162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31164 arg3
= static_cast< int >(val3
);
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31168 wxPyEndAllowThreads(__tstate
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31180 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
= 0;
31182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31184 wxColour
*arg3
= 0 ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 char * kwnames
[] = {
31194 (char *) "self",(char *) "item",(char *) "col", NULL
31197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31199 if (!SWIG_IsOK(res1
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31202 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31203 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31204 if (!SWIG_IsOK(ecode2
)) {
31205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31207 arg2
= static_cast< long >(val2
);
31210 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_Py_Void();
31225 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
= 0;
31227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char * kwnames
[] = {
31237 (char *) "self",(char *) "item", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31245 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31246 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31247 if (!SWIG_IsOK(ecode2
)) {
31248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31250 arg2
= static_cast< long >(val2
);
31252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31253 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31254 wxPyEndAllowThreads(__tstate
);
31255 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31264 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
= 0;
31266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31268 wxColour
*arg3
= 0 ;
31274 PyObject
* obj0
= 0 ;
31275 PyObject
* obj1
= 0 ;
31276 PyObject
* obj2
= 0 ;
31277 char * kwnames
[] = {
31278 (char *) "self",(char *) "item",(char *) "col", NULL
31281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31283 if (!SWIG_IsOK(res1
)) {
31284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31286 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31287 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31288 if (!SWIG_IsOK(ecode2
)) {
31289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31291 arg2
= static_cast< long >(val2
);
31294 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_Py_Void();
31309 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
= 0;
31311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 PyObject
* obj1
= 0 ;
31320 char * kwnames
[] = {
31321 (char *) "self",(char *) "item", NULL
31324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31326 if (!SWIG_IsOK(res1
)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31329 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31330 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31331 if (!SWIG_IsOK(ecode2
)) {
31332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31334 arg2
= static_cast< long >(val2
);
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31348 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
= 0;
31350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 PyObject
* obj2
= 0 ;
31362 char * kwnames
[] = {
31363 (char *) "self",(char *) "item",(char *) "f", NULL
31366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31368 if (!SWIG_IsOK(res1
)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31371 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31372 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31373 if (!SWIG_IsOK(ecode2
)) {
31374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31376 arg2
= static_cast< long >(val2
);
31377 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31378 if (!SWIG_IsOK(res3
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31384 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= SWIG_Py_Void();
31398 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
= 0;
31400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31407 PyObject
* obj0
= 0 ;
31408 PyObject
* obj1
= 0 ;
31409 char * kwnames
[] = {
31410 (char *) "self",(char *) "item", NULL
31413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31415 if (!SWIG_IsOK(res1
)) {
31416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31418 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31419 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31420 if (!SWIG_IsOK(ecode2
)) {
31421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31423 arg2
= static_cast< long >(val2
);
31425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31426 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31437 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
= 0;
31439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31440 PyObject
*arg2
= (PyObject
*) 0 ;
31444 PyObject
* obj0
= 0 ;
31445 PyObject
* obj1
= 0 ;
31446 char * kwnames
[] = {
31447 (char *) "self",(char *) "func", NULL
31450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31452 if (!SWIG_IsOK(res1
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31455 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31472 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31473 PyObject
*resultobj
= 0;
31474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31475 wxWindow
*result
= 0 ;
31478 PyObject
*swig_obj
[1] ;
31480 if (!args
) SWIG_fail
;
31481 swig_obj
[0] = args
;
31482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31483 if (!SWIG_IsOK(res1
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31486 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= wxPyMake_wxObject(result
, 0);
31502 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
= 0;
31504 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31505 SwigValueWrapper
<wxVisualAttributes
> result
;
31508 PyObject
* obj0
= 0 ;
31509 char * kwnames
[] = {
31510 (char *) "variant", NULL
31513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31515 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31516 if (!SWIG_IsOK(ecode1
)) {
31517 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31519 arg1
= static_cast< wxWindowVariant
>(val1
);
31522 if (!wxPyCheckForApp()) SWIG_fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31535 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31538 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31539 return SWIG_Py_Void();
31542 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31543 return SWIG_Python_InitShadowInstance(args
);
31546 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31547 PyObject
*resultobj
= 0;
31548 wxWindow
*arg1
= (wxWindow
*) 0 ;
31549 int arg2
= (int) -1 ;
31550 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31551 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31552 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31553 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31554 long arg5
= (long) wxLC_REPORT
;
31555 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31556 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31557 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31559 wxListView
*result
= 0 ;
31570 bool temp7
= false ;
31571 PyObject
* obj0
= 0 ;
31572 PyObject
* obj1
= 0 ;
31573 PyObject
* obj2
= 0 ;
31574 PyObject
* obj3
= 0 ;
31575 PyObject
* obj4
= 0 ;
31576 PyObject
* obj5
= 0 ;
31577 PyObject
* obj6
= 0 ;
31578 char * kwnames
[] = {
31579 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31584 if (!SWIG_IsOK(res1
)) {
31585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31590 if (!SWIG_IsOK(ecode2
)) {
31591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31593 arg2
= static_cast< int >(val2
);
31598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31604 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31608 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31609 if (!SWIG_IsOK(ecode5
)) {
31610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31612 arg5
= static_cast< long >(val5
);
31615 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31616 if (!SWIG_IsOK(res6
)) {
31617 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31622 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31626 arg7
= wxString_in_helper(obj6
);
31627 if (arg7
== NULL
) SWIG_fail
;
31632 if (!wxPyCheckForApp()) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31635 wxPyEndAllowThreads(__tstate
);
31636 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31653 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31654 PyObject
*resultobj
= 0;
31655 wxListView
*result
= 0 ;
31657 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31659 if (!wxPyCheckForApp()) SWIG_fail
;
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 result
= (wxListView
*)new wxListView();
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31672 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
= 0;
31674 wxListView
*arg1
= (wxListView
*) 0 ;
31675 wxWindow
*arg2
= (wxWindow
*) 0 ;
31676 int arg3
= (int) -1 ;
31677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31681 long arg6
= (long) wxLC_REPORT
;
31682 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31683 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31684 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31685 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31699 bool temp8
= false ;
31700 PyObject
* obj0
= 0 ;
31701 PyObject
* obj1
= 0 ;
31702 PyObject
* obj2
= 0 ;
31703 PyObject
* obj3
= 0 ;
31704 PyObject
* obj4
= 0 ;
31705 PyObject
* obj5
= 0 ;
31706 PyObject
* obj6
= 0 ;
31707 PyObject
* obj7
= 0 ;
31708 char * kwnames
[] = {
31709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31714 if (!SWIG_IsOK(res1
)) {
31715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31717 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31719 if (!SWIG_IsOK(res2
)) {
31720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31725 if (!SWIG_IsOK(ecode3
)) {
31726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31728 arg3
= static_cast< int >(val3
);
31733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31743 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31744 if (!SWIG_IsOK(ecode6
)) {
31745 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31747 arg6
= static_cast< long >(val6
);
31750 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31751 if (!SWIG_IsOK(res7
)) {
31752 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31757 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31761 arg8
= wxString_in_helper(obj7
);
31762 if (arg8
== NULL
) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31789 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31790 PyObject
*resultobj
= 0;
31791 wxListView
*arg1
= (wxListView
*) 0 ;
31793 bool arg3
= (bool) true ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 PyObject
* obj2
= 0 ;
31803 char * kwnames
[] = {
31804 (char *) "self",(char *) "n",(char *) "on", NULL
31807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31809 if (!SWIG_IsOK(res1
)) {
31810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31812 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31813 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31814 if (!SWIG_IsOK(ecode2
)) {
31815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31817 arg2
= static_cast< long >(val2
);
31819 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31820 if (!SWIG_IsOK(ecode3
)) {
31821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31823 arg3
= static_cast< bool >(val3
);
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 (arg1
)->Select(arg2
,arg3
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= SWIG_Py_Void();
31838 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
= 0;
31840 wxListView
*arg1
= (wxListView
*) 0 ;
31846 PyObject
* obj0
= 0 ;
31847 PyObject
* obj1
= 0 ;
31848 char * kwnames
[] = {
31849 (char *) "self",(char *) "index", NULL
31852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31854 if (!SWIG_IsOK(res1
)) {
31855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31857 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31858 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31859 if (!SWIG_IsOK(ecode2
)) {
31860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31862 arg2
= static_cast< long >(val2
);
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 (arg1
)->Focus(arg2
);
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 resultobj
= SWIG_Py_Void();
31876 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31877 PyObject
*resultobj
= 0;
31878 wxListView
*arg1
= (wxListView
*) 0 ;
31882 PyObject
*swig_obj
[1] ;
31884 if (!args
) SWIG_fail
;
31885 swig_obj
[0] = args
;
31886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31887 if (!SWIG_IsOK(res1
)) {
31888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31890 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31893 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31894 wxPyEndAllowThreads(__tstate
);
31895 if (PyErr_Occurred()) SWIG_fail
;
31897 resultobj
= SWIG_From_long(static_cast< long >(result
));
31904 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31905 PyObject
*resultobj
= 0;
31906 wxListView
*arg1
= (wxListView
*) 0 ;
31913 PyObject
* obj0
= 0 ;
31914 PyObject
* obj1
= 0 ;
31915 char * kwnames
[] = {
31916 (char *) "self",(char *) "item", NULL
31919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31921 if (!SWIG_IsOK(res1
)) {
31922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31924 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31925 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31926 if (!SWIG_IsOK(ecode2
)) {
31927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31929 arg2
= static_cast< long >(val2
);
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= SWIG_From_long(static_cast< long >(result
));
31943 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31944 PyObject
*resultobj
= 0;
31945 wxListView
*arg1
= (wxListView
*) 0 ;
31949 PyObject
*swig_obj
[1] ;
31951 if (!args
) SWIG_fail
;
31952 swig_obj
[0] = args
;
31953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31954 if (!SWIG_IsOK(res1
)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31957 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31961 wxPyEndAllowThreads(__tstate
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= SWIG_From_long(static_cast< long >(result
));
31971 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
= 0;
31973 wxListView
*arg1
= (wxListView
*) 0 ;
31980 PyObject
* obj0
= 0 ;
31981 PyObject
* obj1
= 0 ;
31982 char * kwnames
[] = {
31983 (char *) "self",(char *) "index", NULL
31986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31988 if (!SWIG_IsOK(res1
)) {
31989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31991 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31993 if (!SWIG_IsOK(ecode2
)) {
31994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31996 arg2
= static_cast< long >(val2
);
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 result
= (bool)(arg1
)->IsSelected(arg2
);
32000 wxPyEndAllowThreads(__tstate
);
32001 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32012 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32013 PyObject
*resultobj
= 0;
32014 wxListView
*arg1
= (wxListView
*) 0 ;
32023 PyObject
* obj0
= 0 ;
32024 PyObject
* obj1
= 0 ;
32025 PyObject
* obj2
= 0 ;
32026 char * kwnames
[] = {
32027 (char *) "self",(char *) "col",(char *) "image", NULL
32030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32032 if (!SWIG_IsOK(res1
)) {
32033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32035 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32037 if (!SWIG_IsOK(ecode2
)) {
32038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32040 arg2
= static_cast< int >(val2
);
32041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32042 if (!SWIG_IsOK(ecode3
)) {
32043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32045 arg3
= static_cast< int >(val3
);
32047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32048 (arg1
)->SetColumnImage(arg2
,arg3
);
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 resultobj
= SWIG_Py_Void();
32059 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
= 0;
32061 wxListView
*arg1
= (wxListView
*) 0 ;
32067 PyObject
* obj0
= 0 ;
32068 PyObject
* obj1
= 0 ;
32069 char * kwnames
[] = {
32070 (char *) "self",(char *) "col", NULL
32073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32075 if (!SWIG_IsOK(res1
)) {
32076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32078 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32080 if (!SWIG_IsOK(ecode2
)) {
32081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32083 arg2
= static_cast< int >(val2
);
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 (arg1
)->ClearColumnImage(arg2
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 resultobj
= SWIG_Py_Void();
32097 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32100 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32101 return SWIG_Py_Void();
32104 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32105 return SWIG_Python_InitShadowInstance(args
);
32108 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32109 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32114 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32115 PyObject
*pyobj
= 0;
32119 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32121 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32128 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32129 PyObject
*resultobj
= 0;
32130 wxTreeItemId
*result
= 0 ;
32132 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (wxTreeItemId
*)new wxTreeItemId();
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32146 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32147 PyObject
*resultobj
= 0;
32148 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32151 PyObject
*swig_obj
[1] ;
32153 if (!args
) SWIG_fail
;
32154 swig_obj
[0] = args
;
32155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32156 if (!SWIG_IsOK(res1
)) {
32157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32159 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 wxPyEndAllowThreads(__tstate
);
32165 if (PyErr_Occurred()) SWIG_fail
;
32167 resultobj
= SWIG_Py_Void();
32174 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32175 PyObject
*resultobj
= 0;
32176 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32180 PyObject
*swig_obj
[1] ;
32182 if (!args
) SWIG_fail
;
32183 swig_obj
[0] = args
;
32184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32185 if (!SWIG_IsOK(res1
)) {
32186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32188 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32191 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32204 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
= 0;
32206 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32207 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32213 PyObject
* obj0
= 0 ;
32214 PyObject
* obj1
= 0 ;
32215 char * kwnames
[] = {
32216 (char *) "self",(char *) "other", NULL
32219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32221 if (!SWIG_IsOK(res1
)) {
32222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32224 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32226 if (!SWIG_IsOK(res2
)) {
32227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32229 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32232 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32245 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
= 0;
32247 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32248 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32254 PyObject
* obj0
= 0 ;
32255 PyObject
* obj1
= 0 ;
32256 char * kwnames
[] = {
32257 (char *) "self",(char *) "other", NULL
32260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32262 if (!SWIG_IsOK(res1
)) {
32263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32265 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32267 if (!SWIG_IsOK(res2
)) {
32268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32286 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 PyObject
*resultobj
= 0;
32288 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32289 void *arg2
= (void *) 0 ;
32293 PyObject
*swig_obj
[2] ;
32295 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32297 if (!SWIG_IsOK(res1
)) {
32298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32300 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32301 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32302 if (!SWIG_IsOK(res2
)) {
32303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32305 if (arg1
) (arg1
)->m_pItem
= arg2
;
32307 resultobj
= SWIG_Py_Void();
32314 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32315 PyObject
*resultobj
= 0;
32316 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32320 PyObject
*swig_obj
[1] ;
32322 if (!args
) SWIG_fail
;
32323 swig_obj
[0] = args
;
32324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32325 if (!SWIG_IsOK(res1
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32328 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32329 result
= (void *) ((arg1
)->m_pItem
);
32330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32337 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32340 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32341 return SWIG_Py_Void();
32344 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32345 return SWIG_Python_InitShadowInstance(args
);
32348 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
= 0;
32350 PyObject
*arg1
= (PyObject
*) NULL
;
32351 wxPyTreeItemData
*result
= 0 ;
32352 PyObject
* obj0
= 0 ;
32353 char * kwnames
[] = {
32354 (char *) "obj", NULL
32357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32374 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32375 PyObject
*resultobj
= 0;
32376 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32379 PyObject
*swig_obj
[1] ;
32381 if (!args
) SWIG_fail
;
32382 swig_obj
[0] = args
;
32383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32384 if (!SWIG_IsOK(res1
)) {
32385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32387 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 wxPyEndAllowThreads(__tstate
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32395 resultobj
= SWIG_Py_Void();
32402 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32403 PyObject
*resultobj
= 0;
32404 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32405 PyObject
*result
= 0 ;
32408 PyObject
*swig_obj
[1] ;
32410 if (!args
) SWIG_fail
;
32411 swig_obj
[0] = args
;
32412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32413 if (!SWIG_IsOK(res1
)) {
32414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32416 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 result
= (PyObject
*)(arg1
)->GetData();
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 resultobj
= result
;
32430 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
= 0;
32432 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32433 PyObject
*arg2
= (PyObject
*) 0 ;
32436 PyObject
* obj0
= 0 ;
32437 PyObject
* obj1
= 0 ;
32438 char * kwnames
[] = {
32439 (char *) "self",(char *) "obj", NULL
32442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32444 if (!SWIG_IsOK(res1
)) {
32445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32447 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 (arg1
)->SetData(arg2
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= SWIG_Py_Void();
32462 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32463 PyObject
*resultobj
= 0;
32464 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32465 wxTreeItemId
*result
= 0 ;
32468 PyObject
*swig_obj
[1] ;
32470 if (!args
) SWIG_fail
;
32471 swig_obj
[0] = args
;
32472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32473 if (!SWIG_IsOK(res1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32476 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32481 result
= (wxTreeItemId
*) &_result_ref
;
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32493 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
= 0;
32495 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32496 wxTreeItemId
*arg2
= 0 ;
32501 PyObject
* obj0
= 0 ;
32502 PyObject
* obj1
= 0 ;
32503 char * kwnames
[] = {
32504 (char *) "self",(char *) "id", NULL
32507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32509 if (!SWIG_IsOK(res1
)) {
32510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32512 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32514 if (!SWIG_IsOK(res2
)) {
32515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32520 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_Py_Void();
32534 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32535 PyObject
*resultobj
= 0;
32536 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32539 PyObject
*swig_obj
[1] ;
32541 if (!args
) SWIG_fail
;
32542 swig_obj
[0] = args
;
32543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32544 if (!SWIG_IsOK(res1
)) {
32545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32547 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32550 wxPyTreeItemData_Destroy(arg1
);
32551 wxPyEndAllowThreads(__tstate
);
32552 if (PyErr_Occurred()) SWIG_fail
;
32554 resultobj
= SWIG_Py_Void();
32561 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32564 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32565 return SWIG_Py_Void();
32568 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32569 return SWIG_Python_InitShadowInstance(args
);
32572 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32573 PyObject
*resultobj
= 0;
32574 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32575 int arg2
= (int) 0 ;
32576 wxTreeEvent
*result
= 0 ;
32581 PyObject
* obj0
= 0 ;
32582 PyObject
* obj1
= 0 ;
32583 char * kwnames
[] = {
32584 (char *) "commandType",(char *) "id", NULL
32587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32590 if (!SWIG_IsOK(ecode1
)) {
32591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32593 arg1
= static_cast< wxEventType
>(val1
);
32596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32597 if (!SWIG_IsOK(ecode2
)) {
32598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32600 arg2
= static_cast< int >(val2
);
32603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32604 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32615 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32616 PyObject
*resultobj
= 0;
32617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32618 wxTreeItemId result
;
32621 PyObject
*swig_obj
[1] ;
32623 if (!args
) SWIG_fail
;
32624 swig_obj
[0] = args
;
32625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32626 if (!SWIG_IsOK(res1
)) {
32627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32629 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32643 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
= 0;
32645 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32646 wxTreeItemId
*arg2
= 0 ;
32651 PyObject
* obj0
= 0 ;
32652 PyObject
* obj1
= 0 ;
32653 char * kwnames
[] = {
32654 (char *) "self",(char *) "item", NULL
32657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32659 if (!SWIG_IsOK(res1
)) {
32660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32662 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32664 if (!SWIG_IsOK(res2
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32670 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= SWIG_Py_Void();
32684 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32685 PyObject
*resultobj
= 0;
32686 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32687 wxTreeItemId result
;
32690 PyObject
*swig_obj
[1] ;
32692 if (!args
) SWIG_fail
;
32693 swig_obj
[0] = args
;
32694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32695 if (!SWIG_IsOK(res1
)) {
32696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32698 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32712 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
= 0;
32714 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32715 wxTreeItemId
*arg2
= 0 ;
32720 PyObject
* obj0
= 0 ;
32721 PyObject
* obj1
= 0 ;
32722 char * kwnames
[] = {
32723 (char *) "self",(char *) "item", NULL
32726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32728 if (!SWIG_IsOK(res1
)) {
32729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32731 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32733 if (!SWIG_IsOK(res2
)) {
32734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32739 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_Py_Void();
32753 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32754 PyObject
*resultobj
= 0;
32755 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32759 PyObject
*swig_obj
[1] ;
32761 if (!args
) SWIG_fail
;
32762 swig_obj
[0] = args
;
32763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32764 if (!SWIG_IsOK(res1
)) {
32765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32767 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32781 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
= 0;
32783 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32784 wxPoint
*arg2
= 0 ;
32788 PyObject
* obj0
= 0 ;
32789 PyObject
* obj1
= 0 ;
32790 char * kwnames
[] = {
32791 (char *) "self",(char *) "pt", NULL
32794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32796 if (!SWIG_IsOK(res1
)) {
32797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32799 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= SWIG_Py_Void();
32817 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32818 PyObject
*resultobj
= 0;
32819 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32820 wxKeyEvent
*result
= 0 ;
32823 PyObject
*swig_obj
[1] ;
32825 if (!args
) SWIG_fail
;
32826 swig_obj
[0] = args
;
32827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32828 if (!SWIG_IsOK(res1
)) {
32829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32831 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32836 result
= (wxKeyEvent
*) &_result_ref
;
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32848 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32849 PyObject
*resultobj
= 0;
32850 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32854 PyObject
*swig_obj
[1] ;
32856 if (!args
) SWIG_fail
;
32857 swig_obj
[0] = args
;
32858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32859 if (!SWIG_IsOK(res1
)) {
32860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32862 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32865 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32866 wxPyEndAllowThreads(__tstate
);
32867 if (PyErr_Occurred()) SWIG_fail
;
32869 resultobj
= SWIG_From_int(static_cast< int >(result
));
32876 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32877 PyObject
*resultobj
= 0;
32878 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32879 wxKeyEvent
*arg2
= 0 ;
32884 PyObject
* obj0
= 0 ;
32885 PyObject
* obj1
= 0 ;
32886 char * kwnames
[] = {
32887 (char *) "self",(char *) "evt", NULL
32890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32892 if (!SWIG_IsOK(res1
)) {
32893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32895 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32897 if (!SWIG_IsOK(res2
)) {
32898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32903 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32906 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32907 wxPyEndAllowThreads(__tstate
);
32908 if (PyErr_Occurred()) SWIG_fail
;
32910 resultobj
= SWIG_Py_Void();
32917 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32918 PyObject
*resultobj
= 0;
32919 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32920 wxString
*result
= 0 ;
32923 PyObject
*swig_obj
[1] ;
32925 if (!args
) SWIG_fail
;
32926 swig_obj
[0] = args
;
32927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32928 if (!SWIG_IsOK(res1
)) {
32929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32931 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32936 result
= (wxString
*) &_result_ref
;
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32943 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32945 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32954 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32955 PyObject
*resultobj
= 0;
32956 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32957 wxString
*arg2
= 0 ;
32960 bool temp2
= false ;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 char * kwnames
[] = {
32964 (char *) "self",(char *) "label", NULL
32967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32969 if (!SWIG_IsOK(res1
)) {
32970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32972 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32974 arg2
= wxString_in_helper(obj1
);
32975 if (arg2
== NULL
) SWIG_fail
;
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32980 (arg1
)->SetLabel((wxString
const &)*arg2
);
32981 wxPyEndAllowThreads(__tstate
);
32982 if (PyErr_Occurred()) SWIG_fail
;
32984 resultobj
= SWIG_Py_Void();
32999 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33000 PyObject
*resultobj
= 0;
33001 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33005 PyObject
*swig_obj
[1] ;
33007 if (!args
) SWIG_fail
;
33008 swig_obj
[0] = args
;
33009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33010 if (!SWIG_IsOK(res1
)) {
33011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33013 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33016 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33029 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
= 0;
33031 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33037 PyObject
* obj0
= 0 ;
33038 PyObject
* obj1
= 0 ;
33039 char * kwnames
[] = {
33040 (char *) "self",(char *) "editCancelled", NULL
33043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33045 if (!SWIG_IsOK(res1
)) {
33046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33048 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33050 if (!SWIG_IsOK(ecode2
)) {
33051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33053 arg2
= static_cast< bool >(val2
);
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 (arg1
)->SetEditCanceled(arg2
);
33057 wxPyEndAllowThreads(__tstate
);
33058 if (PyErr_Occurred()) SWIG_fail
;
33060 resultobj
= SWIG_Py_Void();
33067 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
= 0;
33069 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33070 wxString
*arg2
= 0 ;
33073 bool temp2
= false ;
33074 PyObject
* obj0
= 0 ;
33075 PyObject
* obj1
= 0 ;
33076 char * kwnames
[] = {
33077 (char *) "self",(char *) "toolTip", NULL
33080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33082 if (!SWIG_IsOK(res1
)) {
33083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33085 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33087 arg2
= wxString_in_helper(obj1
);
33088 if (arg2
== NULL
) SWIG_fail
;
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= SWIG_Py_Void();
33112 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33113 PyObject
*resultobj
= 0;
33114 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33118 PyObject
*swig_obj
[1] ;
33120 if (!args
) SWIG_fail
;
33121 swig_obj
[0] = args
;
33122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33123 if (!SWIG_IsOK(res1
)) {
33124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33126 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 result
= (arg1
)->GetToolTip();
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33146 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33149 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33150 return SWIG_Py_Void();
33153 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33154 return SWIG_Python_InitShadowInstance(args
);
33157 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33158 PyObject
*resultobj
= 0;
33159 wxWindow
*arg1
= (wxWindow
*) 0 ;
33160 int arg2
= (int) -1 ;
33161 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33162 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33163 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33164 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33165 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33166 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33167 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33168 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33169 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33170 wxPyTreeCtrl
*result
= 0 ;
33181 bool temp7
= false ;
33182 PyObject
* obj0
= 0 ;
33183 PyObject
* obj1
= 0 ;
33184 PyObject
* obj2
= 0 ;
33185 PyObject
* obj3
= 0 ;
33186 PyObject
* obj4
= 0 ;
33187 PyObject
* obj5
= 0 ;
33188 PyObject
* obj6
= 0 ;
33189 char * kwnames
[] = {
33190 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33195 if (!SWIG_IsOK(res1
)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33201 if (!SWIG_IsOK(ecode2
)) {
33202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33204 arg2
= static_cast< int >(val2
);
33209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33219 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33220 if (!SWIG_IsOK(ecode5
)) {
33221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33223 arg5
= static_cast< long >(val5
);
33226 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33227 if (!SWIG_IsOK(res6
)) {
33228 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33233 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33237 arg7
= wxString_in_helper(obj6
);
33238 if (arg7
== NULL
) SWIG_fail
;
33243 if (!wxPyCheckForApp()) SWIG_fail
;
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33264 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33265 PyObject
*resultobj
= 0;
33266 wxPyTreeCtrl
*result
= 0 ;
33268 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33270 if (!wxPyCheckForApp()) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33283 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
= 0;
33285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33286 wxWindow
*arg2
= (wxWindow
*) 0 ;
33287 int arg3
= (int) -1 ;
33288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33292 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33293 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33294 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33295 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33296 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33310 bool temp8
= false ;
33311 PyObject
* obj0
= 0 ;
33312 PyObject
* obj1
= 0 ;
33313 PyObject
* obj2
= 0 ;
33314 PyObject
* obj3
= 0 ;
33315 PyObject
* obj4
= 0 ;
33316 PyObject
* obj5
= 0 ;
33317 PyObject
* obj6
= 0 ;
33318 PyObject
* obj7
= 0 ;
33319 char * kwnames
[] = {
33320 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33325 if (!SWIG_IsOK(res1
)) {
33326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33328 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33330 if (!SWIG_IsOK(res2
)) {
33331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33333 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33336 if (!SWIG_IsOK(ecode3
)) {
33337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33339 arg3
= static_cast< int >(val3
);
33344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33354 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33355 if (!SWIG_IsOK(ecode6
)) {
33356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33358 arg6
= static_cast< long >(val6
);
33361 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33362 if (!SWIG_IsOK(res7
)) {
33363 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33368 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33372 arg8
= wxString_in_helper(obj7
);
33373 if (arg8
== NULL
) SWIG_fail
;
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33400 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
= 0;
33402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33403 PyObject
*arg2
= (PyObject
*) 0 ;
33404 PyObject
*arg3
= (PyObject
*) 0 ;
33407 PyObject
* obj0
= 0 ;
33408 PyObject
* obj1
= 0 ;
33409 PyObject
* obj2
= 0 ;
33410 char * kwnames
[] = {
33411 (char *) "self",(char *) "self",(char *) "_class", NULL
33414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33416 if (!SWIG_IsOK(res1
)) {
33417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33419 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_Py_Void();
33435 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33436 PyObject
*resultobj
= 0;
33437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33438 unsigned int result
;
33441 PyObject
*swig_obj
[1] ;
33443 if (!args
) SWIG_fail
;
33444 swig_obj
[0] = args
;
33445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33446 if (!SWIG_IsOK(res1
)) {
33447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33449 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33463 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33464 PyObject
*resultobj
= 0;
33465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33466 unsigned int result
;
33469 PyObject
*swig_obj
[1] ;
33471 if (!args
) SWIG_fail
;
33472 swig_obj
[0] = args
;
33473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33474 if (!SWIG_IsOK(res1
)) {
33475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33477 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33484 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33491 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33492 PyObject
*resultobj
= 0;
33493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33494 unsigned int arg2
;
33497 unsigned int val2
;
33499 PyObject
* obj0
= 0 ;
33500 PyObject
* obj1
= 0 ;
33501 char * kwnames
[] = {
33502 (char *) "self",(char *) "indent", NULL
33505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33507 if (!SWIG_IsOK(res1
)) {
33508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33510 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33511 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33512 if (!SWIG_IsOK(ecode2
)) {
33513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33515 arg2
= static_cast< unsigned int >(val2
);
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 (arg1
)->SetIndent(arg2
);
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 resultobj
= SWIG_Py_Void();
33529 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33530 PyObject
*resultobj
= 0;
33531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33532 unsigned int result
;
33535 PyObject
*swig_obj
[1] ;
33537 if (!args
) SWIG_fail
;
33538 swig_obj
[0] = args
;
33539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33540 if (!SWIG_IsOK(res1
)) {
33541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33543 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33557 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
= 0;
33559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33560 unsigned int arg2
;
33563 unsigned int val2
;
33565 PyObject
* obj0
= 0 ;
33566 PyObject
* obj1
= 0 ;
33567 char * kwnames
[] = {
33568 (char *) "self",(char *) "spacing", NULL
33571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33573 if (!SWIG_IsOK(res1
)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33576 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33577 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33578 if (!SWIG_IsOK(ecode2
)) {
33579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33581 arg2
= static_cast< unsigned int >(val2
);
33583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33584 (arg1
)->SetSpacing(arg2
);
33585 wxPyEndAllowThreads(__tstate
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33588 resultobj
= SWIG_Py_Void();
33595 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33596 PyObject
*resultobj
= 0;
33597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33598 wxImageList
*result
= 0 ;
33601 PyObject
*swig_obj
[1] ;
33603 if (!args
) SWIG_fail
;
33604 swig_obj
[0] = args
;
33605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33606 if (!SWIG_IsOK(res1
)) {
33607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33609 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33613 wxPyEndAllowThreads(__tstate
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33617 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33625 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33626 PyObject
*resultobj
= 0;
33627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33628 wxImageList
*result
= 0 ;
33631 PyObject
*swig_obj
[1] ;
33633 if (!args
) SWIG_fail
;
33634 swig_obj
[0] = args
;
33635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33636 if (!SWIG_IsOK(res1
)) {
33637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33639 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33655 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
= 0;
33657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33658 wxImageList
*arg2
= (wxImageList
*) 0 ;
33663 PyObject
* obj0
= 0 ;
33664 PyObject
* obj1
= 0 ;
33665 char * kwnames
[] = {
33666 (char *) "self",(char *) "imageList", NULL
33669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33671 if (!SWIG_IsOK(res1
)) {
33672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33674 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33676 if (!SWIG_IsOK(res2
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33679 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33682 (arg1
)->SetImageList(arg2
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33686 resultobj
= SWIG_Py_Void();
33693 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
= 0;
33695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33696 wxImageList
*arg2
= (wxImageList
*) 0 ;
33701 PyObject
* obj0
= 0 ;
33702 PyObject
* obj1
= 0 ;
33703 char * kwnames
[] = {
33704 (char *) "self",(char *) "imageList", NULL
33707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33709 if (!SWIG_IsOK(res1
)) {
33710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33712 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33714 if (!SWIG_IsOK(res2
)) {
33715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33717 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 (arg1
)->SetStateImageList(arg2
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33724 resultobj
= SWIG_Py_Void();
33731 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33732 PyObject
*resultobj
= 0;
33733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33734 wxImageList
*arg2
= (wxImageList
*) 0 ;
33738 PyObject
* obj0
= 0 ;
33739 PyObject
* obj1
= 0 ;
33740 char * kwnames
[] = {
33741 (char *) "self",(char *) "imageList", NULL
33744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33746 if (!SWIG_IsOK(res1
)) {
33747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33749 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33750 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33751 if (!SWIG_IsOK(res2
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33756 (arg1
)->AssignImageList(arg2
);
33757 wxPyEndAllowThreads(__tstate
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33760 resultobj
= SWIG_Py_Void();
33767 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33768 PyObject
*resultobj
= 0;
33769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33770 wxImageList
*arg2
= (wxImageList
*) 0 ;
33774 PyObject
* obj0
= 0 ;
33775 PyObject
* obj1
= 0 ;
33776 char * kwnames
[] = {
33777 (char *) "self",(char *) "imageList", NULL
33780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33785 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33786 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33787 if (!SWIG_IsOK(res2
)) {
33788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 (arg1
)->AssignStateImageList(arg2
);
33793 wxPyEndAllowThreads(__tstate
);
33794 if (PyErr_Occurred()) SWIG_fail
;
33796 resultobj
= SWIG_Py_Void();
33803 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
= 0;
33805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33806 wxTreeItemId
*arg2
= 0 ;
33812 PyObject
* obj0
= 0 ;
33813 PyObject
* obj1
= 0 ;
33814 char * kwnames
[] = {
33815 (char *) "self",(char *) "item", NULL
33818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33820 if (!SWIG_IsOK(res1
)) {
33821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33823 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33825 if (!SWIG_IsOK(res2
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33831 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33851 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33852 PyObject
*resultobj
= 0;
33853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33854 wxTreeItemId
*arg2
= 0 ;
33855 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33863 PyObject
* obj0
= 0 ;
33864 PyObject
* obj1
= 0 ;
33865 PyObject
* obj2
= 0 ;
33866 char * kwnames
[] = {
33867 (char *) "self",(char *) "item",(char *) "which", NULL
33870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33875 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33877 if (!SWIG_IsOK(res2
)) {
33878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33883 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33886 if (!SWIG_IsOK(ecode3
)) {
33887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33889 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_From_int(static_cast< int >(result
));
33904 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33905 PyObject
*resultobj
= 0;
33906 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33907 wxTreeItemId
*arg2
= 0 ;
33908 wxPyTreeItemData
*result
= 0 ;
33913 PyObject
* obj0
= 0 ;
33914 PyObject
* obj1
= 0 ;
33915 char * kwnames
[] = {
33916 (char *) "self",(char *) "item", NULL
33919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33921 if (!SWIG_IsOK(res1
)) {
33922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33924 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33926 if (!SWIG_IsOK(res2
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33932 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33946 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
= 0;
33948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33949 wxTreeItemId
*arg2
= 0 ;
33950 PyObject
*result
= 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char * kwnames
[] = {
33958 (char *) "self",(char *) "item", NULL
33961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33963 if (!SWIG_IsOK(res1
)) {
33964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33968 if (!SWIG_IsOK(res2
)) {
33969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33974 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= result
;
33988 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
= 0;
33990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33991 wxTreeItemId
*arg2
= 0 ;
33997 PyObject
* obj0
= 0 ;
33998 PyObject
* obj1
= 0 ;
33999 char * kwnames
[] = {
34000 (char *) "self",(char *) "item", NULL
34003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34008 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34010 if (!SWIG_IsOK(res2
)) {
34011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34016 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34020 wxPyEndAllowThreads(__tstate
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34023 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34030 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34031 PyObject
*resultobj
= 0;
34032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34033 wxTreeItemId
*arg2
= 0 ;
34039 PyObject
* obj0
= 0 ;
34040 PyObject
* obj1
= 0 ;
34041 char * kwnames
[] = {
34042 (char *) "self",(char *) "item", NULL
34045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34047 if (!SWIG_IsOK(res1
)) {
34048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34050 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34052 if (!SWIG_IsOK(res2
)) {
34053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34058 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34061 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34062 wxPyEndAllowThreads(__tstate
);
34063 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34072 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34073 PyObject
*resultobj
= 0;
34074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34075 wxTreeItemId
*arg2
= 0 ;
34081 PyObject
* obj0
= 0 ;
34082 PyObject
* obj1
= 0 ;
34083 char * kwnames
[] = {
34084 (char *) "self",(char *) "item", NULL
34087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34089 if (!SWIG_IsOK(res1
)) {
34090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34092 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34094 if (!SWIG_IsOK(res2
)) {
34095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34100 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34107 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34114 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34115 PyObject
*resultobj
= 0;
34116 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34117 wxTreeItemId
*arg2
= 0 ;
34118 wxString
*arg3
= 0 ;
34123 bool temp3
= false ;
34124 PyObject
* obj0
= 0 ;
34125 PyObject
* obj1
= 0 ;
34126 PyObject
* obj2
= 0 ;
34127 char * kwnames
[] = {
34128 (char *) "self",(char *) "item",(char *) "text", NULL
34131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34138 if (!SWIG_IsOK(res2
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34144 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34146 arg3
= wxString_in_helper(obj2
);
34147 if (arg3
== NULL
) SWIG_fail
;
34151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34152 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 resultobj
= SWIG_Py_Void();
34171 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
= 0;
34173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34174 wxTreeItemId
*arg2
= 0 ;
34176 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 PyObject
* obj2
= 0 ;
34188 PyObject
* obj3
= 0 ;
34189 char * kwnames
[] = {
34190 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34195 if (!SWIG_IsOK(res1
)) {
34196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34200 if (!SWIG_IsOK(res2
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34208 if (!SWIG_IsOK(ecode3
)) {
34209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34211 arg3
= static_cast< int >(val3
);
34213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34214 if (!SWIG_IsOK(ecode4
)) {
34215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34217 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34222 wxPyEndAllowThreads(__tstate
);
34223 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= SWIG_Py_Void();
34232 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
= 0;
34234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34235 wxTreeItemId
*arg2
= 0 ;
34236 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34242 PyObject
* obj0
= 0 ;
34243 PyObject
* obj1
= 0 ;
34244 PyObject
* obj2
= 0 ;
34245 char * kwnames
[] = {
34246 (char *) "self",(char *) "item",(char *) "data", NULL
34249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34251 if (!SWIG_IsOK(res1
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34254 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34256 if (!SWIG_IsOK(res2
)) {
34257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34262 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34263 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34264 if (!SWIG_IsOK(res3
)) {
34265 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34273 resultobj
= SWIG_Py_Void();
34280 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34281 PyObject
*resultobj
= 0;
34282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34283 wxTreeItemId
*arg2
= 0 ;
34284 PyObject
*arg3
= (PyObject
*) 0 ;
34289 PyObject
* obj0
= 0 ;
34290 PyObject
* obj1
= 0 ;
34291 PyObject
* obj2
= 0 ;
34292 char * kwnames
[] = {
34293 (char *) "self",(char *) "item",(char *) "obj", NULL
34296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34298 if (!SWIG_IsOK(res1
)) {
34299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34301 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34303 if (!SWIG_IsOK(res2
)) {
34304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34309 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34313 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34314 wxPyEndAllowThreads(__tstate
);
34315 if (PyErr_Occurred()) SWIG_fail
;
34317 resultobj
= SWIG_Py_Void();
34324 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34325 PyObject
*resultobj
= 0;
34326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34327 wxTreeItemId
*arg2
= 0 ;
34328 bool arg3
= (bool) true ;
34335 PyObject
* obj0
= 0 ;
34336 PyObject
* obj1
= 0 ;
34337 PyObject
* obj2
= 0 ;
34338 char * kwnames
[] = {
34339 (char *) "self",(char *) "item",(char *) "has", NULL
34342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34344 if (!SWIG_IsOK(res1
)) {
34345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34347 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34349 if (!SWIG_IsOK(res2
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34355 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34357 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34358 if (!SWIG_IsOK(ecode3
)) {
34359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34361 arg3
= static_cast< bool >(val3
);
34364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34365 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= SWIG_Py_Void();
34376 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34377 PyObject
*resultobj
= 0;
34378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34379 wxTreeItemId
*arg2
= 0 ;
34380 bool arg3
= (bool) true ;
34387 PyObject
* obj0
= 0 ;
34388 PyObject
* obj1
= 0 ;
34389 PyObject
* obj2
= 0 ;
34390 char * kwnames
[] = {
34391 (char *) "self",(char *) "item",(char *) "bold", NULL
34394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34396 if (!SWIG_IsOK(res1
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34401 if (!SWIG_IsOK(res2
)) {
34402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34407 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34410 if (!SWIG_IsOK(ecode3
)) {
34411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34413 arg3
= static_cast< bool >(val3
);
34416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= SWIG_Py_Void();
34428 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
= 0;
34430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34431 wxTreeItemId
*arg2
= 0 ;
34432 bool arg3
= (bool) true ;
34439 PyObject
* obj0
= 0 ;
34440 PyObject
* obj1
= 0 ;
34441 PyObject
* obj2
= 0 ;
34442 char * kwnames
[] = {
34443 (char *) "self",(char *) "item",(char *) "highlight", NULL
34446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34448 if (!SWIG_IsOK(res1
)) {
34449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34451 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34453 if (!SWIG_IsOK(res2
)) {
34454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34459 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34461 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34462 if (!SWIG_IsOK(ecode3
)) {
34463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34465 arg3
= static_cast< bool >(val3
);
34468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34469 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34470 wxPyEndAllowThreads(__tstate
);
34471 if (PyErr_Occurred()) SWIG_fail
;
34473 resultobj
= SWIG_Py_Void();
34480 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34481 PyObject
*resultobj
= 0;
34482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34483 wxTreeItemId
*arg2
= 0 ;
34484 wxColour
*arg3
= 0 ;
34490 PyObject
* obj0
= 0 ;
34491 PyObject
* obj1
= 0 ;
34492 PyObject
* obj2
= 0 ;
34493 char * kwnames
[] = {
34494 (char *) "self",(char *) "item",(char *) "col", NULL
34497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34499 if (!SWIG_IsOK(res1
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34502 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34504 if (!SWIG_IsOK(res2
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34510 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34513 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= SWIG_Py_Void();
34528 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
= 0;
34530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34531 wxTreeItemId
*arg2
= 0 ;
34532 wxColour
*arg3
= 0 ;
34538 PyObject
* obj0
= 0 ;
34539 PyObject
* obj1
= 0 ;
34540 PyObject
* obj2
= 0 ;
34541 char * kwnames
[] = {
34542 (char *) "self",(char *) "item",(char *) "col", NULL
34545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34547 if (!SWIG_IsOK(res1
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34550 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34552 if (!SWIG_IsOK(res2
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34558 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34561 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 resultobj
= SWIG_Py_Void();
34576 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
= 0;
34578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34579 wxTreeItemId
*arg2
= 0 ;
34587 PyObject
* obj0
= 0 ;
34588 PyObject
* obj1
= 0 ;
34589 PyObject
* obj2
= 0 ;
34590 char * kwnames
[] = {
34591 (char *) "self",(char *) "item",(char *) "font", NULL
34594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34596 if (!SWIG_IsOK(res1
)) {
34597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34599 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34601 if (!SWIG_IsOK(res2
)) {
34602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34607 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34608 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34609 if (!SWIG_IsOK(res3
)) {
34610 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34615 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 resultobj
= SWIG_Py_Void();
34629 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
= 0;
34631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34632 wxTreeItemId
*arg2
= 0 ;
34638 PyObject
* obj0
= 0 ;
34639 PyObject
* obj1
= 0 ;
34640 char * kwnames
[] = {
34641 (char *) "self",(char *) "item", NULL
34644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34646 if (!SWIG_IsOK(res1
)) {
34647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34649 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34651 if (!SWIG_IsOK(res2
)) {
34652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34657 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34660 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34673 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34674 PyObject
*resultobj
= 0;
34675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34676 wxTreeItemId
*arg2
= 0 ;
34682 PyObject
* obj0
= 0 ;
34683 PyObject
* obj1
= 0 ;
34684 char * kwnames
[] = {
34685 (char *) "self",(char *) "item", NULL
34688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34690 if (!SWIG_IsOK(res1
)) {
34691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34693 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34695 if (!SWIG_IsOK(res2
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34701 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34704 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34705 wxPyEndAllowThreads(__tstate
);
34706 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34717 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= 0;
34719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34720 wxTreeItemId
*arg2
= 0 ;
34726 PyObject
* obj0
= 0 ;
34727 PyObject
* obj1
= 0 ;
34728 char * kwnames
[] = {
34729 (char *) "self",(char *) "item", NULL
34732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34734 if (!SWIG_IsOK(res1
)) {
34735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34739 if (!SWIG_IsOK(res2
)) {
34740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34745 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34749 wxPyEndAllowThreads(__tstate
);
34750 if (PyErr_Occurred()) SWIG_fail
;
34753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34761 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
= 0;
34763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34764 wxTreeItemId
*arg2
= 0 ;
34770 PyObject
* obj0
= 0 ;
34771 PyObject
* obj1
= 0 ;
34772 char * kwnames
[] = {
34773 (char *) "self",(char *) "item", NULL
34776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34778 if (!SWIG_IsOK(res1
)) {
34779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34783 if (!SWIG_IsOK(res2
)) {
34784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34805 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34806 PyObject
*resultobj
= 0;
34807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34808 wxTreeItemId
*arg2
= 0 ;
34814 PyObject
* obj0
= 0 ;
34815 PyObject
* obj1
= 0 ;
34816 char * kwnames
[] = {
34817 (char *) "self",(char *) "item", NULL
34820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34822 if (!SWIG_IsOK(res1
)) {
34823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34825 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34827 if (!SWIG_IsOK(res2
)) {
34828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34833 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34836 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34837 wxPyEndAllowThreads(__tstate
);
34838 if (PyErr_Occurred()) SWIG_fail
;
34841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34849 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34850 PyObject
*resultobj
= 0;
34851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34852 wxTreeItemId
*arg2
= 0 ;
34853 bool arg3
= (bool) true ;
34861 PyObject
* obj0
= 0 ;
34862 PyObject
* obj1
= 0 ;
34863 PyObject
* obj2
= 0 ;
34864 char * kwnames
[] = {
34865 (char *) "self",(char *) "item",(char *) "recursively", NULL
34868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34870 if (!SWIG_IsOK(res1
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34875 if (!SWIG_IsOK(res2
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34883 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34884 if (!SWIG_IsOK(ecode3
)) {
34885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34887 arg3
= static_cast< bool >(val3
);
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34902 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34903 PyObject
*resultobj
= 0;
34904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34905 wxTreeItemId result
;
34908 PyObject
*swig_obj
[1] ;
34910 if (!args
) SWIG_fail
;
34911 swig_obj
[0] = args
;
34912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34913 if (!SWIG_IsOK(res1
)) {
34914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34919 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34920 wxPyEndAllowThreads(__tstate
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34923 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34930 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34931 PyObject
*resultobj
= 0;
34932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34933 wxTreeItemId result
;
34936 PyObject
*swig_obj
[1] ;
34938 if (!args
) SWIG_fail
;
34939 swig_obj
[0] = args
;
34940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34941 if (!SWIG_IsOK(res1
)) {
34942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34944 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34948 wxPyEndAllowThreads(__tstate
);
34949 if (PyErr_Occurred()) SWIG_fail
;
34951 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34958 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34959 PyObject
*resultobj
= 0;
34960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34961 PyObject
*result
= 0 ;
34964 PyObject
*swig_obj
[1] ;
34966 if (!args
) SWIG_fail
;
34967 swig_obj
[0] = args
;
34968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34969 if (!SWIG_IsOK(res1
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34972 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34976 wxPyEndAllowThreads(__tstate
);
34977 if (PyErr_Occurred()) SWIG_fail
;
34979 resultobj
= result
;
34986 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34987 PyObject
*resultobj
= 0;
34988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34989 wxTreeItemId
*arg2
= 0 ;
34990 wxTreeItemId result
;
34995 PyObject
* obj0
= 0 ;
34996 PyObject
* obj1
= 0 ;
34997 char * kwnames
[] = {
34998 (char *) "self",(char *) "item", NULL
35001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35003 if (!SWIG_IsOK(res1
)) {
35004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35006 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35008 if (!SWIG_IsOK(res2
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35014 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35018 wxPyEndAllowThreads(__tstate
);
35019 if (PyErr_Occurred()) SWIG_fail
;
35021 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35028 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35031 wxTreeItemId
*arg2
= 0 ;
35032 PyObject
*result
= 0 ;
35037 PyObject
* obj0
= 0 ;
35038 PyObject
* obj1
= 0 ;
35039 char * kwnames
[] = {
35040 (char *) "self",(char *) "item", NULL
35043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35045 if (!SWIG_IsOK(res1
)) {
35046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35048 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35050 if (!SWIG_IsOK(res2
)) {
35051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35056 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= result
;
35070 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
= 0;
35072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35073 wxTreeItemId
*arg2
= 0 ;
35074 void *arg3
= (void *) 0 ;
35075 PyObject
*result
= 0 ;
35081 PyObject
* obj0
= 0 ;
35082 PyObject
* obj1
= 0 ;
35083 PyObject
* obj2
= 0 ;
35084 char * kwnames
[] = {
35085 (char *) "self",(char *) "item",(char *) "cookie", NULL
35088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35090 if (!SWIG_IsOK(res1
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35093 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35095 if (!SWIG_IsOK(res2
)) {
35096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35101 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35102 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35103 if (!SWIG_IsOK(res3
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35108 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35109 wxPyEndAllowThreads(__tstate
);
35110 if (PyErr_Occurred()) SWIG_fail
;
35112 resultobj
= result
;
35119 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35120 PyObject
*resultobj
= 0;
35121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35122 wxTreeItemId
*arg2
= 0 ;
35123 wxTreeItemId result
;
35128 PyObject
* obj0
= 0 ;
35129 PyObject
* obj1
= 0 ;
35130 char * kwnames
[] = {
35131 (char *) "self",(char *) "item", NULL
35134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35136 if (!SWIG_IsOK(res1
)) {
35137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35139 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35141 if (!SWIG_IsOK(res2
)) {
35142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35147 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35150 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35161 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
= 0;
35163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35164 wxTreeItemId
*arg2
= 0 ;
35165 wxTreeItemId result
;
35170 PyObject
* obj0
= 0 ;
35171 PyObject
* obj1
= 0 ;
35172 char * kwnames
[] = {
35173 (char *) "self",(char *) "item", NULL
35176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35178 if (!SWIG_IsOK(res1
)) {
35179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35181 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35183 if (!SWIG_IsOK(res2
)) {
35184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35189 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35192 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35193 wxPyEndAllowThreads(__tstate
);
35194 if (PyErr_Occurred()) SWIG_fail
;
35196 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35203 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35204 PyObject
*resultobj
= 0;
35205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35206 wxTreeItemId
*arg2
= 0 ;
35207 wxTreeItemId result
;
35212 PyObject
* obj0
= 0 ;
35213 PyObject
* obj1
= 0 ;
35214 char * kwnames
[] = {
35215 (char *) "self",(char *) "item", NULL
35218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35220 if (!SWIG_IsOK(res1
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35225 if (!SWIG_IsOK(res2
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35231 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35245 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35246 PyObject
*resultobj
= 0;
35247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35248 wxTreeItemId result
;
35251 PyObject
*swig_obj
[1] ;
35253 if (!args
) SWIG_fail
;
35254 swig_obj
[0] = args
;
35255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35256 if (!SWIG_IsOK(res1
)) {
35257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35259 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35262 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35263 wxPyEndAllowThreads(__tstate
);
35264 if (PyErr_Occurred()) SWIG_fail
;
35266 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35273 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35274 PyObject
*resultobj
= 0;
35275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35276 wxTreeItemId
*arg2
= 0 ;
35277 wxTreeItemId result
;
35282 PyObject
* obj0
= 0 ;
35283 PyObject
* obj1
= 0 ;
35284 char * kwnames
[] = {
35285 (char *) "self",(char *) "item", NULL
35288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35290 if (!SWIG_IsOK(res1
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35293 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35295 if (!SWIG_IsOK(res2
)) {
35296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35301 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35315 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
= 0;
35317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35318 wxTreeItemId
*arg2
= 0 ;
35319 wxTreeItemId result
;
35324 PyObject
* obj0
= 0 ;
35325 PyObject
* obj1
= 0 ;
35326 char * kwnames
[] = {
35327 (char *) "self",(char *) "item", NULL
35330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35332 if (!SWIG_IsOK(res1
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35335 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35337 if (!SWIG_IsOK(res2
)) {
35338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35343 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35346 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35347 wxPyEndAllowThreads(__tstate
);
35348 if (PyErr_Occurred()) SWIG_fail
;
35350 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35357 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35358 PyObject
*resultobj
= 0;
35359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35360 wxString
*arg2
= 0 ;
35361 int arg3
= (int) -1 ;
35362 int arg4
= (int) -1 ;
35363 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35364 wxTreeItemId result
;
35367 bool temp2
= false ;
35373 PyObject
* obj0
= 0 ;
35374 PyObject
* obj1
= 0 ;
35375 PyObject
* obj2
= 0 ;
35376 PyObject
* obj3
= 0 ;
35377 PyObject
* obj4
= 0 ;
35378 char * kwnames
[] = {
35379 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35384 if (!SWIG_IsOK(res1
)) {
35385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35387 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35389 arg2
= wxString_in_helper(obj1
);
35390 if (arg2
== NULL
) SWIG_fail
;
35394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35395 if (!SWIG_IsOK(ecode3
)) {
35396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35398 arg3
= static_cast< int >(val3
);
35401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35402 if (!SWIG_IsOK(ecode4
)) {
35403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35405 arg4
= static_cast< int >(val4
);
35408 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35409 if (!SWIG_IsOK(res5
)) {
35410 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35434 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35435 PyObject
*resultobj
= 0;
35436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35437 wxTreeItemId
*arg2
= 0 ;
35438 wxString
*arg3
= 0 ;
35439 int arg4
= (int) -1 ;
35440 int arg5
= (int) -1 ;
35441 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35442 wxTreeItemId result
;
35447 bool temp3
= false ;
35453 PyObject
* obj0
= 0 ;
35454 PyObject
* obj1
= 0 ;
35455 PyObject
* obj2
= 0 ;
35456 PyObject
* obj3
= 0 ;
35457 PyObject
* obj4
= 0 ;
35458 PyObject
* obj5
= 0 ;
35459 char * kwnames
[] = {
35460 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35465 if (!SWIG_IsOK(res1
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35468 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35470 if (!SWIG_IsOK(res2
)) {
35471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35476 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35478 arg3
= wxString_in_helper(obj2
);
35479 if (arg3
== NULL
) SWIG_fail
;
35483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35484 if (!SWIG_IsOK(ecode4
)) {
35485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35487 arg4
= static_cast< int >(val4
);
35490 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35491 if (!SWIG_IsOK(ecode5
)) {
35492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35494 arg5
= static_cast< int >(val5
);
35497 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35498 if (!SWIG_IsOK(res6
)) {
35499 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35523 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35524 PyObject
*resultobj
= 0;
35525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35526 wxTreeItemId
*arg2
= 0 ;
35527 wxTreeItemId
*arg3
= 0 ;
35528 wxString
*arg4
= 0 ;
35529 int arg5
= (int) -1 ;
35530 int arg6
= (int) -1 ;
35531 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35532 wxTreeItemId result
;
35539 bool temp4
= false ;
35545 PyObject
* obj0
= 0 ;
35546 PyObject
* obj1
= 0 ;
35547 PyObject
* obj2
= 0 ;
35548 PyObject
* obj3
= 0 ;
35549 PyObject
* obj4
= 0 ;
35550 PyObject
* obj5
= 0 ;
35551 PyObject
* obj6
= 0 ;
35552 char * kwnames
[] = {
35553 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35558 if (!SWIG_IsOK(res1
)) {
35559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35561 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35563 if (!SWIG_IsOK(res2
)) {
35564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35569 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35570 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35571 if (!SWIG_IsOK(res3
)) {
35572 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35577 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35579 arg4
= wxString_in_helper(obj3
);
35580 if (arg4
== NULL
) SWIG_fail
;
35584 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35585 if (!SWIG_IsOK(ecode5
)) {
35586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35588 arg5
= static_cast< int >(val5
);
35591 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35592 if (!SWIG_IsOK(ecode6
)) {
35593 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35595 arg6
= static_cast< int >(val6
);
35598 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35599 if (!SWIG_IsOK(res7
)) {
35600 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35609 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35624 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
= 0;
35626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35627 wxTreeItemId
*arg2
= 0 ;
35629 wxString
*arg4
= 0 ;
35630 int arg5
= (int) -1 ;
35631 int arg6
= (int) -1 ;
35632 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35633 wxTreeItemId result
;
35640 bool temp4
= false ;
35646 PyObject
* obj0
= 0 ;
35647 PyObject
* obj1
= 0 ;
35648 PyObject
* obj2
= 0 ;
35649 PyObject
* obj3
= 0 ;
35650 PyObject
* obj4
= 0 ;
35651 PyObject
* obj5
= 0 ;
35652 PyObject
* obj6
= 0 ;
35653 char * kwnames
[] = {
35654 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35659 if (!SWIG_IsOK(res1
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35662 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35664 if (!SWIG_IsOK(res2
)) {
35665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35670 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35671 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35672 if (!SWIG_IsOK(ecode3
)) {
35673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35675 arg3
= static_cast< size_t >(val3
);
35677 arg4
= wxString_in_helper(obj3
);
35678 if (arg4
== NULL
) SWIG_fail
;
35682 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35683 if (!SWIG_IsOK(ecode5
)) {
35684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35686 arg5
= static_cast< int >(val5
);
35689 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35690 if (!SWIG_IsOK(ecode6
)) {
35691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35693 arg6
= static_cast< int >(val6
);
35696 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35697 if (!SWIG_IsOK(res7
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35722 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35723 PyObject
*resultobj
= 0;
35724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35725 wxTreeItemId
*arg2
= 0 ;
35726 wxString
*arg3
= 0 ;
35727 int arg4
= (int) -1 ;
35728 int arg5
= (int) -1 ;
35729 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35730 wxTreeItemId result
;
35735 bool temp3
= false ;
35741 PyObject
* obj0
= 0 ;
35742 PyObject
* obj1
= 0 ;
35743 PyObject
* obj2
= 0 ;
35744 PyObject
* obj3
= 0 ;
35745 PyObject
* obj4
= 0 ;
35746 PyObject
* obj5
= 0 ;
35747 char * kwnames
[] = {
35748 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35753 if (!SWIG_IsOK(res1
)) {
35754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35756 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35758 if (!SWIG_IsOK(res2
)) {
35759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35764 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35766 arg3
= wxString_in_helper(obj2
);
35767 if (arg3
== NULL
) SWIG_fail
;
35771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35772 if (!SWIG_IsOK(ecode4
)) {
35773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35775 arg4
= static_cast< int >(val4
);
35778 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35779 if (!SWIG_IsOK(ecode5
)) {
35780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35782 arg5
= static_cast< int >(val5
);
35785 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35786 if (!SWIG_IsOK(res6
)) {
35787 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35796 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35811 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
= 0;
35813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35814 wxTreeItemId
*arg2
= 0 ;
35819 PyObject
* obj0
= 0 ;
35820 PyObject
* obj1
= 0 ;
35821 char * kwnames
[] = {
35822 (char *) "self",(char *) "item", NULL
35825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35827 if (!SWIG_IsOK(res1
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35830 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35832 if (!SWIG_IsOK(res2
)) {
35833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35838 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35841 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35845 resultobj
= SWIG_Py_Void();
35852 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35853 PyObject
*resultobj
= 0;
35854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35855 wxTreeItemId
*arg2
= 0 ;
35860 PyObject
* obj0
= 0 ;
35861 PyObject
* obj1
= 0 ;
35862 char * kwnames
[] = {
35863 (char *) "self",(char *) "item", NULL
35866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35868 if (!SWIG_IsOK(res1
)) {
35869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35871 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35873 if (!SWIG_IsOK(res2
)) {
35874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35879 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35883 wxPyEndAllowThreads(__tstate
);
35884 if (PyErr_Occurred()) SWIG_fail
;
35886 resultobj
= SWIG_Py_Void();
35893 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35894 PyObject
*resultobj
= 0;
35895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35898 PyObject
*swig_obj
[1] ;
35900 if (!args
) SWIG_fail
;
35901 swig_obj
[0] = args
;
35902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35903 if (!SWIG_IsOK(res1
)) {
35904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35906 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 (arg1
)->DeleteAllItems();
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 resultobj
= SWIG_Py_Void();
35920 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35921 PyObject
*resultobj
= 0;
35922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35923 wxTreeItemId
*arg2
= 0 ;
35928 PyObject
* obj0
= 0 ;
35929 PyObject
* obj1
= 0 ;
35930 char * kwnames
[] = {
35931 (char *) "self",(char *) "item", NULL
35934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35936 if (!SWIG_IsOK(res1
)) {
35937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35939 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35941 if (!SWIG_IsOK(res2
)) {
35942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35947 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35954 resultobj
= SWIG_Py_Void();
35961 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35962 PyObject
*resultobj
= 0;
35963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35964 wxTreeItemId
*arg2
= 0 ;
35969 PyObject
* obj0
= 0 ;
35970 PyObject
* obj1
= 0 ;
35971 char * kwnames
[] = {
35972 (char *) "self",(char *) "item", NULL
35975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35977 if (!SWIG_IsOK(res1
)) {
35978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35980 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35982 if (!SWIG_IsOK(res2
)) {
35983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35988 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35992 wxPyEndAllowThreads(__tstate
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35995 resultobj
= SWIG_Py_Void();
36002 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36003 PyObject
*resultobj
= 0;
36004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36005 wxTreeItemId
*arg2
= 0 ;
36010 PyObject
* obj0
= 0 ;
36011 PyObject
* obj1
= 0 ;
36012 char * kwnames
[] = {
36013 (char *) "self",(char *) "item", NULL
36016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36018 if (!SWIG_IsOK(res1
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36021 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36023 if (!SWIG_IsOK(res2
)) {
36024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36029 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_Py_Void();
36043 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36046 wxTreeItemId
*arg2
= 0 ;
36051 PyObject
* obj0
= 0 ;
36052 PyObject
* obj1
= 0 ;
36053 char * kwnames
[] = {
36054 (char *) "self",(char *) "item", NULL
36057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36059 if (!SWIG_IsOK(res1
)) {
36060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36062 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36064 if (!SWIG_IsOK(res2
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36070 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36073 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36074 wxPyEndAllowThreads(__tstate
);
36075 if (PyErr_Occurred()) SWIG_fail
;
36077 resultobj
= SWIG_Py_Void();
36084 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36085 PyObject
*resultobj
= 0;
36086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36089 PyObject
*swig_obj
[1] ;
36091 if (!args
) SWIG_fail
;
36092 swig_obj
[0] = args
;
36093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36094 if (!SWIG_IsOK(res1
)) {
36095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36097 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 (arg1
)->Unselect();
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_Py_Void();
36111 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36114 wxTreeItemId
*arg2
= 0 ;
36119 PyObject
* obj0
= 0 ;
36120 PyObject
* obj1
= 0 ;
36121 char * kwnames
[] = {
36122 (char *) "self",(char *) "item", NULL
36125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36127 if (!SWIG_IsOK(res1
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36132 if (!SWIG_IsOK(res2
)) {
36133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36141 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36142 wxPyEndAllowThreads(__tstate
);
36143 if (PyErr_Occurred()) SWIG_fail
;
36145 resultobj
= SWIG_Py_Void();
36152 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36153 PyObject
*resultobj
= 0;
36154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36157 PyObject
*swig_obj
[1] ;
36159 if (!args
) SWIG_fail
;
36160 swig_obj
[0] = args
;
36161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36162 if (!SWIG_IsOK(res1
)) {
36163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36165 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 (arg1
)->UnselectAll();
36169 wxPyEndAllowThreads(__tstate
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36172 resultobj
= SWIG_Py_Void();
36179 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36180 PyObject
*resultobj
= 0;
36181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36182 wxTreeItemId
*arg2
= 0 ;
36183 bool arg3
= (bool) true ;
36190 PyObject
* obj0
= 0 ;
36191 PyObject
* obj1
= 0 ;
36192 PyObject
* obj2
= 0 ;
36193 char * kwnames
[] = {
36194 (char *) "self",(char *) "item",(char *) "select", NULL
36197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36199 if (!SWIG_IsOK(res1
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36202 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36204 if (!SWIG_IsOK(res2
)) {
36205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36210 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36212 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36213 if (!SWIG_IsOK(ecode3
)) {
36214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36216 arg3
= static_cast< bool >(val3
);
36219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36220 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 resultobj
= SWIG_Py_Void();
36231 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36232 PyObject
*resultobj
= 0;
36233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36234 wxTreeItemId
*arg2
= 0 ;
36239 PyObject
* obj0
= 0 ;
36240 PyObject
* obj1
= 0 ;
36241 char * kwnames
[] = {
36242 (char *) "self",(char *) "item", NULL
36245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36250 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36252 if (!SWIG_IsOK(res2
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36258 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36265 resultobj
= SWIG_Py_Void();
36272 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36273 PyObject
*resultobj
= 0;
36274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36275 wxTreeItemId
*arg2
= 0 ;
36280 PyObject
* obj0
= 0 ;
36281 PyObject
* obj1
= 0 ;
36282 char * kwnames
[] = {
36283 (char *) "self",(char *) "item", NULL
36286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36288 if (!SWIG_IsOK(res1
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36293 if (!SWIG_IsOK(res2
)) {
36294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36299 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36302 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_Py_Void();
36313 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36316 wxTreeItemId
*arg2
= 0 ;
36321 PyObject
* obj0
= 0 ;
36322 PyObject
* obj1
= 0 ;
36323 char * kwnames
[] = {
36324 (char *) "self",(char *) "item", NULL
36327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36329 if (!SWIG_IsOK(res1
)) {
36330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36332 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36334 if (!SWIG_IsOK(res2
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36340 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36343 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36344 wxPyEndAllowThreads(__tstate
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36347 resultobj
= SWIG_Py_Void();
36354 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36355 PyObject
*resultobj
= 0;
36356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36357 wxTreeItemId
*arg2
= 0 ;
36362 PyObject
* obj0
= 0 ;
36363 PyObject
* obj1
= 0 ;
36364 char * kwnames
[] = {
36365 (char *) "self",(char *) "item", NULL
36368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36370 if (!SWIG_IsOK(res1
)) {
36371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36375 if (!SWIG_IsOK(res2
)) {
36376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36381 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36388 resultobj
= SWIG_Py_Void();
36395 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36396 PyObject
*resultobj
= 0;
36397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36398 wxTextCtrl
*result
= 0 ;
36401 PyObject
*swig_obj
[1] ;
36403 if (!args
) SWIG_fail
;
36404 swig_obj
[0] = args
;
36405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36406 if (!SWIG_IsOK(res1
)) {
36407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36409 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36412 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36413 wxPyEndAllowThreads(__tstate
);
36414 if (PyErr_Occurred()) SWIG_fail
;
36417 resultobj
= wxPyMake_wxObject(result
, 0);
36425 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36426 PyObject
*resultobj
= 0;
36427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36428 wxTreeItemId
*arg2
= 0 ;
36429 bool arg3
= (bool) false ;
36436 PyObject
* obj0
= 0 ;
36437 PyObject
* obj1
= 0 ;
36438 PyObject
* obj2
= 0 ;
36439 char * kwnames
[] = {
36440 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36445 if (!SWIG_IsOK(res1
)) {
36446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36448 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36450 if (!SWIG_IsOK(res2
)) {
36451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36456 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36458 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36459 if (!SWIG_IsOK(ecode3
)) {
36460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36462 arg3
= static_cast< bool >(val3
);
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= SWIG_Py_Void();
36477 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36478 PyObject
*resultobj
= 0;
36479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36480 wxTreeItemId
*arg2
= 0 ;
36485 PyObject
* obj0
= 0 ;
36486 PyObject
* obj1
= 0 ;
36487 char * kwnames
[] = {
36488 (char *) "self",(char *) "item", NULL
36491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36493 if (!SWIG_IsOK(res1
)) {
36494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36496 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36498 if (!SWIG_IsOK(res2
)) {
36499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36504 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36508 wxPyEndAllowThreads(__tstate
);
36509 if (PyErr_Occurred()) SWIG_fail
;
36511 resultobj
= SWIG_Py_Void();
36518 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36519 PyObject
*resultobj
= 0;
36520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36521 wxPoint
*arg2
= 0 ;
36523 wxTreeItemId result
;
36528 int res3
= SWIG_TMPOBJ
;
36529 PyObject
* obj0
= 0 ;
36530 PyObject
* obj1
= 0 ;
36531 char * kwnames
[] = {
36532 (char *) "self",(char *) "point", NULL
36536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36538 if (!SWIG_IsOK(res1
)) {
36539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36541 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36548 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36549 wxPyEndAllowThreads(__tstate
);
36550 if (PyErr_Occurred()) SWIG_fail
;
36552 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36553 if (SWIG_IsTmpObj(res3
)) {
36554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36556 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36565 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
= 0;
36567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36568 wxTreeItemId
*arg2
= 0 ;
36569 bool arg3
= (bool) false ;
36570 PyObject
*result
= 0 ;
36577 PyObject
* obj0
= 0 ;
36578 PyObject
* obj1
= 0 ;
36579 PyObject
* obj2
= 0 ;
36580 char * kwnames
[] = {
36581 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36586 if (!SWIG_IsOK(res1
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36589 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36591 if (!SWIG_IsOK(res2
)) {
36592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36597 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36599 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36600 if (!SWIG_IsOK(ecode3
)) {
36601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36603 arg3
= static_cast< bool >(val3
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= result
;
36618 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36619 PyObject
*resultobj
= 0;
36620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36621 wxTreeItemId
*arg2
= 0 ;
36629 PyObject
* obj0
= 0 ;
36630 PyObject
* obj1
= 0 ;
36631 PyObject
* obj2
= 0 ;
36632 char * kwnames
[] = {
36633 (char *) "self",(char *) "node",(char *) "state", NULL
36636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36638 if (!SWIG_IsOK(res1
)) {
36639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36641 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36643 if (!SWIG_IsOK(res2
)) {
36644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36649 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36651 if (!SWIG_IsOK(ecode3
)) {
36652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36654 arg3
= static_cast< int >(val3
);
36656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36657 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36658 wxPyEndAllowThreads(__tstate
);
36659 if (PyErr_Occurred()) SWIG_fail
;
36661 resultobj
= SWIG_Py_Void();
36668 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36669 PyObject
*resultobj
= 0;
36670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36671 wxTreeItemId
*arg2
= 0 ;
36677 PyObject
* obj0
= 0 ;
36678 PyObject
* obj1
= 0 ;
36679 char * kwnames
[] = {
36680 (char *) "self",(char *) "node", NULL
36683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36685 if (!SWIG_IsOK(res1
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36688 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36690 if (!SWIG_IsOK(res2
)) {
36691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36696 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
36700 wxPyEndAllowThreads(__tstate
);
36701 if (PyErr_Occurred()) SWIG_fail
;
36703 resultobj
= SWIG_From_int(static_cast< int >(result
));
36710 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36711 PyObject
*resultobj
= 0;
36712 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36713 SwigValueWrapper
<wxVisualAttributes
> result
;
36716 PyObject
* obj0
= 0 ;
36717 char * kwnames
[] = {
36718 (char *) "variant", NULL
36721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36724 if (!SWIG_IsOK(ecode1
)) {
36725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36727 arg1
= static_cast< wxWindowVariant
>(val1
);
36730 if (!wxPyCheckForApp()) SWIG_fail
;
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36733 wxPyEndAllowThreads(__tstate
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36736 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36743 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36746 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36747 return SWIG_Py_Void();
36750 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36751 return SWIG_Python_InitShadowInstance(args
);
36754 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36755 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36760 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36761 PyObject
*pyobj
= 0;
36765 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36767 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36774 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
= 0;
36776 wxWindow
*arg1
= (wxWindow
*) 0 ;
36777 int arg2
= (int) (int)-1 ;
36778 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36784 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36785 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36786 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36787 int arg8
= (int) 0 ;
36788 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36789 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36790 wxGenericDirCtrl
*result
= 0 ;
36795 bool temp3
= false ;
36800 bool temp7
= false ;
36803 bool temp9
= false ;
36804 PyObject
* obj0
= 0 ;
36805 PyObject
* obj1
= 0 ;
36806 PyObject
* obj2
= 0 ;
36807 PyObject
* obj3
= 0 ;
36808 PyObject
* obj4
= 0 ;
36809 PyObject
* obj5
= 0 ;
36810 PyObject
* obj6
= 0 ;
36811 PyObject
* obj7
= 0 ;
36812 PyObject
* obj8
= 0 ;
36813 char * kwnames
[] = {
36814 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36819 if (!SWIG_IsOK(res1
)) {
36820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36825 if (!SWIG_IsOK(ecode2
)) {
36826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36828 arg2
= static_cast< int >(val2
);
36832 arg3
= wxString_in_helper(obj2
);
36833 if (arg3
== NULL
) SWIG_fail
;
36840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36850 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36851 if (!SWIG_IsOK(ecode6
)) {
36852 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36854 arg6
= static_cast< long >(val6
);
36858 arg7
= wxString_in_helper(obj6
);
36859 if (arg7
== NULL
) SWIG_fail
;
36864 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36865 if (!SWIG_IsOK(ecode8
)) {
36866 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36868 arg8
= static_cast< int >(val8
);
36872 arg9
= wxString_in_helper(obj8
);
36873 if (arg9
== NULL
) SWIG_fail
;
36878 if (!wxPyCheckForApp()) SWIG_fail
;
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36915 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36916 PyObject
*resultobj
= 0;
36917 wxGenericDirCtrl
*result
= 0 ;
36919 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36921 if (!wxPyCheckForApp()) SWIG_fail
;
36922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36923 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36924 wxPyEndAllowThreads(__tstate
);
36925 if (PyErr_Occurred()) SWIG_fail
;
36927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36934 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36935 PyObject
*resultobj
= 0;
36936 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36937 wxWindow
*arg2
= (wxWindow
*) 0 ;
36938 int arg3
= (int) (int)-1 ;
36939 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36940 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36941 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36942 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36943 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36944 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36945 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36946 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36947 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36948 int arg9
= (int) 0 ;
36949 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36950 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36958 bool temp4
= false ;
36963 bool temp8
= false ;
36966 bool temp10
= false ;
36967 PyObject
* obj0
= 0 ;
36968 PyObject
* obj1
= 0 ;
36969 PyObject
* obj2
= 0 ;
36970 PyObject
* obj3
= 0 ;
36971 PyObject
* obj4
= 0 ;
36972 PyObject
* obj5
= 0 ;
36973 PyObject
* obj6
= 0 ;
36974 PyObject
* obj7
= 0 ;
36975 PyObject
* obj8
= 0 ;
36976 PyObject
* obj9
= 0 ;
36977 char * kwnames
[] = {
36978 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36983 if (!SWIG_IsOK(res1
)) {
36984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36986 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36988 if (!SWIG_IsOK(res2
)) {
36989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36991 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36994 if (!SWIG_IsOK(ecode3
)) {
36995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36997 arg3
= static_cast< int >(val3
);
37001 arg4
= wxString_in_helper(obj3
);
37002 if (arg4
== NULL
) SWIG_fail
;
37009 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37015 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37019 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37020 if (!SWIG_IsOK(ecode7
)) {
37021 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37023 arg7
= static_cast< long >(val7
);
37027 arg8
= wxString_in_helper(obj7
);
37028 if (arg8
== NULL
) SWIG_fail
;
37033 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37034 if (!SWIG_IsOK(ecode9
)) {
37035 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37037 arg9
= static_cast< int >(val9
);
37041 arg10
= wxString_in_helper(obj9
);
37042 if (arg10
== NULL
) SWIG_fail
;
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37049 wxPyEndAllowThreads(__tstate
);
37050 if (PyErr_Occurred()) SWIG_fail
;
37053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37085 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37086 PyObject
*resultobj
= 0;
37087 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37088 wxString
*arg2
= 0 ;
37092 bool temp2
= false ;
37093 PyObject
* obj0
= 0 ;
37094 PyObject
* obj1
= 0 ;
37095 char * kwnames
[] = {
37096 (char *) "self",(char *) "path", NULL
37099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37101 if (!SWIG_IsOK(res1
)) {
37102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37104 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37106 arg2
= wxString_in_helper(obj1
);
37107 if (arg2
== NULL
) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37113 wxPyEndAllowThreads(__tstate
);
37114 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37133 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37134 PyObject
*resultobj
= 0;
37135 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37139 PyObject
*swig_obj
[1] ;
37141 if (!args
) SWIG_fail
;
37142 swig_obj
[0] = args
;
37143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37144 if (!SWIG_IsOK(res1
)) {
37145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37147 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37150 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37151 wxPyEndAllowThreads(__tstate
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37167 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37168 PyObject
*resultobj
= 0;
37169 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37170 wxString
*arg2
= 0 ;
37173 bool temp2
= false ;
37174 PyObject
* obj0
= 0 ;
37175 PyObject
* obj1
= 0 ;
37176 char * kwnames
[] = {
37177 (char *) "self",(char *) "path", NULL
37180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37182 if (!SWIG_IsOK(res1
)) {
37183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37185 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37187 arg2
= wxString_in_helper(obj1
);
37188 if (arg2
== NULL
) SWIG_fail
;
37192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37193 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37194 wxPyEndAllowThreads(__tstate
);
37195 if (PyErr_Occurred()) SWIG_fail
;
37197 resultobj
= SWIG_Py_Void();
37212 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37213 PyObject
*resultobj
= 0;
37214 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37218 PyObject
*swig_obj
[1] ;
37220 if (!args
) SWIG_fail
;
37221 swig_obj
[0] = args
;
37222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37223 if (!SWIG_IsOK(res1
)) {
37224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37226 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37229 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37246 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37247 PyObject
*resultobj
= 0;
37248 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37252 PyObject
*swig_obj
[1] ;
37254 if (!args
) SWIG_fail
;
37255 swig_obj
[0] = args
;
37256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37257 if (!SWIG_IsOK(res1
)) {
37258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37260 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37263 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37280 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37281 PyObject
*resultobj
= 0;
37282 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37283 wxString
*arg2
= 0 ;
37286 bool temp2
= false ;
37287 PyObject
* obj0
= 0 ;
37288 PyObject
* obj1
= 0 ;
37289 char * kwnames
[] = {
37290 (char *) "self",(char *) "path", NULL
37293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37295 if (!SWIG_IsOK(res1
)) {
37296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37298 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37300 arg2
= wxString_in_helper(obj1
);
37301 if (arg2
== NULL
) SWIG_fail
;
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 (arg1
)->SetPath((wxString
const &)*arg2
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37310 resultobj
= SWIG_Py_Void();
37325 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
= 0;
37327 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37333 PyObject
* obj0
= 0 ;
37334 PyObject
* obj1
= 0 ;
37335 char * kwnames
[] = {
37336 (char *) "self",(char *) "show", NULL
37339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37341 if (!SWIG_IsOK(res1
)) {
37342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37344 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37345 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37346 if (!SWIG_IsOK(ecode2
)) {
37347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37349 arg2
= static_cast< bool >(val2
);
37351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37352 (arg1
)->ShowHidden(arg2
);
37353 wxPyEndAllowThreads(__tstate
);
37354 if (PyErr_Occurred()) SWIG_fail
;
37356 resultobj
= SWIG_Py_Void();
37363 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37364 PyObject
*resultobj
= 0;
37365 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37369 PyObject
*swig_obj
[1] ;
37371 if (!args
) SWIG_fail
;
37372 swig_obj
[0] = args
;
37373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37374 if (!SWIG_IsOK(res1
)) {
37375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37377 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 result
= (bool)(arg1
)->GetShowHidden();
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37393 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37394 PyObject
*resultobj
= 0;
37395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37399 PyObject
*swig_obj
[1] ;
37401 if (!args
) SWIG_fail
;
37402 swig_obj
[0] = args
;
37403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37404 if (!SWIG_IsOK(res1
)) {
37405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37407 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37427 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37428 PyObject
*resultobj
= 0;
37429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37430 wxString
*arg2
= 0 ;
37433 bool temp2
= false ;
37434 PyObject
* obj0
= 0 ;
37435 PyObject
* obj1
= 0 ;
37436 char * kwnames
[] = {
37437 (char *) "self",(char *) "filter", NULL
37440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37442 if (!SWIG_IsOK(res1
)) {
37443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37445 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37447 arg2
= wxString_in_helper(obj1
);
37448 if (arg2
== NULL
) SWIG_fail
;
37452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37453 (arg1
)->SetFilter((wxString
const &)*arg2
);
37454 wxPyEndAllowThreads(__tstate
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 resultobj
= SWIG_Py_Void();
37472 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37473 PyObject
*resultobj
= 0;
37474 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37478 PyObject
*swig_obj
[1] ;
37480 if (!args
) SWIG_fail
;
37481 swig_obj
[0] = args
;
37482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37483 if (!SWIG_IsOK(res1
)) {
37484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37486 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37489 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37490 wxPyEndAllowThreads(__tstate
);
37491 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= SWIG_From_int(static_cast< int >(result
));
37500 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37501 PyObject
*resultobj
= 0;
37502 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37508 PyObject
* obj0
= 0 ;
37509 PyObject
* obj1
= 0 ;
37510 char * kwnames
[] = {
37511 (char *) "self",(char *) "n", NULL
37514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37516 if (!SWIG_IsOK(res1
)) {
37517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37519 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37521 if (!SWIG_IsOK(ecode2
)) {
37522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37524 arg2
= static_cast< int >(val2
);
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 (arg1
)->SetFilterIndex(arg2
);
37528 wxPyEndAllowThreads(__tstate
);
37529 if (PyErr_Occurred()) SWIG_fail
;
37531 resultobj
= SWIG_Py_Void();
37538 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37539 PyObject
*resultobj
= 0;
37540 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37541 wxTreeItemId result
;
37544 PyObject
*swig_obj
[1] ;
37546 if (!args
) SWIG_fail
;
37547 swig_obj
[0] = args
;
37548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37549 if (!SWIG_IsOK(res1
)) {
37550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37552 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 result
= (arg1
)->GetRootId();
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37566 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37567 PyObject
*resultobj
= 0;
37568 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37569 wxPyTreeCtrl
*result
= 0 ;
37572 PyObject
*swig_obj
[1] ;
37574 if (!args
) SWIG_fail
;
37575 swig_obj
[0] = args
;
37576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37577 if (!SWIG_IsOK(res1
)) {
37578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37580 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37584 wxPyEndAllowThreads(__tstate
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37588 resultobj
= wxPyMake_wxObject(result
, 0);
37596 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37597 PyObject
*resultobj
= 0;
37598 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37599 wxDirFilterListCtrl
*result
= 0 ;
37602 PyObject
*swig_obj
[1] ;
37604 if (!args
) SWIG_fail
;
37605 swig_obj
[0] = args
;
37606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37607 if (!SWIG_IsOK(res1
)) {
37608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37610 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37613 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37614 wxPyEndAllowThreads(__tstate
);
37615 if (PyErr_Occurred()) SWIG_fail
;
37617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37624 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37625 PyObject
*resultobj
= 0;
37626 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37627 wxTreeItemId arg2
;
37628 wxString
*arg3
= 0 ;
37630 wxTreeItemId result
;
37635 bool temp3
= false ;
37637 int res4
= SWIG_TMPOBJ
;
37638 PyObject
* obj0
= 0 ;
37639 PyObject
* obj1
= 0 ;
37640 PyObject
* obj2
= 0 ;
37641 char * kwnames
[] = {
37642 (char *) "self",(char *) "parentId",(char *) "path", NULL
37646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37648 if (!SWIG_IsOK(res1
)) {
37649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37651 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37654 if (!SWIG_IsOK(res2
)) {
37655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37660 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37662 if (SWIG_IsNewObj(res2
)) delete temp
;
37666 arg3
= wxString_in_helper(obj2
);
37667 if (arg3
== NULL
) SWIG_fail
;
37671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37672 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37673 wxPyEndAllowThreads(__tstate
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37676 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37677 if (SWIG_IsTmpObj(res4
)) {
37678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37680 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37697 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37698 PyObject
*resultobj
= 0;
37699 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37702 PyObject
*swig_obj
[1] ;
37704 if (!args
) SWIG_fail
;
37705 swig_obj
[0] = args
;
37706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37707 if (!SWIG_IsOK(res1
)) {
37708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37710 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 (arg1
)->DoResize();
37714 wxPyEndAllowThreads(__tstate
);
37715 if (PyErr_Occurred()) SWIG_fail
;
37717 resultobj
= SWIG_Py_Void();
37724 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37725 PyObject
*resultobj
= 0;
37726 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37729 PyObject
*swig_obj
[1] ;
37731 if (!args
) SWIG_fail
;
37732 swig_obj
[0] = args
;
37733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37734 if (!SWIG_IsOK(res1
)) {
37735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37737 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 (arg1
)->ReCreateTree();
37741 wxPyEndAllowThreads(__tstate
);
37742 if (PyErr_Occurred()) SWIG_fail
;
37744 resultobj
= SWIG_Py_Void();
37751 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37754 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37755 return SWIG_Py_Void();
37758 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37759 return SWIG_Python_InitShadowInstance(args
);
37762 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37763 PyObject
*resultobj
= 0;
37764 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37765 int arg2
= (int) (int)-1 ;
37766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37770 long arg5
= (long) 0 ;
37771 wxDirFilterListCtrl
*result
= 0 ;
37780 PyObject
* obj0
= 0 ;
37781 PyObject
* obj1
= 0 ;
37782 PyObject
* obj2
= 0 ;
37783 PyObject
* obj3
= 0 ;
37784 PyObject
* obj4
= 0 ;
37785 char * kwnames
[] = {
37786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37791 if (!SWIG_IsOK(res1
)) {
37792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37794 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37797 if (!SWIG_IsOK(ecode2
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37800 arg2
= static_cast< int >(val2
);
37805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37815 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37816 if (!SWIG_IsOK(ecode5
)) {
37817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37819 arg5
= static_cast< long >(val5
);
37822 if (!wxPyCheckForApp()) SWIG_fail
;
37823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37824 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37825 wxPyEndAllowThreads(__tstate
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37835 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37836 PyObject
*resultobj
= 0;
37837 wxDirFilterListCtrl
*result
= 0 ;
37839 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37841 if (!wxPyCheckForApp()) SWIG_fail
;
37842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37843 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37844 wxPyEndAllowThreads(__tstate
);
37845 if (PyErr_Occurred()) SWIG_fail
;
37847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37854 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37855 PyObject
*resultobj
= 0;
37856 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37857 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37858 int arg3
= (int) (int)-1 ;
37859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37861 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37862 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37863 long arg6
= (long) 0 ;
37875 PyObject
* obj0
= 0 ;
37876 PyObject
* obj1
= 0 ;
37877 PyObject
* obj2
= 0 ;
37878 PyObject
* obj3
= 0 ;
37879 PyObject
* obj4
= 0 ;
37880 PyObject
* obj5
= 0 ;
37881 char * kwnames
[] = {
37882 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37887 if (!SWIG_IsOK(res1
)) {
37888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37890 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37892 if (!SWIG_IsOK(res2
)) {
37893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37895 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37898 if (!SWIG_IsOK(ecode3
)) {
37899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37901 arg3
= static_cast< int >(val3
);
37906 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37912 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37916 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37917 if (!SWIG_IsOK(ecode6
)) {
37918 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37920 arg6
= static_cast< long >(val6
);
37923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37924 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37925 wxPyEndAllowThreads(__tstate
);
37926 if (PyErr_Occurred()) SWIG_fail
;
37929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37937 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
= 0;
37939 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37940 wxString
*arg2
= 0 ;
37944 bool temp2
= false ;
37947 PyObject
* obj0
= 0 ;
37948 PyObject
* obj1
= 0 ;
37949 PyObject
* obj2
= 0 ;
37950 char * kwnames
[] = {
37951 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37956 if (!SWIG_IsOK(res1
)) {
37957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37959 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37961 arg2
= wxString_in_helper(obj1
);
37962 if (arg2
== NULL
) SWIG_fail
;
37965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37966 if (!SWIG_IsOK(ecode3
)) {
37967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37969 arg3
= static_cast< int >(val3
);
37971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37972 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37973 wxPyEndAllowThreads(__tstate
);
37974 if (PyErr_Occurred()) SWIG_fail
;
37976 resultobj
= SWIG_Py_Void();
37991 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37994 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37995 return SWIG_Py_Void();
37998 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37999 return SWIG_Python_InitShadowInstance(args
);
38002 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38003 PyObject
*resultobj
= 0;
38004 wxWindow
*arg1
= (wxWindow
*) 0 ;
38005 int arg2
= (int) (int)-1 ;
38006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38008 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38009 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38010 long arg5
= (long) 0 ;
38011 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38012 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38013 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38014 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38015 wxPyControl
*result
= 0 ;
38026 bool temp7
= false ;
38027 PyObject
* obj0
= 0 ;
38028 PyObject
* obj1
= 0 ;
38029 PyObject
* obj2
= 0 ;
38030 PyObject
* obj3
= 0 ;
38031 PyObject
* obj4
= 0 ;
38032 PyObject
* obj5
= 0 ;
38033 PyObject
* obj6
= 0 ;
38034 char * kwnames
[] = {
38035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38040 if (!SWIG_IsOK(res1
)) {
38041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38043 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38046 if (!SWIG_IsOK(ecode2
)) {
38047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38049 arg2
= static_cast< int >(val2
);
38054 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38060 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38064 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38065 if (!SWIG_IsOK(ecode5
)) {
38066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38068 arg5
= static_cast< long >(val5
);
38071 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38072 if (!SWIG_IsOK(res6
)) {
38073 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38078 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38082 arg7
= wxString_in_helper(obj6
);
38083 if (arg7
== NULL
) SWIG_fail
;
38088 if (!wxPyCheckForApp()) SWIG_fail
;
38089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38090 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38091 wxPyEndAllowThreads(__tstate
);
38092 if (PyErr_Occurred()) SWIG_fail
;
38094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38109 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38110 PyObject
*resultobj
= 0;
38111 wxPyControl
*result
= 0 ;
38113 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38115 if (!wxPyCheckForApp()) SWIG_fail
;
38116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38117 result
= (wxPyControl
*)new wxPyControl();
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38128 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38129 PyObject
*resultobj
= 0;
38130 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38131 PyObject
*arg2
= (PyObject
*) 0 ;
38132 PyObject
*arg3
= (PyObject
*) 0 ;
38135 PyObject
* obj0
= 0 ;
38136 PyObject
* obj1
= 0 ;
38137 PyObject
* obj2
= 0 ;
38138 char * kwnames
[] = {
38139 (char *) "self",(char *) "self",(char *) "_class", NULL
38142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38144 if (!SWIG_IsOK(res1
)) {
38145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38147 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38153 wxPyEndAllowThreads(__tstate
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38156 resultobj
= SWIG_Py_Void();
38163 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38164 PyObject
*resultobj
= 0;
38165 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38170 PyObject
* obj0
= 0 ;
38171 PyObject
* obj1
= 0 ;
38172 char * kwnames
[] = {
38173 (char *) "self",(char *) "size", NULL
38176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38178 if (!SWIG_IsOK(res1
)) {
38179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38181 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38184 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38188 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38192 resultobj
= SWIG_Py_Void();
38199 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38200 PyObject
*resultobj
= 0;
38201 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38202 wxDC
*arg2
= (wxDC
*) 0 ;
38208 PyObject
* obj0
= 0 ;
38209 PyObject
* obj1
= 0 ;
38210 char * kwnames
[] = {
38211 (char *) "self",(char *) "dc", NULL
38214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38216 if (!SWIG_IsOK(res1
)) {
38217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38219 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38221 if (!SWIG_IsOK(res2
)) {
38222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38224 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38227 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38228 wxPyEndAllowThreads(__tstate
);
38229 if (PyErr_Occurred()) SWIG_fail
;
38232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38240 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38241 PyObject
*resultobj
= 0;
38242 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38257 PyObject
* obj0
= 0 ;
38258 PyObject
* obj1
= 0 ;
38259 PyObject
* obj2
= 0 ;
38260 PyObject
* obj3
= 0 ;
38261 PyObject
* obj4
= 0 ;
38262 char * kwnames
[] = {
38263 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38268 if (!SWIG_IsOK(res1
)) {
38269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38271 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38273 if (!SWIG_IsOK(ecode2
)) {
38274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38276 arg2
= static_cast< int >(val2
);
38277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38278 if (!SWIG_IsOK(ecode3
)) {
38279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38281 arg3
= static_cast< int >(val3
);
38282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38283 if (!SWIG_IsOK(ecode4
)) {
38284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38286 arg4
= static_cast< int >(val4
);
38287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38288 if (!SWIG_IsOK(ecode5
)) {
38289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38291 arg5
= static_cast< int >(val5
);
38293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38294 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38295 wxPyEndAllowThreads(__tstate
);
38296 if (PyErr_Occurred()) SWIG_fail
;
38298 resultobj
= SWIG_Py_Void();
38305 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38306 PyObject
*resultobj
= 0;
38307 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38312 int arg6
= (int) wxSIZE_AUTO
;
38325 PyObject
* obj0
= 0 ;
38326 PyObject
* obj1
= 0 ;
38327 PyObject
* obj2
= 0 ;
38328 PyObject
* obj3
= 0 ;
38329 PyObject
* obj4
= 0 ;
38330 PyObject
* obj5
= 0 ;
38331 char * kwnames
[] = {
38332 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38337 if (!SWIG_IsOK(res1
)) {
38338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38340 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38342 if (!SWIG_IsOK(ecode2
)) {
38343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38345 arg2
= static_cast< int >(val2
);
38346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38347 if (!SWIG_IsOK(ecode3
)) {
38348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38350 arg3
= static_cast< int >(val3
);
38351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38352 if (!SWIG_IsOK(ecode4
)) {
38353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38355 arg4
= static_cast< int >(val4
);
38356 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38357 if (!SWIG_IsOK(ecode5
)) {
38358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38360 arg5
= static_cast< int >(val5
);
38362 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38363 if (!SWIG_IsOK(ecode6
)) {
38364 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38366 arg6
= static_cast< int >(val6
);
38369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38370 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38371 wxPyEndAllowThreads(__tstate
);
38372 if (PyErr_Occurred()) SWIG_fail
;
38374 resultobj
= SWIG_Py_Void();
38381 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38382 PyObject
*resultobj
= 0;
38383 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38392 PyObject
* obj0
= 0 ;
38393 PyObject
* obj1
= 0 ;
38394 PyObject
* obj2
= 0 ;
38395 char * kwnames
[] = {
38396 (char *) "self",(char *) "width",(char *) "height", NULL
38399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38401 if (!SWIG_IsOK(res1
)) {
38402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38404 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38406 if (!SWIG_IsOK(ecode2
)) {
38407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38409 arg2
= static_cast< int >(val2
);
38410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38411 if (!SWIG_IsOK(ecode3
)) {
38412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38414 arg3
= static_cast< int >(val3
);
38416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38417 (arg1
)->DoSetClientSize(arg2
,arg3
);
38418 wxPyEndAllowThreads(__tstate
);
38419 if (PyErr_Occurred()) SWIG_fail
;
38421 resultobj
= SWIG_Py_Void();
38428 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38429 PyObject
*resultobj
= 0;
38430 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38439 PyObject
* obj0
= 0 ;
38440 PyObject
* obj1
= 0 ;
38441 PyObject
* obj2
= 0 ;
38442 char * kwnames
[] = {
38443 (char *) "self",(char *) "x",(char *) "y", NULL
38446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38448 if (!SWIG_IsOK(res1
)) {
38449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38451 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38453 if (!SWIG_IsOK(ecode2
)) {
38454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38456 arg2
= static_cast< int >(val2
);
38457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38458 if (!SWIG_IsOK(ecode3
)) {
38459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38461 arg3
= static_cast< int >(val3
);
38463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= SWIG_Py_Void();
38475 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38476 PyObject
*resultobj
= 0;
38477 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38478 int *arg2
= (int *) 0 ;
38479 int *arg3
= (int *) 0 ;
38483 int res2
= SWIG_TMPOBJ
;
38485 int res3
= SWIG_TMPOBJ
;
38486 PyObject
*swig_obj
[1] ;
38490 if (!args
) SWIG_fail
;
38491 swig_obj
[0] = args
;
38492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38493 if (!SWIG_IsOK(res1
)) {
38494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38496 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38499 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= SWIG_Py_Void();
38504 if (SWIG_IsTmpObj(res2
)) {
38505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38507 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38510 if (SWIG_IsTmpObj(res3
)) {
38511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38513 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38522 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38523 PyObject
*resultobj
= 0;
38524 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38525 int *arg2
= (int *) 0 ;
38526 int *arg3
= (int *) 0 ;
38530 int res2
= SWIG_TMPOBJ
;
38532 int res3
= SWIG_TMPOBJ
;
38533 PyObject
*swig_obj
[1] ;
38537 if (!args
) SWIG_fail
;
38538 swig_obj
[0] = args
;
38539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38540 if (!SWIG_IsOK(res1
)) {
38541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38543 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38546 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38547 wxPyEndAllowThreads(__tstate
);
38548 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= SWIG_Py_Void();
38551 if (SWIG_IsTmpObj(res2
)) {
38552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38554 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38557 if (SWIG_IsTmpObj(res3
)) {
38558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38560 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38569 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38570 PyObject
*resultobj
= 0;
38571 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38572 int *arg2
= (int *) 0 ;
38573 int *arg3
= (int *) 0 ;
38577 int res2
= SWIG_TMPOBJ
;
38579 int res3
= SWIG_TMPOBJ
;
38580 PyObject
*swig_obj
[1] ;
38584 if (!args
) SWIG_fail
;
38585 swig_obj
[0] = args
;
38586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38587 if (!SWIG_IsOK(res1
)) {
38588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38590 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38593 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38594 wxPyEndAllowThreads(__tstate
);
38595 if (PyErr_Occurred()) SWIG_fail
;
38597 resultobj
= SWIG_Py_Void();
38598 if (SWIG_IsTmpObj(res2
)) {
38599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38601 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38604 if (SWIG_IsTmpObj(res3
)) {
38605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38607 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38616 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38617 PyObject
*resultobj
= 0;
38618 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38622 PyObject
*swig_obj
[1] ;
38624 if (!args
) SWIG_fail
;
38625 swig_obj
[0] = args
;
38626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38627 if (!SWIG_IsOK(res1
)) {
38628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38630 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38633 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38634 wxPyEndAllowThreads(__tstate
);
38635 if (PyErr_Occurred()) SWIG_fail
;
38637 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38644 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38645 PyObject
*resultobj
= 0;
38646 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38650 PyObject
*swig_obj
[1] ;
38652 if (!args
) SWIG_fail
;
38653 swig_obj
[0] = args
;
38654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38655 if (!SWIG_IsOK(res1
)) {
38656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38658 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38661 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38662 wxPyEndAllowThreads(__tstate
);
38663 if (PyErr_Occurred()) SWIG_fail
;
38665 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38672 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38673 PyObject
*resultobj
= 0;
38674 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38675 SwigValueWrapper
<wxVisualAttributes
> result
;
38678 PyObject
*swig_obj
[1] ;
38680 if (!args
) SWIG_fail
;
38681 swig_obj
[0] = args
;
38682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38683 if (!SWIG_IsOK(res1
)) {
38684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38686 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38689 result
= (arg1
)->GetDefaultAttributes();
38690 wxPyEndAllowThreads(__tstate
);
38691 if (PyErr_Occurred()) SWIG_fail
;
38693 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38700 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38701 PyObject
*resultobj
= 0;
38702 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38705 PyObject
*swig_obj
[1] ;
38707 if (!args
) SWIG_fail
;
38708 swig_obj
[0] = args
;
38709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38710 if (!SWIG_IsOK(res1
)) {
38711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38713 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38716 (arg1
)->OnInternalIdle();
38717 wxPyEndAllowThreads(__tstate
);
38718 if (PyErr_Occurred()) SWIG_fail
;
38720 resultobj
= SWIG_Py_Void();
38727 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38730 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38731 return SWIG_Py_Void();
38734 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38735 return SWIG_Python_InitShadowInstance(args
);
38738 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38739 PyObject
*resultobj
= 0;
38740 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38741 int arg2
= (int) 0 ;
38742 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38743 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38744 wxHelpEvent
*result
= 0 ;
38750 PyObject
* obj0
= 0 ;
38751 PyObject
* obj1
= 0 ;
38752 PyObject
* obj2
= 0 ;
38753 char * kwnames
[] = {
38754 (char *) "type",(char *) "winid",(char *) "pt", NULL
38757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38760 if (!SWIG_IsOK(ecode1
)) {
38761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38763 arg1
= static_cast< wxEventType
>(val1
);
38766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38767 if (!SWIG_IsOK(ecode2
)) {
38768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38770 arg2
= static_cast< int >(val2
);
38775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38780 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38781 wxPyEndAllowThreads(__tstate
);
38782 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38791 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38792 PyObject
*resultobj
= 0;
38793 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38797 PyObject
*swig_obj
[1] ;
38799 if (!args
) SWIG_fail
;
38800 swig_obj
[0] = args
;
38801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38802 if (!SWIG_IsOK(res1
)) {
38803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38805 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38809 wxPyEndAllowThreads(__tstate
);
38810 if (PyErr_Occurred()) SWIG_fail
;
38812 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38819 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38820 PyObject
*resultobj
= 0;
38821 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38822 wxPoint
*arg2
= 0 ;
38826 PyObject
* obj0
= 0 ;
38827 PyObject
* obj1
= 0 ;
38828 char * kwnames
[] = {
38829 (char *) "self",(char *) "pos", NULL
38832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38834 if (!SWIG_IsOK(res1
)) {
38835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38837 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38844 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38845 wxPyEndAllowThreads(__tstate
);
38846 if (PyErr_Occurred()) SWIG_fail
;
38848 resultobj
= SWIG_Py_Void();
38855 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38856 PyObject
*resultobj
= 0;
38857 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38858 wxString
*result
= 0 ;
38861 PyObject
*swig_obj
[1] ;
38863 if (!args
) SWIG_fail
;
38864 swig_obj
[0] = args
;
38865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38866 if (!SWIG_IsOK(res1
)) {
38867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38869 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38874 result
= (wxString
*) &_result_ref
;
38876 wxPyEndAllowThreads(__tstate
);
38877 if (PyErr_Occurred()) SWIG_fail
;
38881 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38883 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38892 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38893 PyObject
*resultobj
= 0;
38894 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38895 wxString
*arg2
= 0 ;
38898 bool temp2
= false ;
38899 PyObject
* obj0
= 0 ;
38900 PyObject
* obj1
= 0 ;
38901 char * kwnames
[] = {
38902 (char *) "self",(char *) "link", NULL
38905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38907 if (!SWIG_IsOK(res1
)) {
38908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38910 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38912 arg2
= wxString_in_helper(obj1
);
38913 if (arg2
== NULL
) SWIG_fail
;
38917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38918 (arg1
)->SetLink((wxString
const &)*arg2
);
38919 wxPyEndAllowThreads(__tstate
);
38920 if (PyErr_Occurred()) SWIG_fail
;
38922 resultobj
= SWIG_Py_Void();
38937 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38938 PyObject
*resultobj
= 0;
38939 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38940 wxString
*result
= 0 ;
38943 PyObject
*swig_obj
[1] ;
38945 if (!args
) SWIG_fail
;
38946 swig_obj
[0] = args
;
38947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38948 if (!SWIG_IsOK(res1
)) {
38949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38951 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38955 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38956 result
= (wxString
*) &_result_ref
;
38958 wxPyEndAllowThreads(__tstate
);
38959 if (PyErr_Occurred()) SWIG_fail
;
38963 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38965 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38974 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38975 PyObject
*resultobj
= 0;
38976 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38977 wxString
*arg2
= 0 ;
38980 bool temp2
= false ;
38981 PyObject
* obj0
= 0 ;
38982 PyObject
* obj1
= 0 ;
38983 char * kwnames
[] = {
38984 (char *) "self",(char *) "target", NULL
38987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38989 if (!SWIG_IsOK(res1
)) {
38990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38992 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38994 arg2
= wxString_in_helper(obj1
);
38995 if (arg2
== NULL
) SWIG_fail
;
38999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39000 (arg1
)->SetTarget((wxString
const &)*arg2
);
39001 wxPyEndAllowThreads(__tstate
);
39002 if (PyErr_Occurred()) SWIG_fail
;
39004 resultobj
= SWIG_Py_Void();
39019 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39022 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39023 return SWIG_Py_Void();
39026 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39027 return SWIG_Python_InitShadowInstance(args
);
39030 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39031 PyObject
*resultobj
= 0;
39032 wxWindow
*arg1
= (wxWindow
*) NULL
;
39033 bool arg2
= (bool) true ;
39034 wxContextHelp
*result
= 0 ;
39039 PyObject
* obj0
= 0 ;
39040 PyObject
* obj1
= 0 ;
39041 char * kwnames
[] = {
39042 (char *) "window",(char *) "doNow", NULL
39045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39048 if (!SWIG_IsOK(res1
)) {
39049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39054 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39055 if (!SWIG_IsOK(ecode2
)) {
39056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39058 arg2
= static_cast< bool >(val2
);
39061 if (!wxPyCheckForApp()) SWIG_fail
;
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39064 wxPyEndAllowThreads(__tstate
);
39065 if (PyErr_Occurred()) SWIG_fail
;
39067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39074 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39075 PyObject
*resultobj
= 0;
39076 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39079 PyObject
*swig_obj
[1] ;
39081 if (!args
) SWIG_fail
;
39082 swig_obj
[0] = args
;
39083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39084 if (!SWIG_IsOK(res1
)) {
39085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39087 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 wxPyEndAllowThreads(__tstate
);
39093 if (PyErr_Occurred()) SWIG_fail
;
39095 resultobj
= SWIG_Py_Void();
39102 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39103 PyObject
*resultobj
= 0;
39104 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39105 wxWindow
*arg2
= (wxWindow
*) NULL
;
39111 PyObject
* obj0
= 0 ;
39112 PyObject
* obj1
= 0 ;
39113 char * kwnames
[] = {
39114 (char *) "self",(char *) "window", NULL
39117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39119 if (!SWIG_IsOK(res1
)) {
39120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39122 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39125 if (!SWIG_IsOK(res2
)) {
39126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39132 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39145 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39146 PyObject
*resultobj
= 0;
39147 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39151 PyObject
*swig_obj
[1] ;
39153 if (!args
) SWIG_fail
;
39154 swig_obj
[0] = args
;
39155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39156 if (!SWIG_IsOK(res1
)) {
39157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39159 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39162 result
= (bool)(arg1
)->EndContextHelp();
39163 wxPyEndAllowThreads(__tstate
);
39164 if (PyErr_Occurred()) SWIG_fail
;
39167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39175 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39178 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39179 return SWIG_Py_Void();
39182 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39183 return SWIG_Python_InitShadowInstance(args
);
39186 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39187 PyObject
*resultobj
= 0;
39188 wxWindow
*arg1
= (wxWindow
*) 0 ;
39189 int arg2
= (int) wxID_CONTEXT_HELP
;
39190 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39191 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39192 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39193 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39194 long arg5
= (long) wxBU_AUTODRAW
;
39195 wxContextHelpButton
*result
= 0 ;
39204 PyObject
* obj0
= 0 ;
39205 PyObject
* obj1
= 0 ;
39206 PyObject
* obj2
= 0 ;
39207 PyObject
* obj3
= 0 ;
39208 PyObject
* obj4
= 0 ;
39209 char * kwnames
[] = {
39210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39215 if (!SWIG_IsOK(res1
)) {
39216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39221 if (!SWIG_IsOK(ecode2
)) {
39222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39224 arg2
= static_cast< int >(val2
);
39229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39235 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39239 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39240 if (!SWIG_IsOK(ecode5
)) {
39241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39243 arg5
= static_cast< long >(val5
);
39246 if (!wxPyCheckForApp()) SWIG_fail
;
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39249 wxPyEndAllowThreads(__tstate
);
39250 if (PyErr_Occurred()) SWIG_fail
;
39252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39259 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39262 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39263 return SWIG_Py_Void();
39266 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39267 return SWIG_Python_InitShadowInstance(args
);
39270 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39271 PyObject
*resultobj
= 0;
39272 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39275 PyObject
*swig_obj
[1] ;
39277 if (!args
) SWIG_fail
;
39278 swig_obj
[0] = args
;
39279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39280 if (!SWIG_IsOK(res1
)) {
39281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39283 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39291 resultobj
= SWIG_Py_Void();
39298 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39299 PyObject
*resultobj
= 0;
39300 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39301 wxHelpProvider
*result
= 0 ;
39303 PyObject
* obj0
= 0 ;
39304 char * kwnames
[] = {
39305 (char *) "helpProvider", NULL
39308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39309 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39310 if (!SWIG_IsOK(res1
)) {
39311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39315 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39326 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39327 PyObject
*resultobj
= 0;
39328 wxHelpProvider
*result
= 0 ;
39330 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39333 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39334 wxPyEndAllowThreads(__tstate
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39344 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39345 PyObject
*resultobj
= 0;
39346 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39347 wxWindow
*arg2
= (wxWindow
*) 0 ;
39353 PyObject
* obj0
= 0 ;
39354 PyObject
* obj1
= 0 ;
39355 char * kwnames
[] = {
39356 (char *) "self",(char *) "window", NULL
39359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39361 if (!SWIG_IsOK(res1
)) {
39362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39364 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39366 if (!SWIG_IsOK(res2
)) {
39367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39369 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39372 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39373 wxPyEndAllowThreads(__tstate
);
39374 if (PyErr_Occurred()) SWIG_fail
;
39378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39389 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39390 PyObject
*resultobj
= 0;
39391 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39392 wxWindow
*arg2
= (wxWindow
*) 0 ;
39398 PyObject
* obj0
= 0 ;
39399 PyObject
* obj1
= 0 ;
39400 char * kwnames
[] = {
39401 (char *) "self",(char *) "window", NULL
39404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39406 if (!SWIG_IsOK(res1
)) {
39407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39409 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39411 if (!SWIG_IsOK(res2
)) {
39412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39417 result
= (bool)(arg1
)->ShowHelp(arg2
);
39418 wxPyEndAllowThreads(__tstate
);
39419 if (PyErr_Occurred()) SWIG_fail
;
39422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39430 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39431 PyObject
*resultobj
= 0;
39432 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39433 wxWindow
*arg2
= (wxWindow
*) 0 ;
39434 wxString
*arg3
= 0 ;
39439 bool temp3
= false ;
39440 PyObject
* obj0
= 0 ;
39441 PyObject
* obj1
= 0 ;
39442 PyObject
* obj2
= 0 ;
39443 char * kwnames
[] = {
39444 (char *) "self",(char *) "window",(char *) "text", NULL
39447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39449 if (!SWIG_IsOK(res1
)) {
39450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39452 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39454 if (!SWIG_IsOK(res2
)) {
39455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39459 arg3
= wxString_in_helper(obj2
);
39460 if (arg3
== NULL
) SWIG_fail
;
39464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39465 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39466 wxPyEndAllowThreads(__tstate
);
39467 if (PyErr_Occurred()) SWIG_fail
;
39469 resultobj
= SWIG_Py_Void();
39484 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39485 PyObject
*resultobj
= 0;
39486 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39488 wxString
*arg3
= 0 ;
39493 bool temp3
= false ;
39494 PyObject
* obj0
= 0 ;
39495 PyObject
* obj1
= 0 ;
39496 PyObject
* obj2
= 0 ;
39497 char * kwnames
[] = {
39498 (char *) "self",(char *) "id",(char *) "text", NULL
39501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39503 if (!SWIG_IsOK(res1
)) {
39504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39506 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39508 if (!SWIG_IsOK(ecode2
)) {
39509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39511 arg2
= static_cast< int >(val2
);
39513 arg3
= wxString_in_helper(obj2
);
39514 if (arg3
== NULL
) SWIG_fail
;
39518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39519 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39520 wxPyEndAllowThreads(__tstate
);
39521 if (PyErr_Occurred()) SWIG_fail
;
39523 resultobj
= SWIG_Py_Void();
39538 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39539 PyObject
*resultobj
= 0;
39540 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39541 wxWindow
*arg2
= (wxWindow
*) 0 ;
39546 PyObject
* obj0
= 0 ;
39547 PyObject
* obj1
= 0 ;
39548 char * kwnames
[] = {
39549 (char *) "self",(char *) "window", NULL
39552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39554 if (!SWIG_IsOK(res1
)) {
39555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39557 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39559 if (!SWIG_IsOK(res2
)) {
39560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39565 (arg1
)->RemoveHelp(arg2
);
39566 wxPyEndAllowThreads(__tstate
);
39567 if (PyErr_Occurred()) SWIG_fail
;
39569 resultobj
= SWIG_Py_Void();
39576 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39577 PyObject
*resultobj
= 0;
39578 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39581 PyObject
*swig_obj
[1] ;
39583 if (!args
) SWIG_fail
;
39584 swig_obj
[0] = args
;
39585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39586 if (!SWIG_IsOK(res1
)) {
39587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39589 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39592 wxHelpProvider_Destroy(arg1
);
39593 wxPyEndAllowThreads(__tstate
);
39594 if (PyErr_Occurred()) SWIG_fail
;
39596 resultobj
= SWIG_Py_Void();
39603 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39606 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39607 return SWIG_Py_Void();
39610 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39611 PyObject
*resultobj
= 0;
39612 wxSimpleHelpProvider
*result
= 0 ;
39614 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39617 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39618 wxPyEndAllowThreads(__tstate
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39628 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39632 return SWIG_Py_Void();
39635 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39636 return SWIG_Python_InitShadowInstance(args
);
39639 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39640 PyObject
*resultobj
= 0;
39641 wxBitmap
*arg1
= 0 ;
39642 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39643 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39644 wxGenericDragImage
*result
= 0 ;
39649 PyObject
* obj0
= 0 ;
39650 PyObject
* obj1
= 0 ;
39651 char * kwnames
[] = {
39652 (char *) "image",(char *) "cursor", NULL
39655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39656 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39657 if (!SWIG_IsOK(res1
)) {
39658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39666 if (!SWIG_IsOK(res2
)) {
39667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39672 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39675 if (!wxPyCheckForApp()) SWIG_fail
;
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39678 wxPyEndAllowThreads(__tstate
);
39679 if (PyErr_Occurred()) SWIG_fail
;
39681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39688 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39689 PyObject
*resultobj
= 0;
39691 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39692 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39693 wxGenericDragImage
*result
= 0 ;
39698 PyObject
* obj0
= 0 ;
39699 PyObject
* obj1
= 0 ;
39700 char * kwnames
[] = {
39701 (char *) "image",(char *) "cursor", NULL
39704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39705 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39706 if (!SWIG_IsOK(res1
)) {
39707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39712 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39715 if (!SWIG_IsOK(res2
)) {
39716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39721 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39724 if (!wxPyCheckForApp()) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39737 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39738 PyObject
*resultobj
= 0;
39739 wxString
*arg1
= 0 ;
39740 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39741 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39742 wxGenericDragImage
*result
= 0 ;
39743 bool temp1
= false ;
39746 PyObject
* obj0
= 0 ;
39747 PyObject
* obj1
= 0 ;
39748 char * kwnames
[] = {
39749 (char *) "str",(char *) "cursor", NULL
39752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39754 arg1
= wxString_in_helper(obj0
);
39755 if (arg1
== NULL
) SWIG_fail
;
39759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39760 if (!SWIG_IsOK(res2
)) {
39761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39766 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39769 if (!wxPyCheckForApp()) SWIG_fail
;
39770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39771 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39772 wxPyEndAllowThreads(__tstate
);
39773 if (PyErr_Occurred()) SWIG_fail
;
39775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39790 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39791 PyObject
*resultobj
= 0;
39792 wxPyTreeCtrl
*arg1
= 0 ;
39793 wxTreeItemId
*arg2
= 0 ;
39794 wxGenericDragImage
*result
= 0 ;
39799 PyObject
* obj0
= 0 ;
39800 PyObject
* obj1
= 0 ;
39801 char * kwnames
[] = {
39802 (char *) "treeCtrl",(char *) "id", NULL
39805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39806 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39807 if (!SWIG_IsOK(res1
)) {
39808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39813 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39815 if (!SWIG_IsOK(res2
)) {
39816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39821 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39823 if (!wxPyCheckForApp()) SWIG_fail
;
39824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39825 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39826 wxPyEndAllowThreads(__tstate
);
39827 if (PyErr_Occurred()) SWIG_fail
;
39829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39836 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39837 PyObject
*resultobj
= 0;
39838 wxPyListCtrl
*arg1
= 0 ;
39840 wxGenericDragImage
*result
= 0 ;
39845 PyObject
* obj0
= 0 ;
39846 PyObject
* obj1
= 0 ;
39847 char * kwnames
[] = {
39848 (char *) "listCtrl",(char *) "id", NULL
39851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39852 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39853 if (!SWIG_IsOK(res1
)) {
39854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39861 if (!SWIG_IsOK(ecode2
)) {
39862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39864 arg2
= static_cast< long >(val2
);
39866 if (!wxPyCheckForApp()) SWIG_fail
;
39867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39868 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39869 wxPyEndAllowThreads(__tstate
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39879 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39880 PyObject
*resultobj
= 0;
39881 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39884 PyObject
*swig_obj
[1] ;
39886 if (!args
) SWIG_fail
;
39887 swig_obj
[0] = args
;
39888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39889 if (!SWIG_IsOK(res1
)) {
39890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39892 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 wxPyEndAllowThreads(__tstate
);
39898 if (PyErr_Occurred()) SWIG_fail
;
39900 resultobj
= SWIG_Py_Void();
39907 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39908 PyObject
*resultobj
= 0;
39909 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39910 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39915 PyObject
* obj0
= 0 ;
39916 PyObject
* obj1
= 0 ;
39917 char * kwnames
[] = {
39918 (char *) "self",(char *) "bitmap", NULL
39921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39923 if (!SWIG_IsOK(res1
)) {
39924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39926 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39928 if (!SWIG_IsOK(res2
)) {
39929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39931 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 (arg1
)->SetBackingBitmap(arg2
);
39935 wxPyEndAllowThreads(__tstate
);
39936 if (PyErr_Occurred()) SWIG_fail
;
39938 resultobj
= SWIG_Py_Void();
39945 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39946 PyObject
*resultobj
= 0;
39947 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39948 wxPoint
*arg2
= 0 ;
39949 wxWindow
*arg3
= (wxWindow
*) 0 ;
39950 bool arg4
= (bool) false ;
39951 wxRect
*arg5
= (wxRect
*) NULL
;
39962 PyObject
* obj0
= 0 ;
39963 PyObject
* obj1
= 0 ;
39964 PyObject
* obj2
= 0 ;
39965 PyObject
* obj3
= 0 ;
39966 PyObject
* obj4
= 0 ;
39967 char * kwnames
[] = {
39968 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39973 if (!SWIG_IsOK(res1
)) {
39974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39976 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39981 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39982 if (!SWIG_IsOK(res3
)) {
39983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39985 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39987 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39988 if (!SWIG_IsOK(ecode4
)) {
39989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39991 arg4
= static_cast< bool >(val4
);
39994 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39995 if (!SWIG_IsOK(res5
)) {
39996 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39998 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40002 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40003 wxPyEndAllowThreads(__tstate
);
40004 if (PyErr_Occurred()) SWIG_fail
;
40007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40015 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40016 PyObject
*resultobj
= 0;
40017 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40018 wxPoint
*arg2
= 0 ;
40019 wxWindow
*arg3
= (wxWindow
*) 0 ;
40020 wxWindow
*arg4
= (wxWindow
*) 0 ;
40029 PyObject
* obj0
= 0 ;
40030 PyObject
* obj1
= 0 ;
40031 PyObject
* obj2
= 0 ;
40032 PyObject
* obj3
= 0 ;
40033 char * kwnames
[] = {
40034 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40039 if (!SWIG_IsOK(res1
)) {
40040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40042 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40047 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40048 if (!SWIG_IsOK(res3
)) {
40049 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40051 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40052 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40053 if (!SWIG_IsOK(res4
)) {
40054 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40056 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40059 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40072 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40073 PyObject
*resultobj
= 0;
40074 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40078 PyObject
*swig_obj
[1] ;
40080 if (!args
) SWIG_fail
;
40081 swig_obj
[0] = args
;
40082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40083 if (!SWIG_IsOK(res1
)) {
40084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40086 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40089 result
= (bool)(arg1
)->EndDrag();
40090 wxPyEndAllowThreads(__tstate
);
40091 if (PyErr_Occurred()) SWIG_fail
;
40094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40102 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40103 PyObject
*resultobj
= 0;
40104 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40105 wxPoint
*arg2
= 0 ;
40110 PyObject
* obj0
= 0 ;
40111 PyObject
* obj1
= 0 ;
40112 char * kwnames
[] = {
40113 (char *) "self",(char *) "pt", NULL
40116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40118 if (!SWIG_IsOK(res1
)) {
40119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40121 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40128 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40129 wxPyEndAllowThreads(__tstate
);
40130 if (PyErr_Occurred()) SWIG_fail
;
40133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40141 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40142 PyObject
*resultobj
= 0;
40143 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40147 PyObject
*swig_obj
[1] ;
40149 if (!args
) SWIG_fail
;
40150 swig_obj
[0] = args
;
40151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40152 if (!SWIG_IsOK(res1
)) {
40153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40155 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40158 result
= (bool)(arg1
)->Show();
40159 wxPyEndAllowThreads(__tstate
);
40160 if (PyErr_Occurred()) SWIG_fail
;
40163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40171 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40172 PyObject
*resultobj
= 0;
40173 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40177 PyObject
*swig_obj
[1] ;
40179 if (!args
) SWIG_fail
;
40180 swig_obj
[0] = args
;
40181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40182 if (!SWIG_IsOK(res1
)) {
40183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40185 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40188 result
= (bool)(arg1
)->Hide();
40189 wxPyEndAllowThreads(__tstate
);
40190 if (PyErr_Occurred()) SWIG_fail
;
40193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40201 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40202 PyObject
*resultobj
= 0;
40203 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40204 wxPoint
*arg2
= 0 ;
40209 PyObject
* obj0
= 0 ;
40210 PyObject
* obj1
= 0 ;
40211 char * kwnames
[] = {
40212 (char *) "self",(char *) "pos", NULL
40215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40217 if (!SWIG_IsOK(res1
)) {
40218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40220 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40227 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40228 wxPyEndAllowThreads(__tstate
);
40229 if (PyErr_Occurred()) SWIG_fail
;
40231 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40238 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40239 PyObject
*resultobj
= 0;
40240 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40242 wxPoint
*arg3
= 0 ;
40249 PyObject
* obj0
= 0 ;
40250 PyObject
* obj1
= 0 ;
40251 PyObject
* obj2
= 0 ;
40252 char * kwnames
[] = {
40253 (char *) "self",(char *) "dc",(char *) "pos", NULL
40256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40258 if (!SWIG_IsOK(res1
)) {
40259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40261 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40263 if (!SWIG_IsOK(res2
)) {
40264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40269 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40272 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40276 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40277 wxPyEndAllowThreads(__tstate
);
40278 if (PyErr_Occurred()) SWIG_fail
;
40281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40289 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40290 PyObject
*resultobj
= 0;
40291 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40293 wxMemoryDC
*arg3
= 0 ;
40305 PyObject
* obj0
= 0 ;
40306 PyObject
* obj1
= 0 ;
40307 PyObject
* obj2
= 0 ;
40308 PyObject
* obj3
= 0 ;
40309 PyObject
* obj4
= 0 ;
40310 char * kwnames
[] = {
40311 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40316 if (!SWIG_IsOK(res1
)) {
40317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40319 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40321 if (!SWIG_IsOK(res2
)) {
40322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40327 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40328 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40329 if (!SWIG_IsOK(res3
)) {
40330 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40335 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40338 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40342 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40346 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40347 wxPyEndAllowThreads(__tstate
);
40348 if (PyErr_Occurred()) SWIG_fail
;
40351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40359 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40360 PyObject
*resultobj
= 0;
40361 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40362 wxPoint
*arg2
= 0 ;
40363 wxPoint
*arg3
= 0 ;
40375 PyObject
* obj0
= 0 ;
40376 PyObject
* obj1
= 0 ;
40377 PyObject
* obj2
= 0 ;
40378 PyObject
* obj3
= 0 ;
40379 PyObject
* obj4
= 0 ;
40380 char * kwnames
[] = {
40381 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40386 if (!SWIG_IsOK(res1
)) {
40387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40389 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40398 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40399 if (!SWIG_IsOK(ecode4
)) {
40400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40402 arg4
= static_cast< bool >(val4
);
40403 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40404 if (!SWIG_IsOK(ecode5
)) {
40405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40407 arg5
= static_cast< bool >(val5
);
40409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40410 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40411 wxPyEndAllowThreads(__tstate
);
40412 if (PyErr_Occurred()) SWIG_fail
;
40415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40423 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40426 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40427 return SWIG_Py_Void();
40430 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40431 return SWIG_Python_InitShadowInstance(args
);
40434 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40435 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40440 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40441 PyObject
*pyobj
= 0;
40445 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40447 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40454 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40455 PyObject
*resultobj
= 0;
40456 wxWindow
*arg1
= (wxWindow
*) 0 ;
40457 int arg2
= (int) -1 ;
40458 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40459 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40464 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40465 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40466 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40467 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40469 wxDatePickerCtrl
*result
= 0 ;
40482 bool temp8
= false ;
40483 PyObject
* obj0
= 0 ;
40484 PyObject
* obj1
= 0 ;
40485 PyObject
* obj2
= 0 ;
40486 PyObject
* obj3
= 0 ;
40487 PyObject
* obj4
= 0 ;
40488 PyObject
* obj5
= 0 ;
40489 PyObject
* obj6
= 0 ;
40490 PyObject
* obj7
= 0 ;
40491 char * kwnames
[] = {
40492 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40497 if (!SWIG_IsOK(res1
)) {
40498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40503 if (!SWIG_IsOK(ecode2
)) {
40504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40506 arg2
= static_cast< int >(val2
);
40509 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40510 if (!SWIG_IsOK(res3
)) {
40511 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40516 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40531 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40532 if (!SWIG_IsOK(ecode6
)) {
40533 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40535 arg6
= static_cast< long >(val6
);
40538 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40539 if (!SWIG_IsOK(res7
)) {
40540 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40545 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40549 arg8
= wxString_in_helper(obj7
);
40550 if (arg8
== NULL
) SWIG_fail
;
40555 if (!wxPyCheckForApp()) SWIG_fail
;
40556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40557 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40558 wxPyEndAllowThreads(__tstate
);
40559 if (PyErr_Occurred()) SWIG_fail
;
40561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40576 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40577 PyObject
*resultobj
= 0;
40578 wxDatePickerCtrl
*result
= 0 ;
40580 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40582 if (!wxPyCheckForApp()) SWIG_fail
;
40583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40584 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40585 wxPyEndAllowThreads(__tstate
);
40586 if (PyErr_Occurred()) SWIG_fail
;
40588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40595 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40596 PyObject
*resultobj
= 0;
40597 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40598 wxWindow
*arg2
= (wxWindow
*) 0 ;
40599 int arg3
= (int) -1 ;
40600 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40601 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40606 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40607 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40608 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40609 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40610 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40626 bool temp9
= false ;
40627 PyObject
* obj0
= 0 ;
40628 PyObject
* obj1
= 0 ;
40629 PyObject
* obj2
= 0 ;
40630 PyObject
* obj3
= 0 ;
40631 PyObject
* obj4
= 0 ;
40632 PyObject
* obj5
= 0 ;
40633 PyObject
* obj6
= 0 ;
40634 PyObject
* obj7
= 0 ;
40635 PyObject
* obj8
= 0 ;
40636 char * kwnames
[] = {
40637 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40642 if (!SWIG_IsOK(res1
)) {
40643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40645 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40647 if (!SWIG_IsOK(res2
)) {
40648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40650 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40653 if (!SWIG_IsOK(ecode3
)) {
40654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40656 arg3
= static_cast< int >(val3
);
40659 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40660 if (!SWIG_IsOK(res4
)) {
40661 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40666 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40671 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40677 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40681 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40682 if (!SWIG_IsOK(ecode7
)) {
40683 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40685 arg7
= static_cast< long >(val7
);
40688 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40689 if (!SWIG_IsOK(res8
)) {
40690 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40695 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40699 arg9
= wxString_in_helper(obj8
);
40700 if (arg9
== NULL
) SWIG_fail
;
40705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40707 wxPyEndAllowThreads(__tstate
);
40708 if (PyErr_Occurred()) SWIG_fail
;
40711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40727 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40728 PyObject
*resultobj
= 0;
40729 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40730 wxDateTime
*arg2
= 0 ;
40735 PyObject
* obj0
= 0 ;
40736 PyObject
* obj1
= 0 ;
40737 char * kwnames
[] = {
40738 (char *) "self",(char *) "dt", NULL
40741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40743 if (!SWIG_IsOK(res1
)) {
40744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40746 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40748 if (!SWIG_IsOK(res2
)) {
40749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40754 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40757 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40758 wxPyEndAllowThreads(__tstate
);
40759 if (PyErr_Occurred()) SWIG_fail
;
40761 resultobj
= SWIG_Py_Void();
40768 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40769 PyObject
*resultobj
= 0;
40770 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40774 PyObject
*swig_obj
[1] ;
40776 if (!args
) SWIG_fail
;
40777 swig_obj
[0] = args
;
40778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40779 if (!SWIG_IsOK(res1
)) {
40780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40782 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40785 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40786 wxPyEndAllowThreads(__tstate
);
40787 if (PyErr_Occurred()) SWIG_fail
;
40789 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40796 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40797 PyObject
*resultobj
= 0;
40798 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40799 wxDateTime
*arg2
= 0 ;
40800 wxDateTime
*arg3
= 0 ;
40807 PyObject
* obj0
= 0 ;
40808 PyObject
* obj1
= 0 ;
40809 PyObject
* obj2
= 0 ;
40810 char * kwnames
[] = {
40811 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40816 if (!SWIG_IsOK(res1
)) {
40817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40819 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40821 if (!SWIG_IsOK(res2
)) {
40822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40827 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40828 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40829 if (!SWIG_IsOK(res3
)) {
40830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40835 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40838 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40839 wxPyEndAllowThreads(__tstate
);
40840 if (PyErr_Occurred()) SWIG_fail
;
40842 resultobj
= SWIG_Py_Void();
40849 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40850 PyObject
*resultobj
= 0;
40851 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40855 PyObject
*swig_obj
[1] ;
40857 if (!args
) SWIG_fail
;
40858 swig_obj
[0] = args
;
40859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40860 if (!SWIG_IsOK(res1
)) {
40861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40863 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40866 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40867 wxPyEndAllowThreads(__tstate
);
40868 if (PyErr_Occurred()) SWIG_fail
;
40870 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40877 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40878 PyObject
*resultobj
= 0;
40879 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40883 PyObject
*swig_obj
[1] ;
40885 if (!args
) SWIG_fail
;
40886 swig_obj
[0] = args
;
40887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40888 if (!SWIG_IsOK(res1
)) {
40889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40891 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40894 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40895 wxPyEndAllowThreads(__tstate
);
40896 if (PyErr_Occurred()) SWIG_fail
;
40898 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40905 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40908 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40909 return SWIG_Py_Void();
40912 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40913 return SWIG_Python_InitShadowInstance(args
);
40916 static PyMethodDef SwigMethods
[] = {
40917 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40919 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40921 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40922 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40924 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40925 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40927 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40929 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40930 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40931 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40932 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40933 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40940 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40941 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40942 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40943 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40945 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40947 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40948 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40950 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40952 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40953 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40955 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40956 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40958 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40960 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40962 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40963 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40965 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40967 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40969 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40970 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40971 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40973 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40974 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40977 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40978 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40982 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40984 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40985 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40986 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40987 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40988 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40989 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40990 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40991 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40992 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40994 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40995 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40997 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
41000 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
41002 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
41003 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
41005 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
41007 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
41009 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
41010 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
41012 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
41015 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
41016 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
41018 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
41020 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
41021 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
41023 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
41024 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
41026 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
41030 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
41031 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
41033 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
41035 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
41039 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
41040 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
41042 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
41053 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
41058 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
41064 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
41065 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
41067 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
41071 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41072 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41073 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41075 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41076 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41085 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41086 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41087 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41088 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41089 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41090 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41091 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41093 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41094 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41095 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41096 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41097 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41098 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41099 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41100 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41101 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41102 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
41104 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
41105 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
41107 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
41109 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
41114 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
41115 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
41116 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
41117 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
41118 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
41119 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
41120 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
41121 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
41126 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
41127 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
41135 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
41141 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
41142 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
41143 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
41144 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
41145 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
41146 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
41147 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
41148 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
41149 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
41150 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
41152 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
41153 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
41154 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
41156 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
41159 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
41164 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
41166 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
41167 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
41168 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
41169 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
41170 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
41172 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
41174 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
41175 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
41176 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
41177 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
41178 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
41181 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
41182 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
41184 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
41186 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
41187 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
41188 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
41193 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
41195 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
41196 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
41198 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
41200 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
41204 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
41205 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
41208 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
41209 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
41211 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
41213 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41214 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41216 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41219 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41220 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41222 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41230 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41231 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41234 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41235 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41237 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41239 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41242 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41243 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41245 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41247 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41250 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41251 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41256 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41257 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41259 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41261 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41262 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41264 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41265 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41266 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41269 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41270 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41272 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41275 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41277 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41278 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41279 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41281 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41282 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41287 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41292 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41294 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41296 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41298 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41299 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41302 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41308 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41310 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41312 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41314 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41315 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41317 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41319 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41323 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41325 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41326 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41328 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41329 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41331 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41333 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41334 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41335 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41337 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41338 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41340 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41342 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41343 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41344 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41346 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41347 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41349 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41357 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41358 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41359 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41361 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41362 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41364 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41366 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41367 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41368 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41369 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41371 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41372 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41373 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41374 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41375 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41376 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41377 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41378 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41379 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41380 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41381 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41382 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41383 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41384 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41385 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41386 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41387 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41388 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41389 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41391 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41398 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41400 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41402 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41410 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41415 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41416 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41433 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41434 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41435 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41436 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41439 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41440 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41442 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41443 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41446 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41447 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41448 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41450 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41453 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41454 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41456 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41460 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41461 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41462 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41463 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41464 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41465 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41467 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41468 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41469 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41470 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41471 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41472 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41473 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41487 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41488 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41489 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41490 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41491 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41492 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41493 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41494 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41495 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41496 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41497 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41498 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41499 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41500 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41501 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41502 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41503 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41504 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41505 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41506 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41507 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41508 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41509 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41510 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41511 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41512 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41513 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41514 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41515 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41516 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41517 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41518 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41519 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41520 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41521 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41522 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41524 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41525 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41526 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41527 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41528 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41529 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41530 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41531 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41532 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41533 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41534 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41535 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41536 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41537 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41538 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41539 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41540 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41541 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41542 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41543 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41544 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41545 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41546 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41547 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41549 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41550 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41552 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41559 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41560 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41561 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41576 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41577 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41578 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41579 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41580 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41582 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41588 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41589 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41594 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41596 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41597 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41620 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41622 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41623 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41625 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41629 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41631 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41635 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41636 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41637 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41638 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41639 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41642 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41643 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41644 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41645 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41647 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41648 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41650 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41652 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41653 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41654 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41656 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41658 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41660 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41662 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41663 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41665 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41667 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41670 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41671 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41672 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41674 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41677 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41678 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41680 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41682 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41683 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41711 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41712 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41713 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41720 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41730 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41735 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41737 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41743 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41751 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41752 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41754 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41757 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41759 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41760 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41763 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41764 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41766 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41768 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41769 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41770 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41772 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41773 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41774 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41775 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41777 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41780 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41781 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41783 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41791 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41792 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41793 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41794 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41795 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41796 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41797 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41798 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41799 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41801 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41803 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41805 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41807 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41808 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41810 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41812 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41813 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41814 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41816 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41817 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41818 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41820 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41826 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41827 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41828 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41829 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41830 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41836 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41840 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41842 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41843 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41848 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41849 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41851 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41854 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41856 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41857 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41858 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41859 { NULL
, NULL
, 0, NULL
}
41863 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41865 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41868 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41869 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41871 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41872 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41874 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41875 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41877 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41878 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41880 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41881 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41883 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41884 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41886 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41887 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41889 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41890 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41892 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41895 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41898 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41899 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41901 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41902 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41904 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41905 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41907 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41908 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41910 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41911 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41913 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41914 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41916 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41917 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41919 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41920 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41922 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41923 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41925 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41926 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41928 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41931 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41932 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41934 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41935 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41937 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41938 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41940 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41941 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41943 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41944 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41946 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41947 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41949 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41952 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41953 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41955 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41956 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41958 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41959 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41961 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41962 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41964 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41965 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41967 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41968 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41970 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41971 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41973 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41974 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41976 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41977 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41979 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41982 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41983 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41985 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41986 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41988 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41989 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41991 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41992 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41994 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41995 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41997 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41998 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42000 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42001 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42003 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
42004 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42006 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
42007 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42009 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
42010 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42012 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
42013 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42015 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42016 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42018 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
42019 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42021 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
42022 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42024 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
42025 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
42027 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
42028 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
42030 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
42031 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
42033 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
42034 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
42036 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
42037 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
42039 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
42040 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
42042 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
42043 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
42045 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
42046 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42048 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
42049 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
42051 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
42052 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42054 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
42055 return (void *)((wxControl
*) ((wxPyControl
*) x
));
42057 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
42058 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
42060 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
42061 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
42063 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42064 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42066 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
42067 return (void *)((wxControl
*) ((wxGauge
*) x
));
42069 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
42070 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
42072 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
42073 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42075 static void *_p_wxListbookTo_p_wxControl(void *x
) {
42076 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
42078 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
42079 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
42081 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
42082 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
42084 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
42085 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
42087 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
42088 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42090 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
42091 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42093 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
42094 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42096 static void *_p_wxListViewTo_p_wxControl(void *x
) {
42097 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
42099 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
42100 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
42102 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
42103 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
42105 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
42106 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
42108 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
42109 return (void *)((wxControl
*) ((wxStaticText
*) x
));
42111 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
42112 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
42114 static void *_p_wxSliderTo_p_wxControl(void *x
) {
42115 return (void *)((wxControl
*) ((wxSlider
*) x
));
42117 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
42118 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
42120 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
42121 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
42123 static void *_p_wxButtonTo_p_wxControl(void *x
) {
42124 return (void *)((wxControl
*) ((wxButton
*) x
));
42126 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
42127 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
42129 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
42130 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42132 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
42133 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
42135 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
42136 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
42138 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
42139 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
42141 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
42142 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
42144 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
42145 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42147 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
42148 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42150 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
42151 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42153 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
42154 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
42156 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
42157 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42159 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
42160 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42162 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
42163 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42165 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
42166 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42168 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
42169 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42171 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
42172 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42174 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
42175 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42177 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
42178 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
42180 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
42181 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
42183 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
42184 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
42186 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
42187 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
42189 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42190 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42192 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
42193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42195 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42196 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42198 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42199 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42201 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
42202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42204 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42205 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42207 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
42208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42210 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
42211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42213 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
42214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42216 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42217 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42219 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42220 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42222 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42225 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42228 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42231 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42234 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42237 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42238 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42240 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42243 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42246 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42249 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42252 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42255 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42258 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42261 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42264 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42267 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42270 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42273 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42276 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42279 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42282 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42285 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42288 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42291 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42294 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42297 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42300 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42303 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42306 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42309 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42312 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42315 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42318 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42321 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42322 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42324 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42325 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42327 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42328 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42330 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42331 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42333 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42334 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42336 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42337 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42339 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42342 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42343 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42345 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42346 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42348 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42349 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42351 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42352 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42354 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42357 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42358 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42360 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42361 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42363 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42364 return (void *)((wxObject
*) ((wxSizer
*) x
));
42366 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42367 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42369 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42372 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42375 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42378 static void *_p_wxEventTo_p_wxObject(void *x
) {
42379 return (void *)((wxObject
*) ((wxEvent
*) x
));
42381 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42382 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42384 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42385 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42387 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42388 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42390 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42393 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42396 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42399 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42400 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42402 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42403 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42405 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42406 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42408 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42409 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42411 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42412 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42414 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42415 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42417 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42420 static void *_p_wxControlTo_p_wxObject(void *x
) {
42421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42423 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42426 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42429 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42432 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42435 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42438 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42439 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42441 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42444 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42445 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42447 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42448 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42450 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42453 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42456 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42459 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42462 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42463 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42465 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42468 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42471 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42474 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42475 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42477 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42480 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42483 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42484 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42486 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42489 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42490 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42492 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42495 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42496 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42498 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42499 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42501 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42502 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42504 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42505 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42507 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42508 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42510 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42511 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42513 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42516 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42517 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42519 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42522 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42525 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42528 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42531 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42534 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42537 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42538 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42540 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42541 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42543 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42544 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42546 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42549 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42552 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42553 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42555 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42556 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42558 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42559 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42561 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42562 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42564 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42567 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42570 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42573 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42576 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42579 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42582 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42585 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42586 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42589 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42591 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42594 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42597 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42600 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42603 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42604 return (void *)((wxObject
*) ((wxListItem
*) x
));
42606 static void *_p_wxImageTo_p_wxObject(void *x
) {
42607 return (void *)((wxObject
*) ((wxImage
*) x
));
42609 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42610 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42612 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42615 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42616 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42618 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42621 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42624 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42627 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42630 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42633 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42636 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42639 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42640 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42642 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42643 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42645 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42646 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42648 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42649 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42651 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42654 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42655 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42657 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42660 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42661 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42663 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42664 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42666 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42667 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42669 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42672 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42673 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42675 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42678 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42681 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42684 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42685 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42687 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42690 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42691 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42693 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42694 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42696 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42699 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42702 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42705 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42706 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42708 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42711 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42714 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42717 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42718 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42720 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42721 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42723 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42724 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42726 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42727 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42729 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42730 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42732 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42733 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42735 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42736 return (void *)((wxWindow
*) ((wxControl
*) x
));
42738 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42739 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42741 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42742 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42744 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42745 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42747 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42748 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42750 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42751 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42753 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42754 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42756 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42757 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42759 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42760 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42762 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42763 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42765 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42766 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42768 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42769 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42771 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42772 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42774 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42775 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42777 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42778 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42780 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42781 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42783 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42784 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42786 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42787 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42789 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42790 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42792 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42793 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42795 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42796 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42798 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42799 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42801 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42802 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42804 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42805 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42807 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42808 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42810 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42811 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42813 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42814 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42816 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42817 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42819 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42820 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42822 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42823 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42825 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42826 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42828 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42829 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42831 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42832 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42834 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42835 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42837 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42838 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42840 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42841 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42843 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42844 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42846 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42847 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42849 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42850 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42852 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42853 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42855 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42856 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42858 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42859 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42861 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42862 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42864 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42865 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42867 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42868 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42870 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42871 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42873 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42874 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42876 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42877 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42879 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42880 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42882 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42883 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42885 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42886 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42888 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42889 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42891 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42892 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42894 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42895 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42897 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42898 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42900 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42901 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42903 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42904 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42906 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42907 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42909 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
42910 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
42912 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42913 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42915 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42916 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42918 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42919 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42921 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42922 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42924 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42925 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42927 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42928 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42929 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};
42930 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42931 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42932 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42933 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42934 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42935 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42936 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42937 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42938 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42939 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42940 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42941 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42942 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42943 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42944 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42945 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42946 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42947 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42948 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42949 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42950 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42951 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42952 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42953 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42954 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42955 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42956 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42957 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42958 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42959 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42960 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42961 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42962 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42963 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42964 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42965 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42966 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42967 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42968 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42969 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42970 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42971 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42972 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42973 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42974 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42975 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42976 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42977 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42978 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42979 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42980 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42981 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42982 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42983 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42984 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42985 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42986 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42987 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42988 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42989 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42990 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42991 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42992 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42993 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42994 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42995 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42996 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42997 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42998 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42999 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
43000 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
43001 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
43002 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
43003 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
43004 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
43005 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
43006 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
43007 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
43008 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
43009 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
43010 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
43011 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
43012 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
43013 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
43014 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
43015 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
43016 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
43017 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
43018 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
43019 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
43020 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
43021 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
43022 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
43023 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
43024 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
43025 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
43026 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
43027 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
43028 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
43029 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
43030 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
43031 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
43032 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
43033 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
43034 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
43035 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
43036 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
43037 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
43038 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
43039 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
43040 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
43041 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
43042 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
43043 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
43044 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
43045 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
43046 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
43047 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
43048 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
43049 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
43050 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
43051 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
43052 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
43053 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
43054 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
43055 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
43056 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
43057 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
43058 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
43059 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
43060 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
43061 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
43062 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
43063 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
43064 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
43065 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
43066 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
43067 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
43068 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
43069 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
43070 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
43071 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
43072 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
43073 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
43074 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
43075 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
43076 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
43077 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
43078 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
43079 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
43080 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
43081 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
43082 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
43083 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
43084 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
43085 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
43086 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
43087 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
43088 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
43089 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
43091 static swig_type_info
*swig_type_initial
[] = {
43094 &_swigt__p_form_ops_t
,
43097 &_swigt__p_unsigned_char
,
43098 &_swigt__p_unsigned_int
,
43099 &_swigt__p_unsigned_long
,
43101 &_swigt__p_wxANIHandler
,
43102 &_swigt__p_wxAcceleratorTable
,
43103 &_swigt__p_wxActivateEvent
,
43104 &_swigt__p_wxArrayInt
,
43105 &_swigt__p_wxArrayString
,
43106 &_swigt__p_wxBMPHandler
,
43107 &_swigt__p_wxBitmap
,
43108 &_swigt__p_wxBitmapButton
,
43109 &_swigt__p_wxBookCtrlBase
,
43110 &_swigt__p_wxBookCtrlBaseEvent
,
43111 &_swigt__p_wxBoxSizer
,
43112 &_swigt__p_wxButton
,
43113 &_swigt__p_wxCURHandler
,
43114 &_swigt__p_wxCheckBox
,
43115 &_swigt__p_wxCheckListBox
,
43116 &_swigt__p_wxChildFocusEvent
,
43117 &_swigt__p_wxChoice
,
43118 &_swigt__p_wxChoicebook
,
43119 &_swigt__p_wxChoicebookEvent
,
43120 &_swigt__p_wxCloseEvent
,
43121 &_swigt__p_wxColour
,
43122 &_swigt__p_wxComboBox
,
43123 &_swigt__p_wxCommandEvent
,
43124 &_swigt__p_wxContextHelp
,
43125 &_swigt__p_wxContextHelpButton
,
43126 &_swigt__p_wxContextMenuEvent
,
43127 &_swigt__p_wxControl
,
43128 &_swigt__p_wxControlWithItems
,
43129 &_swigt__p_wxCursor
,
43131 &_swigt__p_wxDateEvent
,
43132 &_swigt__p_wxDatePickerCtrl
,
43133 &_swigt__p_wxDateTime
,
43134 &_swigt__p_wxDirFilterListCtrl
,
43135 &_swigt__p_wxDisplayChangedEvent
,
43136 &_swigt__p_wxDropFilesEvent
,
43137 &_swigt__p_wxDuplexMode
,
43138 &_swigt__p_wxEraseEvent
,
43139 &_swigt__p_wxEvent
,
43140 &_swigt__p_wxEvtHandler
,
43141 &_swigt__p_wxFSFile
,
43142 &_swigt__p_wxFileSystem
,
43143 &_swigt__p_wxFlexGridSizer
,
43144 &_swigt__p_wxFocusEvent
,
43146 &_swigt__p_wxGBSizerItem
,
43147 &_swigt__p_wxGIFHandler
,
43148 &_swigt__p_wxGauge
,
43149 &_swigt__p_wxGenericDirCtrl
,
43150 &_swigt__p_wxGenericDragImage
,
43151 &_swigt__p_wxGridBagSizer
,
43152 &_swigt__p_wxGridSizer
,
43153 &_swigt__p_wxHelpEvent
,
43154 &_swigt__p_wxHelpProvider
,
43155 &_swigt__p_wxICOHandler
,
43157 &_swigt__p_wxIconizeEvent
,
43158 &_swigt__p_wxIdleEvent
,
43159 &_swigt__p_wxImage
,
43160 &_swigt__p_wxImageHandler
,
43161 &_swigt__p_wxImageList
,
43162 &_swigt__p_wxIndividualLayoutConstraint
,
43163 &_swigt__p_wxInitDialogEvent
,
43164 &_swigt__p_wxItemContainer
,
43165 &_swigt__p_wxJPEGHandler
,
43166 &_swigt__p_wxKeyEvent
,
43167 &_swigt__p_wxLayoutConstraints
,
43168 &_swigt__p_wxListBox
,
43169 &_swigt__p_wxListEvent
,
43170 &_swigt__p_wxListItem
,
43171 &_swigt__p_wxListItemAttr
,
43172 &_swigt__p_wxListView
,
43173 &_swigt__p_wxListbook
,
43174 &_swigt__p_wxListbookEvent
,
43175 &_swigt__p_wxMaximizeEvent
,
43176 &_swigt__p_wxMemoryDC
,
43178 &_swigt__p_wxMenuBar
,
43179 &_swigt__p_wxMenuEvent
,
43180 &_swigt__p_wxMenuItem
,
43181 &_swigt__p_wxMouseCaptureChangedEvent
,
43182 &_swigt__p_wxMouseEvent
,
43183 &_swigt__p_wxMoveEvent
,
43184 &_swigt__p_wxNavigationKeyEvent
,
43185 &_swigt__p_wxNcPaintEvent
,
43186 &_swigt__p_wxNotebook
,
43187 &_swigt__p_wxNotebookEvent
,
43188 &_swigt__p_wxNotifyEvent
,
43189 &_swigt__p_wxObject
,
43190 &_swigt__p_wxPCXHandler
,
43191 &_swigt__p_wxPNGHandler
,
43192 &_swigt__p_wxPNMHandler
,
43193 &_swigt__p_wxPaintEvent
,
43194 &_swigt__p_wxPaletteChangedEvent
,
43195 &_swigt__p_wxPaperSize
,
43196 &_swigt__p_wxPoint
,
43197 &_swigt__p_wxPyApp
,
43198 &_swigt__p_wxPyCommandEvent
,
43199 &_swigt__p_wxPyControl
,
43200 &_swigt__p_wxPyEvent
,
43201 &_swigt__p_wxPyImageHandler
,
43202 &_swigt__p_wxPyListCtrl
,
43203 &_swigt__p_wxPySizer
,
43204 &_swigt__p_wxPyTreeCtrl
,
43205 &_swigt__p_wxPyTreeItemData
,
43206 &_swigt__p_wxPyValidator
,
43207 &_swigt__p_wxQueryNewPaletteEvent
,
43208 &_swigt__p_wxRadioBox
,
43209 &_swigt__p_wxRadioButton
,
43211 &_swigt__p_wxScrollBar
,
43212 &_swigt__p_wxScrollEvent
,
43213 &_swigt__p_wxScrollWinEvent
,
43214 &_swigt__p_wxSetCursorEvent
,
43215 &_swigt__p_wxShowEvent
,
43216 &_swigt__p_wxSimpleHelpProvider
,
43218 &_swigt__p_wxSizeEvent
,
43219 &_swigt__p_wxSizer
,
43220 &_swigt__p_wxSizerItem
,
43221 &_swigt__p_wxSlider
,
43222 &_swigt__p_wxSpinButton
,
43223 &_swigt__p_wxSpinCtrl
,
43224 &_swigt__p_wxSpinEvent
,
43225 &_swigt__p_wxStaticBitmap
,
43226 &_swigt__p_wxStaticBox
,
43227 &_swigt__p_wxStaticBoxSizer
,
43228 &_swigt__p_wxStaticLine
,
43229 &_swigt__p_wxStaticText
,
43230 &_swigt__p_wxStdDialogButtonSizer
,
43231 &_swigt__p_wxString
,
43232 &_swigt__p_wxSysColourChangedEvent
,
43233 &_swigt__p_wxTIFFHandler
,
43234 &_swigt__p_wxTextAttr
,
43235 &_swigt__p_wxTextCtrl
,
43236 &_swigt__p_wxTextUrlEvent
,
43237 &_swigt__p_wxToggleButton
,
43238 &_swigt__p_wxToolBar
,
43239 &_swigt__p_wxToolBarBase
,
43240 &_swigt__p_wxToolBarToolBase
,
43241 &_swigt__p_wxToolbook
,
43242 &_swigt__p_wxToolbookEvent
,
43243 &_swigt__p_wxTreeCtrl
,
43244 &_swigt__p_wxTreeEvent
,
43245 &_swigt__p_wxTreeItemId
,
43246 &_swigt__p_wxTreebook
,
43247 &_swigt__p_wxTreebookEvent
,
43248 &_swigt__p_wxUpdateUIEvent
,
43249 &_swigt__p_wxValidator
,
43250 &_swigt__p_wxVisualAttributes
,
43251 &_swigt__p_wxWindow
,
43252 &_swigt__p_wxWindowCreateEvent
,
43253 &_swigt__p_wxWindowDestroyEvent
,
43254 &_swigt__p_wxXPMHandler
,
43257 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43258 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43259 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43260 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43261 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43262 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43263 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43264 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43265 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43266 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43267 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43268 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43269 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}};
43270 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}};
43271 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}};
43272 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}};
43273 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43274 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43275 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
43276 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43277 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43278 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43279 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43280 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43281 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43282 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43283 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43284 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43285 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43286 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43287 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43288 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
43289 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43290 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43291 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}};
43292 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
43293 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43294 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43295 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43296 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43297 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43298 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43299 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43300 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43301 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43302 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43303 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43304 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43305 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43306 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43307 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43308 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43309 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43310 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43311 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43312 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43313 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43314 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43315 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43316 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43317 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43318 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43319 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43320 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43321 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43322 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43323 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
43324 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43325 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43326 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43327 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43328 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}};
43329 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43330 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43331 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43332 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43333 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43334 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}};
43335 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43336 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43337 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}};
43338 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43339 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}};
43340 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43341 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43342 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43343 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43344 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43345 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43346 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43347 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43348 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43349 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43350 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}};
43351 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43352 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43353 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43354 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43355 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43356 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43357 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43358 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43359 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43360 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43361 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43362 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43363 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43364 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43365 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43366 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43367 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43368 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43369 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43370 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43371 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43372 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43373 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43374 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43375 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43376 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43377 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43378 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43379 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43380 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43381 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
43382 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43383 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43384 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43385 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}};
43386 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43387 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43388 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43389 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43390 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43391 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43392 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43393 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43394 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43395 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43396 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43397 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43398 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43399 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43400 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43401 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43402 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43403 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43404 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43405 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43406 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43407 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43408 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}};
43409 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43410 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43411 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43412 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43413 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43414 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43415 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43416 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43417 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}};
43418 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43419 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}};
43421 static swig_cast_info
*swig_cast_initial
[] = {
43424 _swigc__p_form_ops_t
,
43427 _swigc__p_unsigned_char
,
43428 _swigc__p_unsigned_int
,
43429 _swigc__p_unsigned_long
,
43431 _swigc__p_wxANIHandler
,
43432 _swigc__p_wxAcceleratorTable
,
43433 _swigc__p_wxActivateEvent
,
43434 _swigc__p_wxArrayInt
,
43435 _swigc__p_wxArrayString
,
43436 _swigc__p_wxBMPHandler
,
43437 _swigc__p_wxBitmap
,
43438 _swigc__p_wxBitmapButton
,
43439 _swigc__p_wxBookCtrlBase
,
43440 _swigc__p_wxBookCtrlBaseEvent
,
43441 _swigc__p_wxBoxSizer
,
43442 _swigc__p_wxButton
,
43443 _swigc__p_wxCURHandler
,
43444 _swigc__p_wxCheckBox
,
43445 _swigc__p_wxCheckListBox
,
43446 _swigc__p_wxChildFocusEvent
,
43447 _swigc__p_wxChoice
,
43448 _swigc__p_wxChoicebook
,
43449 _swigc__p_wxChoicebookEvent
,
43450 _swigc__p_wxCloseEvent
,
43451 _swigc__p_wxColour
,
43452 _swigc__p_wxComboBox
,
43453 _swigc__p_wxCommandEvent
,
43454 _swigc__p_wxContextHelp
,
43455 _swigc__p_wxContextHelpButton
,
43456 _swigc__p_wxContextMenuEvent
,
43457 _swigc__p_wxControl
,
43458 _swigc__p_wxControlWithItems
,
43459 _swigc__p_wxCursor
,
43461 _swigc__p_wxDateEvent
,
43462 _swigc__p_wxDatePickerCtrl
,
43463 _swigc__p_wxDateTime
,
43464 _swigc__p_wxDirFilterListCtrl
,
43465 _swigc__p_wxDisplayChangedEvent
,
43466 _swigc__p_wxDropFilesEvent
,
43467 _swigc__p_wxDuplexMode
,
43468 _swigc__p_wxEraseEvent
,
43470 _swigc__p_wxEvtHandler
,
43471 _swigc__p_wxFSFile
,
43472 _swigc__p_wxFileSystem
,
43473 _swigc__p_wxFlexGridSizer
,
43474 _swigc__p_wxFocusEvent
,
43476 _swigc__p_wxGBSizerItem
,
43477 _swigc__p_wxGIFHandler
,
43479 _swigc__p_wxGenericDirCtrl
,
43480 _swigc__p_wxGenericDragImage
,
43481 _swigc__p_wxGridBagSizer
,
43482 _swigc__p_wxGridSizer
,
43483 _swigc__p_wxHelpEvent
,
43484 _swigc__p_wxHelpProvider
,
43485 _swigc__p_wxICOHandler
,
43487 _swigc__p_wxIconizeEvent
,
43488 _swigc__p_wxIdleEvent
,
43490 _swigc__p_wxImageHandler
,
43491 _swigc__p_wxImageList
,
43492 _swigc__p_wxIndividualLayoutConstraint
,
43493 _swigc__p_wxInitDialogEvent
,
43494 _swigc__p_wxItemContainer
,
43495 _swigc__p_wxJPEGHandler
,
43496 _swigc__p_wxKeyEvent
,
43497 _swigc__p_wxLayoutConstraints
,
43498 _swigc__p_wxListBox
,
43499 _swigc__p_wxListEvent
,
43500 _swigc__p_wxListItem
,
43501 _swigc__p_wxListItemAttr
,
43502 _swigc__p_wxListView
,
43503 _swigc__p_wxListbook
,
43504 _swigc__p_wxListbookEvent
,
43505 _swigc__p_wxMaximizeEvent
,
43506 _swigc__p_wxMemoryDC
,
43508 _swigc__p_wxMenuBar
,
43509 _swigc__p_wxMenuEvent
,
43510 _swigc__p_wxMenuItem
,
43511 _swigc__p_wxMouseCaptureChangedEvent
,
43512 _swigc__p_wxMouseEvent
,
43513 _swigc__p_wxMoveEvent
,
43514 _swigc__p_wxNavigationKeyEvent
,
43515 _swigc__p_wxNcPaintEvent
,
43516 _swigc__p_wxNotebook
,
43517 _swigc__p_wxNotebookEvent
,
43518 _swigc__p_wxNotifyEvent
,
43519 _swigc__p_wxObject
,
43520 _swigc__p_wxPCXHandler
,
43521 _swigc__p_wxPNGHandler
,
43522 _swigc__p_wxPNMHandler
,
43523 _swigc__p_wxPaintEvent
,
43524 _swigc__p_wxPaletteChangedEvent
,
43525 _swigc__p_wxPaperSize
,
43528 _swigc__p_wxPyCommandEvent
,
43529 _swigc__p_wxPyControl
,
43530 _swigc__p_wxPyEvent
,
43531 _swigc__p_wxPyImageHandler
,
43532 _swigc__p_wxPyListCtrl
,
43533 _swigc__p_wxPySizer
,
43534 _swigc__p_wxPyTreeCtrl
,
43535 _swigc__p_wxPyTreeItemData
,
43536 _swigc__p_wxPyValidator
,
43537 _swigc__p_wxQueryNewPaletteEvent
,
43538 _swigc__p_wxRadioBox
,
43539 _swigc__p_wxRadioButton
,
43541 _swigc__p_wxScrollBar
,
43542 _swigc__p_wxScrollEvent
,
43543 _swigc__p_wxScrollWinEvent
,
43544 _swigc__p_wxSetCursorEvent
,
43545 _swigc__p_wxShowEvent
,
43546 _swigc__p_wxSimpleHelpProvider
,
43548 _swigc__p_wxSizeEvent
,
43550 _swigc__p_wxSizerItem
,
43551 _swigc__p_wxSlider
,
43552 _swigc__p_wxSpinButton
,
43553 _swigc__p_wxSpinCtrl
,
43554 _swigc__p_wxSpinEvent
,
43555 _swigc__p_wxStaticBitmap
,
43556 _swigc__p_wxStaticBox
,
43557 _swigc__p_wxStaticBoxSizer
,
43558 _swigc__p_wxStaticLine
,
43559 _swigc__p_wxStaticText
,
43560 _swigc__p_wxStdDialogButtonSizer
,
43561 _swigc__p_wxString
,
43562 _swigc__p_wxSysColourChangedEvent
,
43563 _swigc__p_wxTIFFHandler
,
43564 _swigc__p_wxTextAttr
,
43565 _swigc__p_wxTextCtrl
,
43566 _swigc__p_wxTextUrlEvent
,
43567 _swigc__p_wxToggleButton
,
43568 _swigc__p_wxToolBar
,
43569 _swigc__p_wxToolBarBase
,
43570 _swigc__p_wxToolBarToolBase
,
43571 _swigc__p_wxToolbook
,
43572 _swigc__p_wxToolbookEvent
,
43573 _swigc__p_wxTreeCtrl
,
43574 _swigc__p_wxTreeEvent
,
43575 _swigc__p_wxTreeItemId
,
43576 _swigc__p_wxTreebook
,
43577 _swigc__p_wxTreebookEvent
,
43578 _swigc__p_wxUpdateUIEvent
,
43579 _swigc__p_wxValidator
,
43580 _swigc__p_wxVisualAttributes
,
43581 _swigc__p_wxWindow
,
43582 _swigc__p_wxWindowCreateEvent
,
43583 _swigc__p_wxWindowDestroyEvent
,
43584 _swigc__p_wxXPMHandler
,
43588 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43590 static swig_const_info swig_const_table
[] = {
43591 {0, 0, 0, 0.0, 0, 0}};
43596 /* -----------------------------------------------------------------------------
43597 * Type initialization:
43598 * This problem is tough by the requirement that no dynamic
43599 * memory is used. Also, since swig_type_info structures store pointers to
43600 * swig_cast_info structures and swig_cast_info structures store pointers back
43601 * to swig_type_info structures, we need some lookup code at initialization.
43602 * The idea is that swig generates all the structures that are needed.
43603 * The runtime then collects these partially filled structures.
43604 * The SWIG_InitializeModule function takes these initial arrays out of
43605 * swig_module, and does all the lookup, filling in the swig_module.types
43606 * array with the correct data and linking the correct swig_cast_info
43607 * structures together.
43609 * The generated swig_type_info structures are assigned staticly to an initial
43610 * array. We just loop though that array, and handle each type individually.
43611 * First we lookup if this type has been already loaded, and if so, use the
43612 * loaded structure instead of the generated one. Then we have to fill in the
43613 * cast linked list. The cast data is initially stored in something like a
43614 * two-dimensional array. Each row corresponds to a type (there are the same
43615 * number of rows as there are in the swig_type_initial array). Each entry in
43616 * a column is one of the swig_cast_info structures for that type.
43617 * The cast_initial array is actually an array of arrays, because each row has
43618 * a variable number of columns. So to actually build the cast linked list,
43619 * we find the array of casts associated with the type, and loop through it
43620 * adding the casts to the list. The one last trick we need to do is making
43621 * sure the type pointer in the swig_cast_info struct is correct.
43623 * First off, we lookup the cast->type name to see if it is already loaded.
43624 * There are three cases to handle:
43625 * 1) If the cast->type has already been loaded AND the type we are adding
43626 * casting info to has not been loaded (it is in this module), THEN we
43627 * replace the cast->type pointer with the type pointer that has already
43629 * 2) If BOTH types (the one we are adding casting info to, and the
43630 * cast->type) are loaded, THEN the cast info has already been loaded by
43631 * the previous module so we just ignore it.
43632 * 3) Finally, if cast->type has not already been loaded, then we add that
43633 * swig_cast_info to the linked list (because the cast->type) pointer will
43635 * ----------------------------------------------------------------------------- */
43645 #define SWIGRUNTIME_DEBUG
43649 SWIG_InitializeModule(void *clientdata
) {
43651 swig_module_info
*module_head
;
43652 static int init_run
= 0;
43654 clientdata
= clientdata
;
43656 if (init_run
) return;
43659 /* Initialize the swig_module */
43660 swig_module
.type_initial
= swig_type_initial
;
43661 swig_module
.cast_initial
= swig_cast_initial
;
43663 /* Try and load any already created modules */
43664 module_head
= SWIG_GetModule(clientdata
);
43666 swig_module
.next
= module_head
->next
;
43667 module_head
->next
= &swig_module
;
43669 /* This is the first module loaded */
43670 swig_module
.next
= &swig_module
;
43671 SWIG_SetModule(clientdata
, &swig_module
);
43674 /* Now work on filling in swig_module.types */
43675 #ifdef SWIGRUNTIME_DEBUG
43676 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43678 for (i
= 0; i
< swig_module
.size
; ++i
) {
43679 swig_type_info
*type
= 0;
43680 swig_type_info
*ret
;
43681 swig_cast_info
*cast
;
43683 #ifdef SWIGRUNTIME_DEBUG
43684 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43687 /* if there is another module already loaded */
43688 if (swig_module
.next
!= &swig_module
) {
43689 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43692 /* Overwrite clientdata field */
43693 #ifdef SWIGRUNTIME_DEBUG
43694 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43696 if (swig_module
.type_initial
[i
]->clientdata
) {
43697 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43698 #ifdef SWIGRUNTIME_DEBUG
43699 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43703 type
= swig_module
.type_initial
[i
];
43706 /* Insert casting types */
43707 cast
= swig_module
.cast_initial
[i
];
43708 while (cast
->type
) {
43709 /* Don't need to add information already in the list */
43711 #ifdef SWIGRUNTIME_DEBUG
43712 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43714 if (swig_module
.next
!= &swig_module
) {
43715 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43716 #ifdef SWIGRUNTIME_DEBUG
43717 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43721 if (type
== swig_module
.type_initial
[i
]) {
43722 #ifdef SWIGRUNTIME_DEBUG
43723 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43728 /* Check for casting already in the list */
43729 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43730 #ifdef SWIGRUNTIME_DEBUG
43731 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43733 if (!ocast
) ret
= 0;
43738 #ifdef SWIGRUNTIME_DEBUG
43739 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43742 type
->cast
->prev
= cast
;
43743 cast
->next
= type
->cast
;
43749 /* Set entry in modules->types array equal to the type */
43750 swig_module
.types
[i
] = type
;
43752 swig_module
.types
[i
] = 0;
43754 #ifdef SWIGRUNTIME_DEBUG
43755 printf("**** SWIG_InitializeModule: Cast List ******\n");
43756 for (i
= 0; i
< swig_module
.size
; ++i
) {
43758 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43759 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43760 while (cast
->type
) {
43761 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43765 printf("---- Total casts: %d\n",j
);
43767 printf("**** SWIG_InitializeModule: Cast List ******\n");
43771 /* This function will propagate the clientdata field of type to
43772 * any new swig_type_info structures that have been added into the list
43773 * of equivalent types. It is like calling
43774 * SWIG_TypeClientData(type, clientdata) a second time.
43777 SWIG_PropagateClientData(void) {
43779 swig_cast_info
*equiv
;
43780 static int init_run
= 0;
43782 if (init_run
) return;
43785 for (i
= 0; i
< swig_module
.size
; i
++) {
43786 if (swig_module
.types
[i
]->clientdata
) {
43787 equiv
= swig_module
.types
[i
]->cast
;
43789 if (!equiv
->converter
) {
43790 if (equiv
->type
&& !equiv
->type
->clientdata
)
43791 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43793 equiv
= equiv
->next
;
43813 /* Python-specific SWIG API */
43814 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43815 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43816 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43818 /* -----------------------------------------------------------------------------
43819 * global variable support code.
43820 * ----------------------------------------------------------------------------- */
43822 typedef struct swig_globalvar
{
43823 char *name
; /* Name of global variable */
43824 PyObject
*(*get_attr
)(void); /* Return the current value */
43825 int (*set_attr
)(PyObject
*); /* Set the value */
43826 struct swig_globalvar
*next
;
43829 typedef struct swig_varlinkobject
{
43831 swig_globalvar
*vars
;
43832 } swig_varlinkobject
;
43834 SWIGINTERN PyObject
*
43835 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43836 return PyString_FromString("<Swig global variables>");
43839 SWIGINTERN PyObject
*
43840 swig_varlink_str(swig_varlinkobject
*v
) {
43841 PyObject
*str
= PyString_FromString("(");
43842 swig_globalvar
*var
;
43843 for (var
= v
->vars
; var
; var
=var
->next
) {
43844 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43845 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43847 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43852 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43853 PyObject
*str
= swig_varlink_str(v
);
43854 fprintf(fp
,"Swig global variables ");
43855 fprintf(fp
,"%s\n", PyString_AsString(str
));
43861 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43862 swig_globalvar
*var
= v
->vars
;
43864 swig_globalvar
*n
= var
->next
;
43871 SWIGINTERN PyObject
*
43872 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43873 PyObject
*res
= NULL
;
43874 swig_globalvar
*var
= v
->vars
;
43876 if (strcmp(var
->name
,n
) == 0) {
43877 res
= (*var
->get_attr
)();
43882 if (res
== NULL
&& !PyErr_Occurred()) {
43883 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43889 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43891 swig_globalvar
*var
= v
->vars
;
43893 if (strcmp(var
->name
,n
) == 0) {
43894 res
= (*var
->set_attr
)(p
);
43899 if (res
== 1 && !PyErr_Occurred()) {
43900 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43905 SWIGINTERN PyTypeObject
*
43906 swig_varlink_type(void) {
43907 static char varlink__doc__
[] = "Swig var link object";
43908 static PyTypeObject varlink_type
;
43909 static int type_init
= 0;
43911 const PyTypeObject tmp
43913 PyObject_HEAD_INIT(NULL
)
43914 0, /* Number of items in variable part (ob_size) */
43915 (char *)"swigvarlink", /* Type name (tp_name) */
43916 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43917 0, /* Itemsize (tp_itemsize) */
43918 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43919 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43920 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43921 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43922 0, /* tp_compare */
43923 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43924 0, /* tp_as_number */
43925 0, /* tp_as_sequence */
43926 0, /* tp_as_mapping */
43929 (reprfunc
)swig_varlink_str
, /* tp_str */
43930 0, /* tp_getattro */
43931 0, /* tp_setattro */
43932 0, /* tp_as_buffer */
43934 varlink__doc__
, /* tp_doc */
43935 0, /* tp_traverse */
43937 0, /* tp_richcompare */
43938 0, /* tp_weaklistoffset */
43939 #if PY_VERSION_HEX >= 0x02020000
43940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43942 #if PY_VERSION_HEX >= 0x02030000
43945 #ifdef COUNT_ALLOCS
43946 0,0,0,0 /* tp_alloc -> tp_next */
43949 varlink_type
= tmp
;
43950 varlink_type
.ob_type
= &PyType_Type
;
43953 return &varlink_type
;
43956 /* Create a variable linking object for use later */
43957 SWIGINTERN PyObject
*
43958 SWIG_Python_newvarlink(void) {
43959 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43963 return ((PyObject
*) result
);
43967 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43968 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43969 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43971 size_t size
= strlen(name
)+1;
43972 gv
->name
= (char *)malloc(size
);
43974 strncpy(gv
->name
,name
,size
);
43975 gv
->get_attr
= get_attr
;
43976 gv
->set_attr
= set_attr
;
43977 gv
->next
= v
->vars
;
43983 SWIGINTERN PyObject
*
43985 static PyObject
*_SWIG_globals
= 0;
43986 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43987 return _SWIG_globals
;
43990 /* -----------------------------------------------------------------------------
43991 * constants/methods manipulation
43992 * ----------------------------------------------------------------------------- */
43994 /* Install Constants */
43996 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43999 for (i
= 0; constants
[i
].type
; ++i
) {
44000 switch(constants
[i
].type
) {
44001 case SWIG_PY_POINTER
:
44002 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
44004 case SWIG_PY_BINARY
:
44005 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
44012 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
44018 /* -----------------------------------------------------------------------------*/
44019 /* Fix SwigMethods to carry the callback ptrs when needed */
44020 /* -----------------------------------------------------------------------------*/
44023 SWIG_Python_FixMethods(PyMethodDef
*methods
,
44024 swig_const_info
*const_table
,
44025 swig_type_info
**types
,
44026 swig_type_info
**types_initial
) {
44028 for (i
= 0; methods
[i
].ml_name
; ++i
) {
44029 char *c
= methods
[i
].ml_doc
;
44030 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
44032 swig_const_info
*ci
= 0;
44033 char *name
= c
+ 10;
44034 for (j
= 0; const_table
[j
].type
; ++j
) {
44035 if (strncmp(const_table
[j
].name
, name
,
44036 strlen(const_table
[j
].name
)) == 0) {
44037 ci
= &(const_table
[j
]);
44042 size_t shift
= (ci
->ptype
) - types
;
44043 swig_type_info
*ty
= types_initial
[shift
];
44044 size_t ldoc
= (c
- methods
[i
].ml_doc
);
44045 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
44046 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
44049 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
44051 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
44053 strncpy(buff
, "swig_ptr: ", 10);
44055 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
44056 methods
[i
].ml_doc
= ndoc
;
44068 /* -----------------------------------------------------------------------------*
44069 * Partial Init method
44070 * -----------------------------------------------------------------------------*/
44075 SWIGEXPORT
void SWIG_init(void) {
44078 /* Fix SwigMethods to carry the callback ptrs when needed */
44079 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
44081 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
44082 d
= PyModule_GetDict(m
);
44084 SWIG_InitializeModule(0);
44085 SWIG_InstallConstants(d
,swig_const_table
);
44088 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
44089 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
44090 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
44091 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
44092 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
44093 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
44094 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
44095 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
44096 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
44097 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
44098 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
44099 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
44100 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
44101 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
44102 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
44103 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
44104 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
44105 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
44106 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
44107 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
44108 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
44109 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
44110 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
44111 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
44112 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
44113 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
44114 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
44115 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
44116 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
44117 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
44118 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
44119 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
44120 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
44121 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
44122 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
44123 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
44124 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
44125 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
44126 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
44127 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
44128 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
44129 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
44130 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
44131 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
44132 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
44133 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
44134 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
44135 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
44136 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
44137 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
44138 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
44139 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
44140 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
44141 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
44142 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
44143 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
44144 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
44145 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
44146 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
44147 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
44148 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
44149 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
44150 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
44151 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
44152 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
44153 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
44154 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
44155 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
44156 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
44157 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
44158 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
44159 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
44160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
44161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
44162 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
44163 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
44164 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
44165 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
44166 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
44167 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
44168 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
44169 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
44170 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
44171 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
44172 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
44173 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
44174 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
44175 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
44176 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
44177 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
44178 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
44179 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
44180 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
44181 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
44182 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
44183 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
44184 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
44185 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
44186 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
44187 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
44188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
44189 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
44190 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
44191 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
44192 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
44193 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
44194 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
44195 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
44196 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
44197 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
44198 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
44199 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
44200 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
44201 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
44202 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
44203 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
44204 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
44205 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
44206 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
44207 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
44208 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
44209 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
44210 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
44211 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
44212 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
44213 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
44214 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
44215 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
44216 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
44217 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
44218 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44219 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44220 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44221 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44222 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44223 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44224 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44225 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44227 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44229 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44232 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44233 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44234 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44235 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44236 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44237 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44238 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44239 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44240 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44241 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44242 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44243 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44244 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44245 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44246 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44247 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44248 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44249 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44250 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44251 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44252 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44253 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44254 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44255 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44256 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44257 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44258 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44259 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44260 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44261 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44262 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44263 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44264 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44265 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44266 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44267 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44268 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44269 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44270 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44271 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44272 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44273 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44274 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44275 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44276 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44277 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44278 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44279 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44280 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44281 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44282 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44283 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44284 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44285 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44286 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44287 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44288 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44289 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44290 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44291 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44292 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44293 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44294 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44295 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44296 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44297 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44298 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44299 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44300 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44301 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44302 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44303 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44304 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44305 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44306 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44307 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44308 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44309 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44310 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44311 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44312 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44313 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44314 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44315 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44316 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44317 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44318 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44319 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44320 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44321 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44326 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44327 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44331 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44332 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44333 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44334 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44336 // Map renamed classes back to their common name for OOR
44337 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44339 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44340 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44341 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44342 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44343 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44344 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44345 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44346 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44347 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44348 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44349 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44350 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44351 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44352 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44353 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44354 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44355 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44356 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44357 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44358 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44359 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44360 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44361 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44362 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44363 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44364 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44365 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44366 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44367 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44368 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44369 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44370 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44371 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44372 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44373 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44374 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44375 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44376 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44377 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44378 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44379 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44380 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44381 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44382 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44385 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44386 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44388 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44391 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44392 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44393 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44395 // Map renamed classes back to their common name for OOR
44396 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44397 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44399 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44400 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44401 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44402 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44403 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44404 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44405 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44406 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44407 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44408 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44410 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44412 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44413 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44414 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44415 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44416 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44417 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));