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
){
3096 return (wxWindow
*)self
->m_mainWin
;
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_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= 0 ;
10549 wxTextAttr
*arg2
= 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "base",(char *) "overlay", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10569 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10571 if (!SWIG_IsOK(res2
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10577 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10591 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
= 0;
10593 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10594 wxColour
*arg2
= 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "self",(char *) "colText", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10609 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10612 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_Py_Void();
10627 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
= 0;
10629 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10630 wxColour
*arg2
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char * kwnames
[] = {
10637 (char *) "self",(char *) "colBack", NULL
10640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10642 if (!SWIG_IsOK(res1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10645 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10648 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_Py_Void();
10663 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= 0;
10665 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10667 long arg3
= (long) wxTEXT_ATTR_FONT
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "font",(char *) "flags", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10686 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10688 if (!SWIG_IsOK(res2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10694 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10696 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10697 if (!SWIG_IsOK(ecode3
)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10700 arg3
= static_cast< long >(val3
);
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_Py_Void();
10715 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
= 0;
10717 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10718 wxTextAttrAlignment arg2
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 char * kwnames
[] = {
10726 (char *) "self",(char *) "alignment", NULL
10729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10731 if (!SWIG_IsOK(res1
)) {
10732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10734 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10736 if (!SWIG_IsOK(ecode2
)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10739 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetAlignment(arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_Py_Void();
10753 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= 0;
10755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10756 wxArrayInt
*arg2
= 0 ;
10759 bool temp2
= false ;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 char * kwnames
[] = {
10763 (char *) "self",(char *) "tabs", NULL
10766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10771 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10773 if (! PySequence_Check(obj1
)) {
10774 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10777 arg2
= new wxArrayInt
;
10779 int i
, len
=PySequence_Length(obj1
);
10780 for (i
=0; i
<len
; i
++) {
10781 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10782 PyObject
* number
= PyNumber_Int(item
);
10783 arg2
->Add(PyInt_AS_LONG(number
));
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_Py_Void();
10796 if (temp2
) delete arg2
;
10801 if (temp2
) delete arg2
;
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10811 int arg3
= (int) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetLeftIndent" "', 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_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10838 if (!SWIG_IsOK(ecode3
)) {
10839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10841 arg3
= static_cast< int >(val3
);
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->SetLeftIndent(arg2
,arg3
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_Py_Void();
10856 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
= 0;
10858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 char * kwnames
[] = {
10867 (char *) "self",(char *) "indent", NULL
10870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10875 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10877 if (!SWIG_IsOK(ecode2
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10880 arg2
= static_cast< int >(val2
);
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->SetRightIndent(arg2
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= SWIG_Py_Void();
10894 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
= 0;
10896 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char * kwnames
[] = {
10905 (char *) "self",(char *) "flags", NULL
10908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10910 if (!SWIG_IsOK(res1
)) {
10911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10913 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10915 if (!SWIG_IsOK(ecode2
)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10918 arg2
= static_cast< long >(val2
);
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->SetFlags(arg2
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= SWIG_Py_Void();
10932 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10933 PyObject
*resultobj
= 0;
10934 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10938 PyObject
*swig_obj
[1] ;
10940 if (!args
) SWIG_fail
;
10941 swig_obj
[0] = args
;
10942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10943 if (!SWIG_IsOK(res1
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10946 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10962 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10968 PyObject
*swig_obj
[1] ;
10970 if (!args
) SWIG_fail
;
10971 swig_obj
[0] = args
;
10972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10973 if (!SWIG_IsOK(res1
)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10976 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10992 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10993 PyObject
*resultobj
= 0;
10994 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10998 PyObject
*swig_obj
[1] ;
11000 if (!args
) SWIG_fail
;
11001 swig_obj
[0] = args
;
11002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11003 if (!SWIG_IsOK(res1
)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11006 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11022 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11023 PyObject
*resultobj
= 0;
11024 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11028 PyObject
*swig_obj
[1] ;
11030 if (!args
) SWIG_fail
;
11031 swig_obj
[0] = args
;
11032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11036 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11052 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11053 PyObject
*resultobj
= 0;
11054 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11058 PyObject
*swig_obj
[1] ;
11060 if (!args
) SWIG_fail
;
11061 swig_obj
[0] = args
;
11062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11063 if (!SWIG_IsOK(res1
)) {
11064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11066 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11083 PyObject
*resultobj
= 0;
11084 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11088 PyObject
*swig_obj
[1] ;
11090 if (!args
) SWIG_fail
;
11091 swig_obj
[0] = args
;
11092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11096 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11113 PyObject
*resultobj
= 0;
11114 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11118 PyObject
*swig_obj
[1] ;
11120 if (!args
) SWIG_fail
;
11121 swig_obj
[0] = args
;
11122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11126 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= 0;
11144 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 char * kwnames
[] = {
11154 (char *) "self",(char *) "flag", NULL
11157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11159 if (!SWIG_IsOK(res1
)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11162 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11163 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11164 if (!SWIG_IsOK(ecode2
)) {
11165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11167 arg2
= static_cast< long >(val2
);
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11183 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 PyObject
*resultobj
= 0;
11185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11186 wxColour
*result
= 0 ;
11189 PyObject
*swig_obj
[1] ;
11191 if (!args
) SWIG_fail
;
11192 swig_obj
[0] = args
;
11193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11197 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11202 result
= (wxColour
*) &_result_ref
;
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11214 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11215 PyObject
*resultobj
= 0;
11216 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11217 wxColour
*result
= 0 ;
11220 PyObject
*swig_obj
[1] ;
11222 if (!args
) SWIG_fail
;
11223 swig_obj
[0] = args
;
11224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11228 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11233 result
= (wxColour
*) &_result_ref
;
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11245 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11246 PyObject
*resultobj
= 0;
11247 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11248 wxFont
*result
= 0 ;
11251 PyObject
*swig_obj
[1] ;
11253 if (!args
) SWIG_fail
;
11254 swig_obj
[0] = args
;
11255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11256 if (!SWIG_IsOK(res1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11259 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11264 result
= (wxFont
*) &_result_ref
;
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 wxFont
* resultptr
= new wxFont(*result
);
11271 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11279 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 PyObject
*resultobj
= 0;
11281 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11282 wxTextAttrAlignment result
;
11285 PyObject
*swig_obj
[1] ;
11287 if (!args
) SWIG_fail
;
11288 swig_obj
[0] = args
;
11289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11293 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_From_int(static_cast< int >(result
));
11307 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11308 PyObject
*resultobj
= 0;
11309 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11310 wxArrayInt
*result
= 0 ;
11313 PyObject
*swig_obj
[1] ;
11315 if (!args
) SWIG_fail
;
11316 swig_obj
[0] = args
;
11317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11318 if (!SWIG_IsOK(res1
)) {
11319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11321 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11326 result
= (wxArrayInt
*) &_result_ref
;
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= PyList_New(0);
11334 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11335 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11336 PyList_Append(resultobj
, val
);
11346 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11347 PyObject
*resultobj
= 0;
11348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11352 PyObject
*swig_obj
[1] ;
11354 if (!args
) SWIG_fail
;
11355 swig_obj
[0] = args
;
11356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11357 if (!SWIG_IsOK(res1
)) {
11358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11360 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_From_long(static_cast< long >(result
));
11374 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11375 PyObject
*resultobj
= 0;
11376 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11380 PyObject
*swig_obj
[1] ;
11382 if (!args
) SWIG_fail
;
11383 swig_obj
[0] = args
;
11384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11385 if (!SWIG_IsOK(res1
)) {
11386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11388 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= SWIG_From_long(static_cast< long >(result
));
11402 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11403 PyObject
*resultobj
= 0;
11404 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11408 PyObject
*swig_obj
[1] ;
11410 if (!args
) SWIG_fail
;
11411 swig_obj
[0] = args
;
11412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11416 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_From_long(static_cast< long >(result
));
11430 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11431 PyObject
*resultobj
= 0;
11432 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11436 PyObject
*swig_obj
[1] ;
11438 if (!args
) SWIG_fail
;
11439 swig_obj
[0] = args
;
11440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11444 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_From_long(static_cast< long >(result
));
11458 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11459 PyObject
*resultobj
= 0;
11460 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11464 PyObject
*swig_obj
[1] ;
11466 if (!args
) SWIG_fail
;
11467 swig_obj
[0] = args
;
11468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11469 if (!SWIG_IsOK(res1
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11472 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
= 0;
11490 wxTextAttr
*arg1
= 0 ;
11491 wxTextAttr
*arg2
= 0 ;
11492 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 PyObject
* obj2
= 0 ;
11503 char * kwnames
[] = {
11504 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11508 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11515 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11517 if (!SWIG_IsOK(res2
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11523 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11524 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11525 if (!SWIG_IsOK(res3
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11528 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11542 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11545 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11546 return SWIG_Py_Void();
11549 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11550 return SWIG_Python_InitShadowInstance(args
);
11553 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
= 0;
11555 wxWindow
*arg1
= (wxWindow
*) 0 ;
11556 int arg2
= (int) -1 ;
11557 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11558 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11563 long arg6
= (long) 0 ;
11564 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11565 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11566 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11567 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11568 wxTextCtrl
*result
= 0 ;
11573 bool temp3
= false ;
11580 bool temp8
= false ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 PyObject
* obj2
= 0 ;
11584 PyObject
* obj3
= 0 ;
11585 PyObject
* obj4
= 0 ;
11586 PyObject
* obj5
= 0 ;
11587 PyObject
* obj6
= 0 ;
11588 PyObject
* obj7
= 0 ;
11589 char * kwnames
[] = {
11590 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11595 if (!SWIG_IsOK(res1
)) {
11596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11601 if (!SWIG_IsOK(ecode2
)) {
11602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11604 arg2
= static_cast< int >(val2
);
11608 arg3
= wxString_in_helper(obj2
);
11609 if (arg3
== NULL
) SWIG_fail
;
11616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11626 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11627 if (!SWIG_IsOK(ecode6
)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11630 arg6
= static_cast< long >(val6
);
11633 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11634 if (!SWIG_IsOK(res7
)) {
11635 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11640 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11644 arg8
= wxString_in_helper(obj7
);
11645 if (arg8
== NULL
) SWIG_fail
;
11650 if (!wxPyCheckForApp()) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11679 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11680 PyObject
*resultobj
= 0;
11681 wxTextCtrl
*result
= 0 ;
11683 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11685 if (!wxPyCheckForApp()) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (wxTextCtrl
*)new wxTextCtrl();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11698 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
= 0;
11700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11701 wxWindow
*arg2
= (wxWindow
*) 0 ;
11702 int arg3
= (int) -1 ;
11703 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11704 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11705 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11706 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11707 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11708 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11709 long arg7
= (long) 0 ;
11710 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11711 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11712 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11713 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11721 bool temp4
= false ;
11728 bool temp9
= false ;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj1
= 0 ;
11731 PyObject
* obj2
= 0 ;
11732 PyObject
* obj3
= 0 ;
11733 PyObject
* obj4
= 0 ;
11734 PyObject
* obj5
= 0 ;
11735 PyObject
* obj6
= 0 ;
11736 PyObject
* obj7
= 0 ;
11737 PyObject
* obj8
= 0 ;
11738 char * kwnames
[] = {
11739 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11744 if (!SWIG_IsOK(res1
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11747 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11749 if (!SWIG_IsOK(res2
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11752 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11755 if (!SWIG_IsOK(ecode3
)) {
11756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11758 arg3
= static_cast< int >(val3
);
11762 arg4
= wxString_in_helper(obj3
);
11763 if (arg4
== NULL
) SWIG_fail
;
11770 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11776 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11780 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11781 if (!SWIG_IsOK(ecode7
)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11784 arg7
= static_cast< long >(val7
);
11787 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11788 if (!SWIG_IsOK(res8
)) {
11789 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11794 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11798 arg9
= wxString_in_helper(obj8
);
11799 if (arg9
== NULL
) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11834 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 PyObject
*resultobj
= 0;
11836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11840 PyObject
*swig_obj
[1] ;
11842 if (!args
) SWIG_fail
;
11843 swig_obj
[0] = args
;
11844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11848 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11868 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
= 0;
11870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11871 wxString
*arg2
= 0 ;
11874 bool temp2
= false ;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 char * kwnames
[] = {
11878 (char *) "self",(char *) "value", NULL
11881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11886 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11888 arg2
= wxString_in_helper(obj1
);
11889 if (arg2
== NULL
) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetValue((wxString
const &)*arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_Py_Void();
11913 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
= 0;
11915 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 PyObject
* obj2
= 0 ;
11928 char * kwnames
[] = {
11929 (char *) "self",(char *) "_from",(char *) "to", NULL
11932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11934 if (!SWIG_IsOK(res1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11937 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11938 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11939 if (!SWIG_IsOK(ecode2
)) {
11940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11942 arg2
= static_cast< long >(val2
);
11943 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11944 if (!SWIG_IsOK(ecode3
)) {
11945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11947 arg3
= static_cast< long >(val3
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11967 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
= 0;
11969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char * kwnames
[] = {
11979 (char *) "self",(char *) "lineNo", NULL
11982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11987 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11988 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11989 if (!SWIG_IsOK(ecode2
)) {
11990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11992 arg2
= static_cast< long >(val2
);
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_From_int(static_cast< int >(result
));
12006 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
= 0;
12008 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 char * kwnames
[] = {
12018 (char *) "self",(char *) "lineNo", NULL
12021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12023 if (!SWIG_IsOK(res1
)) {
12024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12026 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12027 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12028 if (!SWIG_IsOK(ecode2
)) {
12029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12031 arg2
= static_cast< long >(val2
);
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12051 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12052 PyObject
*resultobj
= 0;
12053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12057 PyObject
*swig_obj
[1] ;
12059 if (!args
) SWIG_fail
;
12060 swig_obj
[0] = args
;
12061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12062 if (!SWIG_IsOK(res1
)) {
12063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12065 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_From_int(static_cast< int >(result
));
12079 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12080 PyObject
*resultobj
= 0;
12081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12085 PyObject
*swig_obj
[1] ;
12087 if (!args
) SWIG_fail
;
12088 swig_obj
[0] = args
;
12089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12109 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12110 PyObject
*resultobj
= 0;
12111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12115 PyObject
*swig_obj
[1] ;
12117 if (!args
) SWIG_fail
;
12118 swig_obj
[0] = args
;
12119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12120 if (!SWIG_IsOK(res1
)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12123 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12139 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12140 PyObject
*resultobj
= 0;
12141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12145 PyObject
*swig_obj
[1] ;
12147 if (!args
) SWIG_fail
;
12148 swig_obj
[0] = args
;
12149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12153 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12169 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12183 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12202 long *arg2
= (long *) 0 ;
12203 long *arg3
= (long *) 0 ;
12207 int res2
= SWIG_TMPOBJ
;
12209 int res3
= SWIG_TMPOBJ
;
12210 PyObject
*swig_obj
[1] ;
12214 if (!args
) SWIG_fail
;
12215 swig_obj
[0] = args
;
12216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12217 if (!SWIG_IsOK(res1
)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12220 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_Py_Void();
12228 if (SWIG_IsTmpObj(res2
)) {
12229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12231 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12234 if (SWIG_IsTmpObj(res3
)) {
12235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12237 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12246 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12247 PyObject
*resultobj
= 0;
12248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12252 PyObject
*swig_obj
[1] ;
12254 if (!args
) SWIG_fail
;
12255 swig_obj
[0] = args
;
12256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12280 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12281 PyObject
*resultobj
= 0;
12282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12285 PyObject
*swig_obj
[1] ;
12287 if (!args
) SWIG_fail
;
12288 swig_obj
[0] = args
;
12289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12290 if (!SWIG_IsOK(res1
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_Py_Void();
12307 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
= 0;
12309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12312 wxString
*arg4
= 0 ;
12319 bool temp4
= false ;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 PyObject
* obj2
= 0 ;
12323 PyObject
* obj3
= 0 ;
12324 char * kwnames
[] = {
12325 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12333 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12335 if (!SWIG_IsOK(ecode2
)) {
12336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12338 arg2
= static_cast< long >(val2
);
12339 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12340 if (!SWIG_IsOK(ecode3
)) {
12341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12343 arg3
= static_cast< long >(val3
);
12345 arg4
= wxString_in_helper(obj3
);
12346 if (arg4
== NULL
) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_Py_Void();
12370 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
= 0;
12372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 PyObject
* obj2
= 0 ;
12384 char * kwnames
[] = {
12385 (char *) "self",(char *) "_from",(char *) "to", NULL
12388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12393 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12394 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12395 if (!SWIG_IsOK(ecode2
)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12398 arg2
= static_cast< long >(val2
);
12399 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12400 if (!SWIG_IsOK(ecode3
)) {
12401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12403 arg3
= static_cast< long >(val3
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->Remove(arg2
,arg3
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_Py_Void();
12417 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
= 0;
12419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12420 wxString
*arg2
= 0 ;
12424 bool temp2
= false ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "self",(char *) "file", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12438 arg2
= wxString_in_helper(obj1
);
12439 if (arg2
== NULL
) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12465 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
= 0;
12467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12468 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12469 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12473 bool temp2
= false ;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 char * kwnames
[] = {
12477 (char *) "self",(char *) "file", NULL
12480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12485 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12488 arg2
= wxString_in_helper(obj1
);
12489 if (arg2
== NULL
) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12516 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12517 PyObject
*resultobj
= 0;
12518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12521 PyObject
*swig_obj
[1] ;
12523 if (!args
) SWIG_fail
;
12524 swig_obj
[0] = args
;
12525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12529 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->MarkDirty();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_Py_Void();
12543 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12556 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->DiscardEdits();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_Py_Void();
12570 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= 0;
12572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12573 unsigned long arg2
;
12576 unsigned long val2
;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "self",(char *) "len", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12589 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12590 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12591 if (!SWIG_IsOK(ecode2
)) {
12592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12594 arg2
= static_cast< unsigned long >(val2
);
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetMaxLength(arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(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_WriteText",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_WriteText" "', 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
)->WriteText((wxString
const &)*arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12653 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
= 0;
12655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12656 wxString
*arg2
= 0 ;
12659 bool temp2
= false ;
12660 PyObject
* obj0
= 0 ;
12661 PyObject
* obj1
= 0 ;
12662 char * kwnames
[] = {
12663 (char *) "self",(char *) "text", NULL
12666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12671 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12673 arg2
= wxString_in_helper(obj1
);
12674 if (arg2
== NULL
) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 (arg1
)->AppendText((wxString
const &)*arg2
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
= 0;
12700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12701 wxKeyEvent
*arg2
= 0 ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 char * kwnames
[] = {
12710 (char *) "self",(char *) "event", NULL
12713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12715 if (!SWIG_IsOK(res1
)) {
12716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12718 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12720 if (!SWIG_IsOK(res2
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12726 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12742 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
= 0;
12744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12747 wxTextAttr
*arg4
= 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 PyObject
* obj2
= 0 ;
12760 PyObject
* obj3
= 0 ;
12761 char * kwnames
[] = {
12762 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12767 if (!SWIG_IsOK(res1
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12770 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12771 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12772 if (!SWIG_IsOK(ecode2
)) {
12773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12775 arg2
= static_cast< long >(val2
);
12776 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12777 if (!SWIG_IsOK(ecode3
)) {
12778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12780 arg3
= static_cast< long >(val3
);
12781 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12782 if (!SWIG_IsOK(res4
)) {
12783 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12788 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12804 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
= 0;
12806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12808 wxTextAttr
*arg3
= 0 ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "position",(char *) "style", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12830 if (!SWIG_IsOK(ecode2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12833 arg2
= static_cast< long >(val2
);
12834 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12835 if (!SWIG_IsOK(res3
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12841 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12857 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= 0;
12859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12860 wxTextAttr
*arg2
= 0 ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "style", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12879 if (!SWIG_IsOK(res2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12885 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12901 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12902 PyObject
*resultobj
= 0;
12903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12904 wxTextAttr
*result
= 0 ;
12907 PyObject
*swig_obj
[1] ;
12909 if (!args
) SWIG_fail
;
12910 swig_obj
[0] = args
;
12911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12920 result
= (wxTextAttr
*) &_result_ref
;
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12932 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
= 0;
12934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 PyObject
* obj2
= 0 ;
12947 char * kwnames
[] = {
12948 (char *) "self",(char *) "x",(char *) "y", NULL
12951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12953 if (!SWIG_IsOK(res1
)) {
12954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12956 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12957 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12958 if (!SWIG_IsOK(ecode2
)) {
12959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12961 arg2
= static_cast< long >(val2
);
12962 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12963 if (!SWIG_IsOK(ecode3
)) {
12964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12966 arg3
= static_cast< long >(val3
);
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_From_long(static_cast< long >(result
));
12980 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12984 long *arg3
= (long *) 0 ;
12985 long *arg4
= (long *) 0 ;
12991 int res3
= SWIG_TMPOBJ
;
12993 int res4
= SWIG_TMPOBJ
;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char * kwnames
[] = {
12997 (char *) "self",(char *) "pos", NULL
13002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13007 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13009 if (!SWIG_IsOK(ecode2
)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13012 arg2
= static_cast< long >(val2
);
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= SWIG_Py_Void();
13020 if (SWIG_IsTmpObj(res3
)) {
13021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13023 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13026 if (SWIG_IsTmpObj(res4
)) {
13027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13029 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13038 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
= 0;
13040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char * kwnames
[] = {
13049 (char *) "self",(char *) "pos", NULL
13052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13054 if (!SWIG_IsOK(res1
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13057 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13059 if (!SWIG_IsOK(ecode2
)) {
13060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13062 arg2
= static_cast< long >(val2
);
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->ShowPosition(arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_Py_Void();
13076 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13079 wxPoint
*arg2
= 0 ;
13080 long *arg3
= (long *) 0 ;
13081 long *arg4
= (long *) 0 ;
13082 wxTextCtrlHitTestResult result
;
13087 int res3
= SWIG_TMPOBJ
;
13089 int res4
= SWIG_TMPOBJ
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char * kwnames
[] = {
13093 (char *) "self",(char *) "pt", NULL
13098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13100 if (!SWIG_IsOK(res1
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13103 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_From_int(static_cast< int >(result
));
13115 if (SWIG_IsTmpObj(res3
)) {
13116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13121 if (SWIG_IsTmpObj(res4
)) {
13122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13124 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13133 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
= 0;
13135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13136 wxPoint
*arg2
= 0 ;
13137 long *arg3
= (long *) 0 ;
13138 wxTextCtrlHitTestResult result
;
13143 int res3
= SWIG_TMPOBJ
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char * kwnames
[] = {
13147 (char *) "self",(char *) "pt", NULL
13151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13153 if (!SWIG_IsOK(res1
)) {
13154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13156 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_From_int(static_cast< int >(result
));
13168 if (SWIG_IsTmpObj(res3
)) {
13169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13171 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13180 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 PyObject
*resultobj
= 0;
13182 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13185 PyObject
*swig_obj
[1] ;
13187 if (!args
) SWIG_fail
;
13188 swig_obj
[0] = args
;
13189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_Py_Void();
13207 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13208 PyObject
*resultobj
= 0;
13209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13212 PyObject
*swig_obj
[1] ;
13214 if (!args
) SWIG_fail
;
13215 swig_obj
[0] = args
;
13216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13220 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= SWIG_Py_Void();
13234 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13235 PyObject
*resultobj
= 0;
13236 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13239 PyObject
*swig_obj
[1] ;
13241 if (!args
) SWIG_fail
;
13242 swig_obj
[0] = args
;
13243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13244 if (!SWIG_IsOK(res1
)) {
13245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13247 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_Py_Void();
13261 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13262 PyObject
*resultobj
= 0;
13263 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13267 PyObject
*swig_obj
[1] ;
13269 if (!args
) SWIG_fail
;
13270 swig_obj
[0] = args
;
13271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13275 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13291 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13292 PyObject
*resultobj
= 0;
13293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13297 PyObject
*swig_obj
[1] ;
13299 if (!args
) SWIG_fail
;
13300 swig_obj
[0] = args
;
13301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13305 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13321 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 PyObject
*resultobj
= 0;
13323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13327 PyObject
*swig_obj
[1] ;
13329 if (!args
) SWIG_fail
;
13330 swig_obj
[0] = args
;
13331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13335 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13351 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13352 PyObject
*resultobj
= 0;
13353 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13356 PyObject
*swig_obj
[1] ;
13358 if (!args
) SWIG_fail
;
13359 swig_obj
[0] = args
;
13360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13361 if (!SWIG_IsOK(res1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13364 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_Py_Void();
13378 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13379 PyObject
*resultobj
= 0;
13380 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13383 PyObject
*swig_obj
[1] ;
13385 if (!args
) SWIG_fail
;
13386 swig_obj
[0] = args
;
13387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13388 if (!SWIG_IsOK(res1
)) {
13389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13391 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_Py_Void();
13405 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13406 PyObject
*resultobj
= 0;
13407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13411 PyObject
*swig_obj
[1] ;
13413 if (!args
) SWIG_fail
;
13414 swig_obj
[0] = args
;
13415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13416 if (!SWIG_IsOK(res1
)) {
13417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13419 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13435 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13436 PyObject
*resultobj
= 0;
13437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13441 PyObject
*swig_obj
[1] ;
13443 if (!args
) SWIG_fail
;
13444 swig_obj
[0] = args
;
13445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13446 if (!SWIG_IsOK(res1
)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13449 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13465 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
= 0;
13467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 char * kwnames
[] = {
13476 (char *) "self",(char *) "pos", NULL
13479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13481 if (!SWIG_IsOK(res1
)) {
13482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13484 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13486 if (!SWIG_IsOK(ecode2
)) {
13487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13489 arg2
= static_cast< long >(val2
);
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 (arg1
)->SetInsertionPoint(arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_Py_Void();
13503 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13504 PyObject
*resultobj
= 0;
13505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13508 PyObject
*swig_obj
[1] ;
13510 if (!args
) SWIG_fail
;
13511 swig_obj
[0] = args
;
13512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13513 if (!SWIG_IsOK(res1
)) {
13514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13516 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 (arg1
)->SetInsertionPointEnd();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_Py_Void();
13530 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13531 PyObject
*resultobj
= 0;
13532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13536 PyObject
*swig_obj
[1] ;
13538 if (!args
) SWIG_fail
;
13539 swig_obj
[0] = args
;
13540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13541 if (!SWIG_IsOK(res1
)) {
13542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13544 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_From_long(static_cast< long >(result
));
13558 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13559 PyObject
*resultobj
= 0;
13560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13564 PyObject
*swig_obj
[1] ;
13566 if (!args
) SWIG_fail
;
13567 swig_obj
[0] = args
;
13568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13569 if (!SWIG_IsOK(res1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13572 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= SWIG_From_long(static_cast< long >(result
));
13586 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
= 0;
13588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 PyObject
* obj2
= 0 ;
13600 char * kwnames
[] = {
13601 (char *) "self",(char *) "_from",(char *) "to", NULL
13604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13610 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13611 if (!SWIG_IsOK(ecode2
)) {
13612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13614 arg2
= static_cast< long >(val2
);
13615 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13616 if (!SWIG_IsOK(ecode3
)) {
13617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13619 arg3
= static_cast< long >(val3
);
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetSelection(arg2
,arg3
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_Py_Void();
13633 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13634 PyObject
*resultobj
= 0;
13635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13638 PyObject
*swig_obj
[1] ;
13640 if (!args
) SWIG_fail
;
13641 swig_obj
[0] = args
;
13642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13646 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->SelectAll();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_Py_Void();
13660 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
= 0;
13662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 char * kwnames
[] = {
13671 (char *) "self",(char *) "editable", NULL
13674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13676 if (!SWIG_IsOK(res1
)) {
13677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13679 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13681 if (!SWIG_IsOK(ecode2
)) {
13682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13684 arg2
= static_cast< bool >(val2
);
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->SetEditable(arg2
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= 0;
13700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13701 wxString
*arg2
= 0 ;
13704 bool temp2
= false ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 char * kwnames
[] = {
13708 (char *) "self",(char *) "text", NULL
13711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13713 if (!SWIG_IsOK(res1
)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13716 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13718 arg2
= wxString_in_helper(obj1
);
13719 if (arg2
== NULL
) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_Py_Void();
13743 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
= 0;
13745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 char * kwnames
[] = {
13759 (char *) "self",(char *) "_from",(char *) "to", NULL
13762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13764 if (!SWIG_IsOK(res1
)) {
13765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13767 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13768 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13769 if (!SWIG_IsOK(ecode2
)) {
13770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13772 arg2
= static_cast< long >(val2
);
13773 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13774 if (!SWIG_IsOK(ecode3
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13777 arg3
= static_cast< long >(val3
);
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13797 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13799 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13800 SwigValueWrapper
<wxVisualAttributes
> result
;
13803 PyObject
* obj0
= 0 ;
13804 char * kwnames
[] = {
13805 (char *) "variant", NULL
13808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13810 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13811 if (!SWIG_IsOK(ecode1
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13814 arg1
= static_cast< wxWindowVariant
>(val1
);
13817 if (!wxPyCheckForApp()) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13830 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13833 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13834 return SWIG_Py_Void();
13837 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13838 return SWIG_Python_InitShadowInstance(args
);
13841 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
= 0;
13844 wxMouseEvent
*arg2
= 0 ;
13847 wxTextUrlEvent
*result
= 0 ;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 PyObject
* obj2
= 0 ;
13859 PyObject
* obj3
= 0 ;
13860 char * kwnames
[] = {
13861 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13865 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13866 if (!SWIG_IsOK(ecode1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13869 arg1
= static_cast< int >(val1
);
13870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13871 if (!SWIG_IsOK(res2
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13877 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13878 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13879 if (!SWIG_IsOK(ecode3
)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13882 arg3
= static_cast< long >(val3
);
13883 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13884 if (!SWIG_IsOK(ecode4
)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13887 arg4
= static_cast< long >(val4
);
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13901 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13902 PyObject
*resultobj
= 0;
13903 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13904 wxMouseEvent
*result
= 0 ;
13907 PyObject
*swig_obj
[1] ;
13909 if (!args
) SWIG_fail
;
13910 swig_obj
[0] = args
;
13911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13915 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13920 result
= (wxMouseEvent
*) &_result_ref
;
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13932 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13933 PyObject
*resultobj
= 0;
13934 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13938 PyObject
*swig_obj
[1] ;
13940 if (!args
) SWIG_fail
;
13941 swig_obj
[0] = args
;
13942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13943 if (!SWIG_IsOK(res1
)) {
13944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13946 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_From_long(static_cast< long >(result
));
13960 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(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_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13974 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_From_long(static_cast< long >(result
));
13988 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13991 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13992 return SWIG_Py_Void();
13995 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13996 return SWIG_Python_InitShadowInstance(args
);
13999 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14000 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14005 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14006 PyObject
*pyobj
= 0;
14010 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14012 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14019 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
= 0;
14021 wxWindow
*arg1
= (wxWindow
*) 0 ;
14022 int arg2
= (int) -1 ;
14023 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14024 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14025 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14026 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14027 long arg5
= (long) wxSB_HORIZONTAL
;
14028 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14029 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14030 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14032 wxScrollBar
*result
= 0 ;
14043 bool temp7
= false ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 PyObject
* obj2
= 0 ;
14047 PyObject
* obj3
= 0 ;
14048 PyObject
* obj4
= 0 ;
14049 PyObject
* obj5
= 0 ;
14050 PyObject
* obj6
= 0 ;
14051 char * kwnames
[] = {
14052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14057 if (!SWIG_IsOK(res1
)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14063 if (!SWIG_IsOK(ecode2
)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14066 arg2
= static_cast< int >(val2
);
14071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14081 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14082 if (!SWIG_IsOK(ecode5
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14085 arg5
= static_cast< long >(val5
);
14088 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14089 if (!SWIG_IsOK(res6
)) {
14090 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14095 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14099 arg7
= wxString_in_helper(obj6
);
14100 if (arg7
== NULL
) SWIG_fail
;
14105 if (!wxPyCheckForApp()) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14126 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxScrollBar
*result
= 0 ;
14130 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14132 if (!wxPyCheckForApp()) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxScrollBar
*)new wxScrollBar();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14145 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
= 0;
14147 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14148 wxWindow
*arg2
= (wxWindow
*) 0 ;
14149 int arg3
= (int) -1 ;
14150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14154 long arg6
= (long) wxSB_HORIZONTAL
;
14155 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14156 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14157 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14158 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14172 bool temp8
= false ;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 PyObject
* obj2
= 0 ;
14176 PyObject
* obj3
= 0 ;
14177 PyObject
* obj4
= 0 ;
14178 PyObject
* obj5
= 0 ;
14179 PyObject
* obj6
= 0 ;
14180 PyObject
* obj7
= 0 ;
14181 char * kwnames
[] = {
14182 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14187 if (!SWIG_IsOK(res1
)) {
14188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14190 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14192 if (!SWIG_IsOK(res2
)) {
14193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14198 if (!SWIG_IsOK(ecode3
)) {
14199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14201 arg3
= static_cast< int >(val3
);
14206 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14212 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14216 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14217 if (!SWIG_IsOK(ecode6
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14220 arg6
= static_cast< long >(val6
);
14223 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14224 if (!SWIG_IsOK(res7
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14230 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14234 arg8
= wxString_in_helper(obj7
);
14235 if (arg8
== NULL
) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14262 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14263 PyObject
*resultobj
= 0;
14264 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14268 PyObject
*swig_obj
[1] ;
14270 if (!args
) SWIG_fail
;
14271 swig_obj
[0] = args
;
14272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14276 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_From_int(static_cast< int >(result
));
14290 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(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_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14304 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_From_int(static_cast< int >(result
));
14318 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(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_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14332 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_From_int(static_cast< int >(result
));
14346 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(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_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14360 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_int(static_cast< int >(result
));
14374 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(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_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14388 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
= 0;
14406 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char * kwnames
[] = {
14415 (char *) "self",(char *) "viewStart", NULL
14418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14420 if (!SWIG_IsOK(res1
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14423 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14425 if (!SWIG_IsOK(ecode2
)) {
14426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14428 arg2
= static_cast< int >(val2
);
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 (arg1
)->SetThumbPosition(arg2
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_Py_Void();
14442 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
= 0;
14444 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14445 SwigValueWrapper
<wxVisualAttributes
> result
;
14448 PyObject
* obj0
= 0 ;
14449 char * kwnames
[] = {
14450 (char *) "variant", NULL
14453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14455 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14456 if (!SWIG_IsOK(ecode1
)) {
14457 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14459 arg1
= static_cast< wxWindowVariant
>(val1
);
14462 if (!wxPyCheckForApp()) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14475 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14478 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14479 return SWIG_Py_Void();
14482 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14483 return SWIG_Python_InitShadowInstance(args
);
14486 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14487 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14492 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14493 PyObject
*pyobj
= 0;
14497 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14499 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14506 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14507 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14512 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14513 PyObject
*pyobj
= 0;
14517 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14519 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14526 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
= 0;
14528 wxWindow
*arg1
= (wxWindow
*) 0 ;
14529 int arg2
= (int) -1 ;
14530 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14531 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14532 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14533 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14534 long arg5
= (long) wxSP_HORIZONTAL
;
14535 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14536 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14537 wxSpinButton
*result
= 0 ;
14546 bool temp6
= false ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 PyObject
* obj2
= 0 ;
14550 PyObject
* obj3
= 0 ;
14551 PyObject
* obj4
= 0 ;
14552 PyObject
* obj5
= 0 ;
14553 char * kwnames
[] = {
14554 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14562 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14565 if (!SWIG_IsOK(ecode2
)) {
14566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14568 arg2
= static_cast< int >(val2
);
14573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14583 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14584 if (!SWIG_IsOK(ecode5
)) {
14585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14587 arg5
= static_cast< long >(val5
);
14591 arg6
= wxString_in_helper(obj5
);
14592 if (arg6
== NULL
) SWIG_fail
;
14597 if (!wxPyCheckForApp()) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14618 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14619 PyObject
*resultobj
= 0;
14620 wxSpinButton
*result
= 0 ;
14622 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14624 if (!wxPyCheckForApp()) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (wxSpinButton
*)new wxSpinButton();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14637 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
= 0;
14639 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14640 wxWindow
*arg2
= (wxWindow
*) 0 ;
14641 int arg3
= (int) -1 ;
14642 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14643 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14644 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14645 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14646 long arg6
= (long) wxSP_HORIZONTAL
;
14647 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14648 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14660 bool temp7
= false ;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 PyObject
* obj2
= 0 ;
14664 PyObject
* obj3
= 0 ;
14665 PyObject
* obj4
= 0 ;
14666 PyObject
* obj5
= 0 ;
14667 PyObject
* obj6
= 0 ;
14668 char * kwnames
[] = {
14669 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14674 if (!SWIG_IsOK(res1
)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14677 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14679 if (!SWIG_IsOK(res2
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14682 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14685 if (!SWIG_IsOK(ecode3
)) {
14686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14688 arg3
= static_cast< int >(val3
);
14693 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14699 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14703 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14704 if (!SWIG_IsOK(ecode6
)) {
14705 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14707 arg6
= static_cast< long >(val6
);
14711 arg7
= wxString_in_helper(obj6
);
14712 if (arg7
== NULL
) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14739 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14740 PyObject
*resultobj
= 0;
14741 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14745 PyObject
*swig_obj
[1] ;
14747 if (!args
) SWIG_fail
;
14748 swig_obj
[0] = args
;
14749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14750 if (!SWIG_IsOK(res1
)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14753 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_From_int(static_cast< int >(result
));
14767 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(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_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14781 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= SWIG_From_int(static_cast< int >(result
));
14795 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(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_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14809 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= SWIG_From_int(static_cast< int >(result
));
14823 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
= 0;
14825 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14833 char * kwnames
[] = {
14834 (char *) "self",(char *) "val", NULL
14837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14839 if (!SWIG_IsOK(res1
)) {
14840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14842 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14844 if (!SWIG_IsOK(ecode2
)) {
14845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14847 arg2
= static_cast< int >(val2
);
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 (arg1
)->SetValue(arg2
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_Py_Void();
14861 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
= 0;
14863 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 char * kwnames
[] = {
14872 (char *) "self",(char *) "minVal", NULL
14875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14877 if (!SWIG_IsOK(res1
)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14880 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14882 if (!SWIG_IsOK(ecode2
)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14885 arg2
= static_cast< int >(val2
);
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 (arg1
)->SetMin(arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_Py_Void();
14899 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
= 0;
14901 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 char * kwnames
[] = {
14910 (char *) "self",(char *) "maxVal", NULL
14913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14915 if (!SWIG_IsOK(res1
)) {
14916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14918 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14920 if (!SWIG_IsOK(ecode2
)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14923 arg2
= static_cast< int >(val2
);
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 (arg1
)->SetMax(arg2
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_Py_Void();
14937 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
= 0;
14939 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14950 PyObject
* obj2
= 0 ;
14951 char * kwnames
[] = {
14952 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14957 if (!SWIG_IsOK(res1
)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14960 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14962 if (!SWIG_IsOK(ecode2
)) {
14963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14965 arg2
= static_cast< int >(val2
);
14966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14967 if (!SWIG_IsOK(ecode3
)) {
14968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14970 arg3
= static_cast< int >(val3
);
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 (arg1
)->SetRange(arg2
,arg3
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_Py_Void();
14984 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14985 PyObject
*resultobj
= 0;
14986 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14990 PyObject
*swig_obj
[1] ;
14992 if (!args
) SWIG_fail
;
14993 swig_obj
[0] = args
;
14994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14998 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15014 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= 0;
15016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15017 SwigValueWrapper
<wxVisualAttributes
> result
;
15020 PyObject
* obj0
= 0 ;
15021 char * kwnames
[] = {
15022 (char *) "variant", NULL
15025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15028 if (!SWIG_IsOK(ecode1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15031 arg1
= static_cast< wxWindowVariant
>(val1
);
15034 if (!wxPyCheckForApp()) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15047 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15050 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15051 return SWIG_Py_Void();
15054 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15055 return SWIG_Python_InitShadowInstance(args
);
15058 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
= 0;
15060 wxWindow
*arg1
= (wxWindow
*) 0 ;
15061 int arg2
= (int) -1 ;
15062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15068 long arg6
= (long) wxSP_ARROW_KEYS
;
15069 int arg7
= (int) 0 ;
15070 int arg8
= (int) 100 ;
15071 int arg9
= (int) 0 ;
15072 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15073 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15074 wxSpinCtrl
*result
= 0 ;
15079 bool temp3
= false ;
15090 bool temp10
= false ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 PyObject
* obj2
= 0 ;
15094 PyObject
* obj3
= 0 ;
15095 PyObject
* obj4
= 0 ;
15096 PyObject
* obj5
= 0 ;
15097 PyObject
* obj6
= 0 ;
15098 PyObject
* obj7
= 0 ;
15099 PyObject
* obj8
= 0 ;
15100 PyObject
* obj9
= 0 ;
15101 char * kwnames
[] = {
15102 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15107 if (!SWIG_IsOK(res1
)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15113 if (!SWIG_IsOK(ecode2
)) {
15114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15116 arg2
= static_cast< int >(val2
);
15120 arg3
= wxString_in_helper(obj2
);
15121 if (arg3
== NULL
) SWIG_fail
;
15128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15138 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15139 if (!SWIG_IsOK(ecode6
)) {
15140 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15142 arg6
= static_cast< long >(val6
);
15145 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15146 if (!SWIG_IsOK(ecode7
)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15149 arg7
= static_cast< int >(val7
);
15152 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15153 if (!SWIG_IsOK(ecode8
)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15156 arg8
= static_cast< int >(val8
);
15159 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15160 if (!SWIG_IsOK(ecode9
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15163 arg9
= static_cast< int >(val9
);
15167 arg10
= wxString_in_helper(obj9
);
15168 if (arg10
== NULL
) SWIG_fail
;
15173 if (!wxPyCheckForApp()) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15202 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15203 PyObject
*resultobj
= 0;
15204 wxSpinCtrl
*result
= 0 ;
15206 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15208 if (!wxPyCheckForApp()) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15221 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
= 0;
15223 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15224 wxWindow
*arg2
= (wxWindow
*) 0 ;
15225 int arg3
= (int) -1 ;
15226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15228 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15229 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15230 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15231 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15232 long arg7
= (long) wxSP_ARROW_KEYS
;
15233 int arg8
= (int) 0 ;
15234 int arg9
= (int) 100 ;
15235 int arg10
= (int) 0 ;
15236 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15237 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15245 bool temp4
= false ;
15256 bool temp11
= false ;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 PyObject
* obj2
= 0 ;
15260 PyObject
* obj3
= 0 ;
15261 PyObject
* obj4
= 0 ;
15262 PyObject
* obj5
= 0 ;
15263 PyObject
* obj6
= 0 ;
15264 PyObject
* obj7
= 0 ;
15265 PyObject
* obj8
= 0 ;
15266 PyObject
* obj9
= 0 ;
15267 PyObject
* obj10
= 0 ;
15268 char * kwnames
[] = {
15269 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15274 if (!SWIG_IsOK(res1
)) {
15275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15277 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15279 if (!SWIG_IsOK(res2
)) {
15280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15282 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15285 if (!SWIG_IsOK(ecode3
)) {
15286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15288 arg3
= static_cast< int >(val3
);
15292 arg4
= wxString_in_helper(obj3
);
15293 if (arg4
== NULL
) SWIG_fail
;
15300 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15306 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15310 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15311 if (!SWIG_IsOK(ecode7
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15314 arg7
= static_cast< long >(val7
);
15317 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15318 if (!SWIG_IsOK(ecode8
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15321 arg8
= static_cast< int >(val8
);
15324 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15325 if (!SWIG_IsOK(ecode9
)) {
15326 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15328 arg9
= static_cast< int >(val9
);
15331 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15332 if (!SWIG_IsOK(ecode10
)) {
15333 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15335 arg10
= static_cast< int >(val10
);
15339 arg11
= wxString_in_helper(obj10
);
15340 if (arg11
== NULL
) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15375 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15376 PyObject
*resultobj
= 0;
15377 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15381 PyObject
*swig_obj
[1] ;
15383 if (!args
) SWIG_fail
;
15384 swig_obj
[0] = args
;
15385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15386 if (!SWIG_IsOK(res1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15389 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_From_int(static_cast< int >(result
));
15403 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
= 0;
15405 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 char * kwnames
[] = {
15414 (char *) "self",(char *) "value", NULL
15417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15419 if (!SWIG_IsOK(res1
)) {
15420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15422 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15424 if (!SWIG_IsOK(ecode2
)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15427 arg2
= static_cast< int >(val2
);
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->SetValue(arg2
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_Py_Void();
15441 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15444 wxString
*arg2
= 0 ;
15447 bool temp2
= false ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char * kwnames
[] = {
15451 (char *) "self",(char *) "text", NULL
15454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15456 if (!SWIG_IsOK(res1
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15459 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15461 arg2
= wxString_in_helper(obj1
);
15462 if (arg2
== NULL
) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->SetValue((wxString
const &)*arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_Py_Void();
15486 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
= 0;
15488 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 PyObject
* obj2
= 0 ;
15500 char * kwnames
[] = {
15501 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15506 if (!SWIG_IsOK(res1
)) {
15507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15509 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15511 if (!SWIG_IsOK(ecode2
)) {
15512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15514 arg2
= static_cast< int >(val2
);
15515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15516 if (!SWIG_IsOK(ecode3
)) {
15517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15519 arg3
= static_cast< int >(val3
);
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->SetRange(arg2
,arg3
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_Py_Void();
15533 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15534 PyObject
*resultobj
= 0;
15535 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15539 PyObject
*swig_obj
[1] ;
15541 if (!args
) SWIG_fail
;
15542 swig_obj
[0] = args
;
15543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15544 if (!SWIG_IsOK(res1
)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15547 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_From_int(static_cast< int >(result
));
15561 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(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_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15575 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= SWIG_From_int(static_cast< int >(result
));
15589 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
= 0;
15591 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 PyObject
* obj2
= 0 ;
15603 char * kwnames
[] = {
15604 (char *) "self",(char *) "_from",(char *) "to", NULL
15607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15609 if (!SWIG_IsOK(res1
)) {
15610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15612 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15613 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15614 if (!SWIG_IsOK(ecode2
)) {
15615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15617 arg2
= static_cast< long >(val2
);
15618 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15619 if (!SWIG_IsOK(ecode3
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15622 arg3
= static_cast< long >(val3
);
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetSelection(arg2
,arg3
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_Py_Void();
15636 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
= 0;
15638 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15639 SwigValueWrapper
<wxVisualAttributes
> result
;
15642 PyObject
* obj0
= 0 ;
15643 char * kwnames
[] = {
15644 (char *) "variant", NULL
15647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15650 if (!SWIG_IsOK(ecode1
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15653 arg1
= static_cast< wxWindowVariant
>(val1
);
15656 if (!wxPyCheckForApp()) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15669 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15672 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15673 return SWIG_Py_Void();
15676 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15677 return SWIG_Python_InitShadowInstance(args
);
15680 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
= 0;
15682 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15683 int arg2
= (int) 0 ;
15684 wxSpinEvent
*result
= 0 ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char * kwnames
[] = {
15692 (char *) "commandType",(char *) "winid", NULL
15695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15698 if (!SWIG_IsOK(ecode1
)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15701 arg1
= static_cast< wxEventType
>(val1
);
15704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15705 if (!SWIG_IsOK(ecode2
)) {
15706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15708 arg2
= static_cast< int >(val2
);
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15723 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15724 PyObject
*resultobj
= 0;
15725 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15729 PyObject
*swig_obj
[1] ;
15731 if (!args
) SWIG_fail
;
15732 swig_obj
[0] = args
;
15733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15734 if (!SWIG_IsOK(res1
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15737 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_From_int(static_cast< int >(result
));
15751 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
= 0;
15753 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 char * kwnames
[] = {
15762 (char *) "self",(char *) "pos", NULL
15765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15767 if (!SWIG_IsOK(res1
)) {
15768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15770 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15772 if (!SWIG_IsOK(ecode2
)) {
15773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15775 arg2
= static_cast< int >(val2
);
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 (arg1
)->SetPosition(arg2
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= SWIG_Py_Void();
15789 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15792 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15793 return SWIG_Py_Void();
15796 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 return SWIG_Python_InitShadowInstance(args
);
15800 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15801 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15806 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15807 PyObject
*pyobj
= 0;
15811 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15813 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15820 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15821 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15826 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15827 PyObject
*pyobj
= 0;
15831 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15833 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15840 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
= 0;
15842 wxWindow
*arg1
= (wxWindow
*) 0 ;
15843 int arg2
= (int) -1 ;
15844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15848 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15849 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15850 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15851 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15852 int arg7
= (int) 0 ;
15853 long arg8
= (long) wxRA_HORIZONTAL
;
15854 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15855 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15856 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15857 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15858 wxRadioBox
*result
= 0 ;
15863 bool temp3
= false ;
15866 bool temp6
= false ;
15873 bool temp10
= false ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 PyObject
* obj2
= 0 ;
15877 PyObject
* obj3
= 0 ;
15878 PyObject
* obj4
= 0 ;
15879 PyObject
* obj5
= 0 ;
15880 PyObject
* obj6
= 0 ;
15881 PyObject
* obj7
= 0 ;
15882 PyObject
* obj8
= 0 ;
15883 PyObject
* obj9
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15896 if (!SWIG_IsOK(ecode2
)) {
15897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15899 arg2
= static_cast< int >(val2
);
15903 arg3
= wxString_in_helper(obj2
);
15904 if (arg3
== NULL
) SWIG_fail
;
15911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15922 if (! PySequence_Check(obj5
)) {
15923 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15926 arg6
= new wxArrayString
;
15928 int i
, len
=PySequence_Length(obj5
);
15929 for (i
=0; i
<len
; i
++) {
15930 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15931 wxString
* s
= wxString_in_helper(item
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15940 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15941 if (!SWIG_IsOK(ecode7
)) {
15942 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15944 arg7
= static_cast< int >(val7
);
15947 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15948 if (!SWIG_IsOK(ecode8
)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15951 arg8
= static_cast< long >(val8
);
15954 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15955 if (!SWIG_IsOK(res9
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15961 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15965 arg10
= wxString_in_helper(obj9
);
15966 if (arg10
== NULL
) SWIG_fail
;
15971 if (!wxPyCheckForApp()) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 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
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15983 if (temp6
) delete arg6
;
15996 if (temp6
) delete arg6
;
16006 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16007 PyObject
*resultobj
= 0;
16008 wxRadioBox
*result
= 0 ;
16010 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16012 if (!wxPyCheckForApp()) SWIG_fail
;
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (wxRadioBox
*)new wxRadioBox();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16025 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
= 0;
16027 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16028 wxWindow
*arg2
= (wxWindow
*) 0 ;
16029 int arg3
= (int) -1 ;
16030 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16031 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16032 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16033 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16034 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16035 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16036 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16037 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16038 int arg8
= (int) 0 ;
16039 long arg9
= (long) wxRA_HORIZONTAL
;
16040 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16041 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16042 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16043 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16051 bool temp4
= false ;
16054 bool temp7
= false ;
16061 bool temp11
= false ;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 PyObject
* obj2
= 0 ;
16065 PyObject
* obj3
= 0 ;
16066 PyObject
* obj4
= 0 ;
16067 PyObject
* obj5
= 0 ;
16068 PyObject
* obj6
= 0 ;
16069 PyObject
* obj7
= 0 ;
16070 PyObject
* obj8
= 0 ;
16071 PyObject
* obj9
= 0 ;
16072 PyObject
* obj10
= 0 ;
16073 char * kwnames
[] = {
16074 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16079 if (!SWIG_IsOK(res1
)) {
16080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16082 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16084 if (!SWIG_IsOK(res2
)) {
16085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16090 if (!SWIG_IsOK(ecode3
)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16093 arg3
= static_cast< int >(val3
);
16097 arg4
= wxString_in_helper(obj3
);
16098 if (arg4
== NULL
) SWIG_fail
;
16105 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16111 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16116 if (! PySequence_Check(obj6
)) {
16117 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16120 arg7
= new wxArrayString
;
16122 int i
, len
=PySequence_Length(obj6
);
16123 for (i
=0; i
<len
; i
++) {
16124 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16125 wxString
* s
= wxString_in_helper(item
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16134 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16135 if (!SWIG_IsOK(ecode8
)) {
16136 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16138 arg8
= static_cast< int >(val8
);
16141 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16142 if (!SWIG_IsOK(ecode9
)) {
16143 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16145 arg9
= static_cast< long >(val9
);
16148 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16149 if (!SWIG_IsOK(res10
)) {
16150 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16155 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16159 arg11
= wxString_in_helper(obj10
);
16160 if (arg11
== NULL
) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 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
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 if (temp7
) delete arg7
;
16191 if (temp7
) delete arg7
;
16201 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
= 0;
16203 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char * kwnames
[] = {
16212 (char *) "self",(char *) "n", NULL
16215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16217 if (!SWIG_IsOK(res1
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16220 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16222 if (!SWIG_IsOK(ecode2
)) {
16223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16225 arg2
= static_cast< int >(val2
);
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 (arg1
)->SetSelection(arg2
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= SWIG_Py_Void();
16239 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16240 PyObject
*resultobj
= 0;
16241 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16245 PyObject
*swig_obj
[1] ;
16247 if (!args
) SWIG_fail
;
16248 swig_obj
[0] = args
;
16249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16250 if (!SWIG_IsOK(res1
)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16253 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_From_int(static_cast< int >(result
));
16267 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(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_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16281 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16301 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
= 0;
16303 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16304 wxString
*arg2
= 0 ;
16308 bool temp2
= false ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 char * kwnames
[] = {
16312 (char *) "self",(char *) "s", NULL
16315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16317 if (!SWIG_IsOK(res1
)) {
16318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16320 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16322 arg2
= wxString_in_helper(obj1
);
16323 if (arg2
== NULL
) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16349 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 PyObject
*resultobj
= 0;
16351 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16355 PyObject
*swig_obj
[1] ;
16357 if (!args
) SWIG_fail
;
16358 swig_obj
[0] = args
;
16359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16360 if (!SWIG_IsOK(res1
)) {
16361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16363 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16377 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
= 0;
16379 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16380 wxString
*arg2
= 0 ;
16384 bool temp2
= false ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char * kwnames
[] = {
16388 (char *) "self",(char *) "s", NULL
16391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16393 if (!SWIG_IsOK(res1
)) {
16394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16396 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16398 arg2
= wxString_in_helper(obj1
);
16399 if (arg2
== NULL
) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= SWIG_From_int(static_cast< int >(result
));
16423 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
= 0;
16425 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 char * kwnames
[] = {
16435 (char *) "self",(char *) "n", NULL
16438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16440 if (!SWIG_IsOK(res1
)) {
16441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16443 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16445 if (!SWIG_IsOK(ecode2
)) {
16446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16448 arg2
= static_cast< int >(val2
);
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16468 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
= 0;
16470 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16472 wxString
*arg3
= 0 ;
16477 bool temp3
= false ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 PyObject
* obj2
= 0 ;
16481 char * kwnames
[] = {
16482 (char *) "self",(char *) "n",(char *) "label", NULL
16485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16487 if (!SWIG_IsOK(res1
)) {
16488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16490 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16492 if (!SWIG_IsOK(ecode2
)) {
16493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16495 arg2
= static_cast< int >(val2
);
16497 arg3
= wxString_in_helper(obj2
);
16498 if (arg3
== NULL
) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_Py_Void();
16522 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16524 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16525 unsigned int arg2
;
16526 bool arg3
= (bool) true ;
16529 unsigned int val2
;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 PyObject
* obj2
= 0 ;
16536 char * kwnames
[] = {
16537 (char *) "self",(char *) "n",(char *) "enable", NULL
16540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16545 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16546 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16547 if (!SWIG_IsOK(ecode2
)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16550 arg2
= static_cast< unsigned int >(val2
);
16552 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16553 if (!SWIG_IsOK(ecode3
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16556 arg3
= static_cast< bool >(val3
);
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 (arg1
)->Enable(arg2
,arg3
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= SWIG_Py_Void();
16571 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= 0;
16573 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16574 unsigned int arg2
;
16575 bool arg3
= (bool) true ;
16578 unsigned int val2
;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 PyObject
* obj2
= 0 ;
16585 char * kwnames
[] = {
16586 (char *) "self",(char *) "n",(char *) "show", NULL
16589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16594 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16595 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16596 if (!SWIG_IsOK(ecode2
)) {
16597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16599 arg2
= static_cast< unsigned int >(val2
);
16601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16602 if (!SWIG_IsOK(ecode3
)) {
16603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16605 arg3
= static_cast< bool >(val3
);
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 (arg1
)->Show(arg2
,arg3
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_Py_Void();
16620 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
= 0;
16622 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16623 unsigned int arg2
;
16627 unsigned int val2
;
16629 PyObject
* obj0
= 0 ;
16630 PyObject
* obj1
= 0 ;
16631 char * kwnames
[] = {
16632 (char *) "self",(char *) "n", NULL
16635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16637 if (!SWIG_IsOK(res1
)) {
16638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16640 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16641 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16642 if (!SWIG_IsOK(ecode2
)) {
16643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16645 arg2
= static_cast< unsigned int >(val2
);
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16661 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
= 0;
16663 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16664 unsigned int arg2
;
16668 unsigned int val2
;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 char * kwnames
[] = {
16673 (char *) "self",(char *) "n", NULL
16676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16678 if (!SWIG_IsOK(res1
)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16681 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16682 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16683 if (!SWIG_IsOK(ecode2
)) {
16684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16686 arg2
= static_cast< unsigned int >(val2
);
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16702 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16703 PyObject
*resultobj
= 0;
16704 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16705 unsigned int result
;
16708 PyObject
*swig_obj
[1] ;
16710 if (!args
) SWIG_fail
;
16711 swig_obj
[0] = args
;
16712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16713 if (!SWIG_IsOK(res1
)) {
16714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16716 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16730 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(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_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16744 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
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_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
= 0;
16760 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 PyObject
* obj2
= 0 ;
16776 PyObject
* obj3
= 0 ;
16777 char * kwnames
[] = {
16778 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16783 if (!SWIG_IsOK(res1
)) {
16784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16786 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16788 if (!SWIG_IsOK(ecode2
)) {
16789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16791 arg2
= static_cast< int >(val2
);
16792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16793 if (!SWIG_IsOK(ecode3
)) {
16794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16796 arg3
= static_cast< wxDirection
>(val3
);
16797 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16798 if (!SWIG_IsOK(ecode4
)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16801 arg4
= static_cast< long >(val4
);
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_From_int(static_cast< int >(result
));
16815 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= 0;
16817 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16818 unsigned int arg2
;
16819 wxString
*arg3
= 0 ;
16822 unsigned int val2
;
16824 bool temp3
= false ;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 PyObject
* obj2
= 0 ;
16828 char * kwnames
[] = {
16829 (char *) "self",(char *) "item",(char *) "text", NULL
16832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16837 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16838 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16839 if (!SWIG_IsOK(ecode2
)) {
16840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16842 arg2
= static_cast< unsigned int >(val2
);
16844 arg3
= wxString_in_helper(obj2
);
16845 if (arg3
== NULL
) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= SWIG_Py_Void();
16869 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
= 0;
16871 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16872 unsigned int arg2
;
16873 wxToolTip
*result
= 0 ;
16876 unsigned int val2
;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "self",(char *) "item", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16889 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16890 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16891 if (!SWIG_IsOK(ecode2
)) {
16892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16894 arg2
= static_cast< unsigned int >(val2
);
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16910 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16913 SwigValueWrapper
<wxVisualAttributes
> result
;
16916 PyObject
* obj0
= 0 ;
16917 char * kwnames
[] = {
16918 (char *) "variant", NULL
16921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16924 if (!SWIG_IsOK(ecode1
)) {
16925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16927 arg1
= static_cast< wxWindowVariant
>(val1
);
16930 if (!wxPyCheckForApp()) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16943 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16946 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16947 return SWIG_Py_Void();
16950 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16951 return SWIG_Python_InitShadowInstance(args
);
16954 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
= 0;
16956 wxWindow
*arg1
= (wxWindow
*) 0 ;
16957 int arg2
= (int) -1 ;
16958 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16959 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16964 long arg6
= (long) 0 ;
16965 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16966 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16967 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16969 wxRadioButton
*result
= 0 ;
16974 bool temp3
= false ;
16981 bool temp8
= false ;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 PyObject
* obj2
= 0 ;
16985 PyObject
* obj3
= 0 ;
16986 PyObject
* obj4
= 0 ;
16987 PyObject
* obj5
= 0 ;
16988 PyObject
* obj6
= 0 ;
16989 PyObject
* obj7
= 0 ;
16990 char * kwnames
[] = {
16991 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17002 if (!SWIG_IsOK(ecode2
)) {
17003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17005 arg2
= static_cast< int >(val2
);
17009 arg3
= wxString_in_helper(obj2
);
17010 if (arg3
== NULL
) SWIG_fail
;
17017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17023 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17027 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17028 if (!SWIG_IsOK(ecode6
)) {
17029 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17031 arg6
= static_cast< long >(val6
);
17034 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17035 if (!SWIG_IsOK(res7
)) {
17036 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17041 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17045 arg8
= wxString_in_helper(obj7
);
17046 if (arg8
== NULL
) SWIG_fail
;
17051 if (!wxPyCheckForApp()) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17080 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17081 PyObject
*resultobj
= 0;
17082 wxRadioButton
*result
= 0 ;
17084 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17086 if (!wxPyCheckForApp()) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (wxRadioButton
*)new wxRadioButton();
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17099 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= 0;
17101 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17102 wxWindow
*arg2
= (wxWindow
*) 0 ;
17103 int arg3
= (int) -1 ;
17104 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17105 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17106 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17107 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17108 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17109 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17110 long arg7
= (long) 0 ;
17111 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17112 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17113 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17114 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17122 bool temp4
= false ;
17129 bool temp9
= false ;
17130 PyObject
* obj0
= 0 ;
17131 PyObject
* obj1
= 0 ;
17132 PyObject
* obj2
= 0 ;
17133 PyObject
* obj3
= 0 ;
17134 PyObject
* obj4
= 0 ;
17135 PyObject
* obj5
= 0 ;
17136 PyObject
* obj6
= 0 ;
17137 PyObject
* obj7
= 0 ;
17138 PyObject
* obj8
= 0 ;
17139 char * kwnames
[] = {
17140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17145 if (!SWIG_IsOK(res1
)) {
17146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17148 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17150 if (!SWIG_IsOK(res2
)) {
17151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17156 if (!SWIG_IsOK(ecode3
)) {
17157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17159 arg3
= static_cast< int >(val3
);
17163 arg4
= wxString_in_helper(obj3
);
17164 if (arg4
== NULL
) SWIG_fail
;
17171 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17177 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17181 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17182 if (!SWIG_IsOK(ecode7
)) {
17183 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17185 arg7
= static_cast< long >(val7
);
17188 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17189 if (!SWIG_IsOK(res8
)) {
17190 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17195 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17199 arg9
= wxString_in_helper(obj8
);
17200 if (arg9
== NULL
) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17235 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17236 PyObject
*resultobj
= 0;
17237 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17241 PyObject
*swig_obj
[1] ;
17243 if (!args
) SWIG_fail
;
17244 swig_obj
[0] = args
;
17245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17246 if (!SWIG_IsOK(res1
)) {
17247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17249 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (bool)(arg1
)->GetValue();
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17265 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
= 0;
17267 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char * kwnames
[] = {
17276 (char *) "self",(char *) "value", NULL
17279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17281 if (!SWIG_IsOK(res1
)) {
17282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17284 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17285 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17286 if (!SWIG_IsOK(ecode2
)) {
17287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17289 arg2
= static_cast< bool >(val2
);
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 (arg1
)->SetValue(arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17306 SwigValueWrapper
<wxVisualAttributes
> result
;
17309 PyObject
* obj0
= 0 ;
17310 char * kwnames
[] = {
17311 (char *) "variant", NULL
17314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17317 if (!SWIG_IsOK(ecode1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17320 arg1
= static_cast< wxWindowVariant
>(val1
);
17323 if (!wxPyCheckForApp()) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17336 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17339 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17340 return SWIG_Py_Void();
17343 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17344 return SWIG_Python_InitShadowInstance(args
);
17347 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17348 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17353 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17354 PyObject
*pyobj
= 0;
17358 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17360 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17367 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
= 0;
17369 wxWindow
*arg1
= (wxWindow
*) 0 ;
17370 int arg2
= (int) -1 ;
17371 int arg3
= (int) 0 ;
17372 int arg4
= (int) 0 ;
17373 int arg5
= (int) 100 ;
17374 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17375 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17376 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17377 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17378 long arg8
= (long) wxSL_HORIZONTAL
;
17379 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17380 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17381 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17382 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17383 wxSlider
*result
= 0 ;
17400 bool temp10
= false ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 PyObject
* obj2
= 0 ;
17404 PyObject
* obj3
= 0 ;
17405 PyObject
* obj4
= 0 ;
17406 PyObject
* obj5
= 0 ;
17407 PyObject
* obj6
= 0 ;
17408 PyObject
* obj7
= 0 ;
17409 PyObject
* obj8
= 0 ;
17410 PyObject
* obj9
= 0 ;
17411 char * kwnames
[] = {
17412 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17417 if (!SWIG_IsOK(res1
)) {
17418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17423 if (!SWIG_IsOK(ecode2
)) {
17424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17426 arg2
= static_cast< int >(val2
);
17429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17430 if (!SWIG_IsOK(ecode3
)) {
17431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17433 arg3
= static_cast< int >(val3
);
17436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17437 if (!SWIG_IsOK(ecode4
)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17440 arg4
= static_cast< int >(val4
);
17443 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17444 if (!SWIG_IsOK(ecode5
)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17447 arg5
= static_cast< int >(val5
);
17452 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17458 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17462 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17463 if (!SWIG_IsOK(ecode8
)) {
17464 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17466 arg8
= static_cast< long >(val8
);
17469 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17470 if (!SWIG_IsOK(res9
)) {
17471 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17476 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17480 arg10
= wxString_in_helper(obj9
);
17481 if (arg10
== NULL
) SWIG_fail
;
17486 if (!wxPyCheckForApp()) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17507 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17508 PyObject
*resultobj
= 0;
17509 wxSlider
*result
= 0 ;
17511 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17513 if (!wxPyCheckForApp()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (wxSlider
*)new wxSlider();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17526 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
= 0;
17528 wxSlider
*arg1
= (wxSlider
*) 0 ;
17529 wxWindow
*arg2
= (wxWindow
*) 0 ;
17530 int arg3
= (int) -1 ;
17531 int arg4
= (int) 0 ;
17532 int arg5
= (int) 0 ;
17533 int arg6
= (int) 100 ;
17534 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17535 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17536 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17537 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17538 long arg9
= (long) wxSL_HORIZONTAL
;
17539 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17540 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17541 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17542 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17562 bool temp11
= false ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 PyObject
* obj3
= 0 ;
17567 PyObject
* obj4
= 0 ;
17568 PyObject
* obj5
= 0 ;
17569 PyObject
* obj6
= 0 ;
17570 PyObject
* obj7
= 0 ;
17571 PyObject
* obj8
= 0 ;
17572 PyObject
* obj9
= 0 ;
17573 PyObject
* obj10
= 0 ;
17574 char * kwnames
[] = {
17575 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17580 if (!SWIG_IsOK(res1
)) {
17581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17583 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17585 if (!SWIG_IsOK(res2
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17588 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17591 if (!SWIG_IsOK(ecode3
)) {
17592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17594 arg3
= static_cast< int >(val3
);
17597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17598 if (!SWIG_IsOK(ecode4
)) {
17599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17601 arg4
= static_cast< int >(val4
);
17604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17605 if (!SWIG_IsOK(ecode5
)) {
17606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17608 arg5
= static_cast< int >(val5
);
17611 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17612 if (!SWIG_IsOK(ecode6
)) {
17613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17615 arg6
= static_cast< int >(val6
);
17620 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17626 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17630 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17631 if (!SWIG_IsOK(ecode9
)) {
17632 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17634 arg9
= static_cast< long >(val9
);
17637 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17638 if (!SWIG_IsOK(res10
)) {
17639 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17644 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17648 arg11
= wxString_in_helper(obj10
);
17649 if (arg11
== NULL
) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17676 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17677 PyObject
*resultobj
= 0;
17678 wxSlider
*arg1
= (wxSlider
*) 0 ;
17682 PyObject
*swig_obj
[1] ;
17684 if (!args
) SWIG_fail
;
17685 swig_obj
[0] = args
;
17686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17690 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_From_int(static_cast< int >(result
));
17704 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
= 0;
17706 wxSlider
*arg1
= (wxSlider
*) 0 ;
17712 PyObject
* obj0
= 0 ;
17713 PyObject
* obj1
= 0 ;
17714 char * kwnames
[] = {
17715 (char *) "self",(char *) "value", NULL
17718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17720 if (!SWIG_IsOK(res1
)) {
17721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17723 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17725 if (!SWIG_IsOK(ecode2
)) {
17726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17728 arg2
= static_cast< int >(val2
);
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 (arg1
)->SetValue(arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= SWIG_Py_Void();
17742 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
= 0;
17744 wxSlider
*arg1
= (wxSlider
*) 0 ;
17753 PyObject
* obj0
= 0 ;
17754 PyObject
* obj1
= 0 ;
17755 PyObject
* obj2
= 0 ;
17756 char * kwnames
[] = {
17757 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17762 if (!SWIG_IsOK(res1
)) {
17763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17765 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17767 if (!SWIG_IsOK(ecode2
)) {
17768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17770 arg2
= static_cast< int >(val2
);
17771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17772 if (!SWIG_IsOK(ecode3
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17775 arg3
= static_cast< int >(val3
);
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 (arg1
)->SetRange(arg2
,arg3
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= SWIG_Py_Void();
17789 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17790 PyObject
*resultobj
= 0;
17791 wxSlider
*arg1
= (wxSlider
*) 0 ;
17795 PyObject
*swig_obj
[1] ;
17797 if (!args
) SWIG_fail
;
17798 swig_obj
[0] = args
;
17799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17800 if (!SWIG_IsOK(res1
)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17803 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= SWIG_From_int(static_cast< int >(result
));
17817 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17818 PyObject
*resultobj
= 0;
17819 wxSlider
*arg1
= (wxSlider
*) 0 ;
17823 PyObject
*swig_obj
[1] ;
17825 if (!args
) SWIG_fail
;
17826 swig_obj
[0] = args
;
17827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17828 if (!SWIG_IsOK(res1
)) {
17829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17831 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_From_int(static_cast< int >(result
));
17845 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
= 0;
17847 wxSlider
*arg1
= (wxSlider
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char * kwnames
[] = {
17856 (char *) "self",(char *) "minValue", NULL
17859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17861 if (!SWIG_IsOK(res1
)) {
17862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17864 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17866 if (!SWIG_IsOK(ecode2
)) {
17867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17869 arg2
= static_cast< int >(val2
);
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 (arg1
)->SetMin(arg2
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_Py_Void();
17883 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= 0;
17885 wxSlider
*arg1
= (wxSlider
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 char * kwnames
[] = {
17894 (char *) "self",(char *) "maxValue", NULL
17897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17899 if (!SWIG_IsOK(res1
)) {
17900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17902 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17904 if (!SWIG_IsOK(ecode2
)) {
17905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17907 arg2
= static_cast< int >(val2
);
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 (arg1
)->SetMax(arg2
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_Py_Void();
17921 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
= 0;
17923 wxSlider
*arg1
= (wxSlider
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 PyObject
* obj1
= 0 ;
17931 char * kwnames
[] = {
17932 (char *) "self",(char *) "lineSize", NULL
17935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17940 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17942 if (!SWIG_IsOK(ecode2
)) {
17943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17945 arg2
= static_cast< int >(val2
);
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 (arg1
)->SetLineSize(arg2
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= SWIG_Py_Void();
17959 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
= 0;
17961 wxSlider
*arg1
= (wxSlider
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 char * kwnames
[] = {
17970 (char *) "self",(char *) "pageSize", NULL
17973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17975 if (!SWIG_IsOK(res1
)) {
17976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17978 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17980 if (!SWIG_IsOK(ecode2
)) {
17981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17983 arg2
= static_cast< int >(val2
);
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->SetPageSize(arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_Py_Void();
17997 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17998 PyObject
*resultobj
= 0;
17999 wxSlider
*arg1
= (wxSlider
*) 0 ;
18003 PyObject
*swig_obj
[1] ;
18005 if (!args
) SWIG_fail
;
18006 swig_obj
[0] = args
;
18007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18008 if (!SWIG_IsOK(res1
)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18011 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= SWIG_From_int(static_cast< int >(result
));
18025 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18026 PyObject
*resultobj
= 0;
18027 wxSlider
*arg1
= (wxSlider
*) 0 ;
18031 PyObject
*swig_obj
[1] ;
18033 if (!args
) SWIG_fail
;
18034 swig_obj
[0] = args
;
18035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18039 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= SWIG_From_int(static_cast< int >(result
));
18053 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
= 0;
18055 wxSlider
*arg1
= (wxSlider
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 PyObject
* obj1
= 0 ;
18063 char * kwnames
[] = {
18064 (char *) "self",(char *) "lenPixels", NULL
18067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18069 if (!SWIG_IsOK(res1
)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18072 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18074 if (!SWIG_IsOK(ecode2
)) {
18075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18077 arg2
= static_cast< int >(val2
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 (arg1
)->SetThumbLength(arg2
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_Py_Void();
18091 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18092 PyObject
*resultobj
= 0;
18093 wxSlider
*arg1
= (wxSlider
*) 0 ;
18097 PyObject
*swig_obj
[1] ;
18099 if (!args
) SWIG_fail
;
18100 swig_obj
[0] = args
;
18101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18102 if (!SWIG_IsOK(res1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18105 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_From_int(static_cast< int >(result
));
18119 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= 0;
18121 wxSlider
*arg1
= (wxSlider
*) 0 ;
18123 int arg3
= (int) 1 ;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 PyObject
* obj2
= 0 ;
18133 char * kwnames
[] = {
18134 (char *) "self",(char *) "n",(char *) "pos", NULL
18137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18139 if (!SWIG_IsOK(res1
)) {
18140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18142 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18144 if (!SWIG_IsOK(ecode2
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18147 arg2
= static_cast< int >(val2
);
18149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18150 if (!SWIG_IsOK(ecode3
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18153 arg3
= static_cast< int >(val3
);
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 (arg1
)->SetTickFreq(arg2
,arg3
);
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= SWIG_Py_Void();
18168 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 PyObject
*resultobj
= 0;
18170 wxSlider
*arg1
= (wxSlider
*) 0 ;
18174 PyObject
*swig_obj
[1] ;
18176 if (!args
) SWIG_fail
;
18177 swig_obj
[0] = args
;
18178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18182 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_From_int(static_cast< int >(result
));
18196 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18197 PyObject
*resultobj
= 0;
18198 wxSlider
*arg1
= (wxSlider
*) 0 ;
18201 PyObject
*swig_obj
[1] ;
18203 if (!args
) SWIG_fail
;
18204 swig_obj
[0] = args
;
18205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18209 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->ClearTicks();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_Py_Void();
18223 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
= 0;
18225 wxSlider
*arg1
= (wxSlider
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 char * kwnames
[] = {
18234 (char *) "self",(char *) "tickPos", NULL
18237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18239 if (!SWIG_IsOK(res1
)) {
18240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18242 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18244 if (!SWIG_IsOK(ecode2
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18247 arg2
= static_cast< int >(val2
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 (arg1
)->SetTick(arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_Py_Void();
18261 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18262 PyObject
*resultobj
= 0;
18263 wxSlider
*arg1
= (wxSlider
*) 0 ;
18266 PyObject
*swig_obj
[1] ;
18268 if (!args
) SWIG_fail
;
18269 swig_obj
[0] = args
;
18270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18271 if (!SWIG_IsOK(res1
)) {
18272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18274 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->ClearSel();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_Py_Void();
18288 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18289 PyObject
*resultobj
= 0;
18290 wxSlider
*arg1
= (wxSlider
*) 0 ;
18294 PyObject
*swig_obj
[1] ;
18296 if (!args
) SWIG_fail
;
18297 swig_obj
[0] = args
;
18298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18299 if (!SWIG_IsOK(res1
)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18302 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_From_int(static_cast< int >(result
));
18316 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxSlider
*arg1
= (wxSlider
*) 0 ;
18322 PyObject
*swig_obj
[1] ;
18324 if (!args
) SWIG_fail
;
18325 swig_obj
[0] = args
;
18326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18330 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_From_int(static_cast< int >(result
));
18344 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
= 0;
18346 wxSlider
*arg1
= (wxSlider
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 char * kwnames
[] = {
18359 (char *) "self",(char *) "min",(char *) "max", NULL
18362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18367 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18369 if (!SWIG_IsOK(ecode2
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18372 arg2
= static_cast< int >(val2
);
18373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18374 if (!SWIG_IsOK(ecode3
)) {
18375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18377 arg3
= static_cast< int >(val3
);
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->SetSelection(arg2
,arg3
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_Py_Void();
18391 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
= 0;
18393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18394 SwigValueWrapper
<wxVisualAttributes
> result
;
18397 PyObject
* obj0
= 0 ;
18398 char * kwnames
[] = {
18399 (char *) "variant", NULL
18402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18405 if (!SWIG_IsOK(ecode1
)) {
18406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18408 arg1
= static_cast< wxWindowVariant
>(val1
);
18411 if (!wxPyCheckForApp()) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18424 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18427 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18428 return SWIG_Py_Void();
18431 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18432 return SWIG_Python_InitShadowInstance(args
);
18435 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18436 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18441 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18442 PyObject
*pyobj
= 0;
18446 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18448 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18455 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
= 0;
18457 wxWindow
*arg1
= (wxWindow
*) 0 ;
18458 int arg2
= (int) -1 ;
18459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18465 long arg6
= (long) 0 ;
18466 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18467 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18468 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18470 wxToggleButton
*result
= 0 ;
18475 bool temp3
= false ;
18482 bool temp8
= false ;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 PyObject
* obj2
= 0 ;
18486 PyObject
* obj3
= 0 ;
18487 PyObject
* obj4
= 0 ;
18488 PyObject
* obj5
= 0 ;
18489 PyObject
* obj6
= 0 ;
18490 PyObject
* obj7
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18503 if (!SWIG_IsOK(ecode2
)) {
18504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18506 arg2
= static_cast< int >(val2
);
18510 arg3
= wxString_in_helper(obj2
);
18511 if (arg3
== NULL
) SWIG_fail
;
18518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18529 if (!SWIG_IsOK(ecode6
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18532 arg6
= static_cast< long >(val6
);
18535 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18536 if (!SWIG_IsOK(res7
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18542 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18546 arg8
= wxString_in_helper(obj7
);
18547 if (arg8
== NULL
) SWIG_fail
;
18552 if (!wxPyCheckForApp()) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18581 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18582 PyObject
*resultobj
= 0;
18583 wxToggleButton
*result
= 0 ;
18585 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18587 if (!wxPyCheckForApp()) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (wxToggleButton
*)new wxToggleButton();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18600 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
= 0;
18602 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18603 wxWindow
*arg2
= (wxWindow
*) 0 ;
18604 int arg3
= (int) -1 ;
18605 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18607 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18608 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18609 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18610 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18611 long arg7
= (long) 0 ;
18612 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18613 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18614 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18615 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18623 bool temp4
= false ;
18630 bool temp9
= false ;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 PyObject
* obj2
= 0 ;
18634 PyObject
* obj3
= 0 ;
18635 PyObject
* obj4
= 0 ;
18636 PyObject
* obj5
= 0 ;
18637 PyObject
* obj6
= 0 ;
18638 PyObject
* obj7
= 0 ;
18639 PyObject
* obj8
= 0 ;
18640 char * kwnames
[] = {
18641 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18649 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18651 if (!SWIG_IsOK(res2
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18657 if (!SWIG_IsOK(ecode3
)) {
18658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18660 arg3
= static_cast< int >(val3
);
18664 arg4
= wxString_in_helper(obj3
);
18665 if (arg4
== NULL
) SWIG_fail
;
18672 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18678 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18682 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18683 if (!SWIG_IsOK(ecode7
)) {
18684 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18686 arg7
= static_cast< long >(val7
);
18689 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18690 if (!SWIG_IsOK(res8
)) {
18691 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18696 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18700 arg9
= wxString_in_helper(obj8
);
18701 if (arg9
== NULL
) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18736 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
= 0;
18738 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 char * kwnames
[] = {
18747 (char *) "self",(char *) "value", NULL
18750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18755 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18756 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18757 if (!SWIG_IsOK(ecode2
)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18760 arg2
= static_cast< bool >(val2
);
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->SetValue(arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_Py_Void();
18774 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18775 PyObject
*resultobj
= 0;
18776 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18780 PyObject
*swig_obj
[1] ;
18782 if (!args
) SWIG_fail
;
18783 swig_obj
[0] = args
;
18784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18785 if (!SWIG_IsOK(res1
)) {
18786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18788 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18804 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
= 0;
18806 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18807 SwigValueWrapper
<wxVisualAttributes
> result
;
18810 PyObject
* obj0
= 0 ;
18811 char * kwnames
[] = {
18812 (char *) "variant", NULL
18815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18817 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18818 if (!SWIG_IsOK(ecode1
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18821 arg1
= static_cast< wxWindowVariant
>(val1
);
18824 if (!wxPyCheckForApp()) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18837 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18840 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18841 return SWIG_Py_Void();
18844 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18845 return SWIG_Python_InitShadowInstance(args
);
18848 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18849 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18854 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18855 PyObject
*pyobj
= 0;
18859 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18861 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18868 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18869 PyObject
*resultobj
= 0;
18870 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18874 PyObject
*swig_obj
[1] ;
18876 if (!args
) SWIG_fail
;
18877 swig_obj
[0] = args
;
18878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18879 if (!SWIG_IsOK(res1
)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18882 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18896 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
= 0;
18898 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18900 wxWindow
*result
= 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 char * kwnames
[] = {
18908 (char *) "self",(char *) "n", NULL
18911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18913 if (!SWIG_IsOK(res1
)) {
18914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18916 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18917 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18918 if (!SWIG_IsOK(ecode2
)) {
18919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18921 arg2
= static_cast< size_t >(val2
);
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= wxPyMake_wxObject(result
, 0);
18937 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18938 PyObject
*resultobj
= 0;
18939 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18940 wxWindow
*result
= 0 ;
18943 PyObject
*swig_obj
[1] ;
18945 if (!args
) SWIG_fail
;
18946 swig_obj
[0] = args
;
18947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18948 if (!SWIG_IsOK(res1
)) {
18949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18951 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= wxPyMake_wxObject(result
, 0);
18967 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18968 PyObject
*resultobj
= 0;
18969 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18973 PyObject
*swig_obj
[1] ;
18975 if (!args
) SWIG_fail
;
18976 swig_obj
[0] = args
;
18977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18978 if (!SWIG_IsOK(res1
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18981 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= SWIG_From_int(static_cast< int >(result
));
18995 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
= 0;
18997 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18999 wxString
*arg3
= 0 ;
19005 bool temp3
= false ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 PyObject
* obj2
= 0 ;
19009 char * kwnames
[] = {
19010 (char *) "self",(char *) "n",(char *) "strText", NULL
19013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19015 if (!SWIG_IsOK(res1
)) {
19016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19018 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19019 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19020 if (!SWIG_IsOK(ecode2
)) {
19021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19023 arg2
= static_cast< size_t >(val2
);
19025 arg3
= wxString_in_helper(obj2
);
19026 if (arg3
== NULL
) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19052 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
= 0;
19054 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char * kwnames
[] = {
19064 (char *) "self",(char *) "n", NULL
19067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19069 if (!SWIG_IsOK(res1
)) {
19070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19072 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19073 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19074 if (!SWIG_IsOK(ecode2
)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19077 arg2
= static_cast< size_t >(val2
);
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19097 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= 0;
19099 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19100 wxImageList
*arg2
= (wxImageList
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char * kwnames
[] = {
19108 (char *) "self",(char *) "imageList", NULL
19111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19113 if (!SWIG_IsOK(res1
)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19116 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19118 if (!SWIG_IsOK(res2
)) {
19119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19121 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetImageList(arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19135 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19138 wxImageList
*arg2
= (wxImageList
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char * kwnames
[] = {
19145 (char *) "self",(char *) "imageList", NULL
19148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19150 if (!SWIG_IsOK(res1
)) {
19151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19153 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19154 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19155 if (!SWIG_IsOK(res2
)) {
19156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 (arg1
)->AssignImageList(arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_Py_Void();
19171 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19172 PyObject
*resultobj
= 0;
19173 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19174 wxImageList
*result
= 0 ;
19177 PyObject
*swig_obj
[1] ;
19179 if (!args
) SWIG_fail
;
19180 swig_obj
[0] = args
;
19181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19182 if (!SWIG_IsOK(res1
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19185 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19201 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
= 0;
19203 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 char * kwnames
[] = {
19213 (char *) "self",(char *) "n", NULL
19216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19218 if (!SWIG_IsOK(res1
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19221 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19222 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19223 if (!SWIG_IsOK(ecode2
)) {
19224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19226 arg2
= static_cast< size_t >(val2
);
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= SWIG_From_int(static_cast< int >(result
));
19240 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
= 0;
19242 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 PyObject
* obj2
= 0 ;
19255 char * kwnames
[] = {
19256 (char *) "self",(char *) "n",(char *) "imageId", NULL
19259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19261 if (!SWIG_IsOK(res1
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19264 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19265 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19266 if (!SWIG_IsOK(ecode2
)) {
19267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19269 arg2
= static_cast< size_t >(val2
);
19270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19271 if (!SWIG_IsOK(ecode3
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19274 arg3
= static_cast< int >(val3
);
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19290 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
= 0;
19292 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char * kwnames
[] = {
19300 (char *) "self",(char *) "size", NULL
19303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19305 if (!SWIG_IsOK(res1
)) {
19306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19308 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19311 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_Py_Void();
19326 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
= 0;
19328 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19334 PyObject
* obj0
= 0 ;
19335 PyObject
* obj1
= 0 ;
19336 char * kwnames
[] = {
19337 (char *) "self",(char *) "sizePage", NULL
19340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19342 if (!SWIG_IsOK(res1
)) {
19343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19345 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19363 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19364 PyObject
*resultobj
= 0;
19365 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19366 unsigned int result
;
19369 PyObject
*swig_obj
[1] ;
19371 if (!args
) SWIG_fail
;
19372 swig_obj
[0] = args
;
19373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19374 if (!SWIG_IsOK(res1
)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19377 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19391 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19394 unsigned int arg2
;
19397 unsigned int val2
;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "internalBorder", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19410 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19411 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19412 if (!SWIG_IsOK(ecode2
)) {
19413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19415 arg2
= static_cast< unsigned int >(val2
);
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetInternalBorder(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19430 PyObject
*resultobj
= 0;
19431 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19435 PyObject
*swig_obj
[1] ;
19437 if (!args
) SWIG_fail
;
19438 swig_obj
[0] = args
;
19439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19440 if (!SWIG_IsOK(res1
)) {
19441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19443 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19459 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
= 0;
19461 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 char * kwnames
[] = {
19470 (char *) "self",(char *) "margin", NULL
19473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19475 if (!SWIG_IsOK(res1
)) {
19476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19478 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19480 if (!SWIG_IsOK(ecode2
)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19483 arg2
= static_cast< int >(val2
);
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 (arg1
)->SetControlMargin(arg2
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= SWIG_Py_Void();
19497 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19498 PyObject
*resultobj
= 0;
19499 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19503 PyObject
*swig_obj
[1] ;
19505 if (!args
) SWIG_fail
;
19506 swig_obj
[0] = args
;
19507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19508 if (!SWIG_IsOK(res1
)) {
19509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19511 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_From_int(static_cast< int >(result
));
19525 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
= 0;
19527 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 char * kwnames
[] = {
19536 (char *) "self",(char *) "fit", NULL
19539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19541 if (!SWIG_IsOK(res1
)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19544 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19545 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19546 if (!SWIG_IsOK(ecode2
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19549 arg2
= static_cast< bool >(val2
);
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 (arg1
)->SetFitToCurrentPage(arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_Py_Void();
19563 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19564 PyObject
*resultobj
= 0;
19565 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19569 PyObject
*swig_obj
[1] ;
19571 if (!args
) SWIG_fail
;
19572 swig_obj
[0] = args
;
19573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19574 if (!SWIG_IsOK(res1
)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19577 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19593 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19594 PyObject
*resultobj
= 0;
19595 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19596 wxSizer
*result
= 0 ;
19599 PyObject
*swig_obj
[1] ;
19601 if (!args
) SWIG_fail
;
19602 swig_obj
[0] = args
;
19603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19604 if (!SWIG_IsOK(res1
)) {
19605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19607 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19623 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
= 0;
19625 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char * kwnames
[] = {
19635 (char *) "self",(char *) "n", NULL
19638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19640 if (!SWIG_IsOK(res1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19643 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19644 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19645 if (!SWIG_IsOK(ecode2
)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19648 arg2
= static_cast< size_t >(val2
);
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (bool)(arg1
)->DeletePage(arg2
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19664 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
= 0;
19666 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19673 PyObject
* obj0
= 0 ;
19674 PyObject
* obj1
= 0 ;
19675 char * kwnames
[] = {
19676 (char *) "self",(char *) "n", NULL
19679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19681 if (!SWIG_IsOK(res1
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19684 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19685 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19686 if (!SWIG_IsOK(ecode2
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19689 arg2
= static_cast< size_t >(val2
);
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= (bool)(arg1
)->RemovePage(arg2
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19705 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19706 PyObject
*resultobj
= 0;
19707 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19711 PyObject
*swig_obj
[1] ;
19713 if (!args
) SWIG_fail
;
19714 swig_obj
[0] = args
;
19715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19716 if (!SWIG_IsOK(res1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19719 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (bool)(arg1
)->DeleteAllPages();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19735 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
= 0;
19737 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19738 wxWindow
*arg2
= (wxWindow
*) 0 ;
19739 wxString
*arg3
= 0 ;
19740 bool arg4
= (bool) false ;
19741 int arg5
= (int) -1 ;
19747 bool temp3
= false ;
19752 PyObject
* obj0
= 0 ;
19753 PyObject
* obj1
= 0 ;
19754 PyObject
* obj2
= 0 ;
19755 PyObject
* obj3
= 0 ;
19756 PyObject
* obj4
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19766 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19768 if (!SWIG_IsOK(res2
)) {
19769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19773 arg3
= wxString_in_helper(obj2
);
19774 if (arg3
== NULL
) SWIG_fail
;
19778 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19779 if (!SWIG_IsOK(ecode4
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19782 arg4
= static_cast< bool >(val4
);
19785 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19786 if (!SWIG_IsOK(ecode5
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19789 arg5
= static_cast< int >(val5
);
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19814 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
= 0;
19816 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19818 wxWindow
*arg3
= (wxWindow
*) 0 ;
19819 wxString
*arg4
= 0 ;
19820 bool arg5
= (bool) false ;
19821 int arg6
= (int) -1 ;
19829 bool temp4
= false ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 PyObject
* obj2
= 0 ;
19837 PyObject
* obj3
= 0 ;
19838 PyObject
* obj4
= 0 ;
19839 PyObject
* obj5
= 0 ;
19840 char * kwnames
[] = {
19841 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19846 if (!SWIG_IsOK(res1
)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19849 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19850 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19851 if (!SWIG_IsOK(ecode2
)) {
19852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19854 arg2
= static_cast< size_t >(val2
);
19855 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19856 if (!SWIG_IsOK(res3
)) {
19857 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19859 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19861 arg4
= wxString_in_helper(obj3
);
19862 if (arg4
== NULL
) SWIG_fail
;
19866 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19867 if (!SWIG_IsOK(ecode5
)) {
19868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19870 arg5
= static_cast< bool >(val5
);
19873 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19874 if (!SWIG_IsOK(ecode6
)) {
19875 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19877 arg6
= static_cast< int >(val6
);
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "n", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19922 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19923 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19924 if (!SWIG_IsOK(ecode2
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19927 arg2
= static_cast< size_t >(val2
);
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (int)(arg1
)->SetSelection(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_From_int(static_cast< int >(result
));
19941 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
= 0;
19943 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19944 bool arg2
= (bool) true ;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19951 char * kwnames
[] = {
19952 (char *) "self",(char *) "forward", NULL
19955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19957 if (!SWIG_IsOK(res1
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19960 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19963 if (!SWIG_IsOK(ecode2
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19966 arg2
= static_cast< bool >(val2
);
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 (arg1
)->AdvanceSelection(arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_Py_Void();
19981 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
= 0;
19983 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19984 SwigValueWrapper
<wxVisualAttributes
> result
;
19987 PyObject
* obj0
= 0 ;
19988 char * kwnames
[] = {
19989 (char *) "variant", NULL
19992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19995 if (!SWIG_IsOK(ecode1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19998 arg1
= static_cast< wxWindowVariant
>(val1
);
20001 if (!wxPyCheckForApp()) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20014 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20017 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20018 return SWIG_Py_Void();
20021 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
= 0;
20023 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20024 int arg2
= (int) 0 ;
20025 int arg3
= (int) -1 ;
20026 int arg4
= (int) -1 ;
20027 wxBookCtrlBaseEvent
*result
= 0 ;
20036 PyObject
* obj0
= 0 ;
20037 PyObject
* obj1
= 0 ;
20038 PyObject
* obj2
= 0 ;
20039 PyObject
* obj3
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20046 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20047 if (!SWIG_IsOK(ecode1
)) {
20048 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20050 arg1
= static_cast< wxEventType
>(val1
);
20053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20054 if (!SWIG_IsOK(ecode2
)) {
20055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20057 arg2
= static_cast< int >(val2
);
20060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20061 if (!SWIG_IsOK(ecode3
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20064 arg3
= static_cast< int >(val3
);
20067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20068 if (!SWIG_IsOK(ecode4
)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20071 arg4
= static_cast< int >(val4
);
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20086 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20087 PyObject
*resultobj
= 0;
20088 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20092 PyObject
*swig_obj
[1] ;
20094 if (!args
) SWIG_fail
;
20095 swig_obj
[0] = args
;
20096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20097 if (!SWIG_IsOK(res1
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20100 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= SWIG_From_int(static_cast< int >(result
));
20114 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
= 0;
20116 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char * kwnames
[] = {
20125 (char *) "self",(char *) "nSel", NULL
20128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20133 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20135 if (!SWIG_IsOK(ecode2
)) {
20136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20138 arg2
= static_cast< int >(val2
);
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 (arg1
)->SetSelection(arg2
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= SWIG_Py_Void();
20152 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20153 PyObject
*resultobj
= 0;
20154 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20158 PyObject
*swig_obj
[1] ;
20160 if (!args
) SWIG_fail
;
20161 swig_obj
[0] = args
;
20162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20163 if (!SWIG_IsOK(res1
)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20166 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= SWIG_From_int(static_cast< int >(result
));
20180 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
= 0;
20182 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 PyObject
* obj1
= 0 ;
20190 char * kwnames
[] = {
20191 (char *) "self",(char *) "nOldSel", NULL
20194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20196 if (!SWIG_IsOK(res1
)) {
20197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20199 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20201 if (!SWIG_IsOK(ecode2
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20204 arg2
= static_cast< int >(val2
);
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 (arg1
)->SetOldSelection(arg2
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_Py_Void();
20218 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20221 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20222 return SWIG_Py_Void();
20225 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20226 return SWIG_Python_InitShadowInstance(args
);
20229 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= 0;
20231 wxWindow
*arg1
= (wxWindow
*) 0 ;
20232 int arg2
= (int) -1 ;
20233 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20234 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20235 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20236 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20237 long arg5
= (long) 0 ;
20238 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20239 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20240 wxNotebook
*result
= 0 ;
20249 bool temp6
= false ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 PyObject
* obj2
= 0 ;
20253 PyObject
* obj3
= 0 ;
20254 PyObject
* obj4
= 0 ;
20255 PyObject
* obj5
= 0 ;
20256 char * kwnames
[] = {
20257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20262 if (!SWIG_IsOK(res1
)) {
20263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20265 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20268 if (!SWIG_IsOK(ecode2
)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20271 arg2
= static_cast< int >(val2
);
20276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20282 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20286 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20287 if (!SWIG_IsOK(ecode5
)) {
20288 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20290 arg5
= static_cast< long >(val5
);
20294 arg6
= wxString_in_helper(obj5
);
20295 if (arg6
== NULL
) SWIG_fail
;
20300 if (!wxPyCheckForApp()) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20321 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20322 PyObject
*resultobj
= 0;
20323 wxNotebook
*result
= 0 ;
20325 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20327 if (!wxPyCheckForApp()) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= (wxNotebook
*)new wxNotebook();
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20340 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
= 0;
20342 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20343 wxWindow
*arg2
= (wxWindow
*) 0 ;
20344 int arg3
= (int) -1 ;
20345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20349 long arg6
= (long) 0 ;
20350 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20363 bool temp7
= false ;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 PyObject
* obj2
= 0 ;
20367 PyObject
* obj3
= 0 ;
20368 PyObject
* obj4
= 0 ;
20369 PyObject
* obj5
= 0 ;
20370 PyObject
* obj6
= 0 ;
20371 char * kwnames
[] = {
20372 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20377 if (!SWIG_IsOK(res1
)) {
20378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20380 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20382 if (!SWIG_IsOK(res2
)) {
20383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20385 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20388 if (!SWIG_IsOK(ecode3
)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20391 arg3
= static_cast< int >(val3
);
20396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20406 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20407 if (!SWIG_IsOK(ecode6
)) {
20408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20410 arg6
= static_cast< long >(val6
);
20414 arg7
= wxString_in_helper(obj6
);
20415 if (arg7
== NULL
) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20442 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20443 PyObject
*resultobj
= 0;
20444 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20448 PyObject
*swig_obj
[1] ;
20450 if (!args
) SWIG_fail
;
20451 swig_obj
[0] = args
;
20452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20453 if (!SWIG_IsOK(res1
)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20456 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_From_int(static_cast< int >(result
));
20470 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
= 0;
20472 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20477 PyObject
* obj0
= 0 ;
20478 PyObject
* obj1
= 0 ;
20479 char * kwnames
[] = {
20480 (char *) "self",(char *) "padding", NULL
20483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20485 if (!SWIG_IsOK(res1
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20488 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20491 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= SWIG_Py_Void();
20506 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20507 PyObject
*resultobj
= 0;
20508 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 PyObject
* obj1
= 0 ;
20515 char * kwnames
[] = {
20516 (char *) "self",(char *) "sz", NULL
20519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20521 if (!SWIG_IsOK(res1
)) {
20522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20524 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20527 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_Py_Void();
20542 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
= 0;
20544 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20545 wxPoint
*arg2
= 0 ;
20546 long *arg3
= (long *) 0 ;
20552 int res3
= SWIG_TMPOBJ
;
20553 PyObject
* obj0
= 0 ;
20554 PyObject
* obj1
= 0 ;
20555 char * kwnames
[] = {
20556 (char *) "self",(char *) "pt", NULL
20560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20562 if (!SWIG_IsOK(res1
)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20565 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_From_int(static_cast< int >(result
));
20577 if (SWIG_IsTmpObj(res3
)) {
20578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20580 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20589 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20590 PyObject
*resultobj
= 0;
20591 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20595 PyObject
*swig_obj
[1] ;
20597 if (!args
) SWIG_fail
;
20598 swig_obj
[0] = args
;
20599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20600 if (!SWIG_IsOK(res1
)) {
20601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20603 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20617 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
= 0;
20619 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20620 SwigValueWrapper
<wxVisualAttributes
> result
;
20623 PyObject
* obj0
= 0 ;
20624 char * kwnames
[] = {
20625 (char *) "variant", NULL
20628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20630 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20631 if (!SWIG_IsOK(ecode1
)) {
20632 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20634 arg1
= static_cast< wxWindowVariant
>(val1
);
20637 if (!wxPyCheckForApp()) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20650 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20653 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20654 return SWIG_Py_Void();
20657 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20658 return SWIG_Python_InitShadowInstance(args
);
20661 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
= 0;
20663 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20664 int arg2
= (int) 0 ;
20665 int arg3
= (int) -1 ;
20666 int arg4
= (int) -1 ;
20667 wxNotebookEvent
*result
= 0 ;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20678 PyObject
* obj2
= 0 ;
20679 PyObject
* obj3
= 0 ;
20680 char * kwnames
[] = {
20681 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20687 if (!SWIG_IsOK(ecode1
)) {
20688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20690 arg1
= static_cast< wxEventType
>(val1
);
20693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20694 if (!SWIG_IsOK(ecode2
)) {
20695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20697 arg2
= static_cast< int >(val2
);
20700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20701 if (!SWIG_IsOK(ecode3
)) {
20702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20704 arg3
= static_cast< int >(val3
);
20707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20708 if (!SWIG_IsOK(ecode4
)) {
20709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20711 arg4
= static_cast< int >(val4
);
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20726 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20729 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20730 return SWIG_Py_Void();
20733 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20734 return SWIG_Python_InitShadowInstance(args
);
20737 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
= 0;
20739 wxWindow
*arg1
= (wxWindow
*) 0 ;
20740 int arg2
= (int) -1 ;
20741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20745 long arg5
= (long) 0 ;
20746 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20748 wxListbook
*result
= 0 ;
20757 bool temp6
= false ;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 PyObject
* obj2
= 0 ;
20761 PyObject
* obj3
= 0 ;
20762 PyObject
* obj4
= 0 ;
20763 PyObject
* obj5
= 0 ;
20764 char * kwnames
[] = {
20765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20770 if (!SWIG_IsOK(res1
)) {
20771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20776 if (!SWIG_IsOK(ecode2
)) {
20777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20779 arg2
= static_cast< int >(val2
);
20784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20795 if (!SWIG_IsOK(ecode5
)) {
20796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20798 arg5
= static_cast< long >(val5
);
20802 arg6
= wxString_in_helper(obj5
);
20803 if (arg6
== NULL
) SWIG_fail
;
20808 if (!wxPyCheckForApp()) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20829 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20830 PyObject
*resultobj
= 0;
20831 wxListbook
*result
= 0 ;
20833 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20835 if (!wxPyCheckForApp()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= (wxListbook
*)new wxListbook();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20848 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
= 0;
20850 wxListbook
*arg1
= (wxListbook
*) 0 ;
20851 wxWindow
*arg2
= (wxWindow
*) 0 ;
20852 int arg3
= (int) -1 ;
20853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20857 long arg6
= (long) 0 ;
20858 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20871 bool temp7
= false ;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 PyObject
* obj2
= 0 ;
20875 PyObject
* obj3
= 0 ;
20876 PyObject
* obj4
= 0 ;
20877 PyObject
* obj5
= 0 ;
20878 PyObject
* obj6
= 0 ;
20879 char * kwnames
[] = {
20880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20885 if (!SWIG_IsOK(res1
)) {
20886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20888 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20890 if (!SWIG_IsOK(res2
)) {
20891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20896 if (!SWIG_IsOK(ecode3
)) {
20897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20899 arg3
= static_cast< int >(val3
);
20904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20915 if (!SWIG_IsOK(ecode6
)) {
20916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20918 arg6
= static_cast< long >(val6
);
20922 arg7
= wxString_in_helper(obj6
);
20923 if (arg7
== NULL
) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20950 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20951 PyObject
*resultobj
= 0;
20952 wxListbook
*arg1
= (wxListbook
*) 0 ;
20953 wxListView
*result
= 0 ;
20956 PyObject
*swig_obj
[1] ;
20958 if (!args
) SWIG_fail
;
20959 swig_obj
[0] = args
;
20960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20961 if (!SWIG_IsOK(res1
)) {
20962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20964 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (wxListView
*)(arg1
)->GetListView();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20978 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20981 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20982 return SWIG_Py_Void();
20985 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20986 return SWIG_Python_InitShadowInstance(args
);
20989 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
= 0;
20991 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20992 int arg2
= (int) 0 ;
20993 int arg3
= (int) -1 ;
20994 int arg4
= (int) -1 ;
20995 wxListbookEvent
*result
= 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 PyObject
* obj2
= 0 ;
21007 PyObject
* obj3
= 0 ;
21008 char * kwnames
[] = {
21009 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21015 if (!SWIG_IsOK(ecode1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21018 arg1
= static_cast< wxEventType
>(val1
);
21021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21022 if (!SWIG_IsOK(ecode2
)) {
21023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21025 arg2
= static_cast< int >(val2
);
21028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21029 if (!SWIG_IsOK(ecode3
)) {
21030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21032 arg3
= static_cast< int >(val3
);
21035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21036 if (!SWIG_IsOK(ecode4
)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21039 arg4
= static_cast< int >(val4
);
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21054 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21057 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21058 return SWIG_Py_Void();
21061 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21062 return SWIG_Python_InitShadowInstance(args
);
21065 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
= 0;
21067 wxWindow
*arg1
= (wxWindow
*) 0 ;
21069 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21070 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21071 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21072 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21073 long arg5
= (long) 0 ;
21074 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21075 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21076 wxChoicebook
*result
= 0 ;
21085 bool temp6
= false ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 PyObject
* obj2
= 0 ;
21089 PyObject
* obj3
= 0 ;
21090 PyObject
* obj4
= 0 ;
21091 PyObject
* obj5
= 0 ;
21092 char * kwnames
[] = {
21093 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21103 if (!SWIG_IsOK(ecode2
)) {
21104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21106 arg2
= static_cast< int >(val2
);
21110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21116 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21120 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21121 if (!SWIG_IsOK(ecode5
)) {
21122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21124 arg5
= static_cast< long >(val5
);
21128 arg6
= wxString_in_helper(obj5
);
21129 if (arg6
== NULL
) SWIG_fail
;
21134 if (!wxPyCheckForApp()) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21155 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21156 PyObject
*resultobj
= 0;
21157 wxChoicebook
*result
= 0 ;
21159 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21161 if (!wxPyCheckForApp()) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (wxChoicebook
*)new wxChoicebook();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21174 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
= 0;
21176 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21177 wxWindow
*arg2
= (wxWindow
*) 0 ;
21179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21183 long arg6
= (long) 0 ;
21184 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21185 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21197 bool temp7
= false ;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 PyObject
* obj2
= 0 ;
21201 PyObject
* obj3
= 0 ;
21202 PyObject
* obj4
= 0 ;
21203 PyObject
* obj5
= 0 ;
21204 PyObject
* obj6
= 0 ;
21205 char * kwnames
[] = {
21206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21214 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21216 if (!SWIG_IsOK(res2
)) {
21217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21219 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21221 if (!SWIG_IsOK(ecode3
)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21224 arg3
= static_cast< int >(val3
);
21228 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21234 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21238 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21239 if (!SWIG_IsOK(ecode6
)) {
21240 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21242 arg6
= static_cast< long >(val6
);
21246 arg7
= wxString_in_helper(obj6
);
21247 if (arg7
== NULL
) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21274 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21275 PyObject
*resultobj
= 0;
21276 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21277 wxChoice
*result
= 0 ;
21280 PyObject
*swig_obj
[1] ;
21282 if (!args
) SWIG_fail
;
21283 swig_obj
[0] = args
;
21284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21288 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21302 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21305 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21306 return SWIG_Py_Void();
21309 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21310 return SWIG_Python_InitShadowInstance(args
);
21313 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
= 0;
21315 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21316 int arg2
= (int) 0 ;
21317 int arg3
= (int) -1 ;
21318 int arg4
= (int) -1 ;
21319 wxChoicebookEvent
*result
= 0 ;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 PyObject
* obj2
= 0 ;
21331 PyObject
* obj3
= 0 ;
21332 char * kwnames
[] = {
21333 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21339 if (!SWIG_IsOK(ecode1
)) {
21340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21342 arg1
= static_cast< wxEventType
>(val1
);
21345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21346 if (!SWIG_IsOK(ecode2
)) {
21347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21349 arg2
= static_cast< int >(val2
);
21352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21353 if (!SWIG_IsOK(ecode3
)) {
21354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21356 arg3
= static_cast< int >(val3
);
21359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21360 if (!SWIG_IsOK(ecode4
)) {
21361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21363 arg4
= static_cast< int >(val4
);
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21378 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21381 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21382 return SWIG_Py_Void();
21385 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21386 return SWIG_Python_InitShadowInstance(args
);
21389 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
= 0;
21391 wxWindow
*arg1
= (wxWindow
*) 0 ;
21393 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21394 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21395 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21396 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21397 long arg5
= (long) wxBK_DEFAULT
;
21398 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21399 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21400 wxTreebook
*result
= 0 ;
21409 bool temp6
= false ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 PyObject
* obj2
= 0 ;
21413 PyObject
* obj3
= 0 ;
21414 PyObject
* obj4
= 0 ;
21415 PyObject
* obj5
= 0 ;
21416 char * kwnames
[] = {
21417 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21422 if (!SWIG_IsOK(res1
)) {
21423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21427 if (!SWIG_IsOK(ecode2
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21430 arg2
= static_cast< int >(val2
);
21434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21444 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21445 if (!SWIG_IsOK(ecode5
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21448 arg5
= static_cast< long >(val5
);
21452 arg6
= wxString_in_helper(obj5
);
21453 if (arg6
== NULL
) SWIG_fail
;
21458 if (!wxPyCheckForApp()) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21479 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21480 PyObject
*resultobj
= 0;
21481 wxTreebook
*result
= 0 ;
21483 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21485 if (!wxPyCheckForApp()) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (wxTreebook
*)new wxTreebook();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21498 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
= 0;
21500 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21501 wxWindow
*arg2
= (wxWindow
*) 0 ;
21503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21507 long arg6
= (long) wxBK_DEFAULT
;
21508 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21521 bool temp7
= false ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 PyObject
* obj3
= 0 ;
21526 PyObject
* obj4
= 0 ;
21527 PyObject
* obj5
= 0 ;
21528 PyObject
* obj6
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21538 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21540 if (!SWIG_IsOK(res2
)) {
21541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21543 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21545 if (!SWIG_IsOK(ecode3
)) {
21546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21548 arg3
= static_cast< int >(val3
);
21552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21562 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21563 if (!SWIG_IsOK(ecode6
)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21566 arg6
= static_cast< long >(val6
);
21570 arg7
= wxString_in_helper(obj6
);
21571 if (arg7
== NULL
) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21598 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
= 0;
21600 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21602 wxWindow
*arg3
= (wxWindow
*) 0 ;
21603 wxString
*arg4
= 0 ;
21604 bool arg5
= (bool) false ;
21605 int arg6
= (int) wxNOT_FOUND
;
21613 bool temp4
= false ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 PyObject
* obj2
= 0 ;
21621 PyObject
* obj3
= 0 ;
21622 PyObject
* obj4
= 0 ;
21623 PyObject
* obj5
= 0 ;
21624 char * kwnames
[] = {
21625 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21630 if (!SWIG_IsOK(res1
)) {
21631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21633 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21634 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21635 if (!SWIG_IsOK(ecode2
)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21638 arg2
= static_cast< size_t >(val2
);
21639 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21640 if (!SWIG_IsOK(res3
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21643 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21645 arg4
= wxString_in_helper(obj3
);
21646 if (arg4
== NULL
) SWIG_fail
;
21650 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21651 if (!SWIG_IsOK(ecode5
)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21654 arg5
= static_cast< bool >(val5
);
21657 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21658 if (!SWIG_IsOK(ecode6
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21661 arg6
= static_cast< int >(val6
);
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
= 0;
21688 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21689 wxWindow
*arg2
= (wxWindow
*) 0 ;
21690 wxString
*arg3
= 0 ;
21691 bool arg4
= (bool) false ;
21692 int arg5
= (int) wxNOT_FOUND
;
21698 bool temp3
= false ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 PyObject
* obj2
= 0 ;
21706 PyObject
* obj3
= 0 ;
21707 PyObject
* obj4
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21717 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21719 if (!SWIG_IsOK(res2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21724 arg3
= wxString_in_helper(obj2
);
21725 if (arg3
== NULL
) SWIG_fail
;
21729 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21730 if (!SWIG_IsOK(ecode4
)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21733 arg4
= static_cast< bool >(val4
);
21736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21737 if (!SWIG_IsOK(ecode5
)) {
21738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21740 arg5
= static_cast< int >(val5
);
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21765 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= 0;
21767 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 char * kwnames
[] = {
21777 (char *) "self",(char *) "pos", NULL
21780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21782 if (!SWIG_IsOK(res1
)) {
21783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21785 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21786 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21787 if (!SWIG_IsOK(ecode2
)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21790 arg2
= static_cast< size_t >(val2
);
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21806 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
= 0;
21808 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21810 bool arg3
= (bool) true ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 PyObject
* obj2
= 0 ;
21821 char * kwnames
[] = {
21822 (char *) "self",(char *) "pos",(char *) "expand", NULL
21825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21827 if (!SWIG_IsOK(res1
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21830 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21831 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21832 if (!SWIG_IsOK(ecode2
)) {
21833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21835 arg2
= static_cast< size_t >(val2
);
21837 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21838 if (!SWIG_IsOK(ecode3
)) {
21839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21841 arg3
= static_cast< bool >(val3
);
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21858 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= 0;
21860 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char * kwnames
[] = {
21870 (char *) "self",(char *) "pos", NULL
21873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21875 if (!SWIG_IsOK(res1
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21878 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21879 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21880 if (!SWIG_IsOK(ecode2
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21883 arg2
= static_cast< size_t >(val2
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (bool)(arg1
)->CollapseNode(arg2
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21899 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
= 0;
21901 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "self",(char *) "pos", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21919 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21920 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21921 if (!SWIG_IsOK(ecode2
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21924 arg2
= static_cast< size_t >(val2
);
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_From_int(static_cast< int >(result
));
21938 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21941 wxTreeCtrl
*result
= 0 ;
21944 PyObject
*swig_obj
[1] ;
21946 if (!args
) SWIG_fail
;
21947 swig_obj
[0] = args
;
21948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21949 if (!SWIG_IsOK(res1
)) {
21950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21952 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21966 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21969 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21970 return SWIG_Py_Void();
21973 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21974 return SWIG_Python_InitShadowInstance(args
);
21977 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
= 0;
21979 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21980 int arg2
= (int) 0 ;
21981 int arg3
= (int) wxNOT_FOUND
;
21982 int arg4
= (int) wxNOT_FOUND
;
21983 wxTreebookEvent
*result
= 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 PyObject
* obj3
= 0 ;
21996 char * kwnames
[] = {
21997 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22003 if (!SWIG_IsOK(ecode1
)) {
22004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22006 arg1
= static_cast< wxEventType
>(val1
);
22009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22010 if (!SWIG_IsOK(ecode2
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22013 arg2
= static_cast< int >(val2
);
22016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22017 if (!SWIG_IsOK(ecode3
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22020 arg3
= static_cast< int >(val3
);
22023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22024 if (!SWIG_IsOK(ecode4
)) {
22025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22027 arg4
= static_cast< int >(val4
);
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22042 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22045 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22046 return SWIG_Py_Void();
22049 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22050 return SWIG_Python_InitShadowInstance(args
);
22053 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
= 0;
22055 wxWindow
*arg1
= (wxWindow
*) 0 ;
22057 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22058 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22059 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22060 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22061 long arg5
= (long) wxBK_DEFAULT
;
22062 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22063 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22064 wxToolbook
*result
= 0 ;
22073 bool temp6
= false ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 PyObject
* obj2
= 0 ;
22077 PyObject
* obj3
= 0 ;
22078 PyObject
* obj4
= 0 ;
22079 PyObject
* obj5
= 0 ;
22080 char * kwnames
[] = {
22081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22086 if (!SWIG_IsOK(res1
)) {
22087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22089 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22091 if (!SWIG_IsOK(ecode2
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22094 arg2
= static_cast< int >(val2
);
22098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22108 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22109 if (!SWIG_IsOK(ecode5
)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22112 arg5
= static_cast< long >(val5
);
22116 arg6
= wxString_in_helper(obj5
);
22117 if (arg6
== NULL
) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22142 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22143 PyObject
*resultobj
= 0;
22144 wxToolbook
*result
= 0 ;
22146 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (wxToolbook
*)new wxToolbook();
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22160 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
= 0;
22162 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22163 wxWindow
*arg2
= (wxWindow
*) 0 ;
22165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22167 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22168 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22169 long arg6
= (long) 0 ;
22170 wxString
const &arg7_defvalue
= wxEmptyString
;
22171 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22183 bool temp7
= false ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 PyObject
* obj2
= 0 ;
22187 PyObject
* obj3
= 0 ;
22188 PyObject
* obj4
= 0 ;
22189 PyObject
* obj5
= 0 ;
22190 PyObject
* obj6
= 0 ;
22191 char * kwnames
[] = {
22192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22200 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22202 if (!SWIG_IsOK(res2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22207 if (!SWIG_IsOK(ecode3
)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22210 arg3
= static_cast< int >(val3
);
22214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22220 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22224 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22225 if (!SWIG_IsOK(ecode6
)) {
22226 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22228 arg6
= static_cast< long >(val6
);
22232 arg7
= wxString_in_helper(obj6
);
22233 if (arg7
== NULL
) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 PyObject
*resultobj
= 0;
22262 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22263 wxToolBarBase
*result
= 0 ;
22266 PyObject
*swig_obj
[1] ;
22268 if (!args
) SWIG_fail
;
22269 swig_obj
[0] = args
;
22270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22274 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22290 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22291 PyObject
*resultobj
= 0;
22292 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22295 PyObject
*swig_obj
[1] ;
22297 if (!args
) SWIG_fail
;
22298 swig_obj
[0] = args
;
22299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22303 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_Py_Void();
22317 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22320 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22321 return SWIG_Py_Void();
22324 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22325 return SWIG_Python_InitShadowInstance(args
);
22328 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
= 0;
22330 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22331 int arg2
= (int) 0 ;
22332 int arg3
= (int) wxNOT_FOUND
;
22333 int arg4
= (int) wxNOT_FOUND
;
22334 wxToolbookEvent
*result
= 0 ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 PyObject
* obj2
= 0 ;
22346 PyObject
* obj3
= 0 ;
22347 char * kwnames
[] = {
22348 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22354 if (!SWIG_IsOK(ecode1
)) {
22355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22357 arg1
= static_cast< wxEventType
>(val1
);
22360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22361 if (!SWIG_IsOK(ecode2
)) {
22362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22364 arg2
= static_cast< int >(val2
);
22367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22368 if (!SWIG_IsOK(ecode3
)) {
22369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22371 arg3
= static_cast< int >(val3
);
22374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22375 if (!SWIG_IsOK(ecode4
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22378 arg4
= static_cast< int >(val4
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22393 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22396 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22397 return SWIG_Py_Void();
22400 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22401 return SWIG_Python_InitShadowInstance(args
);
22404 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22405 PyObject
*resultobj
= 0;
22406 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22410 PyObject
*swig_obj
[1] ;
22412 if (!args
) SWIG_fail
;
22413 swig_obj
[0] = args
;
22414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22415 if (!SWIG_IsOK(res1
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22418 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (int)(arg1
)->GetId();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_From_int(static_cast< int >(result
));
22432 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 PyObject
*resultobj
= 0;
22434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22435 wxControl
*result
= 0 ;
22438 PyObject
*swig_obj
[1] ;
22440 if (!args
) SWIG_fail
;
22441 swig_obj
[0] = args
;
22442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22446 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= (wxControl
*)(arg1
)->GetControl();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= wxPyMake_wxObject(result
, 0);
22462 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22465 wxToolBarBase
*result
= 0 ;
22468 PyObject
*swig_obj
[1] ;
22470 if (!args
) SWIG_fail
;
22471 swig_obj
[0] = args
;
22472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22473 if (!SWIG_IsOK(res1
)) {
22474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22476 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22492 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22493 PyObject
*resultobj
= 0;
22494 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22498 PyObject
*swig_obj
[1] ;
22500 if (!args
) SWIG_fail
;
22501 swig_obj
[0] = args
;
22502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22503 if (!SWIG_IsOK(res1
)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22506 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= (int)(arg1
)->IsButton();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_From_int(static_cast< int >(result
));
22520 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22521 PyObject
*resultobj
= 0;
22522 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22526 PyObject
*swig_obj
[1] ;
22528 if (!args
) SWIG_fail
;
22529 swig_obj
[0] = args
;
22530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22534 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 result
= (int)(arg1
)->IsControl();
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= SWIG_From_int(static_cast< int >(result
));
22548 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22549 PyObject
*resultobj
= 0;
22550 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22554 PyObject
*swig_obj
[1] ;
22556 if (!args
) SWIG_fail
;
22557 swig_obj
[0] = args
;
22558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22559 if (!SWIG_IsOK(res1
)) {
22560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22562 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (int)(arg1
)->IsSeparator();
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= SWIG_From_int(static_cast< int >(result
));
22576 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22577 PyObject
*resultobj
= 0;
22578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22582 PyObject
*swig_obj
[1] ;
22584 if (!args
) SWIG_fail
;
22585 swig_obj
[0] = args
;
22586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22587 if (!SWIG_IsOK(res1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22590 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= (int)(arg1
)->GetStyle();
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= SWIG_From_int(static_cast< int >(result
));
22604 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22605 PyObject
*resultobj
= 0;
22606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22610 PyObject
*swig_obj
[1] ;
22612 if (!args
) SWIG_fail
;
22613 swig_obj
[0] = args
;
22614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22615 if (!SWIG_IsOK(res1
)) {
22616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22618 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxItemKind
)(arg1
)->GetKind();
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_From_int(static_cast< int >(result
));
22632 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22633 PyObject
*resultobj
= 0;
22634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22638 PyObject
*swig_obj
[1] ;
22640 if (!args
) SWIG_fail
;
22641 swig_obj
[0] = args
;
22642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22643 if (!SWIG_IsOK(res1
)) {
22644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22646 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (bool)(arg1
)->IsEnabled();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22662 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22663 PyObject
*resultobj
= 0;
22664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22668 PyObject
*swig_obj
[1] ;
22670 if (!args
) SWIG_fail
;
22671 swig_obj
[0] = args
;
22672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22673 if (!SWIG_IsOK(res1
)) {
22674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22676 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (bool)(arg1
)->IsToggled();
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22692 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22693 PyObject
*resultobj
= 0;
22694 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22698 PyObject
*swig_obj
[1] ;
22700 if (!args
) SWIG_fail
;
22701 swig_obj
[0] = args
;
22702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22703 if (!SWIG_IsOK(res1
)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22706 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (bool)(arg1
)->CanBeToggled();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22722 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22725 wxBitmap
*result
= 0 ;
22728 PyObject
*swig_obj
[1] ;
22730 if (!args
) SWIG_fail
;
22731 swig_obj
[0] = args
;
22732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22733 if (!SWIG_IsOK(res1
)) {
22734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22736 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22741 result
= (wxBitmap
*) &_result_ref
;
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22747 wxBitmap
* resultptr
= new wxBitmap(*result
);
22748 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22756 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22757 PyObject
*resultobj
= 0;
22758 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22759 wxBitmap
*result
= 0 ;
22762 PyObject
*swig_obj
[1] ;
22764 if (!args
) SWIG_fail
;
22765 swig_obj
[0] = args
;
22766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22767 if (!SWIG_IsOK(res1
)) {
22768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22770 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22775 result
= (wxBitmap
*) &_result_ref
;
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 wxBitmap
* resultptr
= new wxBitmap(*result
);
22782 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22790 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22791 PyObject
*resultobj
= 0;
22792 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22796 PyObject
*swig_obj
[1] ;
22798 if (!args
) SWIG_fail
;
22799 swig_obj
[0] = args
;
22800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22804 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (arg1
)->GetBitmap();
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22818 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 PyObject
*resultobj
= 0;
22820 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22824 PyObject
*swig_obj
[1] ;
22826 if (!args
) SWIG_fail
;
22827 swig_obj
[0] = args
;
22828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22832 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (arg1
)->GetLabel();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22852 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22853 PyObject
*resultobj
= 0;
22854 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22858 PyObject
*swig_obj
[1] ;
22860 if (!args
) SWIG_fail
;
22861 swig_obj
[0] = args
;
22862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22866 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (arg1
)->GetShortHelp();
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22886 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22887 PyObject
*resultobj
= 0;
22888 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22892 PyObject
*swig_obj
[1] ;
22894 if (!args
) SWIG_fail
;
22895 swig_obj
[0] = args
;
22896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22897 if (!SWIG_IsOK(res1
)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22900 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 result
= (arg1
)->GetLongHelp();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22920 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 char * kwnames
[] = {
22932 (char *) "self",(char *) "enable", NULL
22935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22937 if (!SWIG_IsOK(res1
)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22940 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22942 if (!SWIG_IsOK(ecode2
)) {
22943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22945 arg2
= static_cast< bool >(val2
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (bool)(arg1
)->Enable(arg2
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22961 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22962 PyObject
*resultobj
= 0;
22963 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22974 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_Py_Void();
22988 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
= 0;
22990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 char * kwnames
[] = {
23000 (char *) "self",(char *) "toggle", NULL
23003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23005 if (!SWIG_IsOK(res1
)) {
23006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23008 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23009 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23010 if (!SWIG_IsOK(ecode2
)) {
23011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23013 arg2
= static_cast< bool >(val2
);
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (bool)(arg1
)->SetToggle(arg2
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23029 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
= 0;
23031 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23032 wxString
*arg2
= 0 ;
23036 bool temp2
= false ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 char * kwnames
[] = {
23040 (char *) "self",(char *) "help", NULL
23043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23045 if (!SWIG_IsOK(res1
)) {
23046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23048 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23050 arg2
= wxString_in_helper(obj1
);
23051 if (arg2
== NULL
) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23077 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
= 0;
23079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23080 wxString
*arg2
= 0 ;
23084 bool temp2
= false ;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 char * kwnames
[] = {
23088 (char *) "self",(char *) "help", NULL
23091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23093 if (!SWIG_IsOK(res1
)) {
23094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23096 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23098 arg2
= wxString_in_helper(obj1
);
23099 if (arg2
== NULL
) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23125 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23126 PyObject
*resultobj
= 0;
23127 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23128 wxBitmap
*arg2
= 0 ;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 char * kwnames
[] = {
23136 (char *) "self",(char *) "bmp", NULL
23139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23141 if (!SWIG_IsOK(res1
)) {
23142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23144 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23146 if (!SWIG_IsOK(res2
)) {
23147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23152 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_Py_Void();
23166 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
= 0;
23168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23169 wxBitmap
*arg2
= 0 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 char * kwnames
[] = {
23177 (char *) "self",(char *) "bmp", NULL
23180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23185 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23187 if (!SWIG_IsOK(res2
)) {
23188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23193 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_Py_Void();
23207 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
= 0;
23209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23210 wxString
*arg2
= 0 ;
23213 bool temp2
= false ;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 char * kwnames
[] = {
23217 (char *) "self",(char *) "label", NULL
23220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23222 if (!SWIG_IsOK(res1
)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23225 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23227 arg2
= wxString_in_helper(obj1
);
23228 if (arg2
== NULL
) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 (arg1
)->SetLabel((wxString
const &)*arg2
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= SWIG_Py_Void();
23252 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23253 PyObject
*resultobj
= 0;
23254 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23257 PyObject
*swig_obj
[1] ;
23259 if (!args
) SWIG_fail
;
23260 swig_obj
[0] = args
;
23261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23262 if (!SWIG_IsOK(res1
)) {
23263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23265 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_Py_Void();
23279 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
= 0;
23281 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23282 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 char * kwnames
[] = {
23290 (char *) "self",(char *) "tbar", NULL
23293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23295 if (!SWIG_IsOK(res1
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23298 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23300 if (!SWIG_IsOK(res2
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23303 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 (arg1
)->Attach(arg2
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_Py_Void();
23317 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23318 PyObject
*resultobj
= 0;
23319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23320 PyObject
*result
= 0 ;
23323 PyObject
*swig_obj
[1] ;
23325 if (!args
) SWIG_fail
;
23326 swig_obj
[0] = args
;
23327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23328 if (!SWIG_IsOK(res1
)) {
23329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23331 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= result
;
23345 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23348 PyObject
*arg2
= (PyObject
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char * kwnames
[] = {
23354 (char *) "self",(char *) "clientData", NULL
23357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23362 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_Py_Void();
23377 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23380 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23381 return SWIG_Py_Void();
23384 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
= 0;
23386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23388 wxString
*arg3
= 0 ;
23389 wxBitmap
*arg4
= 0 ;
23390 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23391 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23392 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23393 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23395 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23396 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23397 PyObject
*arg9
= (PyObject
*) NULL
;
23398 wxToolBarToolBase
*result
= 0 ;
23403 bool temp3
= false ;
23410 bool temp7
= false ;
23411 bool temp8
= false ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 PyObject
* obj2
= 0 ;
23415 PyObject
* obj3
= 0 ;
23416 PyObject
* obj4
= 0 ;
23417 PyObject
* obj5
= 0 ;
23418 PyObject
* obj6
= 0 ;
23419 PyObject
* obj7
= 0 ;
23420 PyObject
* obj8
= 0 ;
23421 char * kwnames
[] = {
23422 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23427 if (!SWIG_IsOK(res1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23430 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23432 if (!SWIG_IsOK(ecode2
)) {
23433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23435 arg2
= static_cast< int >(val2
);
23437 arg3
= wxString_in_helper(obj2
);
23438 if (arg3
== NULL
) SWIG_fail
;
23441 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23442 if (!SWIG_IsOK(res4
)) {
23443 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23448 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23450 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23451 if (!SWIG_IsOK(res5
)) {
23452 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23457 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23460 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23461 if (!SWIG_IsOK(ecode6
)) {
23462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23464 arg6
= static_cast< wxItemKind
>(val6
);
23468 arg7
= wxString_in_helper(obj6
);
23469 if (arg7
== NULL
) SWIG_fail
;
23475 arg8
= wxString_in_helper(obj7
);
23476 if (arg8
== NULL
) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23522 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= 0;
23524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23527 wxString
*arg4
= 0 ;
23528 wxBitmap
*arg5
= 0 ;
23529 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23530 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23531 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23532 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23534 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23535 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23536 PyObject
*arg10
= (PyObject
*) NULL
;
23537 wxToolBarToolBase
*result
= 0 ;
23544 bool temp4
= false ;
23551 bool temp8
= false ;
23552 bool temp9
= false ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 PyObject
* obj2
= 0 ;
23556 PyObject
* obj3
= 0 ;
23557 PyObject
* obj4
= 0 ;
23558 PyObject
* obj5
= 0 ;
23559 PyObject
* obj6
= 0 ;
23560 PyObject
* obj7
= 0 ;
23561 PyObject
* obj8
= 0 ;
23562 PyObject
* obj9
= 0 ;
23563 char * kwnames
[] = {
23564 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23572 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23573 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23574 if (!SWIG_IsOK(ecode2
)) {
23575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23577 arg2
= static_cast< size_t >(val2
);
23578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23579 if (!SWIG_IsOK(ecode3
)) {
23580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23582 arg3
= static_cast< int >(val3
);
23584 arg4
= wxString_in_helper(obj3
);
23585 if (arg4
== NULL
) SWIG_fail
;
23588 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23589 if (!SWIG_IsOK(res5
)) {
23590 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23595 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23597 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23598 if (!SWIG_IsOK(res6
)) {
23599 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23604 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23607 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23608 if (!SWIG_IsOK(ecode7
)) {
23609 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23611 arg7
= static_cast< wxItemKind
>(val7
);
23615 arg8
= wxString_in_helper(obj7
);
23616 if (arg8
== NULL
) SWIG_fail
;
23622 arg9
= wxString_in_helper(obj8
);
23623 if (arg9
== NULL
) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23669 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
= 0;
23671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23672 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23673 wxToolBarToolBase
*result
= 0 ;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 char * kwnames
[] = {
23681 (char *) "self",(char *) "tool", NULL
23684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23686 if (!SWIG_IsOK(res1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23689 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23691 if (!SWIG_IsOK(res2
)) {
23692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23694 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23710 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23711 PyObject
*resultobj
= 0;
23712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23714 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23715 wxToolBarToolBase
*result
= 0 ;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 PyObject
* obj2
= 0 ;
23725 char * kwnames
[] = {
23726 (char *) "self",(char *) "pos",(char *) "tool", NULL
23729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23731 if (!SWIG_IsOK(res1
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23734 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23735 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23736 if (!SWIG_IsOK(ecode2
)) {
23737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23739 arg2
= static_cast< size_t >(val2
);
23740 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23741 if (!SWIG_IsOK(res3
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23744 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23760 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
= 0;
23762 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23763 wxControl
*arg2
= (wxControl
*) 0 ;
23764 wxToolBarToolBase
*result
= 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char * kwnames
[] = {
23772 (char *) "self",(char *) "control", NULL
23775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23777 if (!SWIG_IsOK(res1
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23780 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23782 if (!SWIG_IsOK(res2
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23785 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23801 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
= 0;
23803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23805 wxControl
*arg3
= (wxControl
*) 0 ;
23806 wxToolBarToolBase
*result
= 0 ;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 PyObject
* obj2
= 0 ;
23816 char * kwnames
[] = {
23817 (char *) "self",(char *) "pos",(char *) "control", NULL
23820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23825 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23826 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23827 if (!SWIG_IsOK(ecode2
)) {
23828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23830 arg2
= static_cast< size_t >(val2
);
23831 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23832 if (!SWIG_IsOK(res3
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23835 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23851 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
= 0;
23853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23855 wxControl
*result
= 0 ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char * kwnames
[] = {
23863 (char *) "self",(char *) "id", NULL
23866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23871 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23873 if (!SWIG_IsOK(ecode2
)) {
23874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23876 arg2
= static_cast< int >(val2
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= wxPyMake_wxObject(result
, 0);
23892 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 PyObject
*resultobj
= 0;
23894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23895 wxToolBarToolBase
*result
= 0 ;
23898 PyObject
*swig_obj
[1] ;
23900 if (!args
) SWIG_fail
;
23901 swig_obj
[0] = args
;
23902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23903 if (!SWIG_IsOK(res1
)) {
23904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23906 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23922 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
= 0;
23924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23926 wxToolBarToolBase
*result
= 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 char * kwnames
[] = {
23934 (char *) "self",(char *) "pos", NULL
23937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23939 if (!SWIG_IsOK(res1
)) {
23940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23942 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23943 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23944 if (!SWIG_IsOK(ecode2
)) {
23945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23947 arg2
= static_cast< size_t >(val2
);
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23963 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
= 0;
23965 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23967 wxToolBarToolBase
*result
= 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char * kwnames
[] = {
23975 (char *) "self",(char *) "id", NULL
23978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23983 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23985 if (!SWIG_IsOK(ecode2
)) {
23986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23988 arg2
= static_cast< int >(val2
);
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24004 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
= 0;
24006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char * kwnames
[] = {
24016 (char *) "self",(char *) "pos", NULL
24019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24021 if (!SWIG_IsOK(res1
)) {
24022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24024 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24025 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24026 if (!SWIG_IsOK(ecode2
)) {
24027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24029 arg2
= static_cast< size_t >(val2
);
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24045 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
= 0;
24047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 char * kwnames
[] = {
24057 (char *) "self",(char *) "id", NULL
24060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24065 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24067 if (!SWIG_IsOK(ecode2
)) {
24068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24070 arg2
= static_cast< int >(val2
);
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (bool)(arg1
)->DeleteTool(arg2
);
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24086 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24087 PyObject
*resultobj
= 0;
24088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24091 PyObject
*swig_obj
[1] ;
24093 if (!args
) SWIG_fail
;
24094 swig_obj
[0] = args
;
24095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24096 if (!SWIG_IsOK(res1
)) {
24097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24099 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 (arg1
)->ClearTools();
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= SWIG_Py_Void();
24113 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24114 PyObject
*resultobj
= 0;
24115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24119 PyObject
*swig_obj
[1] ;
24121 if (!args
) SWIG_fail
;
24122 swig_obj
[0] = args
;
24123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24124 if (!SWIG_IsOK(res1
)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24127 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (bool)(arg1
)->Realize();
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24143 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
= 0;
24145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 char * kwnames
[] = {
24158 (char *) "self",(char *) "id",(char *) "enable", NULL
24161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24166 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24168 if (!SWIG_IsOK(ecode2
)) {
24169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24171 arg2
= static_cast< int >(val2
);
24172 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24173 if (!SWIG_IsOK(ecode3
)) {
24174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24176 arg3
= static_cast< bool >(val3
);
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 (arg1
)->EnableTool(arg2
,arg3
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_Py_Void();
24190 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
= 0;
24192 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 PyObject
* obj2
= 0 ;
24204 char * kwnames
[] = {
24205 (char *) "self",(char *) "id",(char *) "toggle", NULL
24208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24210 if (!SWIG_IsOK(res1
)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24213 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24215 if (!SWIG_IsOK(ecode2
)) {
24216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24218 arg2
= static_cast< int >(val2
);
24219 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24220 if (!SWIG_IsOK(ecode3
)) {
24221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24223 arg3
= static_cast< bool >(val3
);
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->ToggleTool(arg2
,arg3
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_Py_Void();
24237 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
= 0;
24239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 PyObject
* obj2
= 0 ;
24251 char * kwnames
[] = {
24252 (char *) "self",(char *) "id",(char *) "toggle", NULL
24255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24257 if (!SWIG_IsOK(res1
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24260 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24262 if (!SWIG_IsOK(ecode2
)) {
24263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24265 arg2
= static_cast< int >(val2
);
24266 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24267 if (!SWIG_IsOK(ecode3
)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24270 arg3
= static_cast< bool >(val3
);
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->SetToggle(arg2
,arg3
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_Py_Void();
24284 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
= 0;
24286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24288 PyObject
*result
= 0 ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 char * kwnames
[] = {
24296 (char *) "self",(char *) "id", NULL
24299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24301 if (!SWIG_IsOK(res1
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24304 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24306 if (!SWIG_IsOK(ecode2
)) {
24307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24309 arg2
= static_cast< int >(val2
);
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
;
24323 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
= 0;
24325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24327 PyObject
*arg3
= (PyObject
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 PyObject
* obj2
= 0 ;
24335 char * kwnames
[] = {
24336 (char *) "self",(char *) "id",(char *) "clientData", NULL
24339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24341 if (!SWIG_IsOK(res1
)) {
24342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24344 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24346 if (!SWIG_IsOK(ecode2
)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24349 arg2
= static_cast< int >(val2
);
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_Py_Void();
24364 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
= 0;
24366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24375 char * kwnames
[] = {
24376 (char *) "self",(char *) "id", NULL
24379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24381 if (!SWIG_IsOK(res1
)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24384 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24386 if (!SWIG_IsOK(ecode2
)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24389 arg2
= static_cast< int >(val2
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_From_int(static_cast< int >(result
));
24403 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
= 0;
24405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char * kwnames
[] = {
24415 (char *) "self",(char *) "id", NULL
24418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24423 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24425 if (!SWIG_IsOK(ecode2
)) {
24426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24428 arg2
= static_cast< int >(val2
);
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (bool)(arg1
)->GetToolState(arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24444 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "id", NULL
24459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24464 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24466 if (!SWIG_IsOK(ecode2
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24469 arg2
= static_cast< int >(val2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24485 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
= 0;
24487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24489 wxString
*arg3
= 0 ;
24494 bool temp3
= false ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 PyObject
* obj2
= 0 ;
24498 char * kwnames
[] = {
24499 (char *) "self",(char *) "id",(char *) "helpString", NULL
24502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24504 if (!SWIG_IsOK(res1
)) {
24505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24507 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24509 if (!SWIG_IsOK(ecode2
)) {
24510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24512 arg2
= static_cast< int >(val2
);
24514 arg3
= wxString_in_helper(obj2
);
24515 if (arg3
== NULL
) SWIG_fail
;
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_Py_Void();
24539 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
= 0;
24541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char * kwnames
[] = {
24551 (char *) "self",(char *) "id", NULL
24554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24559 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24561 if (!SWIG_IsOK(ecode2
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24564 arg2
= static_cast< int >(val2
);
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (arg1
)->GetToolShortHelp(arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24584 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
= 0;
24586 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24588 wxString
*arg3
= 0 ;
24593 bool temp3
= false ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 char * kwnames
[] = {
24598 (char *) "self",(char *) "id",(char *) "helpString", NULL
24601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24603 if (!SWIG_IsOK(res1
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24606 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24608 if (!SWIG_IsOK(ecode2
)) {
24609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24611 arg2
= static_cast< int >(val2
);
24613 arg3
= wxString_in_helper(obj2
);
24614 if (arg3
== NULL
) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_Py_Void();
24638 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
= 0;
24640 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 char * kwnames
[] = {
24650 (char *) "self",(char *) "id", NULL
24653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24658 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24660 if (!SWIG_IsOK(ecode2
)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24663 arg2
= static_cast< int >(val2
);
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (arg1
)->GetToolLongHelp(arg2
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24683 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= 0;
24685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 PyObject
* obj2
= 0 ;
24697 char * kwnames
[] = {
24698 (char *) "self",(char *) "x",(char *) "y", NULL
24701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24703 if (!SWIG_IsOK(res1
)) {
24704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24706 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24708 if (!SWIG_IsOK(ecode2
)) {
24709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24711 arg2
= static_cast< int >(val2
);
24712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24713 if (!SWIG_IsOK(ecode3
)) {
24714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24716 arg3
= static_cast< int >(val3
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 (arg1
)->SetMargins(arg2
,arg3
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_Py_Void();
24730 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= 0;
24732 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 char * kwnames
[] = {
24740 (char *) "self",(char *) "size", NULL
24743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24745 if (!SWIG_IsOK(res1
)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24748 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_Py_Void();
24766 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
= 0;
24768 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char * kwnames
[] = {
24777 (char *) "self",(char *) "packing", NULL
24780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24782 if (!SWIG_IsOK(res1
)) {
24783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24785 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24787 if (!SWIG_IsOK(ecode2
)) {
24788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24790 arg2
= static_cast< int >(val2
);
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetToolPacking(arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_Py_Void();
24804 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= 0;
24806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24812 PyObject
* obj0
= 0 ;
24813 PyObject
* obj1
= 0 ;
24814 char * kwnames
[] = {
24815 (char *) "self",(char *) "separation", NULL
24818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24820 if (!SWIG_IsOK(res1
)) {
24821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24823 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24825 if (!SWIG_IsOK(ecode2
)) {
24826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24828 arg2
= static_cast< int >(val2
);
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 (arg1
)->SetToolSeparation(arg2
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= SWIG_Py_Void();
24842 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24843 PyObject
*resultobj
= 0;
24844 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24848 PyObject
*swig_obj
[1] ;
24850 if (!args
) SWIG_fail
;
24851 swig_obj
[0] = args
;
24852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24853 if (!SWIG_IsOK(res1
)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24856 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (arg1
)->GetToolMargins();
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24870 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24871 PyObject
*resultobj
= 0;
24872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24876 PyObject
*swig_obj
[1] ;
24878 if (!args
) SWIG_fail
;
24879 swig_obj
[0] = args
;
24880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24881 if (!SWIG_IsOK(res1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24884 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= (arg1
)->GetMargins();
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24898 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24899 PyObject
*resultobj
= 0;
24900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24904 PyObject
*swig_obj
[1] ;
24906 if (!args
) SWIG_fail
;
24907 swig_obj
[0] = args
;
24908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24912 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (int)(arg1
)->GetToolPacking();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_From_int(static_cast< int >(result
));
24926 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24927 PyObject
*resultobj
= 0;
24928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24932 PyObject
*swig_obj
[1] ;
24934 if (!args
) SWIG_fail
;
24935 swig_obj
[0] = args
;
24936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24937 if (!SWIG_IsOK(res1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24940 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (int)(arg1
)->GetToolSeparation();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_From_int(static_cast< int >(result
));
24954 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= 0;
24956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 char * kwnames
[] = {
24965 (char *) "self",(char *) "nRows", NULL
24968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24970 if (!SWIG_IsOK(res1
)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24973 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24975 if (!SWIG_IsOK(ecode2
)) {
24976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24978 arg2
= static_cast< int >(val2
);
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 (arg1
)->SetRows(arg2
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 resultobj
= SWIG_Py_Void();
24992 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
= 0;
24994 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 PyObject
* obj2
= 0 ;
25006 char * kwnames
[] = {
25007 (char *) "self",(char *) "rows",(char *) "cols", NULL
25010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25015 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25017 if (!SWIG_IsOK(ecode2
)) {
25018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25020 arg2
= static_cast< int >(val2
);
25021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25022 if (!SWIG_IsOK(ecode3
)) {
25023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25025 arg3
= static_cast< int >(val3
);
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_Py_Void();
25039 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25040 PyObject
*resultobj
= 0;
25041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25045 PyObject
*swig_obj
[1] ;
25047 if (!args
) SWIG_fail
;
25048 swig_obj
[0] = args
;
25049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25050 if (!SWIG_IsOK(res1
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25053 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= (int)(arg1
)->GetMaxRows();
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_From_int(static_cast< int >(result
));
25067 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25068 PyObject
*resultobj
= 0;
25069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25073 PyObject
*swig_obj
[1] ;
25075 if (!args
) SWIG_fail
;
25076 swig_obj
[0] = args
;
25077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25078 if (!SWIG_IsOK(res1
)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25081 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (int)(arg1
)->GetMaxCols();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_From_int(static_cast< int >(result
));
25095 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
= 0;
25097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char * kwnames
[] = {
25105 (char *) "self",(char *) "size", NULL
25108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25113 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25116 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_Py_Void();
25131 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25132 PyObject
*resultobj
= 0;
25133 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25137 PyObject
*swig_obj
[1] ;
25139 if (!args
) SWIG_fail
;
25140 swig_obj
[0] = args
;
25141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25142 if (!SWIG_IsOK(res1
)) {
25143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25145 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (arg1
)->GetToolBitmapSize();
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25159 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25160 PyObject
*resultobj
= 0;
25161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25165 PyObject
*swig_obj
[1] ;
25167 if (!args
) SWIG_fail
;
25168 swig_obj
[0] = args
;
25169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (arg1
)->GetToolSize();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25187 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
= 0;
25189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25192 wxToolBarToolBase
*result
= 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 PyObject
* obj2
= 0 ;
25202 char * kwnames
[] = {
25203 (char *) "self",(char *) "x",(char *) "y", NULL
25206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25208 if (!SWIG_IsOK(res1
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25211 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25213 if (!SWIG_IsOK(ecode2
)) {
25214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25216 arg2
= static_cast< int >(val2
);
25217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25218 if (!SWIG_IsOK(ecode3
)) {
25219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25221 arg3
= static_cast< int >(val3
);
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25237 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
= 0;
25239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25241 wxToolBarToolBase
*result
= 0 ;
25246 PyObject
* obj0
= 0 ;
25247 PyObject
* obj1
= 0 ;
25248 char * kwnames
[] = {
25249 (char *) "self",(char *) "toolid", NULL
25252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25254 if (!SWIG_IsOK(res1
)) {
25255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25257 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25259 if (!SWIG_IsOK(ecode2
)) {
25260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25262 arg2
= static_cast< int >(val2
);
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25278 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25279 PyObject
*resultobj
= 0;
25280 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25284 PyObject
*swig_obj
[1] ;
25286 if (!args
) SWIG_fail
;
25287 swig_obj
[0] = args
;
25288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25289 if (!SWIG_IsOK(res1
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25292 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (bool)(arg1
)->IsVertical();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25308 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25309 PyObject
*resultobj
= 0;
25310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25314 PyObject
*swig_obj
[1] ;
25316 if (!args
) SWIG_fail
;
25317 swig_obj
[0] = args
;
25318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25319 if (!SWIG_IsOK(res1
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25322 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25336 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25339 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25340 return SWIG_Py_Void();
25343 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
= 0;
25345 wxWindow
*arg1
= (wxWindow
*) 0 ;
25346 int arg2
= (int) -1 ;
25347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25349 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25350 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25351 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25352 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25353 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25354 wxToolBar
*result
= 0 ;
25363 bool temp6
= false ;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 PyObject
* obj2
= 0 ;
25367 PyObject
* obj3
= 0 ;
25368 PyObject
* obj4
= 0 ;
25369 PyObject
* obj5
= 0 ;
25370 char * kwnames
[] = {
25371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25379 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25382 if (!SWIG_IsOK(ecode2
)) {
25383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25385 arg2
= static_cast< int >(val2
);
25390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25396 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25400 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25401 if (!SWIG_IsOK(ecode5
)) {
25402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25404 arg5
= static_cast< long >(val5
);
25408 arg6
= wxString_in_helper(obj5
);
25409 if (arg6
== NULL
) SWIG_fail
;
25414 if (!wxPyCheckForApp()) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25435 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 PyObject
*resultobj
= 0;
25437 wxToolBar
*result
= 0 ;
25439 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25441 if (!wxPyCheckForApp()) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (wxToolBar
*)new wxToolBar();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25454 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
= 0;
25456 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25457 wxWindow
*arg2
= (wxWindow
*) 0 ;
25458 int arg3
= (int) -1 ;
25459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25463 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25464 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25465 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25477 bool temp7
= false ;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 PyObject
* obj2
= 0 ;
25481 PyObject
* obj3
= 0 ;
25482 PyObject
* obj4
= 0 ;
25483 PyObject
* obj5
= 0 ;
25484 PyObject
* obj6
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25494 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25496 if (!SWIG_IsOK(res2
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25499 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25502 if (!SWIG_IsOK(ecode3
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25505 arg3
= static_cast< int >(val3
);
25510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25520 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25521 if (!SWIG_IsOK(ecode6
)) {
25522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25524 arg6
= static_cast< long >(val6
);
25528 arg7
= wxString_in_helper(obj6
);
25529 if (arg7
== NULL
) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25556 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
= 0;
25558 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25559 SwigValueWrapper
<wxVisualAttributes
> result
;
25562 PyObject
* obj0
= 0 ;
25563 char * kwnames
[] = {
25564 (char *) "variant", NULL
25567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25570 if (!SWIG_IsOK(ecode1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25573 arg1
= static_cast< wxWindowVariant
>(val1
);
25576 if (!wxPyCheckForApp()) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25589 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25592 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25593 return SWIG_Py_Void();
25596 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25597 return SWIG_Python_InitShadowInstance(args
);
25600 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25601 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25606 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25607 PyObject
*pyobj
= 0;
25611 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25613 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25620 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
= 0;
25622 wxColour
const &arg1_defvalue
= wxNullColour
;
25623 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25624 wxColour
const &arg2_defvalue
= wxNullColour
;
25625 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25626 wxFont
const &arg3_defvalue
= wxNullFont
;
25627 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25628 wxListItemAttr
*result
= 0 ;
25633 PyObject
* obj0
= 0 ;
25634 PyObject
* obj1
= 0 ;
25635 PyObject
* obj2
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25644 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25650 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25654 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25655 if (!SWIG_IsOK(res3
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25661 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25676 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25677 PyObject
*resultobj
= 0;
25678 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25681 PyObject
*swig_obj
[1] ;
25683 if (!args
) SWIG_fail
;
25684 swig_obj
[0] = args
;
25685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25686 if (!SWIG_IsOK(res1
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25689 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_Py_Void();
25704 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
= 0;
25706 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25707 wxColour
*arg2
= 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char * kwnames
[] = {
25714 (char *) "self",(char *) "colText", NULL
25717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25719 if (!SWIG_IsOK(res1
)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25722 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25725 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_Py_Void();
25740 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
= 0;
25742 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25743 wxColour
*arg2
= 0 ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 char * kwnames
[] = {
25750 (char *) "self",(char *) "colBack", NULL
25753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25758 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25761 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= SWIG_Py_Void();
25776 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
= 0;
25778 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 char * kwnames
[] = {
25787 (char *) "self",(char *) "font", NULL
25790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25792 if (!SWIG_IsOK(res1
)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25795 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25797 if (!SWIG_IsOK(res2
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25803 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 (arg1
)->SetFont((wxFont
const &)*arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_Py_Void();
25817 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25818 PyObject
*resultobj
= 0;
25819 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25823 PyObject
*swig_obj
[1] ;
25825 if (!args
) SWIG_fail
;
25826 swig_obj
[0] = args
;
25827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25828 if (!SWIG_IsOK(res1
)) {
25829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25831 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 result
= (bool)(arg1
)->HasTextColour();
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25847 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25848 PyObject
*resultobj
= 0;
25849 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25853 PyObject
*swig_obj
[1] ;
25855 if (!args
) SWIG_fail
;
25856 swig_obj
[0] = args
;
25857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25858 if (!SWIG_IsOK(res1
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25861 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (bool)(arg1
)->HasBackgroundColour();
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25877 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25878 PyObject
*resultobj
= 0;
25879 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25883 PyObject
*swig_obj
[1] ;
25885 if (!args
) SWIG_fail
;
25886 swig_obj
[0] = args
;
25887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25888 if (!SWIG_IsOK(res1
)) {
25889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25891 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 result
= (bool)(arg1
)->HasFont();
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25907 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25908 PyObject
*resultobj
= 0;
25909 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25913 PyObject
*swig_obj
[1] ;
25915 if (!args
) SWIG_fail
;
25916 swig_obj
[0] = args
;
25917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25921 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (arg1
)->GetTextColour();
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25935 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25936 PyObject
*resultobj
= 0;
25937 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25941 PyObject
*swig_obj
[1] ;
25943 if (!args
) SWIG_fail
;
25944 swig_obj
[0] = args
;
25945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25946 if (!SWIG_IsOK(res1
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25949 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= (arg1
)->GetBackgroundColour();
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25963 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25964 PyObject
*resultobj
= 0;
25965 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25969 PyObject
*swig_obj
[1] ;
25971 if (!args
) SWIG_fail
;
25972 swig_obj
[0] = args
;
25973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25977 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (arg1
)->GetFont();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25991 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
= 0;
25993 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25994 wxListItemAttr
*arg2
= 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char * kwnames
[] = {
26002 (char *) "self",(char *) "source", NULL
26005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26007 if (!SWIG_IsOK(res1
)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26010 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26012 if (!SWIG_IsOK(res2
)) {
26013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26018 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_Py_Void();
26032 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26033 PyObject
*resultobj
= 0;
26034 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26037 PyObject
*swig_obj
[1] ;
26039 if (!args
) SWIG_fail
;
26040 swig_obj
[0] = args
;
26041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26045 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 wxListItemAttr_Destroy(arg1
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_Py_Void();
26059 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26062 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26063 return SWIG_Py_Void();
26066 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26067 return SWIG_Python_InitShadowInstance(args
);
26070 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26071 PyObject
*resultobj
= 0;
26072 wxListItem
*result
= 0 ;
26074 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxListItem
*)new wxListItem();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26090 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26091 PyObject
*resultobj
= 0;
26092 wxListItem
*arg1
= (wxListItem
*) 0 ;
26095 PyObject
*swig_obj
[1] ;
26097 if (!args
) SWIG_fail
;
26098 swig_obj
[0] = args
;
26099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26103 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= SWIG_Py_Void();
26118 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26119 PyObject
*resultobj
= 0;
26120 wxListItem
*arg1
= (wxListItem
*) 0 ;
26123 PyObject
*swig_obj
[1] ;
26125 if (!args
) SWIG_fail
;
26126 swig_obj
[0] = args
;
26127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26128 if (!SWIG_IsOK(res1
)) {
26129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26131 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_Py_Void();
26145 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26146 PyObject
*resultobj
= 0;
26147 wxListItem
*arg1
= (wxListItem
*) 0 ;
26150 PyObject
*swig_obj
[1] ;
26152 if (!args
) SWIG_fail
;
26153 swig_obj
[0] = args
;
26154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26158 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->ClearAttributes();
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxListItem
*arg1
= (wxListItem
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 char * kwnames
[] = {
26183 (char *) "self",(char *) "mask", NULL
26186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26188 if (!SWIG_IsOK(res1
)) {
26189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26191 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26192 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26193 if (!SWIG_IsOK(ecode2
)) {
26194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26196 arg2
= static_cast< long >(val2
);
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->SetMask(arg2
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_Py_Void();
26210 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
= 0;
26212 wxListItem
*arg1
= (wxListItem
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 char * kwnames
[] = {
26221 (char *) "self",(char *) "id", NULL
26224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26226 if (!SWIG_IsOK(res1
)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26229 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26230 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26231 if (!SWIG_IsOK(ecode2
)) {
26232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26234 arg2
= static_cast< long >(val2
);
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->SetId(arg2
);
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_Py_Void();
26248 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
= 0;
26250 wxListItem
*arg1
= (wxListItem
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 char * kwnames
[] = {
26259 (char *) "self",(char *) "col", NULL
26262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26264 if (!SWIG_IsOK(res1
)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26267 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26269 if (!SWIG_IsOK(ecode2
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26272 arg2
= static_cast< int >(val2
);
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 (arg1
)->SetColumn(arg2
);
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_Py_Void();
26286 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
= 0;
26288 wxListItem
*arg1
= (wxListItem
*) 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char * kwnames
[] = {
26297 (char *) "self",(char *) "state", NULL
26300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26302 if (!SWIG_IsOK(res1
)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26305 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26306 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26307 if (!SWIG_IsOK(ecode2
)) {
26308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26310 arg2
= static_cast< long >(val2
);
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->SetState(arg2
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_Py_Void();
26324 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
= 0;
26326 wxListItem
*arg1
= (wxListItem
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 char * kwnames
[] = {
26335 (char *) "self",(char *) "stateMask", NULL
26338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26340 if (!SWIG_IsOK(res1
)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26343 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26344 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26345 if (!SWIG_IsOK(ecode2
)) {
26346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26348 arg2
= static_cast< long >(val2
);
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 (arg1
)->SetStateMask(arg2
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_Py_Void();
26362 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
= 0;
26364 wxListItem
*arg1
= (wxListItem
*) 0 ;
26365 wxString
*arg2
= 0 ;
26368 bool temp2
= false ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 char * kwnames
[] = {
26372 (char *) "self",(char *) "text", NULL
26375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26377 if (!SWIG_IsOK(res1
)) {
26378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26380 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26382 arg2
= wxString_in_helper(obj1
);
26383 if (arg2
== NULL
) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 (arg1
)->SetText((wxString
const &)*arg2
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= SWIG_Py_Void();
26407 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
= 0;
26409 wxListItem
*arg1
= (wxListItem
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char * kwnames
[] = {
26418 (char *) "self",(char *) "image", NULL
26421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26423 if (!SWIG_IsOK(res1
)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26426 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26428 if (!SWIG_IsOK(ecode2
)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26431 arg2
= static_cast< int >(val2
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 (arg1
)->SetImage(arg2
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_Py_Void();
26445 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
= 0;
26447 wxListItem
*arg1
= (wxListItem
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 char * kwnames
[] = {
26456 (char *) "self",(char *) "data", NULL
26459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26464 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26465 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26466 if (!SWIG_IsOK(ecode2
)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26469 arg2
= static_cast< long >(val2
);
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->SetData(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_Py_Void();
26483 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
= 0;
26485 wxListItem
*arg1
= (wxListItem
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char * kwnames
[] = {
26494 (char *) "self",(char *) "width", NULL
26497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26499 if (!SWIG_IsOK(res1
)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26502 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26504 if (!SWIG_IsOK(ecode2
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26507 arg2
= static_cast< int >(val2
);
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->SetWidth(arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_Py_Void();
26521 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
= 0;
26523 wxListItem
*arg1
= (wxListItem
*) 0 ;
26524 wxListColumnFormat arg2
;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char * kwnames
[] = {
26532 (char *) "self",(char *) "align", NULL
26535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26540 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26542 if (!SWIG_IsOK(ecode2
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26545 arg2
= static_cast< wxListColumnFormat
>(val2
);
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->SetAlign(arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_Py_Void();
26559 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
= 0;
26561 wxListItem
*arg1
= (wxListItem
*) 0 ;
26562 wxColour
*arg2
= 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char * kwnames
[] = {
26569 (char *) "self",(char *) "colText", NULL
26572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26574 if (!SWIG_IsOK(res1
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26577 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26580 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxListItem
*arg1
= (wxListItem
*) 0 ;
26598 wxColour
*arg2
= 0 ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char * kwnames
[] = {
26605 (char *) "self",(char *) "colBack", NULL
26608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26613 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_Py_Void();
26631 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
= 0;
26633 wxListItem
*arg1
= (wxListItem
*) 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char * kwnames
[] = {
26642 (char *) "self",(char *) "font", NULL
26645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26650 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26652 if (!SWIG_IsOK(res2
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26658 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 (arg1
)->SetFont((wxFont
const &)*arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= SWIG_Py_Void();
26672 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26673 PyObject
*resultobj
= 0;
26674 wxListItem
*arg1
= (wxListItem
*) 0 ;
26678 PyObject
*swig_obj
[1] ;
26680 if (!args
) SWIG_fail
;
26681 swig_obj
[0] = args
;
26682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26683 if (!SWIG_IsOK(res1
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26686 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (long)(arg1
)->GetMask();
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_From_long(static_cast< long >(result
));
26700 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26701 PyObject
*resultobj
= 0;
26702 wxListItem
*arg1
= (wxListItem
*) 0 ;
26706 PyObject
*swig_obj
[1] ;
26708 if (!args
) SWIG_fail
;
26709 swig_obj
[0] = args
;
26710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26714 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (long)(arg1
)->GetId();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_From_long(static_cast< long >(result
));
26728 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26729 PyObject
*resultobj
= 0;
26730 wxListItem
*arg1
= (wxListItem
*) 0 ;
26734 PyObject
*swig_obj
[1] ;
26736 if (!args
) SWIG_fail
;
26737 swig_obj
[0] = args
;
26738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26739 if (!SWIG_IsOK(res1
)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26742 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 result
= (int)(arg1
)->GetColumn();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_From_int(static_cast< int >(result
));
26756 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26757 PyObject
*resultobj
= 0;
26758 wxListItem
*arg1
= (wxListItem
*) 0 ;
26762 PyObject
*swig_obj
[1] ;
26764 if (!args
) SWIG_fail
;
26765 swig_obj
[0] = args
;
26766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26770 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 result
= (long)(arg1
)->GetState();
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= SWIG_From_long(static_cast< long >(result
));
26784 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26785 PyObject
*resultobj
= 0;
26786 wxListItem
*arg1
= (wxListItem
*) 0 ;
26787 wxString
*result
= 0 ;
26790 PyObject
*swig_obj
[1] ;
26792 if (!args
) SWIG_fail
;
26793 swig_obj
[0] = args
;
26794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26798 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 wxString
const &_result_ref
= (arg1
)->GetText();
26803 result
= (wxString
*) &_result_ref
;
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26812 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26821 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26822 PyObject
*resultobj
= 0;
26823 wxListItem
*arg1
= (wxListItem
*) 0 ;
26827 PyObject
*swig_obj
[1] ;
26829 if (!args
) SWIG_fail
;
26830 swig_obj
[0] = args
;
26831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26832 if (!SWIG_IsOK(res1
)) {
26833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26835 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (int)(arg1
)->GetImage();
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= SWIG_From_int(static_cast< int >(result
));
26849 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26850 PyObject
*resultobj
= 0;
26851 wxListItem
*arg1
= (wxListItem
*) 0 ;
26855 PyObject
*swig_obj
[1] ;
26857 if (!args
) SWIG_fail
;
26858 swig_obj
[0] = args
;
26859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26860 if (!SWIG_IsOK(res1
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26863 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= (long)(arg1
)->GetData();
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_From_long(static_cast< long >(result
));
26877 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26878 PyObject
*resultobj
= 0;
26879 wxListItem
*arg1
= (wxListItem
*) 0 ;
26883 PyObject
*swig_obj
[1] ;
26885 if (!args
) SWIG_fail
;
26886 swig_obj
[0] = args
;
26887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26891 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 result
= (int)(arg1
)->GetWidth();
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= SWIG_From_int(static_cast< int >(result
));
26905 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26906 PyObject
*resultobj
= 0;
26907 wxListItem
*arg1
= (wxListItem
*) 0 ;
26908 wxListColumnFormat result
;
26911 PyObject
*swig_obj
[1] ;
26913 if (!args
) SWIG_fail
;
26914 swig_obj
[0] = args
;
26915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26916 if (!SWIG_IsOK(res1
)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26919 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_From_int(static_cast< int >(result
));
26933 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26934 PyObject
*resultobj
= 0;
26935 wxListItem
*arg1
= (wxListItem
*) 0 ;
26936 wxListItemAttr
*result
= 0 ;
26939 PyObject
*swig_obj
[1] ;
26941 if (!args
) SWIG_fail
;
26942 swig_obj
[0] = args
;
26943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26947 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26961 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26962 PyObject
*resultobj
= 0;
26963 wxListItem
*arg1
= (wxListItem
*) 0 ;
26967 PyObject
*swig_obj
[1] ;
26969 if (!args
) SWIG_fail
;
26970 swig_obj
[0] = args
;
26971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26975 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 result
= (bool)(arg1
)->HasAttributes();
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26991 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26992 PyObject
*resultobj
= 0;
26993 wxListItem
*arg1
= (wxListItem
*) 0 ;
26997 PyObject
*swig_obj
[1] ;
26999 if (!args
) SWIG_fail
;
27000 swig_obj
[0] = args
;
27001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27002 if (!SWIG_IsOK(res1
)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27005 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27019 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27020 PyObject
*resultobj
= 0;
27021 wxListItem
*arg1
= (wxListItem
*) 0 ;
27025 PyObject
*swig_obj
[1] ;
27027 if (!args
) SWIG_fail
;
27028 swig_obj
[0] = args
;
27029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27033 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27047 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27048 PyObject
*resultobj
= 0;
27049 wxListItem
*arg1
= (wxListItem
*) 0 ;
27053 PyObject
*swig_obj
[1] ;
27055 if (!args
) SWIG_fail
;
27056 swig_obj
[0] = args
;
27057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27061 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 result
= ((wxListItem
const *)arg1
)->GetFont();
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27075 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27076 PyObject
*resultobj
= 0;
27077 wxListItem
*arg1
= (wxListItem
*) 0 ;
27083 PyObject
*swig_obj
[2] ;
27085 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27087 if (!SWIG_IsOK(res1
)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27090 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27091 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27092 if (!SWIG_IsOK(ecode2
)) {
27093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27095 arg2
= static_cast< long >(val2
);
27096 if (arg1
) (arg1
)->m_mask
= arg2
;
27098 resultobj
= SWIG_Py_Void();
27105 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27106 PyObject
*resultobj
= 0;
27107 wxListItem
*arg1
= (wxListItem
*) 0 ;
27111 PyObject
*swig_obj
[1] ;
27113 if (!args
) SWIG_fail
;
27114 swig_obj
[0] = args
;
27115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27119 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27120 result
= (long) ((arg1
)->m_mask
);
27121 resultobj
= SWIG_From_long(static_cast< long >(result
));
27128 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27129 PyObject
*resultobj
= 0;
27130 wxListItem
*arg1
= (wxListItem
*) 0 ;
27136 PyObject
*swig_obj
[2] ;
27138 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27140 if (!SWIG_IsOK(res1
)) {
27141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27143 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27144 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27145 if (!SWIG_IsOK(ecode2
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27148 arg2
= static_cast< long >(val2
);
27149 if (arg1
) (arg1
)->m_itemId
= arg2
;
27151 resultobj
= SWIG_Py_Void();
27158 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27159 PyObject
*resultobj
= 0;
27160 wxListItem
*arg1
= (wxListItem
*) 0 ;
27164 PyObject
*swig_obj
[1] ;
27166 if (!args
) SWIG_fail
;
27167 swig_obj
[0] = args
;
27168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27172 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27173 result
= (long) ((arg1
)->m_itemId
);
27174 resultobj
= SWIG_From_long(static_cast< long >(result
));
27181 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27182 PyObject
*resultobj
= 0;
27183 wxListItem
*arg1
= (wxListItem
*) 0 ;
27189 PyObject
*swig_obj
[2] ;
27191 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27193 if (!SWIG_IsOK(res1
)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27196 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27197 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27198 if (!SWIG_IsOK(ecode2
)) {
27199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27201 arg2
= static_cast< int >(val2
);
27202 if (arg1
) (arg1
)->m_col
= arg2
;
27204 resultobj
= SWIG_Py_Void();
27211 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27212 PyObject
*resultobj
= 0;
27213 wxListItem
*arg1
= (wxListItem
*) 0 ;
27217 PyObject
*swig_obj
[1] ;
27219 if (!args
) SWIG_fail
;
27220 swig_obj
[0] = args
;
27221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27225 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27226 result
= (int) ((arg1
)->m_col
);
27227 resultobj
= SWIG_From_int(static_cast< int >(result
));
27234 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27235 PyObject
*resultobj
= 0;
27236 wxListItem
*arg1
= (wxListItem
*) 0 ;
27242 PyObject
*swig_obj
[2] ;
27244 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27246 if (!SWIG_IsOK(res1
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27249 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27250 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27251 if (!SWIG_IsOK(ecode2
)) {
27252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27254 arg2
= static_cast< long >(val2
);
27255 if (arg1
) (arg1
)->m_state
= arg2
;
27257 resultobj
= SWIG_Py_Void();
27264 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27265 PyObject
*resultobj
= 0;
27266 wxListItem
*arg1
= (wxListItem
*) 0 ;
27270 PyObject
*swig_obj
[1] ;
27272 if (!args
) SWIG_fail
;
27273 swig_obj
[0] = args
;
27274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27275 if (!SWIG_IsOK(res1
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27278 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27279 result
= (long) ((arg1
)->m_state
);
27280 resultobj
= SWIG_From_long(static_cast< long >(result
));
27287 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27288 PyObject
*resultobj
= 0;
27289 wxListItem
*arg1
= (wxListItem
*) 0 ;
27295 PyObject
*swig_obj
[2] ;
27297 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27299 if (!SWIG_IsOK(res1
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27302 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27303 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27304 if (!SWIG_IsOK(ecode2
)) {
27305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27307 arg2
= static_cast< long >(val2
);
27308 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27310 resultobj
= SWIG_Py_Void();
27317 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27318 PyObject
*resultobj
= 0;
27319 wxListItem
*arg1
= (wxListItem
*) 0 ;
27323 PyObject
*swig_obj
[1] ;
27325 if (!args
) SWIG_fail
;
27326 swig_obj
[0] = args
;
27327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27328 if (!SWIG_IsOK(res1
)) {
27329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27331 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27332 result
= (long) ((arg1
)->m_stateMask
);
27333 resultobj
= SWIG_From_long(static_cast< long >(result
));
27340 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27341 PyObject
*resultobj
= 0;
27342 wxListItem
*arg1
= (wxListItem
*) 0 ;
27343 wxString
*arg2
= (wxString
*) 0 ;
27346 bool temp2
= false ;
27347 PyObject
*swig_obj
[2] ;
27349 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_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_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27354 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27356 arg2
= wxString_in_helper(swig_obj
[1]);
27357 if (arg2
== NULL
) SWIG_fail
;
27360 if (arg1
) (arg1
)->m_text
= *arg2
;
27362 resultobj
= SWIG_Py_Void();
27377 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27378 PyObject
*resultobj
= 0;
27379 wxListItem
*arg1
= (wxListItem
*) 0 ;
27380 wxString
*result
= 0 ;
27383 PyObject
*swig_obj
[1] ;
27385 if (!args
) SWIG_fail
;
27386 swig_obj
[0] = args
;
27387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27388 if (!SWIG_IsOK(res1
)) {
27389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27391 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27392 result
= (wxString
*)& ((arg1
)->m_text
);
27395 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27397 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27406 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27407 PyObject
*resultobj
= 0;
27408 wxListItem
*arg1
= (wxListItem
*) 0 ;
27414 PyObject
*swig_obj
[2] ;
27416 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27418 if (!SWIG_IsOK(res1
)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27421 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27422 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27423 if (!SWIG_IsOK(ecode2
)) {
27424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27426 arg2
= static_cast< int >(val2
);
27427 if (arg1
) (arg1
)->m_image
= arg2
;
27429 resultobj
= SWIG_Py_Void();
27436 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27437 PyObject
*resultobj
= 0;
27438 wxListItem
*arg1
= (wxListItem
*) 0 ;
27442 PyObject
*swig_obj
[1] ;
27444 if (!args
) SWIG_fail
;
27445 swig_obj
[0] = args
;
27446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27447 if (!SWIG_IsOK(res1
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27450 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27451 result
= (int) ((arg1
)->m_image
);
27452 resultobj
= SWIG_From_int(static_cast< int >(result
));
27459 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxListItem
*arg1
= (wxListItem
*) 0 ;
27467 PyObject
*swig_obj
[2] ;
27469 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27471 if (!SWIG_IsOK(res1
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27474 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27475 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27476 if (!SWIG_IsOK(ecode2
)) {
27477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27479 arg2
= static_cast< long >(val2
);
27480 if (arg1
) (arg1
)->m_data
= arg2
;
27482 resultobj
= SWIG_Py_Void();
27489 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27490 PyObject
*resultobj
= 0;
27491 wxListItem
*arg1
= (wxListItem
*) 0 ;
27495 PyObject
*swig_obj
[1] ;
27497 if (!args
) SWIG_fail
;
27498 swig_obj
[0] = args
;
27499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27500 if (!SWIG_IsOK(res1
)) {
27501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27503 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27504 result
= (long) ((arg1
)->m_data
);
27505 resultobj
= SWIG_From_long(static_cast< long >(result
));
27512 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27513 PyObject
*resultobj
= 0;
27514 wxListItem
*arg1
= (wxListItem
*) 0 ;
27520 PyObject
*swig_obj
[2] ;
27522 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27527 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27528 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27529 if (!SWIG_IsOK(ecode2
)) {
27530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27532 arg2
= static_cast< int >(val2
);
27533 if (arg1
) (arg1
)->m_format
= arg2
;
27535 resultobj
= SWIG_Py_Void();
27542 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27543 PyObject
*resultobj
= 0;
27544 wxListItem
*arg1
= (wxListItem
*) 0 ;
27548 PyObject
*swig_obj
[1] ;
27550 if (!args
) SWIG_fail
;
27551 swig_obj
[0] = args
;
27552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27553 if (!SWIG_IsOK(res1
)) {
27554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27556 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27557 result
= (int) ((arg1
)->m_format
);
27558 resultobj
= SWIG_From_int(static_cast< int >(result
));
27565 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxListItem
*arg1
= (wxListItem
*) 0 ;
27573 PyObject
*swig_obj
[2] ;
27575 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27577 if (!SWIG_IsOK(res1
)) {
27578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27580 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27581 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27582 if (!SWIG_IsOK(ecode2
)) {
27583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27585 arg2
= static_cast< int >(val2
);
27586 if (arg1
) (arg1
)->m_width
= arg2
;
27588 resultobj
= SWIG_Py_Void();
27595 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27596 PyObject
*resultobj
= 0;
27597 wxListItem
*arg1
= (wxListItem
*) 0 ;
27601 PyObject
*swig_obj
[1] ;
27603 if (!args
) SWIG_fail
;
27604 swig_obj
[0] = args
;
27605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27606 if (!SWIG_IsOK(res1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27609 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27610 result
= (int) ((arg1
)->m_width
);
27611 resultobj
= SWIG_From_int(static_cast< int >(result
));
27618 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27621 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27622 return SWIG_Py_Void();
27625 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27626 return SWIG_Python_InitShadowInstance(args
);
27629 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
= 0;
27631 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27632 int arg2
= (int) 0 ;
27633 wxListEvent
*result
= 0 ;
27638 PyObject
* obj0
= 0 ;
27639 PyObject
* obj1
= 0 ;
27640 char * kwnames
[] = {
27641 (char *) "commandType",(char *) "id", NULL
27644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27647 if (!SWIG_IsOK(ecode1
)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27650 arg1
= static_cast< wxEventType
>(val1
);
27653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27654 if (!SWIG_IsOK(ecode2
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27657 arg2
= static_cast< int >(val2
);
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27672 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27680 PyObject
*swig_obj
[2] ;
27682 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27687 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27688 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27689 if (!SWIG_IsOK(ecode2
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27692 arg2
= static_cast< int >(val2
);
27693 if (arg1
) (arg1
)->m_code
= arg2
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 PyObject
*resultobj
= 0;
27704 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27708 PyObject
*swig_obj
[1] ;
27710 if (!args
) SWIG_fail
;
27711 swig_obj
[0] = args
;
27712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27713 if (!SWIG_IsOK(res1
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27716 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27717 result
= (int) ((arg1
)->m_code
);
27718 resultobj
= SWIG_From_int(static_cast< int >(result
));
27725 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27726 PyObject
*resultobj
= 0;
27727 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27733 PyObject
*swig_obj
[2] ;
27735 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27740 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27741 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27742 if (!SWIG_IsOK(ecode2
)) {
27743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27745 arg2
= static_cast< long >(val2
);
27746 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27748 resultobj
= SWIG_Py_Void();
27755 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27756 PyObject
*resultobj
= 0;
27757 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27761 PyObject
*swig_obj
[1] ;
27763 if (!args
) SWIG_fail
;
27764 swig_obj
[0] = args
;
27765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27766 if (!SWIG_IsOK(res1
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27769 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27770 result
= (long) ((arg1
)->m_oldItemIndex
);
27771 resultobj
= SWIG_From_long(static_cast< long >(result
));
27778 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27779 PyObject
*resultobj
= 0;
27780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27786 PyObject
*swig_obj
[2] ;
27788 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27793 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27794 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27795 if (!SWIG_IsOK(ecode2
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27798 arg2
= static_cast< long >(val2
);
27799 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27801 resultobj
= SWIG_Py_Void();
27808 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27809 PyObject
*resultobj
= 0;
27810 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27814 PyObject
*swig_obj
[1] ;
27816 if (!args
) SWIG_fail
;
27817 swig_obj
[0] = args
;
27818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27819 if (!SWIG_IsOK(res1
)) {
27820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27822 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27823 result
= (long) ((arg1
)->m_itemIndex
);
27824 resultobj
= SWIG_From_long(static_cast< long >(result
));
27831 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27832 PyObject
*resultobj
= 0;
27833 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27839 PyObject
*swig_obj
[2] ;
27841 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27846 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27847 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27848 if (!SWIG_IsOK(ecode2
)) {
27849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27851 arg2
= static_cast< int >(val2
);
27852 if (arg1
) (arg1
)->m_col
= arg2
;
27854 resultobj
= SWIG_Py_Void();
27861 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27862 PyObject
*resultobj
= 0;
27863 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27867 PyObject
*swig_obj
[1] ;
27869 if (!args
) SWIG_fail
;
27870 swig_obj
[0] = args
;
27871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27872 if (!SWIG_IsOK(res1
)) {
27873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27875 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27876 result
= (int) ((arg1
)->m_col
);
27877 resultobj
= SWIG_From_int(static_cast< int >(result
));
27884 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27885 PyObject
*resultobj
= 0;
27886 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27887 wxPoint
*arg2
= (wxPoint
*) 0 ;
27892 PyObject
*swig_obj
[2] ;
27894 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27896 if (!SWIG_IsOK(res1
)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27899 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27900 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27901 if (!SWIG_IsOK(res2
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27904 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27905 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27907 resultobj
= SWIG_Py_Void();
27914 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27915 PyObject
*resultobj
= 0;
27916 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27917 wxPoint
*result
= 0 ;
27920 PyObject
*swig_obj
[1] ;
27922 if (!args
) SWIG_fail
;
27923 swig_obj
[0] = args
;
27924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27928 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27929 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27937 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27938 PyObject
*resultobj
= 0;
27939 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27940 wxListItem
*result
= 0 ;
27943 PyObject
*swig_obj
[1] ;
27945 if (!args
) SWIG_fail
;
27946 swig_obj
[0] = args
;
27947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27948 if (!SWIG_IsOK(res1
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27951 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27952 result
= (wxListItem
*)& ((arg1
)->m_item
);
27954 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27962 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27968 PyObject
*swig_obj
[1] ;
27970 if (!args
) SWIG_fail
;
27971 swig_obj
[0] = args
;
27972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27976 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (int)(arg1
)->GetKeyCode();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= SWIG_From_int(static_cast< int >(result
));
27990 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27991 PyObject
*resultobj
= 0;
27992 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27996 PyObject
*swig_obj
[1] ;
27998 if (!args
) SWIG_fail
;
27999 swig_obj
[0] = args
;
28000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28001 if (!SWIG_IsOK(res1
)) {
28002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28004 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= (long)(arg1
)->GetIndex();
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_From_long(static_cast< long >(result
));
28018 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28019 PyObject
*resultobj
= 0;
28020 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28024 PyObject
*swig_obj
[1] ;
28026 if (!args
) SWIG_fail
;
28027 swig_obj
[0] = args
;
28028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28032 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (int)(arg1
)->GetColumn();
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= SWIG_From_int(static_cast< int >(result
));
28046 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28047 PyObject
*resultobj
= 0;
28048 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28052 PyObject
*swig_obj
[1] ;
28054 if (!args
) SWIG_fail
;
28055 swig_obj
[0] = args
;
28056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28057 if (!SWIG_IsOK(res1
)) {
28058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28060 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (arg1
)->GetPoint();
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28074 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28077 wxString
*result
= 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28088 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 wxString
const &_result_ref
= (arg1
)->GetLabel();
28093 result
= (wxString
*) &_result_ref
;
28095 wxPyEndAllowThreads(__tstate
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28102 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28111 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28112 PyObject
*resultobj
= 0;
28113 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28114 wxString
*result
= 0 ;
28117 PyObject
*swig_obj
[1] ;
28119 if (!args
) SWIG_fail
;
28120 swig_obj
[0] = args
;
28121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28122 if (!SWIG_IsOK(res1
)) {
28123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28125 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 wxString
const &_result_ref
= (arg1
)->GetText();
28130 result
= (wxString
*) &_result_ref
;
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28139 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28148 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 PyObject
*resultobj
= 0;
28150 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28154 PyObject
*swig_obj
[1] ;
28156 if (!args
) SWIG_fail
;
28157 swig_obj
[0] = args
;
28158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28159 if (!SWIG_IsOK(res1
)) {
28160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28162 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (int)(arg1
)->GetImage();
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_From_int(static_cast< int >(result
));
28176 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28177 PyObject
*resultobj
= 0;
28178 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28182 PyObject
*swig_obj
[1] ;
28184 if (!args
) SWIG_fail
;
28185 swig_obj
[0] = args
;
28186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28187 if (!SWIG_IsOK(res1
)) {
28188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28190 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 result
= (long)(arg1
)->GetData();
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28197 resultobj
= SWIG_From_long(static_cast< long >(result
));
28204 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28205 PyObject
*resultobj
= 0;
28206 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28210 PyObject
*swig_obj
[1] ;
28212 if (!args
) SWIG_fail
;
28213 swig_obj
[0] = args
;
28214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28215 if (!SWIG_IsOK(res1
)) {
28216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28218 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 result
= (long)(arg1
)->GetMask();
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28225 resultobj
= SWIG_From_long(static_cast< long >(result
));
28232 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28233 PyObject
*resultobj
= 0;
28234 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28235 wxListItem
*result
= 0 ;
28238 PyObject
*swig_obj
[1] ;
28240 if (!args
) SWIG_fail
;
28241 swig_obj
[0] = args
;
28242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28246 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28251 result
= (wxListItem
*) &_result_ref
;
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28263 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28264 PyObject
*resultobj
= 0;
28265 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28269 PyObject
*swig_obj
[1] ;
28271 if (!args
) SWIG_fail
;
28272 swig_obj
[0] = args
;
28273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28277 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 result
= (long)(arg1
)->GetCacheFrom();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= SWIG_From_long(static_cast< long >(result
));
28291 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28292 PyObject
*resultobj
= 0;
28293 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28297 PyObject
*swig_obj
[1] ;
28299 if (!args
) SWIG_fail
;
28300 swig_obj
[0] = args
;
28301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28302 if (!SWIG_IsOK(res1
)) {
28303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28305 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= (long)(arg1
)->GetCacheTo();
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= SWIG_From_long(static_cast< long >(result
));
28319 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 PyObject
*resultobj
= 0;
28321 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28325 PyObject
*swig_obj
[1] ;
28327 if (!args
) SWIG_fail
;
28328 swig_obj
[0] = args
;
28329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28330 if (!SWIG_IsOK(res1
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28333 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28349 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
= 0;
28351 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 char * kwnames
[] = {
28360 (char *) "self",(char *) "editCancelled", NULL
28363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28368 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28369 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28370 if (!SWIG_IsOK(ecode2
)) {
28371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28373 arg2
= static_cast< bool >(val2
);
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 (arg1
)->SetEditCanceled(arg2
);
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= SWIG_Py_Void();
28387 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28390 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28391 return SWIG_Py_Void();
28394 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 return SWIG_Python_InitShadowInstance(args
);
28398 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
= 0;
28400 wxWindow
*arg1
= (wxWindow
*) 0 ;
28401 int arg2
= (int) -1 ;
28402 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28403 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28404 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28405 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28406 long arg5
= (long) wxLC_ICON
;
28407 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28408 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28409 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28411 wxPyListCtrl
*result
= 0 ;
28422 bool temp7
= false ;
28423 PyObject
* obj0
= 0 ;
28424 PyObject
* obj1
= 0 ;
28425 PyObject
* obj2
= 0 ;
28426 PyObject
* obj3
= 0 ;
28427 PyObject
* obj4
= 0 ;
28428 PyObject
* obj5
= 0 ;
28429 PyObject
* obj6
= 0 ;
28430 char * kwnames
[] = {
28431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28442 if (!SWIG_IsOK(ecode2
)) {
28443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28445 arg2
= static_cast< int >(val2
);
28450 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28456 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28460 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28461 if (!SWIG_IsOK(ecode5
)) {
28462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28464 arg5
= static_cast< long >(val5
);
28467 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28468 if (!SWIG_IsOK(res6
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28474 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28478 arg7
= wxString_in_helper(obj6
);
28479 if (arg7
== NULL
) SWIG_fail
;
28484 if (!wxPyCheckForApp()) SWIG_fail
;
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28505 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 PyObject
*resultobj
= 0;
28507 wxPyListCtrl
*result
= 0 ;
28509 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28511 if (!wxPyCheckForApp()) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28524 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
= 0;
28526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28527 wxWindow
*arg2
= (wxWindow
*) 0 ;
28528 int arg3
= (int) -1 ;
28529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28533 long arg6
= (long) wxLC_ICON
;
28534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28536 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28551 bool temp8
= false ;
28552 PyObject
* obj0
= 0 ;
28553 PyObject
* obj1
= 0 ;
28554 PyObject
* obj2
= 0 ;
28555 PyObject
* obj3
= 0 ;
28556 PyObject
* obj4
= 0 ;
28557 PyObject
* obj5
= 0 ;
28558 PyObject
* obj6
= 0 ;
28559 PyObject
* obj7
= 0 ;
28560 char * kwnames
[] = {
28561 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28566 if (!SWIG_IsOK(res1
)) {
28567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28571 if (!SWIG_IsOK(res2
)) {
28572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28577 if (!SWIG_IsOK(ecode3
)) {
28578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28580 arg3
= static_cast< int >(val3
);
28585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28595 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28596 if (!SWIG_IsOK(ecode6
)) {
28597 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28599 arg6
= static_cast< long >(val6
);
28602 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28603 if (!SWIG_IsOK(res7
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28609 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28613 arg8
= wxString_in_helper(obj7
);
28614 if (arg8
== NULL
) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28641 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
= 0;
28643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28644 PyObject
*arg2
= (PyObject
*) 0 ;
28645 PyObject
*arg3
= (PyObject
*) 0 ;
28648 PyObject
* obj0
= 0 ;
28649 PyObject
* obj1
= 0 ;
28650 PyObject
* obj2
= 0 ;
28651 char * kwnames
[] = {
28652 (char *) "self",(char *) "self",(char *) "_class", NULL
28655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= SWIG_Py_Void();
28676 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
= 0;
28678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28680 wxListItem
*result
= 0 ;
28685 PyObject
* obj0
= 0 ;
28686 PyObject
* obj1
= 0 ;
28687 char * kwnames
[] = {
28688 (char *) "self",(char *) "col", NULL
28691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28693 if (!SWIG_IsOK(res1
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28698 if (!SWIG_IsOK(ecode2
)) {
28699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28701 arg2
= static_cast< int >(val2
);
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28717 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
= 0;
28719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28721 wxListItem
*arg3
= 0 ;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 PyObject
* obj2
= 0 ;
28732 char * kwnames
[] = {
28733 (char *) "self",(char *) "col",(char *) "item", NULL
28736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28738 if (!SWIG_IsOK(res1
)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28741 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28743 if (!SWIG_IsOK(ecode2
)) {
28744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28746 arg2
= static_cast< int >(val2
);
28747 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28748 if (!SWIG_IsOK(res3
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28754 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28770 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
= 0;
28772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 char * kwnames
[] = {
28782 (char *) "self",(char *) "col", NULL
28785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28790 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28792 if (!SWIG_IsOK(ecode2
)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28795 arg2
= static_cast< int >(val2
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_From_int(static_cast< int >(result
));
28809 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
= 0;
28811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28821 PyObject
* obj0
= 0 ;
28822 PyObject
* obj1
= 0 ;
28823 PyObject
* obj2
= 0 ;
28824 char * kwnames
[] = {
28825 (char *) "self",(char *) "col",(char *) "width", NULL
28828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28833 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28835 if (!SWIG_IsOK(ecode2
)) {
28836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28838 arg2
= static_cast< int >(val2
);
28839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28840 if (!SWIG_IsOK(ecode3
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28843 arg3
= static_cast< int >(val3
);
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28859 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28860 PyObject
*resultobj
= 0;
28861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28865 PyObject
*swig_obj
[1] ;
28867 if (!args
) SWIG_fail
;
28868 swig_obj
[0] = args
;
28869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28870 if (!SWIG_IsOK(res1
)) {
28871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28873 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 resultobj
= SWIG_From_int(static_cast< int >(result
));
28887 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28888 PyObject
*resultobj
= 0;
28889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28893 PyObject
*swig_obj
[1] ;
28895 if (!args
) SWIG_fail
;
28896 swig_obj
[0] = args
;
28897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28915 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28916 PyObject
*resultobj
= 0;
28917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28918 wxTextCtrl
*result
= 0 ;
28921 PyObject
*swig_obj
[1] ;
28923 if (!args
) SWIG_fail
;
28924 swig_obj
[0] = args
;
28925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28926 if (!SWIG_IsOK(res1
)) {
28927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28929 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28937 resultobj
= wxPyMake_wxObject(result
, 0);
28945 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
= 0;
28947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28949 int arg3
= (int) 0 ;
28950 wxListItem
*result
= 0 ;
28957 PyObject
* obj0
= 0 ;
28958 PyObject
* obj1
= 0 ;
28959 PyObject
* obj2
= 0 ;
28960 char * kwnames
[] = {
28961 (char *) "self",(char *) "itemId",(char *) "col", NULL
28964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28971 if (!SWIG_IsOK(ecode2
)) {
28972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28974 arg2
= static_cast< long >(val2
);
28976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28977 if (!SWIG_IsOK(ecode3
)) {
28978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28980 arg3
= static_cast< int >(val3
);
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28997 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28998 PyObject
*resultobj
= 0;
28999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29000 wxListItem
*arg2
= 0 ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 char * kwnames
[] = {
29009 (char *) "self",(char *) "info", NULL
29012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29014 if (!SWIG_IsOK(res1
)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29017 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29019 if (!SWIG_IsOK(res2
)) {
29020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29025 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 result
= (bool)(arg1
)->SetItem(*arg2
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29041 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
= 0;
29043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29046 wxString
*arg4
= 0 ;
29047 int arg5
= (int) -1 ;
29055 bool temp4
= false ;
29058 PyObject
* obj0
= 0 ;
29059 PyObject
* obj1
= 0 ;
29060 PyObject
* obj2
= 0 ;
29061 PyObject
* obj3
= 0 ;
29062 PyObject
* obj4
= 0 ;
29063 char * kwnames
[] = {
29064 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29072 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29073 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29074 if (!SWIG_IsOK(ecode2
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29077 arg2
= static_cast< long >(val2
);
29078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29079 if (!SWIG_IsOK(ecode3
)) {
29080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29082 arg3
= static_cast< int >(val3
);
29084 arg4
= wxString_in_helper(obj3
);
29085 if (arg4
== NULL
) SWIG_fail
;
29089 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29090 if (!SWIG_IsOK(ecode5
)) {
29091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29093 arg5
= static_cast< int >(val5
);
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 resultobj
= SWIG_From_long(static_cast< long >(result
));
29116 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
= 0;
29118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 PyObject
* obj2
= 0 ;
29131 char * kwnames
[] = {
29132 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29137 if (!SWIG_IsOK(res1
)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29140 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29141 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29142 if (!SWIG_IsOK(ecode2
)) {
29143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29145 arg2
= static_cast< long >(val2
);
29146 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29147 if (!SWIG_IsOK(ecode3
)) {
29148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29150 arg3
= static_cast< long >(val3
);
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_From_int(static_cast< int >(result
));
29164 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
= 0;
29166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 PyObject
* obj2
= 0 ;
29182 PyObject
* obj3
= 0 ;
29183 char * kwnames
[] = {
29184 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29189 if (!SWIG_IsOK(res1
)) {
29190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29192 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29193 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29194 if (!SWIG_IsOK(ecode2
)) {
29195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29197 arg2
= static_cast< long >(val2
);
29198 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29199 if (!SWIG_IsOK(ecode3
)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29202 arg3
= static_cast< long >(val3
);
29203 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29204 if (!SWIG_IsOK(ecode4
)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29207 arg4
= static_cast< long >(val4
);
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29210 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29223 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
= 0;
29225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29228 int arg4
= (int) -1 ;
29238 PyObject
* obj0
= 0 ;
29239 PyObject
* obj1
= 0 ;
29240 PyObject
* obj2
= 0 ;
29241 PyObject
* obj3
= 0 ;
29242 char * kwnames
[] = {
29243 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29248 if (!SWIG_IsOK(res1
)) {
29249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29251 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29252 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29253 if (!SWIG_IsOK(ecode2
)) {
29254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29256 arg2
= static_cast< long >(val2
);
29257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29258 if (!SWIG_IsOK(ecode3
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29261 arg3
= static_cast< int >(val3
);
29263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29264 if (!SWIG_IsOK(ecode4
)) {
29265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29267 arg4
= static_cast< int >(val4
);
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29272 wxPyEndAllowThreads(__tstate
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29284 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
= 0;
29286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29299 PyObject
* obj0
= 0 ;
29300 PyObject
* obj1
= 0 ;
29301 PyObject
* obj2
= 0 ;
29302 PyObject
* obj3
= 0 ;
29303 char * kwnames
[] = {
29304 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29309 if (!SWIG_IsOK(res1
)) {
29310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29313 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29314 if (!SWIG_IsOK(ecode2
)) {
29315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29317 arg2
= static_cast< long >(val2
);
29318 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29319 if (!SWIG_IsOK(ecode3
)) {
29320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29322 arg3
= static_cast< long >(val3
);
29323 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29324 if (!SWIG_IsOK(ecode4
)) {
29325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29327 arg4
= static_cast< int >(val4
);
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29343 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
= 0;
29345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29352 PyObject
* obj0
= 0 ;
29353 PyObject
* obj1
= 0 ;
29354 char * kwnames
[] = {
29355 (char *) "self",(char *) "item", NULL
29358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29360 if (!SWIG_IsOK(res1
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29363 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29364 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29365 if (!SWIG_IsOK(ecode2
)) {
29366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29368 arg2
= static_cast< long >(val2
);
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29388 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
= 0;
29390 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29392 wxString
*arg3
= 0 ;
29397 bool temp3
= false ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 PyObject
* obj2
= 0 ;
29401 char * kwnames
[] = {
29402 (char *) "self",(char *) "item",(char *) "str", NULL
29405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29407 if (!SWIG_IsOK(res1
)) {
29408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29410 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29411 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29412 if (!SWIG_IsOK(ecode2
)) {
29413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29415 arg2
= static_cast< long >(val2
);
29417 arg3
= wxString_in_helper(obj2
);
29418 if (arg3
== NULL
) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29424 wxPyEndAllowThreads(__tstate
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= SWIG_Py_Void();
29442 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
= 0;
29444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29451 PyObject
* obj0
= 0 ;
29452 PyObject
* obj1
= 0 ;
29453 char * kwnames
[] = {
29454 (char *) "self",(char *) "item", NULL
29457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29459 if (!SWIG_IsOK(res1
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29462 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29463 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29464 if (!SWIG_IsOK(ecode2
)) {
29465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29467 arg2
= static_cast< long >(val2
);
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_From_long(static_cast< long >(result
));
29481 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
= 0;
29483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 PyObject
* obj2
= 0 ;
29496 char * kwnames
[] = {
29497 (char *) "self",(char *) "item",(char *) "data", NULL
29500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29505 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29506 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29507 if (!SWIG_IsOK(ecode2
)) {
29508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29510 arg2
= static_cast< long >(val2
);
29511 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29512 if (!SWIG_IsOK(ecode3
)) {
29513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29515 arg3
= static_cast< long >(val3
);
29517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29518 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29531 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
= 0;
29533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29540 PyObject
* obj0
= 0 ;
29541 PyObject
* obj1
= 0 ;
29542 char * kwnames
[] = {
29543 (char *) "self",(char *) "item", NULL
29546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29548 if (!SWIG_IsOK(res1
)) {
29549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29551 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29553 if (!SWIG_IsOK(ecode2
)) {
29554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29556 arg2
= static_cast< long >(val2
);
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29570 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29571 PyObject
*resultobj
= 0;
29572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29574 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 char * kwnames
[] = {
29586 (char *) "self",(char *) "item",(char *) "code", NULL
29589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29591 if (!SWIG_IsOK(res1
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29594 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29595 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29596 if (!SWIG_IsOK(ecode2
)) {
29597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29599 arg2
= static_cast< long >(val2
);
29601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29602 if (!SWIG_IsOK(ecode3
)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29605 arg3
= static_cast< int >(val3
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29620 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29624 wxPoint
*arg3
= 0 ;
29631 PyObject
* obj0
= 0 ;
29632 PyObject
* obj1
= 0 ;
29633 PyObject
* obj2
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "item",(char *) "pos", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29644 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29645 if (!SWIG_IsOK(ecode2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29648 arg2
= static_cast< long >(val2
);
29651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29656 wxPyEndAllowThreads(__tstate
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29668 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29669 PyObject
*resultobj
= 0;
29670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29674 PyObject
*swig_obj
[1] ;
29676 if (!args
) SWIG_fail
;
29677 swig_obj
[0] = args
;
29678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29679 if (!SWIG_IsOK(res1
)) {
29680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29682 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= SWIG_From_int(static_cast< int >(result
));
29696 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29697 PyObject
*resultobj
= 0;
29698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29702 PyObject
*swig_obj
[1] ;
29704 if (!args
) SWIG_fail
;
29705 swig_obj
[0] = args
;
29706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29707 if (!SWIG_IsOK(res1
)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29710 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 resultobj
= SWIG_From_int(static_cast< int >(result
));
29724 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29725 PyObject
*resultobj
= 0;
29726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29730 PyObject
*swig_obj
[1] ;
29732 if (!args
) SWIG_fail
;
29733 swig_obj
[0] = args
;
29734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29738 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29752 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
= 0;
29754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29756 bool arg3
= (bool) false ;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 PyObject
* obj2
= 0 ;
29766 char * kwnames
[] = {
29767 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29772 if (!SWIG_IsOK(res1
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29775 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29777 if (!SWIG_IsOK(ecode2
)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29780 arg2
= static_cast< int >(val2
);
29782 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29783 if (!SWIG_IsOK(ecode3
)) {
29784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29786 arg3
= static_cast< bool >(val3
);
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 (arg1
)->SetItemSpacing(arg2
,arg3
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_Py_Void();
29801 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29802 PyObject
*resultobj
= 0;
29803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29807 PyObject
*swig_obj
[1] ;
29809 if (!args
) SWIG_fail
;
29810 swig_obj
[0] = args
;
29811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29815 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= SWIG_From_int(static_cast< int >(result
));
29829 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29830 PyObject
*resultobj
= 0;
29831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29835 PyObject
*swig_obj
[1] ;
29837 if (!args
) SWIG_fail
;
29838 swig_obj
[0] = args
;
29839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29840 if (!SWIG_IsOK(res1
)) {
29841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29843 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29857 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
= 0;
29859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29860 wxColour
*arg2
= 0 ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 char * kwnames
[] = {
29867 (char *) "self",(char *) "col", NULL
29870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29875 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29878 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29882 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= SWIG_Py_Void();
29893 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29894 PyObject
*resultobj
= 0;
29895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29899 PyObject
*swig_obj
[1] ;
29901 if (!args
) SWIG_fail
;
29902 swig_obj
[0] = args
;
29903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29904 if (!SWIG_IsOK(res1
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29907 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= SWIG_From_long(static_cast< long >(result
));
29921 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
= 0;
29923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29925 bool arg3
= (bool) true ;
29932 PyObject
* obj0
= 0 ;
29933 PyObject
* obj1
= 0 ;
29934 PyObject
* obj2
= 0 ;
29935 char * kwnames
[] = {
29936 (char *) "self",(char *) "style",(char *) "add", NULL
29939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29941 if (!SWIG_IsOK(res1
)) {
29942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29944 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29945 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29946 if (!SWIG_IsOK(ecode2
)) {
29947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29949 arg2
= static_cast< long >(val2
);
29951 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29952 if (!SWIG_IsOK(ecode3
)) {
29953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29955 arg3
= static_cast< bool >(val3
);
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29959 (arg1
)->SetSingleStyle(arg2
,arg3
);
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= SWIG_Py_Void();
29970 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
= 0;
29972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29974 int arg3
= (int) wxLIST_NEXT_ALL
;
29975 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 PyObject
* obj2
= 0 ;
29988 PyObject
* obj3
= 0 ;
29989 char * kwnames
[] = {
29990 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29995 if (!SWIG_IsOK(res1
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29999 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30000 if (!SWIG_IsOK(ecode2
)) {
30001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30003 arg2
= static_cast< long >(val2
);
30005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30006 if (!SWIG_IsOK(ecode3
)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30009 arg3
= static_cast< int >(val3
);
30012 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30013 if (!SWIG_IsOK(ecode4
)) {
30014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30016 arg4
= static_cast< int >(val4
);
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30024 resultobj
= SWIG_From_long(static_cast< long >(result
));
30031 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
= 0;
30033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30035 wxImageList
*result
= 0 ;
30040 PyObject
* obj0
= 0 ;
30041 PyObject
* obj1
= 0 ;
30042 char * kwnames
[] = {
30043 (char *) "self",(char *) "which", NULL
30046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30051 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30053 if (!SWIG_IsOK(ecode2
)) {
30054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30056 arg2
= static_cast< int >(val2
);
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30072 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
= 0;
30074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30075 wxImageList
*arg2
= (wxImageList
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 PyObject
* obj1
= 0 ;
30085 PyObject
* obj2
= 0 ;
30086 char * kwnames
[] = {
30087 (char *) "self",(char *) "imageList",(char *) "which", NULL
30090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30097 if (!SWIG_IsOK(res2
)) {
30098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30100 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30102 if (!SWIG_IsOK(ecode3
)) {
30103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30105 arg3
= static_cast< int >(val3
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 (arg1
)->SetImageList(arg2
,arg3
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_Py_Void();
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30122 wxImageList
*arg2
= (wxImageList
*) 0 ;
30129 PyObject
* obj0
= 0 ;
30130 PyObject
* obj1
= 0 ;
30131 PyObject
* obj2
= 0 ;
30132 char * kwnames
[] = {
30133 (char *) "self",(char *) "imageList",(char *) "which", NULL
30136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30141 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30142 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30143 if (!SWIG_IsOK(res2
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30147 if (!SWIG_IsOK(ecode3
)) {
30148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30150 arg3
= static_cast< int >(val3
);
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->AssignImageList(arg2
,arg3
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 resultobj
= SWIG_Py_Void();
30164 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30165 PyObject
*resultobj
= 0;
30166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30170 PyObject
*swig_obj
[1] ;
30172 if (!args
) SWIG_fail
;
30173 swig_obj
[0] = args
;
30174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30175 if (!SWIG_IsOK(res1
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30178 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30194 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30195 PyObject
*resultobj
= 0;
30196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30200 PyObject
*swig_obj
[1] ;
30202 if (!args
) SWIG_fail
;
30203 swig_obj
[0] = args
;
30204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30205 if (!SWIG_IsOK(res1
)) {
30206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30208 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30224 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
= 0;
30226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30232 PyObject
* obj0
= 0 ;
30233 PyObject
* obj1
= 0 ;
30234 char * kwnames
[] = {
30235 (char *) "self",(char *) "item", NULL
30238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30240 if (!SWIG_IsOK(res1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30243 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30244 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30245 if (!SWIG_IsOK(ecode2
)) {
30246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30248 arg2
= static_cast< long >(val2
);
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 (arg1
)->RefreshItem(arg2
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_Py_Void();
30262 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
= 0;
30264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30273 PyObject
* obj0
= 0 ;
30274 PyObject
* obj1
= 0 ;
30275 PyObject
* obj2
= 0 ;
30276 char * kwnames
[] = {
30277 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30282 if (!SWIG_IsOK(res1
)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30285 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30287 if (!SWIG_IsOK(ecode2
)) {
30288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30290 arg2
= static_cast< long >(val2
);
30291 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30292 if (!SWIG_IsOK(ecode3
)) {
30293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30295 arg3
= static_cast< long >(val3
);
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 (arg1
)->RefreshItems(arg2
,arg3
);
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_Py_Void();
30309 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
= 0;
30311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30312 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 char * kwnames
[] = {
30321 (char *) "self",(char *) "flag", NULL
30324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30326 if (!SWIG_IsOK(res1
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30329 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30332 if (!SWIG_IsOK(ecode2
)) {
30333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30335 arg2
= static_cast< int >(val2
);
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)(arg1
)->Arrange(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30352 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
= 0;
30354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30361 PyObject
* obj0
= 0 ;
30362 PyObject
* obj1
= 0 ;
30363 char * kwnames
[] = {
30364 (char *) "self",(char *) "item", NULL
30367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30369 if (!SWIG_IsOK(res1
)) {
30370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30373 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30374 if (!SWIG_IsOK(ecode2
)) {
30375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30377 arg2
= static_cast< long >(val2
);
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 result
= (bool)(arg1
)->DeleteItem(arg2
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30393 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30394 PyObject
*resultobj
= 0;
30395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30399 PyObject
*swig_obj
[1] ;
30401 if (!args
) SWIG_fail
;
30402 swig_obj
[0] = args
;
30403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30404 if (!SWIG_IsOK(res1
)) {
30405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30407 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (bool)(arg1
)->DeleteAllItems();
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30423 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
= 0;
30425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 char * kwnames
[] = {
30435 (char *) "self",(char *) "col", NULL
30438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30445 if (!SWIG_IsOK(ecode2
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30448 arg2
= static_cast< int >(val2
);
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30464 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30465 PyObject
*resultobj
= 0;
30466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30470 PyObject
*swig_obj
[1] ;
30472 if (!args
) SWIG_fail
;
30473 swig_obj
[0] = args
;
30474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30478 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 result
= (bool)(arg1
)->DeleteAllColumns();
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30494 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30495 PyObject
*resultobj
= 0;
30496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30499 PyObject
*swig_obj
[1] ;
30501 if (!args
) SWIG_fail
;
30502 swig_obj
[0] = args
;
30503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30504 if (!SWIG_IsOK(res1
)) {
30505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30507 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 (arg1
)->ClearAll();
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 resultobj
= SWIG_Py_Void();
30521 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
= 0;
30523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char * kwnames
[] = {
30532 (char *) "self",(char *) "item", NULL
30535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30540 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30541 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30542 if (!SWIG_IsOK(ecode2
)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30545 arg2
= static_cast< long >(val2
);
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 (arg1
)->EditLabel(arg2
);
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 resultobj
= SWIG_Py_Void();
30559 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
= 0;
30561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30568 PyObject
* obj0
= 0 ;
30569 PyObject
* obj1
= 0 ;
30570 char * kwnames
[] = {
30571 (char *) "self",(char *) "item", NULL
30574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30576 if (!SWIG_IsOK(res1
)) {
30577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30579 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30581 if (!SWIG_IsOK(ecode2
)) {
30582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30584 arg2
= static_cast< long >(val2
);
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30600 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
= 0;
30602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30604 wxString
*arg3
= 0 ;
30605 bool arg4
= (bool) false ;
30611 bool temp3
= false ;
30614 PyObject
* obj0
= 0 ;
30615 PyObject
* obj1
= 0 ;
30616 PyObject
* obj2
= 0 ;
30617 PyObject
* obj3
= 0 ;
30618 char * kwnames
[] = {
30619 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30627 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30628 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30629 if (!SWIG_IsOK(ecode2
)) {
30630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30632 arg2
= static_cast< long >(val2
);
30634 arg3
= wxString_in_helper(obj2
);
30635 if (arg3
== NULL
) SWIG_fail
;
30639 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30640 if (!SWIG_IsOK(ecode4
)) {
30641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30643 arg4
= static_cast< bool >(val4
);
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= SWIG_From_long(static_cast< long >(result
));
30666 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
= 0;
30668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30678 PyObject
* obj0
= 0 ;
30679 PyObject
* obj1
= 0 ;
30680 PyObject
* obj2
= 0 ;
30681 char * kwnames
[] = {
30682 (char *) "self",(char *) "start",(char *) "data", NULL
30685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30687 if (!SWIG_IsOK(res1
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30690 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30691 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30692 if (!SWIG_IsOK(ecode2
)) {
30693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30695 arg2
= static_cast< long >(val2
);
30696 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30697 if (!SWIG_IsOK(ecode3
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30700 arg3
= static_cast< long >(val3
);
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30707 resultobj
= SWIG_From_long(static_cast< long >(result
));
30714 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
= 0;
30716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30718 wxPoint
*arg3
= 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 PyObject
* obj2
= 0 ;
30731 PyObject
* obj3
= 0 ;
30732 char * kwnames
[] = {
30733 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30738 if (!SWIG_IsOK(res1
)) {
30739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30741 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30742 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30743 if (!SWIG_IsOK(ecode2
)) {
30744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30746 arg2
= static_cast< long >(val2
);
30749 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30752 if (!SWIG_IsOK(ecode4
)) {
30753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30755 arg4
= static_cast< int >(val4
);
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30762 resultobj
= SWIG_From_long(static_cast< long >(result
));
30769 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30770 PyObject
*resultobj
= 0;
30771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30772 wxPoint
*arg2
= 0 ;
30779 int res3
= SWIG_TMPOBJ
;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 char * kwnames
[] = {
30783 (char *) "self",(char *) "point", NULL
30787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30789 if (!SWIG_IsOK(res1
)) {
30790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30792 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_From_long(static_cast< long >(result
));
30804 if (SWIG_IsTmpObj(res3
)) {
30805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30807 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30816 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30817 PyObject
*resultobj
= 0;
30818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30819 wxListItem
*arg2
= 0 ;
30825 PyObject
* obj0
= 0 ;
30826 PyObject
* obj1
= 0 ;
30827 char * kwnames
[] = {
30828 (char *) "self",(char *) "info", NULL
30831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30833 if (!SWIG_IsOK(res1
)) {
30834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30836 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30838 if (!SWIG_IsOK(res2
)) {
30839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30844 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30847 result
= (long)(arg1
)->InsertItem(*arg2
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_From_long(static_cast< long >(result
));
30858 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
= 0;
30860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30862 wxString
*arg3
= 0 ;
30863 int arg4
= (int) -1 ;
30869 bool temp3
= false ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 PyObject
* obj2
= 0 ;
30875 PyObject
* obj3
= 0 ;
30876 char * kwnames
[] = {
30877 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30882 if (!SWIG_IsOK(res1
)) {
30883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30885 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30887 if (!SWIG_IsOK(ecode2
)) {
30888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30890 arg2
= static_cast< long >(val2
);
30892 arg3
= wxString_in_helper(obj2
);
30893 if (arg3
== NULL
) SWIG_fail
;
30897 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30898 if (!SWIG_IsOK(ecode4
)) {
30899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30901 arg4
= static_cast< int >(val4
);
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_From_long(static_cast< long >(result
));
30924 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
= 0;
30926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30936 PyObject
* obj0
= 0 ;
30937 PyObject
* obj1
= 0 ;
30938 PyObject
* obj2
= 0 ;
30939 char * kwnames
[] = {
30940 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30945 if (!SWIG_IsOK(res1
)) {
30946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30948 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30949 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30950 if (!SWIG_IsOK(ecode2
)) {
30951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30953 arg2
= static_cast< long >(val2
);
30954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30955 if (!SWIG_IsOK(ecode3
)) {
30956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30958 arg3
= static_cast< int >(val3
);
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= SWIG_From_long(static_cast< long >(result
));
30972 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
= 0;
30974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30976 wxString
*arg3
= 0 ;
30983 bool temp3
= false ;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 PyObject
* obj2
= 0 ;
30989 PyObject
* obj3
= 0 ;
30990 char * kwnames
[] = {
30991 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30996 if (!SWIG_IsOK(res1
)) {
30997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31001 if (!SWIG_IsOK(ecode2
)) {
31002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31004 arg2
= static_cast< long >(val2
);
31006 arg3
= wxString_in_helper(obj2
);
31007 if (arg3
== NULL
) SWIG_fail
;
31010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31011 if (!SWIG_IsOK(ecode4
)) {
31012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31014 arg4
= static_cast< int >(val4
);
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= SWIG_From_long(static_cast< long >(result
));
31036 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31040 wxListItem
*arg3
= 0 ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 PyObject
* obj2
= 0 ;
31051 char * kwnames
[] = {
31052 (char *) "self",(char *) "col",(char *) "info", NULL
31055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31057 if (!SWIG_IsOK(res1
)) {
31058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31060 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31062 if (!SWIG_IsOK(ecode2
)) {
31063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31065 arg2
= static_cast< long >(val2
);
31066 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31067 if (!SWIG_IsOK(res3
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31073 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= SWIG_From_long(static_cast< long >(result
));
31087 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
= 0;
31089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31091 wxString
*arg3
= 0 ;
31092 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31093 int arg5
= (int) -1 ;
31099 bool temp3
= false ;
31104 PyObject
* obj0
= 0 ;
31105 PyObject
* obj1
= 0 ;
31106 PyObject
* obj2
= 0 ;
31107 PyObject
* obj3
= 0 ;
31108 PyObject
* obj4
= 0 ;
31109 char * kwnames
[] = {
31110 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31115 if (!SWIG_IsOK(res1
)) {
31116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31118 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31120 if (!SWIG_IsOK(ecode2
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31123 arg2
= static_cast< long >(val2
);
31125 arg3
= wxString_in_helper(obj2
);
31126 if (arg3
== NULL
) SWIG_fail
;
31130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31131 if (!SWIG_IsOK(ecode4
)) {
31132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31134 arg4
= static_cast< int >(val4
);
31137 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31138 if (!SWIG_IsOK(ecode5
)) {
31139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31141 arg5
= static_cast< int >(val5
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_From_long(static_cast< long >(result
));
31164 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
= 0;
31166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 char * kwnames
[] = {
31175 (char *) "self",(char *) "count", NULL
31178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31180 if (!SWIG_IsOK(res1
)) {
31181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31183 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31184 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31185 if (!SWIG_IsOK(ecode2
)) {
31186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31188 arg2
= static_cast< long >(val2
);
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 (arg1
)->SetItemCount(arg2
);
31192 wxPyEndAllowThreads(__tstate
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31195 resultobj
= SWIG_Py_Void();
31202 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
= 0;
31204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31214 PyObject
* obj0
= 0 ;
31215 PyObject
* obj1
= 0 ;
31216 PyObject
* obj2
= 0 ;
31217 char * kwnames
[] = {
31218 (char *) "self",(char *) "dx",(char *) "dy", NULL
31221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31223 if (!SWIG_IsOK(res1
)) {
31224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31226 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31228 if (!SWIG_IsOK(ecode2
)) {
31229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31231 arg2
= static_cast< int >(val2
);
31232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31233 if (!SWIG_IsOK(ecode3
)) {
31234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31236 arg3
= static_cast< int >(val3
);
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31252 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
= 0;
31254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31256 wxColour
*arg3
= 0 ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 PyObject
* obj2
= 0 ;
31265 char * kwnames
[] = {
31266 (char *) "self",(char *) "item",(char *) "col", NULL
31269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31271 if (!SWIG_IsOK(res1
)) {
31272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31274 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31275 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31276 if (!SWIG_IsOK(ecode2
)) {
31277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31279 arg2
= static_cast< long >(val2
);
31282 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= SWIG_Py_Void();
31297 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
= 0;
31299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31306 PyObject
* obj0
= 0 ;
31307 PyObject
* obj1
= 0 ;
31308 char * kwnames
[] = {
31309 (char *) "self",(char *) "item", NULL
31312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31314 if (!SWIG_IsOK(res1
)) {
31315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31317 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31318 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31319 if (!SWIG_IsOK(ecode2
)) {
31320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31322 arg2
= static_cast< long >(val2
);
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31336 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
= 0;
31338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31340 wxColour
*arg3
= 0 ;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 PyObject
* obj2
= 0 ;
31349 char * kwnames
[] = {
31350 (char *) "self",(char *) "item",(char *) "col", NULL
31353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31355 if (!SWIG_IsOK(res1
)) {
31356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31358 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31359 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31360 if (!SWIG_IsOK(ecode2
)) {
31361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31363 arg2
= static_cast< long >(val2
);
31366 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= SWIG_Py_Void();
31381 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31390 PyObject
* obj0
= 0 ;
31391 PyObject
* obj1
= 0 ;
31392 char * kwnames
[] = {
31393 (char *) "self",(char *) "item", NULL
31396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31398 if (!SWIG_IsOK(res1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31401 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31402 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31403 if (!SWIG_IsOK(ecode2
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31406 arg2
= static_cast< long >(val2
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31420 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 PyObject
* obj2
= 0 ;
31434 char * kwnames
[] = {
31435 (char *) "self",(char *) "item",(char *) "f", NULL
31438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31440 if (!SWIG_IsOK(res1
)) {
31441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31444 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31445 if (!SWIG_IsOK(ecode2
)) {
31446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31448 arg2
= static_cast< long >(val2
);
31449 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31450 if (!SWIG_IsOK(res3
)) {
31451 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31456 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31463 resultobj
= SWIG_Py_Void();
31470 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31471 PyObject
*resultobj
= 0;
31472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 char * kwnames
[] = {
31482 (char *) "self",(char *) "item", NULL
31485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31487 if (!SWIG_IsOK(res1
)) {
31488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31490 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31491 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31492 if (!SWIG_IsOK(ecode2
)) {
31493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31495 arg2
= static_cast< long >(val2
);
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31509 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31510 PyObject
*resultobj
= 0;
31511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31512 PyObject
*arg2
= (PyObject
*) 0 ;
31516 PyObject
* obj0
= 0 ;
31517 PyObject
* obj1
= 0 ;
31518 char * kwnames
[] = {
31519 (char *) "self",(char *) "func", NULL
31522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31524 if (!SWIG_IsOK(res1
)) {
31525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31527 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31544 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31545 PyObject
*resultobj
= 0;
31546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31547 wxWindow
*result
= 0 ;
31550 PyObject
*swig_obj
[1] ;
31552 if (!args
) SWIG_fail
;
31553 swig_obj
[0] = args
;
31554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31555 if (!SWIG_IsOK(res1
)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31558 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31561 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31562 wxPyEndAllowThreads(__tstate
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= wxPyMake_wxObject(result
, 0);
31574 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
= 0;
31576 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31577 SwigValueWrapper
<wxVisualAttributes
> result
;
31580 PyObject
* obj0
= 0 ;
31581 char * kwnames
[] = {
31582 (char *) "variant", NULL
31585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31588 if (!SWIG_IsOK(ecode1
)) {
31589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31591 arg1
= static_cast< wxWindowVariant
>(val1
);
31594 if (!wxPyCheckForApp()) SWIG_fail
;
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31600 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31607 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31610 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31611 return SWIG_Py_Void();
31614 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31615 return SWIG_Python_InitShadowInstance(args
);
31618 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31619 PyObject
*resultobj
= 0;
31620 wxWindow
*arg1
= (wxWindow
*) 0 ;
31621 int arg2
= (int) -1 ;
31622 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31623 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31624 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31625 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31626 long arg5
= (long) wxLC_REPORT
;
31627 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31628 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31629 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31631 wxListView
*result
= 0 ;
31642 bool temp7
= false ;
31643 PyObject
* obj0
= 0 ;
31644 PyObject
* obj1
= 0 ;
31645 PyObject
* obj2
= 0 ;
31646 PyObject
* obj3
= 0 ;
31647 PyObject
* obj4
= 0 ;
31648 PyObject
* obj5
= 0 ;
31649 PyObject
* obj6
= 0 ;
31650 char * kwnames
[] = {
31651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31656 if (!SWIG_IsOK(res1
)) {
31657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31662 if (!SWIG_IsOK(ecode2
)) {
31663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31665 arg2
= static_cast< int >(val2
);
31670 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31676 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31680 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31681 if (!SWIG_IsOK(ecode5
)) {
31682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31684 arg5
= static_cast< long >(val5
);
31687 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31688 if (!SWIG_IsOK(res6
)) {
31689 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31694 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31698 arg7
= wxString_in_helper(obj6
);
31699 if (arg7
== NULL
) SWIG_fail
;
31704 if (!wxPyCheckForApp()) SWIG_fail
;
31705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31706 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31725 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31726 PyObject
*resultobj
= 0;
31727 wxListView
*result
= 0 ;
31729 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31731 if (!wxPyCheckForApp()) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (wxListView
*)new wxListView();
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31744 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
= 0;
31746 wxListView
*arg1
= (wxListView
*) 0 ;
31747 wxWindow
*arg2
= (wxWindow
*) 0 ;
31748 int arg3
= (int) -1 ;
31749 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31750 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31751 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31752 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31753 long arg6
= (long) wxLC_REPORT
;
31754 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31755 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31756 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31757 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31771 bool temp8
= false ;
31772 PyObject
* obj0
= 0 ;
31773 PyObject
* obj1
= 0 ;
31774 PyObject
* obj2
= 0 ;
31775 PyObject
* obj3
= 0 ;
31776 PyObject
* obj4
= 0 ;
31777 PyObject
* obj5
= 0 ;
31778 PyObject
* obj6
= 0 ;
31779 PyObject
* obj7
= 0 ;
31780 char * kwnames
[] = {
31781 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31786 if (!SWIG_IsOK(res1
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31789 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31791 if (!SWIG_IsOK(res2
)) {
31792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31794 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31797 if (!SWIG_IsOK(ecode3
)) {
31798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31800 arg3
= static_cast< int >(val3
);
31805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31811 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31815 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31816 if (!SWIG_IsOK(ecode6
)) {
31817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31819 arg6
= static_cast< long >(val6
);
31822 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31823 if (!SWIG_IsOK(res7
)) {
31824 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31829 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31833 arg8
= wxString_in_helper(obj7
);
31834 if (arg8
== NULL
) SWIG_fail
;
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31861 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
= 0;
31863 wxListView
*arg1
= (wxListView
*) 0 ;
31865 bool arg3
= (bool) true ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 PyObject
* obj2
= 0 ;
31875 char * kwnames
[] = {
31876 (char *) "self",(char *) "n",(char *) "on", NULL
31879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31881 if (!SWIG_IsOK(res1
)) {
31882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31884 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31886 if (!SWIG_IsOK(ecode2
)) {
31887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31889 arg2
= static_cast< long >(val2
);
31891 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31892 if (!SWIG_IsOK(ecode3
)) {
31893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31895 arg3
= static_cast< bool >(val3
);
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 (arg1
)->Select(arg2
,arg3
);
31900 wxPyEndAllowThreads(__tstate
);
31901 if (PyErr_Occurred()) SWIG_fail
;
31903 resultobj
= SWIG_Py_Void();
31910 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31911 PyObject
*resultobj
= 0;
31912 wxListView
*arg1
= (wxListView
*) 0 ;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 char * kwnames
[] = {
31921 (char *) "self",(char *) "index", NULL
31924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31926 if (!SWIG_IsOK(res1
)) {
31927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31929 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31930 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31931 if (!SWIG_IsOK(ecode2
)) {
31932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31934 arg2
= static_cast< long >(val2
);
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 (arg1
)->Focus(arg2
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_Py_Void();
31948 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31949 PyObject
*resultobj
= 0;
31950 wxListView
*arg1
= (wxListView
*) 0 ;
31954 PyObject
*swig_obj
[1] ;
31956 if (!args
) SWIG_fail
;
31957 swig_obj
[0] = args
;
31958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31959 if (!SWIG_IsOK(res1
)) {
31960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31962 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31965 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31966 wxPyEndAllowThreads(__tstate
);
31967 if (PyErr_Occurred()) SWIG_fail
;
31969 resultobj
= SWIG_From_long(static_cast< long >(result
));
31976 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
= 0;
31978 wxListView
*arg1
= (wxListView
*) 0 ;
31985 PyObject
* obj0
= 0 ;
31986 PyObject
* obj1
= 0 ;
31987 char * kwnames
[] = {
31988 (char *) "self",(char *) "item", NULL
31991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31993 if (!SWIG_IsOK(res1
)) {
31994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31996 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31998 if (!SWIG_IsOK(ecode2
)) {
31999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32001 arg2
= static_cast< long >(val2
);
32003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32004 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32005 wxPyEndAllowThreads(__tstate
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 resultobj
= SWIG_From_long(static_cast< long >(result
));
32015 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32016 PyObject
*resultobj
= 0;
32017 wxListView
*arg1
= (wxListView
*) 0 ;
32021 PyObject
*swig_obj
[1] ;
32023 if (!args
) SWIG_fail
;
32024 swig_obj
[0] = args
;
32025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32026 if (!SWIG_IsOK(res1
)) {
32027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32029 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32036 resultobj
= SWIG_From_long(static_cast< long >(result
));
32043 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
= 0;
32045 wxListView
*arg1
= (wxListView
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 PyObject
* obj1
= 0 ;
32054 char * kwnames
[] = {
32055 (char *) "self",(char *) "index", NULL
32058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32060 if (!SWIG_IsOK(res1
)) {
32061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32063 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32065 if (!SWIG_IsOK(ecode2
)) {
32066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32068 arg2
= static_cast< long >(val2
);
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 result
= (bool)(arg1
)->IsSelected(arg2
);
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32084 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
= 0;
32086 wxListView
*arg1
= (wxListView
*) 0 ;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 PyObject
* obj2
= 0 ;
32098 char * kwnames
[] = {
32099 (char *) "self",(char *) "col",(char *) "image", NULL
32102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32104 if (!SWIG_IsOK(res1
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32107 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32109 if (!SWIG_IsOK(ecode2
)) {
32110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32112 arg2
= static_cast< int >(val2
);
32113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32114 if (!SWIG_IsOK(ecode3
)) {
32115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32117 arg3
= static_cast< int >(val3
);
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 (arg1
)->SetColumnImage(arg2
,arg3
);
32121 wxPyEndAllowThreads(__tstate
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32124 resultobj
= SWIG_Py_Void();
32131 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32132 PyObject
*resultobj
= 0;
32133 wxListView
*arg1
= (wxListView
*) 0 ;
32139 PyObject
* obj0
= 0 ;
32140 PyObject
* obj1
= 0 ;
32141 char * kwnames
[] = {
32142 (char *) "self",(char *) "col", NULL
32145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32147 if (!SWIG_IsOK(res1
)) {
32148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32150 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32152 if (!SWIG_IsOK(ecode2
)) {
32153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32155 arg2
= static_cast< int >(val2
);
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 (arg1
)->ClearColumnImage(arg2
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= SWIG_Py_Void();
32169 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32172 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32173 return SWIG_Py_Void();
32176 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32177 return SWIG_Python_InitShadowInstance(args
);
32180 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32181 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32186 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32187 PyObject
*pyobj
= 0;
32191 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32193 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32200 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32201 PyObject
*resultobj
= 0;
32202 wxTreeItemId
*result
= 0 ;
32204 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 result
= (wxTreeItemId
*)new wxTreeItemId();
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32218 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32219 PyObject
*resultobj
= 0;
32220 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32223 PyObject
*swig_obj
[1] ;
32225 if (!args
) SWIG_fail
;
32226 swig_obj
[0] = args
;
32227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32228 if (!SWIG_IsOK(res1
)) {
32229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32231 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 wxPyEndAllowThreads(__tstate
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32239 resultobj
= SWIG_Py_Void();
32246 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32247 PyObject
*resultobj
= 0;
32248 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32252 PyObject
*swig_obj
[1] ;
32254 if (!args
) SWIG_fail
;
32255 swig_obj
[0] = args
;
32256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32257 if (!SWIG_IsOK(res1
)) {
32258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32260 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32276 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32277 PyObject
*resultobj
= 0;
32278 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32279 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32285 PyObject
* obj0
= 0 ;
32286 PyObject
* obj1
= 0 ;
32287 char * kwnames
[] = {
32288 (char *) "self",(char *) "other", NULL
32291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32293 if (!SWIG_IsOK(res1
)) {
32294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32296 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32298 if (!SWIG_IsOK(res2
)) {
32299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32301 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32317 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
= 0;
32319 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32320 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32326 PyObject
* obj0
= 0 ;
32327 PyObject
* obj1
= 0 ;
32328 char * kwnames
[] = {
32329 (char *) "self",(char *) "other", NULL
32332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32334 if (!SWIG_IsOK(res1
)) {
32335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32337 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32339 if (!SWIG_IsOK(res2
)) {
32340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32342 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32358 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32359 PyObject
*resultobj
= 0;
32360 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32361 void *arg2
= (void *) 0 ;
32365 PyObject
*swig_obj
[2] ;
32367 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32369 if (!SWIG_IsOK(res1
)) {
32370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32372 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32373 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32374 if (!SWIG_IsOK(res2
)) {
32375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32377 if (arg1
) (arg1
)->m_pItem
= arg2
;
32379 resultobj
= SWIG_Py_Void();
32386 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32387 PyObject
*resultobj
= 0;
32388 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32392 PyObject
*swig_obj
[1] ;
32394 if (!args
) SWIG_fail
;
32395 swig_obj
[0] = args
;
32396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32397 if (!SWIG_IsOK(res1
)) {
32398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32400 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32401 result
= (void *) ((arg1
)->m_pItem
);
32402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32409 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32412 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32413 return SWIG_Py_Void();
32416 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32417 return SWIG_Python_InitShadowInstance(args
);
32420 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
= 0;
32422 PyObject
*arg1
= (PyObject
*) NULL
;
32423 wxPyTreeItemData
*result
= 0 ;
32424 PyObject
* obj0
= 0 ;
32425 char * kwnames
[] = {
32426 (char *) "obj", NULL
32429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32446 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32447 PyObject
*resultobj
= 0;
32448 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32451 PyObject
*swig_obj
[1] ;
32453 if (!args
) SWIG_fail
;
32454 swig_obj
[0] = args
;
32455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32456 if (!SWIG_IsOK(res1
)) {
32457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32459 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 resultobj
= SWIG_Py_Void();
32474 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32475 PyObject
*resultobj
= 0;
32476 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32477 PyObject
*result
= 0 ;
32480 PyObject
*swig_obj
[1] ;
32482 if (!args
) SWIG_fail
;
32483 swig_obj
[0] = args
;
32484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32485 if (!SWIG_IsOK(res1
)) {
32486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32488 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= (PyObject
*)(arg1
)->GetData();
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= result
;
32502 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
= 0;
32504 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32505 PyObject
*arg2
= (PyObject
*) 0 ;
32508 PyObject
* obj0
= 0 ;
32509 PyObject
* obj1
= 0 ;
32510 char * kwnames
[] = {
32511 (char *) "self",(char *) "obj", NULL
32514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32519 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 (arg1
)->SetData(arg2
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_Py_Void();
32534 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32535 PyObject
*resultobj
= 0;
32536 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32537 wxTreeItemId
*result
= 0 ;
32540 PyObject
*swig_obj
[1] ;
32542 if (!args
) SWIG_fail
;
32543 swig_obj
[0] = args
;
32544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32545 if (!SWIG_IsOK(res1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32548 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32552 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32553 result
= (wxTreeItemId
*) &_result_ref
;
32555 wxPyEndAllowThreads(__tstate
);
32556 if (PyErr_Occurred()) SWIG_fail
;
32558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32565 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32566 PyObject
*resultobj
= 0;
32567 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32568 wxTreeItemId
*arg2
= 0 ;
32573 PyObject
* obj0
= 0 ;
32574 PyObject
* obj1
= 0 ;
32575 char * kwnames
[] = {
32576 (char *) "self",(char *) "id", NULL
32579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32581 if (!SWIG_IsOK(res1
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32584 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32586 if (!SWIG_IsOK(res2
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32592 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32599 resultobj
= SWIG_Py_Void();
32606 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32607 PyObject
*resultobj
= 0;
32608 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32611 PyObject
*swig_obj
[1] ;
32613 if (!args
) SWIG_fail
;
32614 swig_obj
[0] = args
;
32615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32616 if (!SWIG_IsOK(res1
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32619 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 wxPyTreeItemData_Destroy(arg1
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 resultobj
= SWIG_Py_Void();
32633 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32637 return SWIG_Py_Void();
32640 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32641 return SWIG_Python_InitShadowInstance(args
);
32644 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
= 0;
32646 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32647 int arg2
= (int) 0 ;
32648 wxTreeEvent
*result
= 0 ;
32653 PyObject
* obj0
= 0 ;
32654 PyObject
* obj1
= 0 ;
32655 char * kwnames
[] = {
32656 (char *) "commandType",(char *) "id", NULL
32659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32661 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32662 if (!SWIG_IsOK(ecode1
)) {
32663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32665 arg1
= static_cast< wxEventType
>(val1
);
32668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32669 if (!SWIG_IsOK(ecode2
)) {
32670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32672 arg2
= static_cast< int >(val2
);
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32677 wxPyEndAllowThreads(__tstate
);
32678 if (PyErr_Occurred()) SWIG_fail
;
32680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32687 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32688 PyObject
*resultobj
= 0;
32689 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32690 wxTreeItemId result
;
32693 PyObject
*swig_obj
[1] ;
32695 if (!args
) SWIG_fail
;
32696 swig_obj
[0] = args
;
32697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32698 if (!SWIG_IsOK(res1
)) {
32699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32701 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32704 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32705 wxPyEndAllowThreads(__tstate
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32708 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32715 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32716 PyObject
*resultobj
= 0;
32717 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32718 wxTreeItemId
*arg2
= 0 ;
32723 PyObject
* obj0
= 0 ;
32724 PyObject
* obj1
= 0 ;
32725 char * kwnames
[] = {
32726 (char *) "self",(char *) "item", NULL
32729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32731 if (!SWIG_IsOK(res1
)) {
32732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32734 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32736 if (!SWIG_IsOK(res2
)) {
32737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32749 resultobj
= SWIG_Py_Void();
32756 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32757 PyObject
*resultobj
= 0;
32758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32759 wxTreeItemId result
;
32762 PyObject
*swig_obj
[1] ;
32764 if (!args
) SWIG_fail
;
32765 swig_obj
[0] = args
;
32766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32767 if (!SWIG_IsOK(res1
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32770 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32784 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
= 0;
32786 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32787 wxTreeItemId
*arg2
= 0 ;
32792 PyObject
* obj0
= 0 ;
32793 PyObject
* obj1
= 0 ;
32794 char * kwnames
[] = {
32795 (char *) "self",(char *) "item", NULL
32798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32800 if (!SWIG_IsOK(res1
)) {
32801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32803 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32805 if (!SWIG_IsOK(res2
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 resultobj
= SWIG_Py_Void();
32825 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32826 PyObject
*resultobj
= 0;
32827 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32831 PyObject
*swig_obj
[1] ;
32833 if (!args
) SWIG_fail
;
32834 swig_obj
[0] = args
;
32835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32836 if (!SWIG_IsOK(res1
)) {
32837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32839 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32853 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32854 PyObject
*resultobj
= 0;
32855 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32856 wxPoint
*arg2
= 0 ;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 char * kwnames
[] = {
32863 (char *) "self",(char *) "pt", NULL
32866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32868 if (!SWIG_IsOK(res1
)) {
32869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32871 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32878 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32879 wxPyEndAllowThreads(__tstate
);
32880 if (PyErr_Occurred()) SWIG_fail
;
32882 resultobj
= SWIG_Py_Void();
32889 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32890 PyObject
*resultobj
= 0;
32891 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32892 wxKeyEvent
*result
= 0 ;
32895 PyObject
*swig_obj
[1] ;
32897 if (!args
) SWIG_fail
;
32898 swig_obj
[0] = args
;
32899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32900 if (!SWIG_IsOK(res1
)) {
32901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32903 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32908 result
= (wxKeyEvent
*) &_result_ref
;
32910 wxPyEndAllowThreads(__tstate
);
32911 if (PyErr_Occurred()) SWIG_fail
;
32913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32920 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32921 PyObject
*resultobj
= 0;
32922 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32926 PyObject
*swig_obj
[1] ;
32928 if (!args
) SWIG_fail
;
32929 swig_obj
[0] = args
;
32930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32931 if (!SWIG_IsOK(res1
)) {
32932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32934 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32937 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32941 resultobj
= SWIG_From_int(static_cast< int >(result
));
32948 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32949 PyObject
*resultobj
= 0;
32950 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32951 wxKeyEvent
*arg2
= 0 ;
32956 PyObject
* obj0
= 0 ;
32957 PyObject
* obj1
= 0 ;
32958 char * kwnames
[] = {
32959 (char *) "self",(char *) "evt", NULL
32962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32964 if (!SWIG_IsOK(res1
)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32967 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32969 if (!SWIG_IsOK(res2
)) {
32970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32975 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_Py_Void();
32989 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32990 PyObject
*resultobj
= 0;
32991 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32992 wxString
*result
= 0 ;
32995 PyObject
*swig_obj
[1] ;
32997 if (!args
) SWIG_fail
;
32998 swig_obj
[0] = args
;
32999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33000 if (!SWIG_IsOK(res1
)) {
33001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33003 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33008 result
= (wxString
*) &_result_ref
;
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33015 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33017 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33026 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33027 PyObject
*resultobj
= 0;
33028 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33029 wxString
*arg2
= 0 ;
33032 bool temp2
= false ;
33033 PyObject
* obj0
= 0 ;
33034 PyObject
* obj1
= 0 ;
33035 char * kwnames
[] = {
33036 (char *) "self",(char *) "label", NULL
33039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33041 if (!SWIG_IsOK(res1
)) {
33042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33044 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33046 arg2
= wxString_in_helper(obj1
);
33047 if (arg2
== NULL
) SWIG_fail
;
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 (arg1
)->SetLabel((wxString
const &)*arg2
);
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33056 resultobj
= SWIG_Py_Void();
33071 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33072 PyObject
*resultobj
= 0;
33073 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33077 PyObject
*swig_obj
[1] ;
33079 if (!args
) SWIG_fail
;
33080 swig_obj
[0] = args
;
33081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33082 if (!SWIG_IsOK(res1
)) {
33083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33085 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33101 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33102 PyObject
*resultobj
= 0;
33103 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33109 PyObject
* obj0
= 0 ;
33110 PyObject
* obj1
= 0 ;
33111 char * kwnames
[] = {
33112 (char *) "self",(char *) "editCancelled", NULL
33115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33117 if (!SWIG_IsOK(res1
)) {
33118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33120 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33121 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33122 if (!SWIG_IsOK(ecode2
)) {
33123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33125 arg2
= static_cast< bool >(val2
);
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->SetEditCanceled(arg2
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_Py_Void();
33139 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
= 0;
33141 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33142 wxString
*arg2
= 0 ;
33145 bool temp2
= false ;
33146 PyObject
* obj0
= 0 ;
33147 PyObject
* obj1
= 0 ;
33148 char * kwnames
[] = {
33149 (char *) "self",(char *) "toolTip", NULL
33152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33154 if (!SWIG_IsOK(res1
)) {
33155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33157 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33159 arg2
= wxString_in_helper(obj1
);
33160 if (arg2
== NULL
) SWIG_fail
;
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= SWIG_Py_Void();
33184 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33185 PyObject
*resultobj
= 0;
33186 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33190 PyObject
*swig_obj
[1] ;
33192 if (!args
) SWIG_fail
;
33193 swig_obj
[0] = args
;
33194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33195 if (!SWIG_IsOK(res1
)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33198 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 result
= (arg1
)->GetToolTip();
33202 wxPyEndAllowThreads(__tstate
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33218 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33221 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33222 return SWIG_Py_Void();
33225 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33226 return SWIG_Python_InitShadowInstance(args
);
33229 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
= 0;
33231 wxWindow
*arg1
= (wxWindow
*) 0 ;
33232 int arg2
= (int) -1 ;
33233 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33234 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33235 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33236 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33237 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33238 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33239 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33240 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33241 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33242 wxPyTreeCtrl
*result
= 0 ;
33253 bool temp7
= false ;
33254 PyObject
* obj0
= 0 ;
33255 PyObject
* obj1
= 0 ;
33256 PyObject
* obj2
= 0 ;
33257 PyObject
* obj3
= 0 ;
33258 PyObject
* obj4
= 0 ;
33259 PyObject
* obj5
= 0 ;
33260 PyObject
* obj6
= 0 ;
33261 char * kwnames
[] = {
33262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33267 if (!SWIG_IsOK(res1
)) {
33268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33273 if (!SWIG_IsOK(ecode2
)) {
33274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33276 arg2
= static_cast< int >(val2
);
33281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33287 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33291 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33292 if (!SWIG_IsOK(ecode5
)) {
33293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33295 arg5
= static_cast< long >(val5
);
33298 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33299 if (!SWIG_IsOK(res6
)) {
33300 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33305 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33309 arg7
= wxString_in_helper(obj6
);
33310 if (arg7
== NULL
) SWIG_fail
;
33315 if (!wxPyCheckForApp()) SWIG_fail
;
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33336 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33337 PyObject
*resultobj
= 0;
33338 wxPyTreeCtrl
*result
= 0 ;
33340 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33342 if (!wxPyCheckForApp()) SWIG_fail
;
33343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33344 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33345 wxPyEndAllowThreads(__tstate
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33355 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33356 PyObject
*resultobj
= 0;
33357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33358 wxWindow
*arg2
= (wxWindow
*) 0 ;
33359 int arg3
= (int) -1 ;
33360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33364 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33365 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33366 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33367 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33368 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33382 bool temp8
= false ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 PyObject
* obj2
= 0 ;
33386 PyObject
* obj3
= 0 ;
33387 PyObject
* obj4
= 0 ;
33388 PyObject
* obj5
= 0 ;
33389 PyObject
* obj6
= 0 ;
33390 PyObject
* obj7
= 0 ;
33391 char * kwnames
[] = {
33392 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33397 if (!SWIG_IsOK(res1
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33402 if (!SWIG_IsOK(res2
)) {
33403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33408 if (!SWIG_IsOK(ecode3
)) {
33409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33411 arg3
= static_cast< int >(val3
);
33416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33426 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33427 if (!SWIG_IsOK(ecode6
)) {
33428 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33430 arg6
= static_cast< long >(val6
);
33433 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33434 if (!SWIG_IsOK(res7
)) {
33435 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33440 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33444 arg8
= wxString_in_helper(obj7
);
33445 if (arg8
== NULL
) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33472 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33473 PyObject
*resultobj
= 0;
33474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33475 PyObject
*arg2
= (PyObject
*) 0 ;
33476 PyObject
*arg3
= (PyObject
*) 0 ;
33479 PyObject
* obj0
= 0 ;
33480 PyObject
* obj1
= 0 ;
33481 PyObject
* obj2
= 0 ;
33482 char * kwnames
[] = {
33483 (char *) "self",(char *) "self",(char *) "_class", NULL
33486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33488 if (!SWIG_IsOK(res1
)) {
33489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33491 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_Py_Void();
33507 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33508 PyObject
*resultobj
= 0;
33509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33510 unsigned int result
;
33513 PyObject
*swig_obj
[1] ;
33515 if (!args
) SWIG_fail
;
33516 swig_obj
[0] = args
;
33517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33518 if (!SWIG_IsOK(res1
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33521 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33535 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33536 PyObject
*resultobj
= 0;
33537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33538 unsigned int result
;
33541 PyObject
*swig_obj
[1] ;
33543 if (!args
) SWIG_fail
;
33544 swig_obj
[0] = args
;
33545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33546 if (!SWIG_IsOK(res1
)) {
33547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33563 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
= 0;
33565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33566 unsigned int arg2
;
33569 unsigned int val2
;
33571 PyObject
* obj0
= 0 ;
33572 PyObject
* obj1
= 0 ;
33573 char * kwnames
[] = {
33574 (char *) "self",(char *) "indent", NULL
33577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33579 if (!SWIG_IsOK(res1
)) {
33580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33582 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33583 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33584 if (!SWIG_IsOK(ecode2
)) {
33585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33587 arg2
= static_cast< unsigned int >(val2
);
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 (arg1
)->SetIndent(arg2
);
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= SWIG_Py_Void();
33601 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33602 PyObject
*resultobj
= 0;
33603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33604 unsigned int result
;
33607 PyObject
*swig_obj
[1] ;
33609 if (!args
) SWIG_fail
;
33610 swig_obj
[0] = args
;
33611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33612 if (!SWIG_IsOK(res1
)) {
33613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33615 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33618 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33622 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33629 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33630 PyObject
*resultobj
= 0;
33631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33632 unsigned int arg2
;
33635 unsigned int val2
;
33637 PyObject
* obj0
= 0 ;
33638 PyObject
* obj1
= 0 ;
33639 char * kwnames
[] = {
33640 (char *) "self",(char *) "spacing", NULL
33643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33645 if (!SWIG_IsOK(res1
)) {
33646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33648 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33649 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33650 if (!SWIG_IsOK(ecode2
)) {
33651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33653 arg2
= static_cast< unsigned int >(val2
);
33655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33656 (arg1
)->SetSpacing(arg2
);
33657 wxPyEndAllowThreads(__tstate
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 resultobj
= SWIG_Py_Void();
33667 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33668 PyObject
*resultobj
= 0;
33669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33670 wxImageList
*result
= 0 ;
33673 PyObject
*swig_obj
[1] ;
33675 if (!args
) SWIG_fail
;
33676 swig_obj
[0] = args
;
33677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33678 if (!SWIG_IsOK(res1
)) {
33679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33681 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33697 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33698 PyObject
*resultobj
= 0;
33699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33700 wxImageList
*result
= 0 ;
33703 PyObject
*swig_obj
[1] ;
33705 if (!args
) SWIG_fail
;
33706 swig_obj
[0] = args
;
33707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33708 if (!SWIG_IsOK(res1
)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33727 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
= 0;
33729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33730 wxImageList
*arg2
= (wxImageList
*) 0 ;
33735 PyObject
* obj0
= 0 ;
33736 PyObject
* obj1
= 0 ;
33737 char * kwnames
[] = {
33738 (char *) "self",(char *) "imageList", NULL
33741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33743 if (!SWIG_IsOK(res1
)) {
33744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33746 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33748 if (!SWIG_IsOK(res2
)) {
33749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33751 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 (arg1
)->SetImageList(arg2
);
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= SWIG_Py_Void();
33765 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33766 PyObject
*resultobj
= 0;
33767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33768 wxImageList
*arg2
= (wxImageList
*) 0 ;
33773 PyObject
* obj0
= 0 ;
33774 PyObject
* obj1
= 0 ;
33775 char * kwnames
[] = {
33776 (char *) "self",(char *) "imageList", NULL
33779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33781 if (!SWIG_IsOK(res1
)) {
33782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33784 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33786 if (!SWIG_IsOK(res2
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33789 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 (arg1
)->SetStateImageList(arg2
);
33793 wxPyEndAllowThreads(__tstate
);
33794 if (PyErr_Occurred()) SWIG_fail
;
33796 resultobj
= SWIG_Py_Void();
33803 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
= 0;
33805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33806 wxImageList
*arg2
= (wxImageList
*) 0 ;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 char * kwnames
[] = {
33813 (char *) "self",(char *) "imageList", NULL
33816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33818 if (!SWIG_IsOK(res1
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33821 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33822 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33823 if (!SWIG_IsOK(res2
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 (arg1
)->AssignImageList(arg2
);
33829 wxPyEndAllowThreads(__tstate
);
33830 if (PyErr_Occurred()) SWIG_fail
;
33832 resultobj
= SWIG_Py_Void();
33839 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
= 0;
33841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33842 wxImageList
*arg2
= (wxImageList
*) 0 ;
33846 PyObject
* obj0
= 0 ;
33847 PyObject
* obj1
= 0 ;
33848 char * kwnames
[] = {
33849 (char *) "self",(char *) "imageList", NULL
33852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33854 if (!SWIG_IsOK(res1
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33857 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33858 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33859 if (!SWIG_IsOK(res2
)) {
33860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33864 (arg1
)->AssignStateImageList(arg2
);
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 resultobj
= SWIG_Py_Void();
33875 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33876 PyObject
*resultobj
= 0;
33877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33878 wxTreeItemId
*arg2
= 0 ;
33884 PyObject
* obj0
= 0 ;
33885 PyObject
* obj1
= 0 ;
33886 char * kwnames
[] = {
33887 (char *) "self",(char *) "item", NULL
33890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33892 if (!SWIG_IsOK(res1
)) {
33893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33895 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33897 if (!SWIG_IsOK(res2
)) {
33898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33903 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33906 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33923 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33924 PyObject
*resultobj
= 0;
33925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33926 wxTreeItemId
*arg2
= 0 ;
33927 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 PyObject
* obj2
= 0 ;
33938 char * kwnames
[] = {
33939 (char *) "self",(char *) "item",(char *) "which", NULL
33942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33944 if (!SWIG_IsOK(res1
)) {
33945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33947 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33949 if (!SWIG_IsOK(res2
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33955 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33958 if (!SWIG_IsOK(ecode3
)) {
33959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33961 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33965 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 resultobj
= SWIG_From_int(static_cast< int >(result
));
33976 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
= 0;
33978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33979 wxTreeItemId
*arg2
= 0 ;
33980 wxPyTreeItemData
*result
= 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "self",(char *) "item", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33998 if (!SWIG_IsOK(res2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34004 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34018 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
= 0;
34020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34021 wxTreeItemId
*arg2
= 0 ;
34022 PyObject
*result
= 0 ;
34027 PyObject
* obj0
= 0 ;
34028 PyObject
* obj1
= 0 ;
34029 char * kwnames
[] = {
34030 (char *) "self",(char *) "item", NULL
34033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34035 if (!SWIG_IsOK(res1
)) {
34036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34038 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34040 if (!SWIG_IsOK(res2
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34046 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= result
;
34060 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
= 0;
34062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34063 wxTreeItemId
*arg2
= 0 ;
34069 PyObject
* obj0
= 0 ;
34070 PyObject
* obj1
= 0 ;
34071 char * kwnames
[] = {
34072 (char *) "self",(char *) "item", NULL
34075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34077 if (!SWIG_IsOK(res1
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34082 if (!SWIG_IsOK(res2
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34088 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34091 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34095 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34102 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
= 0;
34104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34105 wxTreeItemId
*arg2
= 0 ;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 char * kwnames
[] = {
34114 (char *) "self",(char *) "item", NULL
34117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34119 if (!SWIG_IsOK(res1
)) {
34120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34122 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34124 if (!SWIG_IsOK(res2
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34130 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34137 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34144 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
= 0;
34146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34147 wxTreeItemId
*arg2
= 0 ;
34153 PyObject
* obj0
= 0 ;
34154 PyObject
* obj1
= 0 ;
34155 char * kwnames
[] = {
34156 (char *) "self",(char *) "item", NULL
34159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34161 if (!SWIG_IsOK(res1
)) {
34162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34164 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34166 if (!SWIG_IsOK(res2
)) {
34167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34172 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34176 wxPyEndAllowThreads(__tstate
);
34177 if (PyErr_Occurred()) SWIG_fail
;
34179 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34186 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34187 PyObject
*resultobj
= 0;
34188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34189 wxTreeItemId
*arg2
= 0 ;
34190 wxString
*arg3
= 0 ;
34195 bool temp3
= false ;
34196 PyObject
* obj0
= 0 ;
34197 PyObject
* obj1
= 0 ;
34198 PyObject
* obj2
= 0 ;
34199 char * kwnames
[] = {
34200 (char *) "self",(char *) "item",(char *) "text", NULL
34203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34205 if (!SWIG_IsOK(res1
)) {
34206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34208 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34210 if (!SWIG_IsOK(res2
)) {
34211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34216 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34218 arg3
= wxString_in_helper(obj2
);
34219 if (arg3
== NULL
) SWIG_fail
;
34223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34224 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= SWIG_Py_Void();
34243 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
= 0;
34245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34246 wxTreeItemId
*arg2
= 0 ;
34248 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34257 PyObject
* obj0
= 0 ;
34258 PyObject
* obj1
= 0 ;
34259 PyObject
* obj2
= 0 ;
34260 PyObject
* obj3
= 0 ;
34261 char * kwnames
[] = {
34262 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34267 if (!SWIG_IsOK(res1
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34272 if (!SWIG_IsOK(res2
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34278 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34280 if (!SWIG_IsOK(ecode3
)) {
34281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34283 arg3
= static_cast< int >(val3
);
34285 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34286 if (!SWIG_IsOK(ecode4
)) {
34287 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34289 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34297 resultobj
= SWIG_Py_Void();
34304 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34305 PyObject
*resultobj
= 0;
34306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34307 wxTreeItemId
*arg2
= 0 ;
34308 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34314 PyObject
* obj0
= 0 ;
34315 PyObject
* obj1
= 0 ;
34316 PyObject
* obj2
= 0 ;
34317 char * kwnames
[] = {
34318 (char *) "self",(char *) "item",(char *) "data", NULL
34321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34323 if (!SWIG_IsOK(res1
)) {
34324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34326 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34328 if (!SWIG_IsOK(res2
)) {
34329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34334 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34335 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34336 if (!SWIG_IsOK(res3
)) {
34337 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_Py_Void();
34352 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
= 0;
34354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34355 wxTreeItemId
*arg2
= 0 ;
34356 PyObject
*arg3
= (PyObject
*) 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 PyObject
* obj2
= 0 ;
34364 char * kwnames
[] = {
34365 (char *) "self",(char *) "item",(char *) "obj", NULL
34368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34370 if (!SWIG_IsOK(res1
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34375 if (!SWIG_IsOK(res2
)) {
34376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34381 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34386 wxPyEndAllowThreads(__tstate
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34389 resultobj
= SWIG_Py_Void();
34396 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34397 PyObject
*resultobj
= 0;
34398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34399 wxTreeItemId
*arg2
= 0 ;
34400 bool arg3
= (bool) true ;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 PyObject
* obj2
= 0 ;
34410 char * kwnames
[] = {
34411 (char *) "self",(char *) "item",(char *) "has", NULL
34414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34416 if (!SWIG_IsOK(res1
)) {
34417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34419 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34420 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34421 if (!SWIG_IsOK(res2
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34427 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34429 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34430 if (!SWIG_IsOK(ecode3
)) {
34431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34433 arg3
= static_cast< bool >(val3
);
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34441 resultobj
= SWIG_Py_Void();
34448 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
= 0;
34450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34451 wxTreeItemId
*arg2
= 0 ;
34452 bool arg3
= (bool) true ;
34459 PyObject
* obj0
= 0 ;
34460 PyObject
* obj1
= 0 ;
34461 PyObject
* obj2
= 0 ;
34462 char * kwnames
[] = {
34463 (char *) "self",(char *) "item",(char *) "bold", NULL
34466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34468 if (!SWIG_IsOK(res1
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34471 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34473 if (!SWIG_IsOK(res2
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34479 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34481 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34482 if (!SWIG_IsOK(ecode3
)) {
34483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34485 arg3
= static_cast< bool >(val3
);
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34490 wxPyEndAllowThreads(__tstate
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34493 resultobj
= SWIG_Py_Void();
34500 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
= 0;
34502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34503 wxTreeItemId
*arg2
= 0 ;
34504 bool arg3
= (bool) true ;
34511 PyObject
* obj0
= 0 ;
34512 PyObject
* obj1
= 0 ;
34513 PyObject
* obj2
= 0 ;
34514 char * kwnames
[] = {
34515 (char *) "self",(char *) "item",(char *) "highlight", NULL
34518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34520 if (!SWIG_IsOK(res1
)) {
34521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34523 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34525 if (!SWIG_IsOK(res2
)) {
34526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34531 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34533 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34534 if (!SWIG_IsOK(ecode3
)) {
34535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34537 arg3
= static_cast< bool >(val3
);
34540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34541 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34542 wxPyEndAllowThreads(__tstate
);
34543 if (PyErr_Occurred()) SWIG_fail
;
34545 resultobj
= SWIG_Py_Void();
34552 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34553 PyObject
*resultobj
= 0;
34554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34555 wxTreeItemId
*arg2
= 0 ;
34556 wxColour
*arg3
= 0 ;
34562 PyObject
* obj0
= 0 ;
34563 PyObject
* obj1
= 0 ;
34564 PyObject
* obj2
= 0 ;
34565 char * kwnames
[] = {
34566 (char *) "self",(char *) "item",(char *) "col", NULL
34569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34571 if (!SWIG_IsOK(res1
)) {
34572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34574 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34576 if (!SWIG_IsOK(res2
)) {
34577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34582 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34585 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34593 resultobj
= SWIG_Py_Void();
34600 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34601 PyObject
*resultobj
= 0;
34602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34603 wxTreeItemId
*arg2
= 0 ;
34604 wxColour
*arg3
= 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 PyObject
* obj2
= 0 ;
34613 char * kwnames
[] = {
34614 (char *) "self",(char *) "item",(char *) "col", NULL
34617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34619 if (!SWIG_IsOK(res1
)) {
34620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34624 if (!SWIG_IsOK(res2
)) {
34625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34633 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= SWIG_Py_Void();
34648 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34651 wxTreeItemId
*arg2
= 0 ;
34659 PyObject
* obj0
= 0 ;
34660 PyObject
* obj1
= 0 ;
34661 PyObject
* obj2
= 0 ;
34662 char * kwnames
[] = {
34663 (char *) "self",(char *) "item",(char *) "font", NULL
34666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34668 if (!SWIG_IsOK(res1
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34671 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34673 if (!SWIG_IsOK(res2
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34679 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34680 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34681 if (!SWIG_IsOK(res3
)) {
34682 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34687 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= SWIG_Py_Void();
34701 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
= 0;
34703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34704 wxTreeItemId
*arg2
= 0 ;
34710 PyObject
* obj0
= 0 ;
34711 PyObject
* obj1
= 0 ;
34712 char * kwnames
[] = {
34713 (char *) "self",(char *) "item", NULL
34716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34718 if (!SWIG_IsOK(res1
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34723 if (!SWIG_IsOK(res2
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34745 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
= 0;
34747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34748 wxTreeItemId
*arg2
= 0 ;
34754 PyObject
* obj0
= 0 ;
34755 PyObject
* obj1
= 0 ;
34756 char * kwnames
[] = {
34757 (char *) "self",(char *) "item", NULL
34760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34762 if (!SWIG_IsOK(res1
)) {
34763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34765 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34767 if (!SWIG_IsOK(res2
)) {
34768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34773 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34789 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34790 PyObject
*resultobj
= 0;
34791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34792 wxTreeItemId
*arg2
= 0 ;
34798 PyObject
* obj0
= 0 ;
34799 PyObject
* obj1
= 0 ;
34800 char * kwnames
[] = {
34801 (char *) "self",(char *) "item", NULL
34804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34806 if (!SWIG_IsOK(res1
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34809 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34811 if (!SWIG_IsOK(res2
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34817 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34821 wxPyEndAllowThreads(__tstate
);
34822 if (PyErr_Occurred()) SWIG_fail
;
34825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34833 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34834 PyObject
*resultobj
= 0;
34835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34836 wxTreeItemId
*arg2
= 0 ;
34842 PyObject
* obj0
= 0 ;
34843 PyObject
* obj1
= 0 ;
34844 char * kwnames
[] = {
34845 (char *) "self",(char *) "item", NULL
34848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34850 if (!SWIG_IsOK(res1
)) {
34851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34855 if (!SWIG_IsOK(res2
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34861 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34864 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34877 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34878 PyObject
*resultobj
= 0;
34879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34880 wxTreeItemId
*arg2
= 0 ;
34886 PyObject
* obj0
= 0 ;
34887 PyObject
* obj1
= 0 ;
34888 char * kwnames
[] = {
34889 (char *) "self",(char *) "item", NULL
34892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34894 if (!SWIG_IsOK(res1
)) {
34895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34897 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34899 if (!SWIG_IsOK(res2
)) {
34900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34905 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34909 wxPyEndAllowThreads(__tstate
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34921 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34924 wxTreeItemId
*arg2
= 0 ;
34925 bool arg3
= (bool) true ;
34933 PyObject
* obj0
= 0 ;
34934 PyObject
* obj1
= 0 ;
34935 PyObject
* obj2
= 0 ;
34936 char * kwnames
[] = {
34937 (char *) "self",(char *) "item",(char *) "recursively", NULL
34940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34942 if (!SWIG_IsOK(res1
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34945 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34947 if (!SWIG_IsOK(res2
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34953 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34955 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34956 if (!SWIG_IsOK(ecode3
)) {
34957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34959 arg3
= static_cast< bool >(val3
);
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34974 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34975 PyObject
*resultobj
= 0;
34976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34977 wxTreeItemId result
;
34980 PyObject
*swig_obj
[1] ;
34982 if (!args
) SWIG_fail
;
34983 swig_obj
[0] = args
;
34984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34985 if (!SWIG_IsOK(res1
)) {
34986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34988 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35002 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35003 PyObject
*resultobj
= 0;
35004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35005 wxTreeItemId result
;
35008 PyObject
*swig_obj
[1] ;
35010 if (!args
) SWIG_fail
;
35011 swig_obj
[0] = args
;
35012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35030 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35031 PyObject
*resultobj
= 0;
35032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35033 PyObject
*result
= 0 ;
35036 PyObject
*swig_obj
[1] ;
35038 if (!args
) SWIG_fail
;
35039 swig_obj
[0] = args
;
35040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35041 if (!SWIG_IsOK(res1
)) {
35042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35044 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35047 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35051 resultobj
= result
;
35058 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35059 PyObject
*resultobj
= 0;
35060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35061 wxTreeItemId
*arg2
= 0 ;
35062 wxTreeItemId result
;
35067 PyObject
* obj0
= 0 ;
35068 PyObject
* obj1
= 0 ;
35069 char * kwnames
[] = {
35070 (char *) "self",(char *) "item", NULL
35073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35075 if (!SWIG_IsOK(res1
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35078 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35080 if (!SWIG_IsOK(res2
)) {
35081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35086 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35089 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35090 wxPyEndAllowThreads(__tstate
);
35091 if (PyErr_Occurred()) SWIG_fail
;
35093 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35100 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35101 PyObject
*resultobj
= 0;
35102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35103 wxTreeItemId
*arg2
= 0 ;
35104 PyObject
*result
= 0 ;
35109 PyObject
* obj0
= 0 ;
35110 PyObject
* obj1
= 0 ;
35111 char * kwnames
[] = {
35112 (char *) "self",(char *) "item", NULL
35115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35117 if (!SWIG_IsOK(res1
)) {
35118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35120 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35122 if (!SWIG_IsOK(res2
)) {
35123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35128 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35131 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35132 wxPyEndAllowThreads(__tstate
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= result
;
35142 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35143 PyObject
*resultobj
= 0;
35144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35145 wxTreeItemId
*arg2
= 0 ;
35146 void *arg3
= (void *) 0 ;
35147 PyObject
*result
= 0 ;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 PyObject
* obj2
= 0 ;
35156 char * kwnames
[] = {
35157 (char *) "self",(char *) "item",(char *) "cookie", NULL
35160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35162 if (!SWIG_IsOK(res1
)) {
35163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35165 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35167 if (!SWIG_IsOK(res2
)) {
35168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35173 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35174 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35175 if (!SWIG_IsOK(res3
)) {
35176 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35180 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35184 resultobj
= result
;
35191 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35192 PyObject
*resultobj
= 0;
35193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35194 wxTreeItemId
*arg2
= 0 ;
35195 wxTreeItemId result
;
35200 PyObject
* obj0
= 0 ;
35201 PyObject
* obj1
= 0 ;
35202 char * kwnames
[] = {
35203 (char *) "self",(char *) "item", NULL
35206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35208 if (!SWIG_IsOK(res1
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35211 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35213 if (!SWIG_IsOK(res2
)) {
35214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35219 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35222 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35223 wxPyEndAllowThreads(__tstate
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35226 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35233 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35234 PyObject
*resultobj
= 0;
35235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35236 wxTreeItemId
*arg2
= 0 ;
35237 wxTreeItemId result
;
35242 PyObject
* obj0
= 0 ;
35243 PyObject
* obj1
= 0 ;
35244 char * kwnames
[] = {
35245 (char *) "self",(char *) "item", NULL
35248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35250 if (!SWIG_IsOK(res1
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35253 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35255 if (!SWIG_IsOK(res2
)) {
35256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35261 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35264 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35265 wxPyEndAllowThreads(__tstate
);
35266 if (PyErr_Occurred()) SWIG_fail
;
35268 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35275 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35276 PyObject
*resultobj
= 0;
35277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35278 wxTreeItemId
*arg2
= 0 ;
35279 wxTreeItemId result
;
35284 PyObject
* obj0
= 0 ;
35285 PyObject
* obj1
= 0 ;
35286 char * kwnames
[] = {
35287 (char *) "self",(char *) "item", NULL
35290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35292 if (!SWIG_IsOK(res1
)) {
35293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35297 if (!SWIG_IsOK(res2
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35303 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35306 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35307 wxPyEndAllowThreads(__tstate
);
35308 if (PyErr_Occurred()) SWIG_fail
;
35310 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35317 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35318 PyObject
*resultobj
= 0;
35319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35320 wxTreeItemId result
;
35323 PyObject
*swig_obj
[1] ;
35325 if (!args
) SWIG_fail
;
35326 swig_obj
[0] = args
;
35327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35328 if (!SWIG_IsOK(res1
)) {
35329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35345 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
= 0;
35347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35348 wxTreeItemId
*arg2
= 0 ;
35349 wxTreeItemId result
;
35354 PyObject
* obj0
= 0 ;
35355 PyObject
* obj1
= 0 ;
35356 char * kwnames
[] = {
35357 (char *) "self",(char *) "item", NULL
35360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35362 if (!SWIG_IsOK(res1
)) {
35363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35365 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35367 if (!SWIG_IsOK(res2
)) {
35368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35373 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35387 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35388 PyObject
*resultobj
= 0;
35389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35390 wxTreeItemId
*arg2
= 0 ;
35391 wxTreeItemId result
;
35396 PyObject
* obj0
= 0 ;
35397 PyObject
* obj1
= 0 ;
35398 char * kwnames
[] = {
35399 (char *) "self",(char *) "item", NULL
35402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35404 if (!SWIG_IsOK(res1
)) {
35405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35407 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35409 if (!SWIG_IsOK(res2
)) {
35410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35415 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35429 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
= 0;
35431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35432 wxString
*arg2
= 0 ;
35433 int arg3
= (int) -1 ;
35434 int arg4
= (int) -1 ;
35435 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35436 wxTreeItemId result
;
35439 bool temp2
= false ;
35445 PyObject
* obj0
= 0 ;
35446 PyObject
* obj1
= 0 ;
35447 PyObject
* obj2
= 0 ;
35448 PyObject
* obj3
= 0 ;
35449 PyObject
* obj4
= 0 ;
35450 char * kwnames
[] = {
35451 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35456 if (!SWIG_IsOK(res1
)) {
35457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35459 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35461 arg2
= wxString_in_helper(obj1
);
35462 if (arg2
== NULL
) SWIG_fail
;
35466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35467 if (!SWIG_IsOK(ecode3
)) {
35468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35470 arg3
= static_cast< int >(val3
);
35473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35474 if (!SWIG_IsOK(ecode4
)) {
35475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35477 arg4
= static_cast< int >(val4
);
35480 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35481 if (!SWIG_IsOK(res5
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35488 wxPyEndAllowThreads(__tstate
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35491 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35506 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
= 0;
35508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35509 wxTreeItemId
*arg2
= 0 ;
35510 wxString
*arg3
= 0 ;
35511 int arg4
= (int) -1 ;
35512 int arg5
= (int) -1 ;
35513 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35514 wxTreeItemId result
;
35519 bool temp3
= false ;
35525 PyObject
* obj0
= 0 ;
35526 PyObject
* obj1
= 0 ;
35527 PyObject
* obj2
= 0 ;
35528 PyObject
* obj3
= 0 ;
35529 PyObject
* obj4
= 0 ;
35530 PyObject
* obj5
= 0 ;
35531 char * kwnames
[] = {
35532 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35537 if (!SWIG_IsOK(res1
)) {
35538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35540 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35542 if (!SWIG_IsOK(res2
)) {
35543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35548 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35550 arg3
= wxString_in_helper(obj2
);
35551 if (arg3
== NULL
) SWIG_fail
;
35555 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35556 if (!SWIG_IsOK(ecode4
)) {
35557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35559 arg4
= static_cast< int >(val4
);
35562 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35563 if (!SWIG_IsOK(ecode5
)) {
35564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35566 arg5
= static_cast< int >(val5
);
35569 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35570 if (!SWIG_IsOK(res6
)) {
35571 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35580 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35595 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35598 wxTreeItemId
*arg2
= 0 ;
35599 wxTreeItemId
*arg3
= 0 ;
35600 wxString
*arg4
= 0 ;
35601 int arg5
= (int) -1 ;
35602 int arg6
= (int) -1 ;
35603 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35604 wxTreeItemId result
;
35611 bool temp4
= false ;
35617 PyObject
* obj0
= 0 ;
35618 PyObject
* obj1
= 0 ;
35619 PyObject
* obj2
= 0 ;
35620 PyObject
* obj3
= 0 ;
35621 PyObject
* obj4
= 0 ;
35622 PyObject
* obj5
= 0 ;
35623 PyObject
* obj6
= 0 ;
35624 char * kwnames
[] = {
35625 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35630 if (!SWIG_IsOK(res1
)) {
35631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35633 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35635 if (!SWIG_IsOK(res2
)) {
35636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35641 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35642 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35643 if (!SWIG_IsOK(res3
)) {
35644 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35649 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35651 arg4
= wxString_in_helper(obj3
);
35652 if (arg4
== NULL
) SWIG_fail
;
35656 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35657 if (!SWIG_IsOK(ecode5
)) {
35658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35660 arg5
= static_cast< int >(val5
);
35663 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35664 if (!SWIG_IsOK(ecode6
)) {
35665 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35667 arg6
= static_cast< int >(val6
);
35670 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35671 if (!SWIG_IsOK(res7
)) {
35672 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35677 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35696 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35697 PyObject
*resultobj
= 0;
35698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35699 wxTreeItemId
*arg2
= 0 ;
35701 wxString
*arg4
= 0 ;
35702 int arg5
= (int) -1 ;
35703 int arg6
= (int) -1 ;
35704 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35705 wxTreeItemId result
;
35712 bool temp4
= false ;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 PyObject
* obj2
= 0 ;
35721 PyObject
* obj3
= 0 ;
35722 PyObject
* obj4
= 0 ;
35723 PyObject
* obj5
= 0 ;
35724 PyObject
* obj6
= 0 ;
35725 char * kwnames
[] = {
35726 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35736 if (!SWIG_IsOK(res2
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35743 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35744 if (!SWIG_IsOK(ecode3
)) {
35745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35747 arg3
= static_cast< size_t >(val3
);
35749 arg4
= wxString_in_helper(obj3
);
35750 if (arg4
== NULL
) SWIG_fail
;
35754 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35755 if (!SWIG_IsOK(ecode5
)) {
35756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35758 arg5
= static_cast< int >(val5
);
35761 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35762 if (!SWIG_IsOK(ecode6
)) {
35763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35765 arg6
= static_cast< int >(val6
);
35768 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35769 if (!SWIG_IsOK(res7
)) {
35770 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35794 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35795 PyObject
*resultobj
= 0;
35796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35797 wxTreeItemId
*arg2
= 0 ;
35798 wxString
*arg3
= 0 ;
35799 int arg4
= (int) -1 ;
35800 int arg5
= (int) -1 ;
35801 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35802 wxTreeItemId result
;
35807 bool temp3
= false ;
35813 PyObject
* obj0
= 0 ;
35814 PyObject
* obj1
= 0 ;
35815 PyObject
* obj2
= 0 ;
35816 PyObject
* obj3
= 0 ;
35817 PyObject
* obj4
= 0 ;
35818 PyObject
* obj5
= 0 ;
35819 char * kwnames
[] = {
35820 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35825 if (!SWIG_IsOK(res1
)) {
35826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35830 if (!SWIG_IsOK(res2
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35836 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35838 arg3
= wxString_in_helper(obj2
);
35839 if (arg3
== NULL
) SWIG_fail
;
35843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35844 if (!SWIG_IsOK(ecode4
)) {
35845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35847 arg4
= static_cast< int >(val4
);
35850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35851 if (!SWIG_IsOK(ecode5
)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35854 arg5
= static_cast< int >(val5
);
35857 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35858 if (!SWIG_IsOK(res6
)) {
35859 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35864 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35865 wxPyEndAllowThreads(__tstate
);
35866 if (PyErr_Occurred()) SWIG_fail
;
35868 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35883 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35884 PyObject
*resultobj
= 0;
35885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35886 wxTreeItemId
*arg2
= 0 ;
35891 PyObject
* obj0
= 0 ;
35892 PyObject
* obj1
= 0 ;
35893 char * kwnames
[] = {
35894 (char *) "self",(char *) "item", NULL
35897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35899 if (!SWIG_IsOK(res1
)) {
35900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35902 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35904 if (!SWIG_IsOK(res2
)) {
35905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35910 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35913 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35914 wxPyEndAllowThreads(__tstate
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35917 resultobj
= SWIG_Py_Void();
35924 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35925 PyObject
*resultobj
= 0;
35926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35927 wxTreeItemId
*arg2
= 0 ;
35932 PyObject
* obj0
= 0 ;
35933 PyObject
* obj1
= 0 ;
35934 char * kwnames
[] = {
35935 (char *) "self",(char *) "item", NULL
35938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35940 if (!SWIG_IsOK(res1
)) {
35941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35945 if (!SWIG_IsOK(res2
)) {
35946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35951 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35954 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35955 wxPyEndAllowThreads(__tstate
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35958 resultobj
= SWIG_Py_Void();
35965 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35966 PyObject
*resultobj
= 0;
35967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35970 PyObject
*swig_obj
[1] ;
35972 if (!args
) SWIG_fail
;
35973 swig_obj
[0] = args
;
35974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35975 if (!SWIG_IsOK(res1
)) {
35976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35978 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35981 (arg1
)->DeleteAllItems();
35982 wxPyEndAllowThreads(__tstate
);
35983 if (PyErr_Occurred()) SWIG_fail
;
35985 resultobj
= SWIG_Py_Void();
35992 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35993 PyObject
*resultobj
= 0;
35994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35995 wxTreeItemId
*arg2
= 0 ;
36000 PyObject
* obj0
= 0 ;
36001 PyObject
* obj1
= 0 ;
36002 char * kwnames
[] = {
36003 (char *) "self",(char *) "item", NULL
36006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36008 if (!SWIG_IsOK(res1
)) {
36009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36013 if (!SWIG_IsOK(res2
)) {
36014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= SWIG_Py_Void();
36033 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
= 0;
36035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36036 wxTreeItemId
*arg2
= 0 ;
36041 PyObject
* obj0
= 0 ;
36042 PyObject
* obj1
= 0 ;
36043 char * kwnames
[] = {
36044 (char *) "self",(char *) "item", NULL
36047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36049 if (!SWIG_IsOK(res1
)) {
36050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36052 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36054 if (!SWIG_IsOK(res2
)) {
36055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36060 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36067 resultobj
= SWIG_Py_Void();
36074 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
= 0;
36076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36077 wxTreeItemId
*arg2
= 0 ;
36082 PyObject
* obj0
= 0 ;
36083 PyObject
* obj1
= 0 ;
36084 char * kwnames
[] = {
36085 (char *) "self",(char *) "item", NULL
36088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36090 if (!SWIG_IsOK(res1
)) {
36091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36093 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36095 if (!SWIG_IsOK(res2
)) {
36096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36101 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36104 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36105 wxPyEndAllowThreads(__tstate
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36108 resultobj
= SWIG_Py_Void();
36115 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36116 PyObject
*resultobj
= 0;
36117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36118 wxTreeItemId
*arg2
= 0 ;
36123 PyObject
* obj0
= 0 ;
36124 PyObject
* obj1
= 0 ;
36125 char * kwnames
[] = {
36126 (char *) "self",(char *) "item", NULL
36129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36131 if (!SWIG_IsOK(res1
)) {
36132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36134 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36136 if (!SWIG_IsOK(res2
)) {
36137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36142 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36145 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 resultobj
= SWIG_Py_Void();
36156 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36157 PyObject
*resultobj
= 0;
36158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36161 PyObject
*swig_obj
[1] ;
36163 if (!args
) SWIG_fail
;
36164 swig_obj
[0] = args
;
36165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36166 if (!SWIG_IsOK(res1
)) {
36167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36169 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 (arg1
)->Unselect();
36173 wxPyEndAllowThreads(__tstate
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36176 resultobj
= SWIG_Py_Void();
36183 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
= 0;
36185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36186 wxTreeItemId
*arg2
= 0 ;
36191 PyObject
* obj0
= 0 ;
36192 PyObject
* obj1
= 0 ;
36193 char * kwnames
[] = {
36194 (char *) "self",(char *) "item", NULL
36197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) 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_UnselectItem" "', 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_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36210 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 resultobj
= SWIG_Py_Void();
36224 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36225 PyObject
*resultobj
= 0;
36226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36229 PyObject
*swig_obj
[1] ;
36231 if (!args
) SWIG_fail
;
36232 swig_obj
[0] = args
;
36233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36234 if (!SWIG_IsOK(res1
)) {
36235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36237 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 (arg1
)->UnselectAll();
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_Py_Void();
36251 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
= 0;
36253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36254 wxTreeItemId
*arg2
= 0 ;
36255 bool arg3
= (bool) true ;
36262 PyObject
* obj0
= 0 ;
36263 PyObject
* obj1
= 0 ;
36264 PyObject
* obj2
= 0 ;
36265 char * kwnames
[] = {
36266 (char *) "self",(char *) "item",(char *) "select", NULL
36269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36271 if (!SWIG_IsOK(res1
)) {
36272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36274 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36276 if (!SWIG_IsOK(res2
)) {
36277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36282 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36284 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36285 if (!SWIG_IsOK(ecode3
)) {
36286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36288 arg3
= static_cast< bool >(val3
);
36291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36292 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36296 resultobj
= SWIG_Py_Void();
36303 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
= 0;
36305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36306 wxTreeItemId
*arg2
= 0 ;
36311 PyObject
* obj0
= 0 ;
36312 PyObject
* obj1
= 0 ;
36313 char * kwnames
[] = {
36314 (char *) "self",(char *) "item", NULL
36317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36319 if (!SWIG_IsOK(res1
)) {
36320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36322 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36324 if (!SWIG_IsOK(res2
)) {
36325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36330 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36333 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36334 wxPyEndAllowThreads(__tstate
);
36335 if (PyErr_Occurred()) SWIG_fail
;
36337 resultobj
= SWIG_Py_Void();
36344 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36345 PyObject
*resultobj
= 0;
36346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36347 wxTreeItemId
*arg2
= 0 ;
36352 PyObject
* obj0
= 0 ;
36353 PyObject
* obj1
= 0 ;
36354 char * kwnames
[] = {
36355 (char *) "self",(char *) "item", NULL
36358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36360 if (!SWIG_IsOK(res1
)) {
36361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36363 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36365 if (!SWIG_IsOK(res2
)) {
36366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36371 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36374 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36375 wxPyEndAllowThreads(__tstate
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36378 resultobj
= SWIG_Py_Void();
36385 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36386 PyObject
*resultobj
= 0;
36387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36388 wxTreeItemId
*arg2
= 0 ;
36393 PyObject
* obj0
= 0 ;
36394 PyObject
* obj1
= 0 ;
36395 char * kwnames
[] = {
36396 (char *) "self",(char *) "item", NULL
36399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36401 if (!SWIG_IsOK(res1
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36404 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36406 if (!SWIG_IsOK(res2
)) {
36407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36412 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36416 wxPyEndAllowThreads(__tstate
);
36417 if (PyErr_Occurred()) SWIG_fail
;
36419 resultobj
= SWIG_Py_Void();
36426 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36427 PyObject
*resultobj
= 0;
36428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36429 wxTreeItemId
*arg2
= 0 ;
36434 PyObject
* obj0
= 0 ;
36435 PyObject
* obj1
= 0 ;
36436 char * kwnames
[] = {
36437 (char *) "self",(char *) "item", NULL
36440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36442 if (!SWIG_IsOK(res1
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36445 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36447 if (!SWIG_IsOK(res2
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36453 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36456 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36457 wxPyEndAllowThreads(__tstate
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36460 resultobj
= SWIG_Py_Void();
36467 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36468 PyObject
*resultobj
= 0;
36469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36470 wxTextCtrl
*result
= 0 ;
36473 PyObject
*swig_obj
[1] ;
36475 if (!args
) SWIG_fail
;
36476 swig_obj
[0] = args
;
36477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36478 if (!SWIG_IsOK(res1
)) {
36479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36484 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36485 wxPyEndAllowThreads(__tstate
);
36486 if (PyErr_Occurred()) SWIG_fail
;
36489 resultobj
= wxPyMake_wxObject(result
, 0);
36497 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36498 PyObject
*resultobj
= 0;
36499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36500 wxTreeItemId
*arg2
= 0 ;
36505 PyObject
* obj0
= 0 ;
36506 PyObject
* obj1
= 0 ;
36507 char * kwnames
[] = {
36508 (char *) "self",(char *) "item", NULL
36511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36513 if (!SWIG_IsOK(res1
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36518 if (!SWIG_IsOK(res2
)) {
36519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_Py_Void();
36538 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
= 0;
36540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36541 wxPoint
*arg2
= 0 ;
36543 wxTreeItemId result
;
36548 int res3
= SWIG_TMPOBJ
;
36549 PyObject
* obj0
= 0 ;
36550 PyObject
* obj1
= 0 ;
36551 char * kwnames
[] = {
36552 (char *) "self",(char *) "point", NULL
36556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36558 if (!SWIG_IsOK(res1
)) {
36559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36561 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36573 if (SWIG_IsTmpObj(res3
)) {
36574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36576 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36585 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36586 PyObject
*resultobj
= 0;
36587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36588 wxTreeItemId
*arg2
= 0 ;
36589 bool arg3
= (bool) false ;
36590 PyObject
*result
= 0 ;
36597 PyObject
* obj0
= 0 ;
36598 PyObject
* obj1
= 0 ;
36599 PyObject
* obj2
= 0 ;
36600 char * kwnames
[] = {
36601 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36606 if (!SWIG_IsOK(res1
)) {
36607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36609 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36611 if (!SWIG_IsOK(res2
)) {
36612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36617 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36619 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36620 if (!SWIG_IsOK(ecode3
)) {
36621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36623 arg3
= static_cast< bool >(val3
);
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36631 resultobj
= result
;
36638 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36639 PyObject
*resultobj
= 0;
36640 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36641 SwigValueWrapper
<wxVisualAttributes
> result
;
36644 PyObject
* obj0
= 0 ;
36645 char * kwnames
[] = {
36646 (char *) "variant", NULL
36649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36651 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36652 if (!SWIG_IsOK(ecode1
)) {
36653 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36655 arg1
= static_cast< wxWindowVariant
>(val1
);
36658 if (!wxPyCheckForApp()) SWIG_fail
;
36659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36660 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36661 wxPyEndAllowThreads(__tstate
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36664 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36671 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36674 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36675 return SWIG_Py_Void();
36678 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36679 return SWIG_Python_InitShadowInstance(args
);
36682 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36683 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36688 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36689 PyObject
*pyobj
= 0;
36693 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36695 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36702 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
= 0;
36704 wxWindow
*arg1
= (wxWindow
*) 0 ;
36705 int arg2
= (int) (int)-1 ;
36706 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36707 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36712 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36713 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36714 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36715 int arg8
= (int) 0 ;
36716 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36717 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36718 wxGenericDirCtrl
*result
= 0 ;
36723 bool temp3
= false ;
36728 bool temp7
= false ;
36731 bool temp9
= false ;
36732 PyObject
* obj0
= 0 ;
36733 PyObject
* obj1
= 0 ;
36734 PyObject
* obj2
= 0 ;
36735 PyObject
* obj3
= 0 ;
36736 PyObject
* obj4
= 0 ;
36737 PyObject
* obj5
= 0 ;
36738 PyObject
* obj6
= 0 ;
36739 PyObject
* obj7
= 0 ;
36740 PyObject
* obj8
= 0 ;
36741 char * kwnames
[] = {
36742 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36747 if (!SWIG_IsOK(res1
)) {
36748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36750 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36753 if (!SWIG_IsOK(ecode2
)) {
36754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36756 arg2
= static_cast< int >(val2
);
36760 arg3
= wxString_in_helper(obj2
);
36761 if (arg3
== NULL
) SWIG_fail
;
36768 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36774 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36778 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36779 if (!SWIG_IsOK(ecode6
)) {
36780 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36782 arg6
= static_cast< long >(val6
);
36786 arg7
= wxString_in_helper(obj6
);
36787 if (arg7
== NULL
) SWIG_fail
;
36792 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36793 if (!SWIG_IsOK(ecode8
)) {
36794 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36796 arg8
= static_cast< int >(val8
);
36800 arg9
= wxString_in_helper(obj8
);
36801 if (arg9
== NULL
) SWIG_fail
;
36806 if (!wxPyCheckForApp()) SWIG_fail
;
36807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36808 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36809 wxPyEndAllowThreads(__tstate
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36843 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36844 PyObject
*resultobj
= 0;
36845 wxGenericDirCtrl
*result
= 0 ;
36847 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36849 if (!wxPyCheckForApp()) SWIG_fail
;
36850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36862 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
= 0;
36864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36865 wxWindow
*arg2
= (wxWindow
*) 0 ;
36866 int arg3
= (int) (int)-1 ;
36867 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36873 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36874 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36875 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36876 int arg9
= (int) 0 ;
36877 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36878 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36886 bool temp4
= false ;
36891 bool temp8
= false ;
36894 bool temp10
= false ;
36895 PyObject
* obj0
= 0 ;
36896 PyObject
* obj1
= 0 ;
36897 PyObject
* obj2
= 0 ;
36898 PyObject
* obj3
= 0 ;
36899 PyObject
* obj4
= 0 ;
36900 PyObject
* obj5
= 0 ;
36901 PyObject
* obj6
= 0 ;
36902 PyObject
* obj7
= 0 ;
36903 PyObject
* obj8
= 0 ;
36904 PyObject
* obj9
= 0 ;
36905 char * kwnames
[] = {
36906 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36911 if (!SWIG_IsOK(res1
)) {
36912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36914 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36915 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36916 if (!SWIG_IsOK(res2
)) {
36917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36919 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36922 if (!SWIG_IsOK(ecode3
)) {
36923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36925 arg3
= static_cast< int >(val3
);
36929 arg4
= wxString_in_helper(obj3
);
36930 if (arg4
== NULL
) SWIG_fail
;
36937 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36943 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36947 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36948 if (!SWIG_IsOK(ecode7
)) {
36949 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36951 arg7
= static_cast< long >(val7
);
36955 arg8
= wxString_in_helper(obj7
);
36956 if (arg8
== NULL
) SWIG_fail
;
36961 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36962 if (!SWIG_IsOK(ecode9
)) {
36963 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36965 arg9
= static_cast< int >(val9
);
36969 arg10
= wxString_in_helper(obj9
);
36970 if (arg10
== NULL
) SWIG_fail
;
36975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36976 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37013 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37014 PyObject
*resultobj
= 0;
37015 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37016 wxString
*arg2
= 0 ;
37020 bool temp2
= false ;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37023 char * kwnames
[] = {
37024 (char *) "self",(char *) "path", NULL
37027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37029 if (!SWIG_IsOK(res1
)) {
37030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37032 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37034 arg2
= wxString_in_helper(obj1
);
37035 if (arg2
== NULL
) SWIG_fail
;
37039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37061 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37062 PyObject
*resultobj
= 0;
37063 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37067 PyObject
*swig_obj
[1] ;
37069 if (!args
) SWIG_fail
;
37070 swig_obj
[0] = args
;
37071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37072 if (!SWIG_IsOK(res1
)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37075 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37078 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37079 wxPyEndAllowThreads(__tstate
);
37080 if (PyErr_Occurred()) SWIG_fail
;
37084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37095 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37096 PyObject
*resultobj
= 0;
37097 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37098 wxString
*arg2
= 0 ;
37101 bool temp2
= false ;
37102 PyObject
* obj0
= 0 ;
37103 PyObject
* obj1
= 0 ;
37104 char * kwnames
[] = {
37105 (char *) "self",(char *) "path", NULL
37108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37110 if (!SWIG_IsOK(res1
)) {
37111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37113 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37115 arg2
= wxString_in_helper(obj1
);
37116 if (arg2
== NULL
) SWIG_fail
;
37120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37121 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37122 wxPyEndAllowThreads(__tstate
);
37123 if (PyErr_Occurred()) SWIG_fail
;
37125 resultobj
= SWIG_Py_Void();
37140 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37141 PyObject
*resultobj
= 0;
37142 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37146 PyObject
*swig_obj
[1] ;
37148 if (!args
) SWIG_fail
;
37149 swig_obj
[0] = args
;
37150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37151 if (!SWIG_IsOK(res1
)) {
37152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37154 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37157 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37174 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37175 PyObject
*resultobj
= 0;
37176 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37180 PyObject
*swig_obj
[1] ;
37182 if (!args
) SWIG_fail
;
37183 swig_obj
[0] = args
;
37184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37185 if (!SWIG_IsOK(res1
)) {
37186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37188 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37191 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37208 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37209 PyObject
*resultobj
= 0;
37210 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37211 wxString
*arg2
= 0 ;
37214 bool temp2
= false ;
37215 PyObject
* obj0
= 0 ;
37216 PyObject
* obj1
= 0 ;
37217 char * kwnames
[] = {
37218 (char *) "self",(char *) "path", NULL
37221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37223 if (!SWIG_IsOK(res1
)) {
37224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37226 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37228 arg2
= wxString_in_helper(obj1
);
37229 if (arg2
== NULL
) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 (arg1
)->SetPath((wxString
const &)*arg2
);
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 resultobj
= SWIG_Py_Void();
37253 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37254 PyObject
*resultobj
= 0;
37255 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37261 PyObject
* obj0
= 0 ;
37262 PyObject
* obj1
= 0 ;
37263 char * kwnames
[] = {
37264 (char *) "self",(char *) "show", NULL
37267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37269 if (!SWIG_IsOK(res1
)) {
37270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37272 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37273 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37274 if (!SWIG_IsOK(ecode2
)) {
37275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37277 arg2
= static_cast< bool >(val2
);
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37280 (arg1
)->ShowHidden(arg2
);
37281 wxPyEndAllowThreads(__tstate
);
37282 if (PyErr_Occurred()) SWIG_fail
;
37284 resultobj
= SWIG_Py_Void();
37291 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37292 PyObject
*resultobj
= 0;
37293 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37297 PyObject
*swig_obj
[1] ;
37299 if (!args
) SWIG_fail
;
37300 swig_obj
[0] = args
;
37301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37302 if (!SWIG_IsOK(res1
)) {
37303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37305 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37308 result
= (bool)(arg1
)->GetShowHidden();
37309 wxPyEndAllowThreads(__tstate
);
37310 if (PyErr_Occurred()) SWIG_fail
;
37313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37321 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37322 PyObject
*resultobj
= 0;
37323 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37327 PyObject
*swig_obj
[1] ;
37329 if (!args
) SWIG_fail
;
37330 swig_obj
[0] = args
;
37331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37332 if (!SWIG_IsOK(res1
)) {
37333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37335 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37339 wxPyEndAllowThreads(__tstate
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37355 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
= 0;
37357 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37358 wxString
*arg2
= 0 ;
37361 bool temp2
= false ;
37362 PyObject
* obj0
= 0 ;
37363 PyObject
* obj1
= 0 ;
37364 char * kwnames
[] = {
37365 (char *) "self",(char *) "filter", NULL
37368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37370 if (!SWIG_IsOK(res1
)) {
37371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37373 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37375 arg2
= wxString_in_helper(obj1
);
37376 if (arg2
== NULL
) SWIG_fail
;
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 (arg1
)->SetFilter((wxString
const &)*arg2
);
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= SWIG_Py_Void();
37400 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37401 PyObject
*resultobj
= 0;
37402 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37406 PyObject
*swig_obj
[1] ;
37408 if (!args
) SWIG_fail
;
37409 swig_obj
[0] = args
;
37410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37411 if (!SWIG_IsOK(res1
)) {
37412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37414 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37417 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37418 wxPyEndAllowThreads(__tstate
);
37419 if (PyErr_Occurred()) SWIG_fail
;
37421 resultobj
= SWIG_From_int(static_cast< int >(result
));
37428 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37429 PyObject
*resultobj
= 0;
37430 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 char * kwnames
[] = {
37439 (char *) "self",(char *) "n", NULL
37442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37444 if (!SWIG_IsOK(res1
)) {
37445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37447 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37449 if (!SWIG_IsOK(ecode2
)) {
37450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37452 arg2
= static_cast< int >(val2
);
37454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37455 (arg1
)->SetFilterIndex(arg2
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37459 resultobj
= SWIG_Py_Void();
37466 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37467 PyObject
*resultobj
= 0;
37468 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37469 wxTreeItemId result
;
37472 PyObject
*swig_obj
[1] ;
37474 if (!args
) SWIG_fail
;
37475 swig_obj
[0] = args
;
37476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37477 if (!SWIG_IsOK(res1
)) {
37478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37480 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37483 result
= (arg1
)->GetRootId();
37484 wxPyEndAllowThreads(__tstate
);
37485 if (PyErr_Occurred()) SWIG_fail
;
37487 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37494 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37495 PyObject
*resultobj
= 0;
37496 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37497 wxPyTreeCtrl
*result
= 0 ;
37500 PyObject
*swig_obj
[1] ;
37502 if (!args
) SWIG_fail
;
37503 swig_obj
[0] = args
;
37504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37505 if (!SWIG_IsOK(res1
)) {
37506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37508 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37511 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37512 wxPyEndAllowThreads(__tstate
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37516 resultobj
= wxPyMake_wxObject(result
, 0);
37524 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37525 PyObject
*resultobj
= 0;
37526 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37527 wxDirFilterListCtrl
*result
= 0 ;
37530 PyObject
*swig_obj
[1] ;
37532 if (!args
) SWIG_fail
;
37533 swig_obj
[0] = args
;
37534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37535 if (!SWIG_IsOK(res1
)) {
37536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37538 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37541 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37542 wxPyEndAllowThreads(__tstate
);
37543 if (PyErr_Occurred()) SWIG_fail
;
37545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37552 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37553 PyObject
*resultobj
= 0;
37554 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37555 wxTreeItemId arg2
;
37556 wxString
*arg3
= 0 ;
37558 wxTreeItemId result
;
37563 bool temp3
= false ;
37565 int res4
= SWIG_TMPOBJ
;
37566 PyObject
* obj0
= 0 ;
37567 PyObject
* obj1
= 0 ;
37568 PyObject
* obj2
= 0 ;
37569 char * kwnames
[] = {
37570 (char *) "self",(char *) "parentId",(char *) "path", NULL
37574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37576 if (!SWIG_IsOK(res1
)) {
37577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37579 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37582 if (!SWIG_IsOK(res2
)) {
37583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37588 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37590 if (SWIG_IsNewObj(res2
)) delete temp
;
37594 arg3
= wxString_in_helper(obj2
);
37595 if (arg3
== NULL
) SWIG_fail
;
37599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37600 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37601 wxPyEndAllowThreads(__tstate
);
37602 if (PyErr_Occurred()) SWIG_fail
;
37604 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37605 if (SWIG_IsTmpObj(res4
)) {
37606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37608 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37625 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37626 PyObject
*resultobj
= 0;
37627 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37630 PyObject
*swig_obj
[1] ;
37632 if (!args
) SWIG_fail
;
37633 swig_obj
[0] = args
;
37634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37635 if (!SWIG_IsOK(res1
)) {
37636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37638 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37641 (arg1
)->DoResize();
37642 wxPyEndAllowThreads(__tstate
);
37643 if (PyErr_Occurred()) SWIG_fail
;
37645 resultobj
= SWIG_Py_Void();
37652 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37653 PyObject
*resultobj
= 0;
37654 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37657 PyObject
*swig_obj
[1] ;
37659 if (!args
) SWIG_fail
;
37660 swig_obj
[0] = args
;
37661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37662 if (!SWIG_IsOK(res1
)) {
37663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37665 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 (arg1
)->ReCreateTree();
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37672 resultobj
= SWIG_Py_Void();
37679 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37682 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37683 return SWIG_Py_Void();
37686 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37687 return SWIG_Python_InitShadowInstance(args
);
37690 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37691 PyObject
*resultobj
= 0;
37692 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37693 int arg2
= (int) (int)-1 ;
37694 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37695 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37696 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37697 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37698 long arg5
= (long) 0 ;
37699 wxDirFilterListCtrl
*result
= 0 ;
37708 PyObject
* obj0
= 0 ;
37709 PyObject
* obj1
= 0 ;
37710 PyObject
* obj2
= 0 ;
37711 PyObject
* obj3
= 0 ;
37712 PyObject
* obj4
= 0 ;
37713 char * kwnames
[] = {
37714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37719 if (!SWIG_IsOK(res1
)) {
37720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37722 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37725 if (!SWIG_IsOK(ecode2
)) {
37726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37728 arg2
= static_cast< int >(val2
);
37733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37743 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37744 if (!SWIG_IsOK(ecode5
)) {
37745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37747 arg5
= static_cast< long >(val5
);
37750 if (!wxPyCheckForApp()) SWIG_fail
;
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37753 wxPyEndAllowThreads(__tstate
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37763 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37764 PyObject
*resultobj
= 0;
37765 wxDirFilterListCtrl
*result
= 0 ;
37767 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37769 if (!wxPyCheckForApp()) SWIG_fail
;
37770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37771 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37772 wxPyEndAllowThreads(__tstate
);
37773 if (PyErr_Occurred()) SWIG_fail
;
37775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37782 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37783 PyObject
*resultobj
= 0;
37784 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37785 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37786 int arg3
= (int) (int)-1 ;
37787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37791 long arg6
= (long) 0 ;
37803 PyObject
* obj0
= 0 ;
37804 PyObject
* obj1
= 0 ;
37805 PyObject
* obj2
= 0 ;
37806 PyObject
* obj3
= 0 ;
37807 PyObject
* obj4
= 0 ;
37808 PyObject
* obj5
= 0 ;
37809 char * kwnames
[] = {
37810 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37815 if (!SWIG_IsOK(res1
)) {
37816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37818 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37820 if (!SWIG_IsOK(res2
)) {
37821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37823 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37826 if (!SWIG_IsOK(ecode3
)) {
37827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37829 arg3
= static_cast< int >(val3
);
37834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37844 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37845 if (!SWIG_IsOK(ecode6
)) {
37846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37848 arg6
= static_cast< long >(val6
);
37851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37853 wxPyEndAllowThreads(__tstate
);
37854 if (PyErr_Occurred()) SWIG_fail
;
37857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37865 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37866 PyObject
*resultobj
= 0;
37867 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37868 wxString
*arg2
= 0 ;
37872 bool temp2
= false ;
37875 PyObject
* obj0
= 0 ;
37876 PyObject
* obj1
= 0 ;
37877 PyObject
* obj2
= 0 ;
37878 char * kwnames
[] = {
37879 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37884 if (!SWIG_IsOK(res1
)) {
37885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37887 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37889 arg2
= wxString_in_helper(obj1
);
37890 if (arg2
== NULL
) SWIG_fail
;
37893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37894 if (!SWIG_IsOK(ecode3
)) {
37895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37897 arg3
= static_cast< int >(val3
);
37899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37900 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 resultobj
= SWIG_Py_Void();
37919 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37922 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37923 return SWIG_Py_Void();
37926 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37927 return SWIG_Python_InitShadowInstance(args
);
37930 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37931 PyObject
*resultobj
= 0;
37932 wxWindow
*arg1
= (wxWindow
*) 0 ;
37933 int arg2
= (int) (int)-1 ;
37934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37936 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37937 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37938 long arg5
= (long) 0 ;
37939 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37940 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37941 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37943 wxPyControl
*result
= 0 ;
37954 bool temp7
= false ;
37955 PyObject
* obj0
= 0 ;
37956 PyObject
* obj1
= 0 ;
37957 PyObject
* obj2
= 0 ;
37958 PyObject
* obj3
= 0 ;
37959 PyObject
* obj4
= 0 ;
37960 PyObject
* obj5
= 0 ;
37961 PyObject
* obj6
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37971 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37974 if (!SWIG_IsOK(ecode2
)) {
37975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37977 arg2
= static_cast< int >(val2
);
37982 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37988 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37992 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37993 if (!SWIG_IsOK(ecode5
)) {
37994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37996 arg5
= static_cast< long >(val5
);
37999 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38000 if (!SWIG_IsOK(res6
)) {
38001 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38006 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38010 arg7
= wxString_in_helper(obj6
);
38011 if (arg7
== NULL
) SWIG_fail
;
38016 if (!wxPyCheckForApp()) SWIG_fail
;
38017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38018 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38019 wxPyEndAllowThreads(__tstate
);
38020 if (PyErr_Occurred()) SWIG_fail
;
38022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38037 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38038 PyObject
*resultobj
= 0;
38039 wxPyControl
*result
= 0 ;
38041 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38043 if (!wxPyCheckForApp()) SWIG_fail
;
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 result
= (wxPyControl
*)new wxPyControl();
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38056 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38057 PyObject
*resultobj
= 0;
38058 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38059 PyObject
*arg2
= (PyObject
*) 0 ;
38060 PyObject
*arg3
= (PyObject
*) 0 ;
38063 PyObject
* obj0
= 0 ;
38064 PyObject
* obj1
= 0 ;
38065 PyObject
* obj2
= 0 ;
38066 char * kwnames
[] = {
38067 (char *) "self",(char *) "self",(char *) "_class", NULL
38070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38072 if (!SWIG_IsOK(res1
)) {
38073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38075 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38084 resultobj
= SWIG_Py_Void();
38091 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
= 0;
38093 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38098 PyObject
* obj0
= 0 ;
38099 PyObject
* obj1
= 0 ;
38100 char * kwnames
[] = {
38101 (char *) "self",(char *) "size", NULL
38104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38106 if (!SWIG_IsOK(res1
)) {
38107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38109 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38112 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38120 resultobj
= SWIG_Py_Void();
38127 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38128 PyObject
*resultobj
= 0;
38129 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38130 wxDC
*arg2
= (wxDC
*) 0 ;
38136 PyObject
* obj0
= 0 ;
38137 PyObject
* obj1
= 0 ;
38138 char * kwnames
[] = {
38139 (char *) "self",(char *) "dc", NULL
38142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) 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_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38147 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38149 if (!SWIG_IsOK(res2
)) {
38150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38152 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38156 wxPyEndAllowThreads(__tstate
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38168 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38169 PyObject
*resultobj
= 0;
38170 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38185 PyObject
* obj0
= 0 ;
38186 PyObject
* obj1
= 0 ;
38187 PyObject
* obj2
= 0 ;
38188 PyObject
* obj3
= 0 ;
38189 PyObject
* obj4
= 0 ;
38190 char * kwnames
[] = {
38191 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38196 if (!SWIG_IsOK(res1
)) {
38197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38199 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38201 if (!SWIG_IsOK(ecode2
)) {
38202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38204 arg2
= static_cast< int >(val2
);
38205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38206 if (!SWIG_IsOK(ecode3
)) {
38207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38209 arg3
= static_cast< int >(val3
);
38210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38211 if (!SWIG_IsOK(ecode4
)) {
38212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38214 arg4
= static_cast< int >(val4
);
38215 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38216 if (!SWIG_IsOK(ecode5
)) {
38217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38219 arg5
= static_cast< int >(val5
);
38221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38222 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38223 wxPyEndAllowThreads(__tstate
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38226 resultobj
= SWIG_Py_Void();
38233 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38234 PyObject
*resultobj
= 0;
38235 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38240 int arg6
= (int) wxSIZE_AUTO
;
38253 PyObject
* obj0
= 0 ;
38254 PyObject
* obj1
= 0 ;
38255 PyObject
* obj2
= 0 ;
38256 PyObject
* obj3
= 0 ;
38257 PyObject
* obj4
= 0 ;
38258 PyObject
* obj5
= 0 ;
38259 char * kwnames
[] = {
38260 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38265 if (!SWIG_IsOK(res1
)) {
38266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38268 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38270 if (!SWIG_IsOK(ecode2
)) {
38271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38273 arg2
= static_cast< int >(val2
);
38274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38275 if (!SWIG_IsOK(ecode3
)) {
38276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38278 arg3
= static_cast< int >(val3
);
38279 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38280 if (!SWIG_IsOK(ecode4
)) {
38281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38283 arg4
= static_cast< int >(val4
);
38284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38285 if (!SWIG_IsOK(ecode5
)) {
38286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38288 arg5
= static_cast< int >(val5
);
38290 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38291 if (!SWIG_IsOK(ecode6
)) {
38292 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38294 arg6
= static_cast< int >(val6
);
38297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38298 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38299 wxPyEndAllowThreads(__tstate
);
38300 if (PyErr_Occurred()) SWIG_fail
;
38302 resultobj
= SWIG_Py_Void();
38309 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38310 PyObject
*resultobj
= 0;
38311 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38320 PyObject
* obj0
= 0 ;
38321 PyObject
* obj1
= 0 ;
38322 PyObject
* obj2
= 0 ;
38323 char * kwnames
[] = {
38324 (char *) "self",(char *) "width",(char *) "height", NULL
38327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38329 if (!SWIG_IsOK(res1
)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38332 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38334 if (!SWIG_IsOK(ecode2
)) {
38335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38337 arg2
= static_cast< int >(val2
);
38338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38339 if (!SWIG_IsOK(ecode3
)) {
38340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38342 arg3
= static_cast< int >(val3
);
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 (arg1
)->DoSetClientSize(arg2
,arg3
);
38346 wxPyEndAllowThreads(__tstate
);
38347 if (PyErr_Occurred()) SWIG_fail
;
38349 resultobj
= SWIG_Py_Void();
38356 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38357 PyObject
*resultobj
= 0;
38358 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38367 PyObject
* obj0
= 0 ;
38368 PyObject
* obj1
= 0 ;
38369 PyObject
* obj2
= 0 ;
38370 char * kwnames
[] = {
38371 (char *) "self",(char *) "x",(char *) "y", NULL
38374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38376 if (!SWIG_IsOK(res1
)) {
38377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38379 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38381 if (!SWIG_IsOK(ecode2
)) {
38382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38384 arg2
= static_cast< int >(val2
);
38385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38386 if (!SWIG_IsOK(ecode3
)) {
38387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38389 arg3
= static_cast< int >(val3
);
38391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38392 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38393 wxPyEndAllowThreads(__tstate
);
38394 if (PyErr_Occurred()) SWIG_fail
;
38396 resultobj
= SWIG_Py_Void();
38403 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38404 PyObject
*resultobj
= 0;
38405 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38406 int *arg2
= (int *) 0 ;
38407 int *arg3
= (int *) 0 ;
38411 int res2
= SWIG_TMPOBJ
;
38413 int res3
= SWIG_TMPOBJ
;
38414 PyObject
*swig_obj
[1] ;
38418 if (!args
) SWIG_fail
;
38419 swig_obj
[0] = args
;
38420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38421 if (!SWIG_IsOK(res1
)) {
38422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38424 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38428 wxPyEndAllowThreads(__tstate
);
38429 if (PyErr_Occurred()) SWIG_fail
;
38431 resultobj
= SWIG_Py_Void();
38432 if (SWIG_IsTmpObj(res2
)) {
38433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38435 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38438 if (SWIG_IsTmpObj(res3
)) {
38439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38441 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38450 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38451 PyObject
*resultobj
= 0;
38452 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38453 int *arg2
= (int *) 0 ;
38454 int *arg3
= (int *) 0 ;
38458 int res2
= SWIG_TMPOBJ
;
38460 int res3
= SWIG_TMPOBJ
;
38461 PyObject
*swig_obj
[1] ;
38465 if (!args
) SWIG_fail
;
38466 swig_obj
[0] = args
;
38467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38468 if (!SWIG_IsOK(res1
)) {
38469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38471 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38474 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38475 wxPyEndAllowThreads(__tstate
);
38476 if (PyErr_Occurred()) SWIG_fail
;
38478 resultobj
= SWIG_Py_Void();
38479 if (SWIG_IsTmpObj(res2
)) {
38480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38482 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38485 if (SWIG_IsTmpObj(res3
)) {
38486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38488 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38497 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38498 PyObject
*resultobj
= 0;
38499 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38500 int *arg2
= (int *) 0 ;
38501 int *arg3
= (int *) 0 ;
38505 int res2
= SWIG_TMPOBJ
;
38507 int res3
= SWIG_TMPOBJ
;
38508 PyObject
*swig_obj
[1] ;
38512 if (!args
) SWIG_fail
;
38513 swig_obj
[0] = args
;
38514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38515 if (!SWIG_IsOK(res1
)) {
38516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38518 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38521 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38522 wxPyEndAllowThreads(__tstate
);
38523 if (PyErr_Occurred()) SWIG_fail
;
38525 resultobj
= SWIG_Py_Void();
38526 if (SWIG_IsTmpObj(res2
)) {
38527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38529 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38532 if (SWIG_IsTmpObj(res3
)) {
38533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38535 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38544 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38545 PyObject
*resultobj
= 0;
38546 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38550 PyObject
*swig_obj
[1] ;
38552 if (!args
) SWIG_fail
;
38553 swig_obj
[0] = args
;
38554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38555 if (!SWIG_IsOK(res1
)) {
38556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38558 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38561 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38562 wxPyEndAllowThreads(__tstate
);
38563 if (PyErr_Occurred()) SWIG_fail
;
38565 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38572 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38573 PyObject
*resultobj
= 0;
38574 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38578 PyObject
*swig_obj
[1] ;
38580 if (!args
) SWIG_fail
;
38581 swig_obj
[0] = args
;
38582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38583 if (!SWIG_IsOK(res1
)) {
38584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38586 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38589 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38590 wxPyEndAllowThreads(__tstate
);
38591 if (PyErr_Occurred()) SWIG_fail
;
38593 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38600 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38601 PyObject
*resultobj
= 0;
38602 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38603 SwigValueWrapper
<wxVisualAttributes
> result
;
38606 PyObject
*swig_obj
[1] ;
38608 if (!args
) SWIG_fail
;
38609 swig_obj
[0] = args
;
38610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38611 if (!SWIG_IsOK(res1
)) {
38612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38614 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38617 result
= (arg1
)->GetDefaultAttributes();
38618 wxPyEndAllowThreads(__tstate
);
38619 if (PyErr_Occurred()) SWIG_fail
;
38621 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38628 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38629 PyObject
*resultobj
= 0;
38630 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38633 PyObject
*swig_obj
[1] ;
38635 if (!args
) SWIG_fail
;
38636 swig_obj
[0] = args
;
38637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38638 if (!SWIG_IsOK(res1
)) {
38639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38641 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38644 (arg1
)->OnInternalIdle();
38645 wxPyEndAllowThreads(__tstate
);
38646 if (PyErr_Occurred()) SWIG_fail
;
38648 resultobj
= SWIG_Py_Void();
38655 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38658 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38659 return SWIG_Py_Void();
38662 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38663 return SWIG_Python_InitShadowInstance(args
);
38666 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38667 PyObject
*resultobj
= 0;
38668 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38669 int arg2
= (int) 0 ;
38670 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38671 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38672 wxHelpEvent
*result
= 0 ;
38678 PyObject
* obj0
= 0 ;
38679 PyObject
* obj1
= 0 ;
38680 PyObject
* obj2
= 0 ;
38681 char * kwnames
[] = {
38682 (char *) "type",(char *) "winid",(char *) "pt", NULL
38685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38688 if (!SWIG_IsOK(ecode1
)) {
38689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38691 arg1
= static_cast< wxEventType
>(val1
);
38694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38695 if (!SWIG_IsOK(ecode2
)) {
38696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38698 arg2
= static_cast< int >(val2
);
38703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38709 wxPyEndAllowThreads(__tstate
);
38710 if (PyErr_Occurred()) SWIG_fail
;
38712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38719 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38720 PyObject
*resultobj
= 0;
38721 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38725 PyObject
*swig_obj
[1] ;
38727 if (!args
) SWIG_fail
;
38728 swig_obj
[0] = args
;
38729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38730 if (!SWIG_IsOK(res1
)) {
38731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38733 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38736 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38737 wxPyEndAllowThreads(__tstate
);
38738 if (PyErr_Occurred()) SWIG_fail
;
38740 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38747 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38748 PyObject
*resultobj
= 0;
38749 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38750 wxPoint
*arg2
= 0 ;
38754 PyObject
* obj0
= 0 ;
38755 PyObject
* obj1
= 0 ;
38756 char * kwnames
[] = {
38757 (char *) "self",(char *) "pos", NULL
38760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38762 if (!SWIG_IsOK(res1
)) {
38763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38765 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38773 wxPyEndAllowThreads(__tstate
);
38774 if (PyErr_Occurred()) SWIG_fail
;
38776 resultobj
= SWIG_Py_Void();
38783 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38784 PyObject
*resultobj
= 0;
38785 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38786 wxString
*result
= 0 ;
38789 PyObject
*swig_obj
[1] ;
38791 if (!args
) SWIG_fail
;
38792 swig_obj
[0] = args
;
38793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38794 if (!SWIG_IsOK(res1
)) {
38795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38797 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38801 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38802 result
= (wxString
*) &_result_ref
;
38804 wxPyEndAllowThreads(__tstate
);
38805 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38811 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38820 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38821 PyObject
*resultobj
= 0;
38822 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38823 wxString
*arg2
= 0 ;
38826 bool temp2
= false ;
38827 PyObject
* obj0
= 0 ;
38828 PyObject
* obj1
= 0 ;
38829 char * kwnames
[] = {
38830 (char *) "self",(char *) "link", NULL
38833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38835 if (!SWIG_IsOK(res1
)) {
38836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38838 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38840 arg2
= wxString_in_helper(obj1
);
38841 if (arg2
== NULL
) SWIG_fail
;
38845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38846 (arg1
)->SetLink((wxString
const &)*arg2
);
38847 wxPyEndAllowThreads(__tstate
);
38848 if (PyErr_Occurred()) SWIG_fail
;
38850 resultobj
= SWIG_Py_Void();
38865 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38866 PyObject
*resultobj
= 0;
38867 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38868 wxString
*result
= 0 ;
38871 PyObject
*swig_obj
[1] ;
38873 if (!args
) SWIG_fail
;
38874 swig_obj
[0] = args
;
38875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38876 if (!SWIG_IsOK(res1
)) {
38877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38879 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38883 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38884 result
= (wxString
*) &_result_ref
;
38886 wxPyEndAllowThreads(__tstate
);
38887 if (PyErr_Occurred()) SWIG_fail
;
38891 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38893 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38902 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38903 PyObject
*resultobj
= 0;
38904 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38905 wxString
*arg2
= 0 ;
38908 bool temp2
= false ;
38909 PyObject
* obj0
= 0 ;
38910 PyObject
* obj1
= 0 ;
38911 char * kwnames
[] = {
38912 (char *) "self",(char *) "target", NULL
38915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38917 if (!SWIG_IsOK(res1
)) {
38918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38920 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38922 arg2
= wxString_in_helper(obj1
);
38923 if (arg2
== NULL
) SWIG_fail
;
38927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38928 (arg1
)->SetTarget((wxString
const &)*arg2
);
38929 wxPyEndAllowThreads(__tstate
);
38930 if (PyErr_Occurred()) SWIG_fail
;
38932 resultobj
= SWIG_Py_Void();
38947 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38950 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38951 return SWIG_Py_Void();
38954 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38955 return SWIG_Python_InitShadowInstance(args
);
38958 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38959 PyObject
*resultobj
= 0;
38960 wxWindow
*arg1
= (wxWindow
*) NULL
;
38961 bool arg2
= (bool) true ;
38962 wxContextHelp
*result
= 0 ;
38967 PyObject
* obj0
= 0 ;
38968 PyObject
* obj1
= 0 ;
38969 char * kwnames
[] = {
38970 (char *) "window",(char *) "doNow", NULL
38973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38976 if (!SWIG_IsOK(res1
)) {
38977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38979 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38982 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38983 if (!SWIG_IsOK(ecode2
)) {
38984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38986 arg2
= static_cast< bool >(val2
);
38989 if (!wxPyCheckForApp()) SWIG_fail
;
38990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38991 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38992 wxPyEndAllowThreads(__tstate
);
38993 if (PyErr_Occurred()) SWIG_fail
;
38995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39002 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39003 PyObject
*resultobj
= 0;
39004 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39007 PyObject
*swig_obj
[1] ;
39009 if (!args
) SWIG_fail
;
39010 swig_obj
[0] = args
;
39011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39012 if (!SWIG_IsOK(res1
)) {
39013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39015 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39020 wxPyEndAllowThreads(__tstate
);
39021 if (PyErr_Occurred()) SWIG_fail
;
39023 resultobj
= SWIG_Py_Void();
39030 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39031 PyObject
*resultobj
= 0;
39032 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39033 wxWindow
*arg2
= (wxWindow
*) NULL
;
39039 PyObject
* obj0
= 0 ;
39040 PyObject
* obj1
= 0 ;
39041 char * kwnames
[] = {
39042 (char *) "self",(char *) "window", NULL
39045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39047 if (!SWIG_IsOK(res1
)) {
39048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39050 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39052 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39053 if (!SWIG_IsOK(res2
)) {
39054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39056 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39060 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39061 wxPyEndAllowThreads(__tstate
);
39062 if (PyErr_Occurred()) SWIG_fail
;
39065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39073 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39074 PyObject
*resultobj
= 0;
39075 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
, 0 | 0 );
39084 if (!SWIG_IsOK(res1
)) {
39085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39087 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39090 result
= (bool)(arg1
)->EndContextHelp();
39091 wxPyEndAllowThreads(__tstate
);
39092 if (PyErr_Occurred()) SWIG_fail
;
39095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39103 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39106 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39107 return SWIG_Py_Void();
39110 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39111 return SWIG_Python_InitShadowInstance(args
);
39114 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39115 PyObject
*resultobj
= 0;
39116 wxWindow
*arg1
= (wxWindow
*) 0 ;
39117 int arg2
= (int) wxID_CONTEXT_HELP
;
39118 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39119 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39120 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39121 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39122 long arg5
= (long) wxBU_AUTODRAW
;
39123 wxContextHelpButton
*result
= 0 ;
39132 PyObject
* obj0
= 0 ;
39133 PyObject
* obj1
= 0 ;
39134 PyObject
* obj2
= 0 ;
39135 PyObject
* obj3
= 0 ;
39136 PyObject
* obj4
= 0 ;
39137 char * kwnames
[] = {
39138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39143 if (!SWIG_IsOK(res1
)) {
39144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39146 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39149 if (!SWIG_IsOK(ecode2
)) {
39150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39152 arg2
= static_cast< int >(val2
);
39157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39167 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39168 if (!SWIG_IsOK(ecode5
)) {
39169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39171 arg5
= static_cast< long >(val5
);
39174 if (!wxPyCheckForApp()) SWIG_fail
;
39175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39176 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39177 wxPyEndAllowThreads(__tstate
);
39178 if (PyErr_Occurred()) SWIG_fail
;
39180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39187 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39190 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39191 return SWIG_Py_Void();
39194 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39195 return SWIG_Python_InitShadowInstance(args
);
39198 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39199 PyObject
*resultobj
= 0;
39200 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39203 PyObject
*swig_obj
[1] ;
39205 if (!args
) SWIG_fail
;
39206 swig_obj
[0] = args
;
39207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39208 if (!SWIG_IsOK(res1
)) {
39209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39211 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39216 wxPyEndAllowThreads(__tstate
);
39217 if (PyErr_Occurred()) SWIG_fail
;
39219 resultobj
= SWIG_Py_Void();
39226 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39227 PyObject
*resultobj
= 0;
39228 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39229 wxHelpProvider
*result
= 0 ;
39231 PyObject
* obj0
= 0 ;
39232 char * kwnames
[] = {
39233 (char *) "helpProvider", NULL
39236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39237 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39238 if (!SWIG_IsOK(res1
)) {
39239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39243 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39244 wxPyEndAllowThreads(__tstate
);
39245 if (PyErr_Occurred()) SWIG_fail
;
39247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39254 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39255 PyObject
*resultobj
= 0;
39256 wxHelpProvider
*result
= 0 ;
39258 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39272 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
= 0;
39274 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39275 wxWindow
*arg2
= (wxWindow
*) 0 ;
39281 PyObject
* obj0
= 0 ;
39282 PyObject
* obj1
= 0 ;
39283 char * kwnames
[] = {
39284 (char *) "self",(char *) "window", NULL
39287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39289 if (!SWIG_IsOK(res1
)) {
39290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39292 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39294 if (!SWIG_IsOK(res2
)) {
39295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39300 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39301 wxPyEndAllowThreads(__tstate
);
39302 if (PyErr_Occurred()) SWIG_fail
;
39306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39317 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39318 PyObject
*resultobj
= 0;
39319 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39320 wxWindow
*arg2
= (wxWindow
*) 0 ;
39326 PyObject
* obj0
= 0 ;
39327 PyObject
* obj1
= 0 ;
39328 char * kwnames
[] = {
39329 (char *) "self",(char *) "window", NULL
39332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39334 if (!SWIG_IsOK(res1
)) {
39335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39337 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39339 if (!SWIG_IsOK(res2
)) {
39340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39342 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39345 result
= (bool)(arg1
)->ShowHelp(arg2
);
39346 wxPyEndAllowThreads(__tstate
);
39347 if (PyErr_Occurred()) SWIG_fail
;
39350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39358 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39359 PyObject
*resultobj
= 0;
39360 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39361 wxWindow
*arg2
= (wxWindow
*) 0 ;
39362 wxString
*arg3
= 0 ;
39367 bool temp3
= false ;
39368 PyObject
* obj0
= 0 ;
39369 PyObject
* obj1
= 0 ;
39370 PyObject
* obj2
= 0 ;
39371 char * kwnames
[] = {
39372 (char *) "self",(char *) "window",(char *) "text", NULL
39375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39377 if (!SWIG_IsOK(res1
)) {
39378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39380 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39382 if (!SWIG_IsOK(res2
)) {
39383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39385 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39387 arg3
= wxString_in_helper(obj2
);
39388 if (arg3
== NULL
) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39394 wxPyEndAllowThreads(__tstate
);
39395 if (PyErr_Occurred()) SWIG_fail
;
39397 resultobj
= SWIG_Py_Void();
39412 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39413 PyObject
*resultobj
= 0;
39414 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39416 wxString
*arg3
= 0 ;
39421 bool temp3
= false ;
39422 PyObject
* obj0
= 0 ;
39423 PyObject
* obj1
= 0 ;
39424 PyObject
* obj2
= 0 ;
39425 char * kwnames
[] = {
39426 (char *) "self",(char *) "id",(char *) "text", NULL
39429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39431 if (!SWIG_IsOK(res1
)) {
39432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39434 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39436 if (!SWIG_IsOK(ecode2
)) {
39437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39439 arg2
= static_cast< int >(val2
);
39441 arg3
= wxString_in_helper(obj2
);
39442 if (arg3
== NULL
) SWIG_fail
;
39446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39447 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 resultobj
= SWIG_Py_Void();
39466 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39467 PyObject
*resultobj
= 0;
39468 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39469 wxWindow
*arg2
= (wxWindow
*) 0 ;
39474 PyObject
* obj0
= 0 ;
39475 PyObject
* obj1
= 0 ;
39476 char * kwnames
[] = {
39477 (char *) "self",(char *) "window", NULL
39480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39482 if (!SWIG_IsOK(res1
)) {
39483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39485 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39487 if (!SWIG_IsOK(res2
)) {
39488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39490 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39493 (arg1
)->RemoveHelp(arg2
);
39494 wxPyEndAllowThreads(__tstate
);
39495 if (PyErr_Occurred()) SWIG_fail
;
39497 resultobj
= SWIG_Py_Void();
39504 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39505 PyObject
*resultobj
= 0;
39506 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39509 PyObject
*swig_obj
[1] ;
39511 if (!args
) SWIG_fail
;
39512 swig_obj
[0] = args
;
39513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39514 if (!SWIG_IsOK(res1
)) {
39515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39517 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39520 wxHelpProvider_Destroy(arg1
);
39521 wxPyEndAllowThreads(__tstate
);
39522 if (PyErr_Occurred()) SWIG_fail
;
39524 resultobj
= SWIG_Py_Void();
39531 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39534 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39535 return SWIG_Py_Void();
39538 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39539 PyObject
*resultobj
= 0;
39540 wxSimpleHelpProvider
*result
= 0 ;
39542 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39545 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39546 wxPyEndAllowThreads(__tstate
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39556 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39559 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39560 return SWIG_Py_Void();
39563 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39564 return SWIG_Python_InitShadowInstance(args
);
39567 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39568 PyObject
*resultobj
= 0;
39569 wxBitmap
*arg1
= 0 ;
39570 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39571 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39572 wxGenericDragImage
*result
= 0 ;
39577 PyObject
* obj0
= 0 ;
39578 PyObject
* obj1
= 0 ;
39579 char * kwnames
[] = {
39580 (char *) "image",(char *) "cursor", NULL
39583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39584 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39585 if (!SWIG_IsOK(res1
)) {
39586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39591 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39594 if (!SWIG_IsOK(res2
)) {
39595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39600 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39603 if (!wxPyCheckForApp()) SWIG_fail
;
39604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39605 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39606 wxPyEndAllowThreads(__tstate
);
39607 if (PyErr_Occurred()) SWIG_fail
;
39609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39616 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39617 PyObject
*resultobj
= 0;
39619 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39620 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39621 wxGenericDragImage
*result
= 0 ;
39626 PyObject
* obj0
= 0 ;
39627 PyObject
* obj1
= 0 ;
39628 char * kwnames
[] = {
39629 (char *) "image",(char *) "cursor", NULL
39632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39633 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39634 if (!SWIG_IsOK(res1
)) {
39635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39640 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39643 if (!SWIG_IsOK(res2
)) {
39644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39649 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39652 if (!wxPyCheckForApp()) SWIG_fail
;
39653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39654 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39655 wxPyEndAllowThreads(__tstate
);
39656 if (PyErr_Occurred()) SWIG_fail
;
39658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39665 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39666 PyObject
*resultobj
= 0;
39667 wxString
*arg1
= 0 ;
39668 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39669 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39670 wxGenericDragImage
*result
= 0 ;
39671 bool temp1
= false ;
39674 PyObject
* obj0
= 0 ;
39675 PyObject
* obj1
= 0 ;
39676 char * kwnames
[] = {
39677 (char *) "str",(char *) "cursor", NULL
39680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39682 arg1
= wxString_in_helper(obj0
);
39683 if (arg1
== NULL
) SWIG_fail
;
39687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39688 if (!SWIG_IsOK(res2
)) {
39689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39694 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39697 if (!wxPyCheckForApp()) SWIG_fail
;
39698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39699 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39700 wxPyEndAllowThreads(__tstate
);
39701 if (PyErr_Occurred()) SWIG_fail
;
39703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39718 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39719 PyObject
*resultobj
= 0;
39720 wxPyTreeCtrl
*arg1
= 0 ;
39721 wxTreeItemId
*arg2
= 0 ;
39722 wxGenericDragImage
*result
= 0 ;
39727 PyObject
* obj0
= 0 ;
39728 PyObject
* obj1
= 0 ;
39729 char * kwnames
[] = {
39730 (char *) "treeCtrl",(char *) "id", NULL
39733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39734 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39735 if (!SWIG_IsOK(res1
)) {
39736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39741 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39743 if (!SWIG_IsOK(res2
)) {
39744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39749 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39751 if (!wxPyCheckForApp()) SWIG_fail
;
39752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39753 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39754 wxPyEndAllowThreads(__tstate
);
39755 if (PyErr_Occurred()) SWIG_fail
;
39757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39764 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39765 PyObject
*resultobj
= 0;
39766 wxPyListCtrl
*arg1
= 0 ;
39768 wxGenericDragImage
*result
= 0 ;
39773 PyObject
* obj0
= 0 ;
39774 PyObject
* obj1
= 0 ;
39775 char * kwnames
[] = {
39776 (char *) "listCtrl",(char *) "id", NULL
39779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39780 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39781 if (!SWIG_IsOK(res1
)) {
39782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39787 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39788 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39789 if (!SWIG_IsOK(ecode2
)) {
39790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39792 arg2
= static_cast< long >(val2
);
39794 if (!wxPyCheckForApp()) SWIG_fail
;
39795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39796 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39797 wxPyEndAllowThreads(__tstate
);
39798 if (PyErr_Occurred()) SWIG_fail
;
39800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39807 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39808 PyObject
*resultobj
= 0;
39809 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39812 PyObject
*swig_obj
[1] ;
39814 if (!args
) SWIG_fail
;
39815 swig_obj
[0] = args
;
39816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39817 if (!SWIG_IsOK(res1
)) {
39818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39820 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39825 wxPyEndAllowThreads(__tstate
);
39826 if (PyErr_Occurred()) SWIG_fail
;
39828 resultobj
= SWIG_Py_Void();
39835 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39836 PyObject
*resultobj
= 0;
39837 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39838 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39843 PyObject
* obj0
= 0 ;
39844 PyObject
* obj1
= 0 ;
39845 char * kwnames
[] = {
39846 (char *) "self",(char *) "bitmap", NULL
39849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39851 if (!SWIG_IsOK(res1
)) {
39852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39854 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39856 if (!SWIG_IsOK(res2
)) {
39857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39859 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39862 (arg1
)->SetBackingBitmap(arg2
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39866 resultobj
= SWIG_Py_Void();
39873 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39874 PyObject
*resultobj
= 0;
39875 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39876 wxPoint
*arg2
= 0 ;
39877 wxWindow
*arg3
= (wxWindow
*) 0 ;
39878 bool arg4
= (bool) false ;
39879 wxRect
*arg5
= (wxRect
*) NULL
;
39890 PyObject
* obj0
= 0 ;
39891 PyObject
* obj1
= 0 ;
39892 PyObject
* obj2
= 0 ;
39893 PyObject
* obj3
= 0 ;
39894 PyObject
* obj4
= 0 ;
39895 char * kwnames
[] = {
39896 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39901 if (!SWIG_IsOK(res1
)) {
39902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39904 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39909 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39910 if (!SWIG_IsOK(res3
)) {
39911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39913 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39915 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39916 if (!SWIG_IsOK(ecode4
)) {
39917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39919 arg4
= static_cast< bool >(val4
);
39922 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39923 if (!SWIG_IsOK(res5
)) {
39924 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39926 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39930 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39931 wxPyEndAllowThreads(__tstate
);
39932 if (PyErr_Occurred()) SWIG_fail
;
39935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39943 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39944 PyObject
*resultobj
= 0;
39945 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39946 wxPoint
*arg2
= 0 ;
39947 wxWindow
*arg3
= (wxWindow
*) 0 ;
39948 wxWindow
*arg4
= (wxWindow
*) 0 ;
39957 PyObject
* obj0
= 0 ;
39958 PyObject
* obj1
= 0 ;
39959 PyObject
* obj2
= 0 ;
39960 PyObject
* obj3
= 0 ;
39961 char * kwnames
[] = {
39962 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39967 if (!SWIG_IsOK(res1
)) {
39968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39970 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39975 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39976 if (!SWIG_IsOK(res3
)) {
39977 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39979 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39980 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39981 if (!SWIG_IsOK(res4
)) {
39982 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39984 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39987 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39988 wxPyEndAllowThreads(__tstate
);
39989 if (PyErr_Occurred()) SWIG_fail
;
39992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40000 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40001 PyObject
*resultobj
= 0;
40002 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40006 PyObject
*swig_obj
[1] ;
40008 if (!args
) SWIG_fail
;
40009 swig_obj
[0] = args
;
40010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40011 if (!SWIG_IsOK(res1
)) {
40012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40014 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40017 result
= (bool)(arg1
)->EndDrag();
40018 wxPyEndAllowThreads(__tstate
);
40019 if (PyErr_Occurred()) SWIG_fail
;
40022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40030 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40031 PyObject
*resultobj
= 0;
40032 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40033 wxPoint
*arg2
= 0 ;
40038 PyObject
* obj0
= 0 ;
40039 PyObject
* obj1
= 0 ;
40040 char * kwnames
[] = {
40041 (char *) "self",(char *) "pt", NULL
40044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40046 if (!SWIG_IsOK(res1
)) {
40047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40049 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40069 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40070 PyObject
*resultobj
= 0;
40071 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40075 PyObject
*swig_obj
[1] ;
40077 if (!args
) SWIG_fail
;
40078 swig_obj
[0] = args
;
40079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40080 if (!SWIG_IsOK(res1
)) {
40081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40083 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 result
= (bool)(arg1
)->Show();
40087 wxPyEndAllowThreads(__tstate
);
40088 if (PyErr_Occurred()) SWIG_fail
;
40091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40099 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40100 PyObject
*resultobj
= 0;
40101 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40105 PyObject
*swig_obj
[1] ;
40107 if (!args
) SWIG_fail
;
40108 swig_obj
[0] = args
;
40109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40110 if (!SWIG_IsOK(res1
)) {
40111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40113 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40116 result
= (bool)(arg1
)->Hide();
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40129 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40130 PyObject
*resultobj
= 0;
40131 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40132 wxPoint
*arg2
= 0 ;
40137 PyObject
* obj0
= 0 ;
40138 PyObject
* obj1
= 0 ;
40139 char * kwnames
[] = {
40140 (char *) "self",(char *) "pos", NULL
40143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40145 if (!SWIG_IsOK(res1
)) {
40146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40148 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40151 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40155 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40159 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40166 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40167 PyObject
*resultobj
= 0;
40168 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40170 wxPoint
*arg3
= 0 ;
40177 PyObject
* obj0
= 0 ;
40178 PyObject
* obj1
= 0 ;
40179 PyObject
* obj2
= 0 ;
40180 char * kwnames
[] = {
40181 (char *) "self",(char *) "dc",(char *) "pos", NULL
40184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40186 if (!SWIG_IsOK(res1
)) {
40187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40189 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40191 if (!SWIG_IsOK(res2
)) {
40192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40197 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40200 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40204 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40205 wxPyEndAllowThreads(__tstate
);
40206 if (PyErr_Occurred()) SWIG_fail
;
40209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40217 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40218 PyObject
*resultobj
= 0;
40219 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40221 wxMemoryDC
*arg3
= 0 ;
40233 PyObject
* obj0
= 0 ;
40234 PyObject
* obj1
= 0 ;
40235 PyObject
* obj2
= 0 ;
40236 PyObject
* obj3
= 0 ;
40237 PyObject
* obj4
= 0 ;
40238 char * kwnames
[] = {
40239 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40244 if (!SWIG_IsOK(res1
)) {
40245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40247 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40249 if (!SWIG_IsOK(res2
)) {
40250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40255 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40256 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40257 if (!SWIG_IsOK(res3
)) {
40258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40263 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40266 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40270 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40274 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40275 wxPyEndAllowThreads(__tstate
);
40276 if (PyErr_Occurred()) SWIG_fail
;
40279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40287 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40288 PyObject
*resultobj
= 0;
40289 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40290 wxPoint
*arg2
= 0 ;
40291 wxPoint
*arg3
= 0 ;
40303 PyObject
* obj0
= 0 ;
40304 PyObject
* obj1
= 0 ;
40305 PyObject
* obj2
= 0 ;
40306 PyObject
* obj3
= 0 ;
40307 PyObject
* obj4
= 0 ;
40308 char * kwnames
[] = {
40309 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40314 if (!SWIG_IsOK(res1
)) {
40315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40317 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40320 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40326 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40327 if (!SWIG_IsOK(ecode4
)) {
40328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40330 arg4
= static_cast< bool >(val4
);
40331 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40332 if (!SWIG_IsOK(ecode5
)) {
40333 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40335 arg5
= static_cast< bool >(val5
);
40337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40339 wxPyEndAllowThreads(__tstate
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40351 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40354 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40355 return SWIG_Py_Void();
40358 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40359 return SWIG_Python_InitShadowInstance(args
);
40362 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40363 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40368 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40369 PyObject
*pyobj
= 0;
40373 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40375 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40382 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40383 PyObject
*resultobj
= 0;
40384 wxWindow
*arg1
= (wxWindow
*) 0 ;
40385 int arg2
= (int) -1 ;
40386 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40387 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40392 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40393 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40394 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40395 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40396 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40397 wxDatePickerCtrl
*result
= 0 ;
40410 bool temp8
= false ;
40411 PyObject
* obj0
= 0 ;
40412 PyObject
* obj1
= 0 ;
40413 PyObject
* obj2
= 0 ;
40414 PyObject
* obj3
= 0 ;
40415 PyObject
* obj4
= 0 ;
40416 PyObject
* obj5
= 0 ;
40417 PyObject
* obj6
= 0 ;
40418 PyObject
* obj7
= 0 ;
40419 char * kwnames
[] = {
40420 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40425 if (!SWIG_IsOK(res1
)) {
40426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40431 if (!SWIG_IsOK(ecode2
)) {
40432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40434 arg2
= static_cast< int >(val2
);
40437 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40438 if (!SWIG_IsOK(res3
)) {
40439 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40444 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40449 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40455 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40459 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40460 if (!SWIG_IsOK(ecode6
)) {
40461 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40463 arg6
= static_cast< long >(val6
);
40466 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40467 if (!SWIG_IsOK(res7
)) {
40468 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40473 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40477 arg8
= wxString_in_helper(obj7
);
40478 if (arg8
== NULL
) SWIG_fail
;
40483 if (!wxPyCheckForApp()) SWIG_fail
;
40484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40485 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40486 wxPyEndAllowThreads(__tstate
);
40487 if (PyErr_Occurred()) SWIG_fail
;
40489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40504 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40505 PyObject
*resultobj
= 0;
40506 wxDatePickerCtrl
*result
= 0 ;
40508 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40510 if (!wxPyCheckForApp()) SWIG_fail
;
40511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40512 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40513 wxPyEndAllowThreads(__tstate
);
40514 if (PyErr_Occurred()) SWIG_fail
;
40516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40523 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40524 PyObject
*resultobj
= 0;
40525 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40526 wxWindow
*arg2
= (wxWindow
*) 0 ;
40527 int arg3
= (int) -1 ;
40528 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40529 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40534 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40535 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40536 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40537 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40554 bool temp9
= false ;
40555 PyObject
* obj0
= 0 ;
40556 PyObject
* obj1
= 0 ;
40557 PyObject
* obj2
= 0 ;
40558 PyObject
* obj3
= 0 ;
40559 PyObject
* obj4
= 0 ;
40560 PyObject
* obj5
= 0 ;
40561 PyObject
* obj6
= 0 ;
40562 PyObject
* obj7
= 0 ;
40563 PyObject
* obj8
= 0 ;
40564 char * kwnames
[] = {
40565 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40570 if (!SWIG_IsOK(res1
)) {
40571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40573 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40575 if (!SWIG_IsOK(res2
)) {
40576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40578 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40581 if (!SWIG_IsOK(ecode3
)) {
40582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40584 arg3
= static_cast< int >(val3
);
40587 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40588 if (!SWIG_IsOK(res4
)) {
40589 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40594 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40599 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40605 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40609 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40610 if (!SWIG_IsOK(ecode7
)) {
40611 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40613 arg7
= static_cast< long >(val7
);
40616 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40617 if (!SWIG_IsOK(res8
)) {
40618 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40623 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40627 arg9
= wxString_in_helper(obj8
);
40628 if (arg9
== NULL
) SWIG_fail
;
40633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40635 wxPyEndAllowThreads(__tstate
);
40636 if (PyErr_Occurred()) SWIG_fail
;
40639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40655 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40656 PyObject
*resultobj
= 0;
40657 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40658 wxDateTime
*arg2
= 0 ;
40663 PyObject
* obj0
= 0 ;
40664 PyObject
* obj1
= 0 ;
40665 char * kwnames
[] = {
40666 (char *) "self",(char *) "dt", NULL
40669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40671 if (!SWIG_IsOK(res1
)) {
40672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40674 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40676 if (!SWIG_IsOK(res2
)) {
40677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40682 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40685 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40686 wxPyEndAllowThreads(__tstate
);
40687 if (PyErr_Occurred()) SWIG_fail
;
40689 resultobj
= SWIG_Py_Void();
40696 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40697 PyObject
*resultobj
= 0;
40698 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40702 PyObject
*swig_obj
[1] ;
40704 if (!args
) SWIG_fail
;
40705 swig_obj
[0] = args
;
40706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40707 if (!SWIG_IsOK(res1
)) {
40708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40710 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40713 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40714 wxPyEndAllowThreads(__tstate
);
40715 if (PyErr_Occurred()) SWIG_fail
;
40717 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40724 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40725 PyObject
*resultobj
= 0;
40726 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40727 wxDateTime
*arg2
= 0 ;
40728 wxDateTime
*arg3
= 0 ;
40735 PyObject
* obj0
= 0 ;
40736 PyObject
* obj1
= 0 ;
40737 PyObject
* obj2
= 0 ;
40738 char * kwnames
[] = {
40739 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40744 if (!SWIG_IsOK(res1
)) {
40745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40747 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40749 if (!SWIG_IsOK(res2
)) {
40750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40755 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40756 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40757 if (!SWIG_IsOK(res3
)) {
40758 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40763 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40766 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40767 wxPyEndAllowThreads(__tstate
);
40768 if (PyErr_Occurred()) SWIG_fail
;
40770 resultobj
= SWIG_Py_Void();
40777 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40778 PyObject
*resultobj
= 0;
40779 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40783 PyObject
*swig_obj
[1] ;
40785 if (!args
) SWIG_fail
;
40786 swig_obj
[0] = args
;
40787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40788 if (!SWIG_IsOK(res1
)) {
40789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40791 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40794 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40795 wxPyEndAllowThreads(__tstate
);
40796 if (PyErr_Occurred()) SWIG_fail
;
40798 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40805 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40806 PyObject
*resultobj
= 0;
40807 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40811 PyObject
*swig_obj
[1] ;
40813 if (!args
) SWIG_fail
;
40814 swig_obj
[0] = args
;
40815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40816 if (!SWIG_IsOK(res1
)) {
40817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40819 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40822 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40823 wxPyEndAllowThreads(__tstate
);
40824 if (PyErr_Occurred()) SWIG_fail
;
40826 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40833 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40836 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40837 return SWIG_Py_Void();
40840 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40841 return SWIG_Python_InitShadowInstance(args
);
40844 static PyMethodDef SwigMethods
[] = {
40845 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40847 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40849 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40850 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40852 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40853 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40855 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40857 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40858 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40859 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40860 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40861 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40868 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40869 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40870 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40871 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40873 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40875 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40876 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40878 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40880 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40881 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40883 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40884 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40886 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40888 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40890 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40891 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40893 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40895 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40897 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40898 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40899 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40901 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40902 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40905 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40906 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40910 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40912 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40913 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40914 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40915 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40916 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40917 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40918 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40919 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40920 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40922 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40923 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40925 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40928 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40930 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40931 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40933 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40935 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40937 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40938 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40940 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40943 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40944 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40946 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40948 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40949 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40951 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40952 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40954 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40958 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40959 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40961 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40963 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40967 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40968 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40970 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40981 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40986 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40992 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40993 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40995 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
40999 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41000 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41001 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41003 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41004 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41014 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41015 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41016 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41017 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41018 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41019 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41020 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41022 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41023 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41024 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41025 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41026 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41027 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41028 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41029 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41030 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41031 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
41033 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
41034 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
41036 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
41038 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
41043 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
41044 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
41045 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
41046 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
41047 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
41048 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
41049 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
41050 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
41055 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
41056 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
41064 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
41070 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
41071 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
41072 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
41073 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
41074 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
41075 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
41076 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
41077 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
41078 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
41079 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
41081 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
41082 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
41083 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
41085 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
41090 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
41091 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
41093 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
41094 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
41095 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
41096 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
41097 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
41099 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
41101 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
41102 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
41103 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
41104 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
41105 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
41108 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
41109 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
41111 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
41113 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
41114 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
41115 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
41120 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
41122 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
41123 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
41125 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
41127 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
41131 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
41132 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
41135 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
41136 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
41138 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
41140 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41141 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41143 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41146 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41147 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41149 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41157 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41158 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41164 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41166 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41168 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41171 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41172 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41174 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41176 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41179 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41180 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41185 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41186 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41188 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41190 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41191 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41193 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41194 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41195 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41198 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41199 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41201 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41204 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41206 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41207 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41208 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41210 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41211 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41216 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41221 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41223 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41225 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41227 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41228 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41231 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41237 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41239 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41241 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41243 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41244 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41246 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41248 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41252 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41254 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41255 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41257 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41258 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41260 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41262 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41263 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41264 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41266 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41267 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41269 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41271 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41272 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41273 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41275 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41276 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41278 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41286 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41287 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41288 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41290 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41291 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41293 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41295 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41296 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41297 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41298 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41300 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41301 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41302 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41303 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41304 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41305 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41306 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41307 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41308 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41309 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41310 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41311 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41312 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41313 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41314 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41315 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41316 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41317 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41318 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41320 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41327 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41329 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41331 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41339 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41344 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41345 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41362 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41363 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41364 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41365 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41368 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41369 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41371 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41372 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41375 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41376 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41377 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41379 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41382 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41383 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41385 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41389 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41390 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41391 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41392 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41393 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41394 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41396 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41397 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41398 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41399 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41400 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41401 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41402 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41416 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41417 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41418 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41419 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41420 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41421 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41422 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41423 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41424 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41425 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41426 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41427 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41428 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41429 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41430 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41431 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41432 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41433 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41434 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41435 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41436 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41437 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41438 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41439 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41440 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41441 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41442 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41443 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41444 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41445 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41446 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41447 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41448 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41449 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41450 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41451 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41453 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41454 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41455 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41456 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41457 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41458 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41459 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41460 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41461 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41462 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41463 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41464 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41465 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41466 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41467 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41468 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41469 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41470 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41471 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41472 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41473 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41474 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41475 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41476 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41478 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41479 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41481 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41488 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41489 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41490 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41505 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41506 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41507 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41509 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41510 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41512 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41518 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41519 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41524 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41526 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41527 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41549 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41551 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41552 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41554 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41558 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41560 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41564 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41565 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41566 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41567 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41568 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41571 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41572 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41573 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41574 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41576 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41577 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41579 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41581 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41582 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41583 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41585 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41587 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41589 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41591 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41592 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41594 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41596 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41599 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41600 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41601 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41603 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41606 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41607 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41609 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41611 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41612 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41640 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41641 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41642 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41649 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41659 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41664 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41666 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41672 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41677 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41678 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41680 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41683 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41685 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41686 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41689 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41690 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41692 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41694 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41695 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41696 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41698 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41699 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41700 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41701 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41703 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41706 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41707 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41709 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41717 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41718 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41719 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41720 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41721 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41722 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41723 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41724 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41725 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41727 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41729 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41731 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41733 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41734 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41736 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41738 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41739 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41740 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41742 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41743 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41744 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41746 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41752 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41753 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41754 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41755 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41756 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41762 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41766 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41768 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41769 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41774 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41775 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41777 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41780 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41782 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41783 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41784 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41785 { NULL
, NULL
, 0, NULL
}
41789 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41791 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41794 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41795 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41797 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41798 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41800 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41801 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41803 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41804 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41806 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41807 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41809 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41810 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41812 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41813 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41815 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41816 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41818 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41821 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41822 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41824 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41825 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41827 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41830 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41831 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41833 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41834 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41836 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41837 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41839 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41840 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41842 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41843 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41845 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41846 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41848 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41851 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41852 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41854 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41857 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41858 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41860 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41861 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41863 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41864 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41866 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41867 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41869 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41870 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41872 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41873 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41875 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41878 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41879 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41881 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41882 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41884 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41887 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41888 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41890 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41891 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41893 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41894 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41896 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41897 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41899 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41900 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41902 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41903 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41905 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41908 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41909 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41911 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41912 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41914 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41917 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41920 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41921 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41923 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41924 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41926 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41927 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41929 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41930 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41932 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41933 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
41935 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41936 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41938 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41939 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41941 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41942 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41944 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41945 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41947 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41948 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41950 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41951 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41953 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41954 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41956 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41957 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41959 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41960 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41962 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41963 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41965 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41966 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41968 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41969 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41971 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41972 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41974 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41975 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41977 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41978 return (void *)((wxControl
*) ((wxComboBox
*) x
));
41980 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41981 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41983 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41984 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41986 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41987 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41989 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41990 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41992 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41993 return (void *)((wxControl
*) ((wxGauge
*) x
));
41995 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41996 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41998 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41999 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42001 static void *_p_wxListbookTo_p_wxControl(void *x
) {
42002 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
42004 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
42005 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
42007 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
42008 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
42010 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
42011 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
42013 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
42014 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42016 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
42017 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42019 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
42020 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42022 static void *_p_wxListViewTo_p_wxControl(void *x
) {
42023 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
42025 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
42026 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
42028 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
42029 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
42031 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
42032 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
42034 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
42035 return (void *)((wxControl
*) ((wxStaticText
*) x
));
42037 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
42038 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
42040 static void *_p_wxSliderTo_p_wxControl(void *x
) {
42041 return (void *)((wxControl
*) ((wxSlider
*) x
));
42043 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
42044 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
42046 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
42047 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
42049 static void *_p_wxButtonTo_p_wxControl(void *x
) {
42050 return (void *)((wxControl
*) ((wxButton
*) x
));
42052 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
42053 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
42055 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
42056 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42058 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
42059 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
42061 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
42062 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
42064 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
42065 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
42067 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
42068 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42070 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
42071 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42073 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
42074 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42076 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
42077 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
42079 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
42080 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42082 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
42083 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42085 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
42086 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42088 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
42089 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42091 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
42092 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42094 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
42095 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42097 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
42098 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42100 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
42101 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
42103 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
42104 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
42106 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
42107 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
42109 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
42110 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
42112 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42113 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42115 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
42116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42118 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42119 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42121 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42122 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42124 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
42125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42127 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42128 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42130 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
42131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42133 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
42134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42136 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
42137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42139 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42140 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42142 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42143 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42145 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42148 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42151 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42154 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42157 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42160 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42161 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42163 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42166 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42169 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42172 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42175 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42178 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42181 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42184 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42187 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42190 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42193 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42196 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42199 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42202 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42205 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42208 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42211 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42214 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42217 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42220 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42223 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42226 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42229 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42232 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42235 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42238 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42241 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42244 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42245 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42247 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42248 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42250 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42251 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42253 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42254 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42256 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42257 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42259 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42262 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42265 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42268 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42271 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42274 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42277 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42280 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42283 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42286 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) ((wxSizer
*) x
));
42289 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42292 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42295 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42298 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42301 static void *_p_wxEventTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) ((wxEvent
*) x
));
42304 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42307 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42310 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42313 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42316 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42319 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42322 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42325 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42328 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42331 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42334 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42337 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42340 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42343 static void *_p_wxControlTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42346 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42349 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42352 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42355 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42358 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42361 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42364 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42367 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42370 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42373 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42376 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42379 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42382 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42385 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42388 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42391 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42394 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42397 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42398 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42400 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42403 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42406 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42407 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42409 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42412 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42413 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42415 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42418 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42419 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42421 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42422 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42424 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42425 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42427 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42428 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42430 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42431 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42433 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42434 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42436 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42439 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42440 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42442 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42445 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42448 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42451 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42454 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42457 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42460 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42463 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42464 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42466 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42467 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42469 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42472 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42475 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42476 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42478 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42481 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42482 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42484 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42485 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42487 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42490 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42493 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42496 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42499 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42502 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42505 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42508 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42509 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42511 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42512 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42514 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42517 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42520 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42523 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42526 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42527 return (void *)((wxObject
*) ((wxListItem
*) x
));
42529 static void *_p_wxImageTo_p_wxObject(void *x
) {
42530 return (void *)((wxObject
*) ((wxImage
*) x
));
42532 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42533 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42535 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42538 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42539 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42541 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42544 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42547 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42550 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42553 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42556 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42559 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42562 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42563 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42565 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42566 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42568 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42571 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42572 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42574 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42577 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42578 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42580 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42583 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42584 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42586 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42587 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42589 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42590 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42592 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42593 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42595 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42596 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42598 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42601 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42604 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42607 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42608 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42610 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42613 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42614 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42616 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42617 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42619 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42622 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42625 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42628 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42629 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42631 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42634 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42637 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42638 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42640 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42641 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42643 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42644 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42646 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42647 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42649 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42650 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42652 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42653 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42655 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42656 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42658 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42659 return (void *)((wxWindow
*) ((wxControl
*) x
));
42661 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42662 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42664 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42665 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42667 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42668 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42670 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42671 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42673 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42674 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42676 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42677 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42679 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42680 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42682 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42683 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42685 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42686 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42688 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42689 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42691 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42692 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42694 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42695 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42697 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42698 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42700 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42701 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42703 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42704 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42706 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42707 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42709 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42710 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42712 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42713 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42715 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42716 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42718 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42719 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42721 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42722 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42724 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42725 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42727 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42728 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42730 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42731 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42733 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42734 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42736 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42737 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42739 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42740 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42742 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42743 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42745 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42746 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42748 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42749 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42751 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42752 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42754 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42755 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42757 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42758 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42760 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42761 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42763 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42764 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42766 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42767 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42769 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42770 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42772 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42773 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42775 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42776 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42778 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42779 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42781 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42782 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42784 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42785 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42787 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42788 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42790 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42791 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42793 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42794 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42796 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42797 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42799 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42800 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42802 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42803 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42805 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42806 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42808 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42809 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42811 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42812 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42814 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42815 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42817 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42818 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42820 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42821 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42823 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42824 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42826 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42827 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42829 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42830 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42832 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42833 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42835 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42836 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42838 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42839 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42841 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42842 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42844 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42845 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42847 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42848 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42849 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};
42850 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42851 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42852 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42853 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42854 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42855 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42856 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42857 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42858 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42859 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42860 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42861 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42862 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42863 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42864 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42865 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42866 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42867 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42868 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42869 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42870 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42871 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42872 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42873 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42874 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42875 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42876 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42877 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42878 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42879 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42880 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42881 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42882 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42883 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42884 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42885 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42886 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42887 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42888 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42889 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42890 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42891 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42892 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42893 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42894 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42895 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42896 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42897 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42898 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42899 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42900 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42901 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42902 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42903 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42904 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42905 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42906 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42907 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42908 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42909 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42910 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42911 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42912 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42913 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42914 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42915 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42916 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42917 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42918 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42919 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42920 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42921 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42922 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42923 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42924 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42925 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42926 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42927 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42928 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42929 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42930 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42931 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42932 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42933 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42934 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42935 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42936 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42937 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42938 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42939 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42940 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42941 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42942 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42943 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42944 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42945 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42946 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42947 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42948 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42949 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42950 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42951 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42952 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42953 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42954 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42955 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42956 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42957 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42958 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42959 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42960 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42961 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42962 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42963 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42964 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42965 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42966 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42967 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42968 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42969 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42970 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42971 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42972 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42973 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42974 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42975 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42976 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42977 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42978 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42979 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42980 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42981 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42982 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42983 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42984 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42985 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42986 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42987 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42988 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42989 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42990 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42991 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42992 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42993 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42994 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42995 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
42996 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
42997 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
42998 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
42999 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
43000 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
43001 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
43002 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
43003 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
43004 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
43005 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
43006 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
43007 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
43008 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
43009 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
43011 static swig_type_info
*swig_type_initial
[] = {
43014 &_swigt__p_form_ops_t
,
43017 &_swigt__p_unsigned_char
,
43018 &_swigt__p_unsigned_int
,
43019 &_swigt__p_unsigned_long
,
43021 &_swigt__p_wxANIHandler
,
43022 &_swigt__p_wxAcceleratorTable
,
43023 &_swigt__p_wxActivateEvent
,
43024 &_swigt__p_wxArrayInt
,
43025 &_swigt__p_wxArrayString
,
43026 &_swigt__p_wxBMPHandler
,
43027 &_swigt__p_wxBitmap
,
43028 &_swigt__p_wxBitmapButton
,
43029 &_swigt__p_wxBookCtrlBase
,
43030 &_swigt__p_wxBookCtrlBaseEvent
,
43031 &_swigt__p_wxBoxSizer
,
43032 &_swigt__p_wxButton
,
43033 &_swigt__p_wxCURHandler
,
43034 &_swigt__p_wxCheckBox
,
43035 &_swigt__p_wxCheckListBox
,
43036 &_swigt__p_wxChildFocusEvent
,
43037 &_swigt__p_wxChoice
,
43038 &_swigt__p_wxChoicebook
,
43039 &_swigt__p_wxChoicebookEvent
,
43040 &_swigt__p_wxCloseEvent
,
43041 &_swigt__p_wxColour
,
43042 &_swigt__p_wxComboBox
,
43043 &_swigt__p_wxCommandEvent
,
43044 &_swigt__p_wxContextHelp
,
43045 &_swigt__p_wxContextHelpButton
,
43046 &_swigt__p_wxContextMenuEvent
,
43047 &_swigt__p_wxControl
,
43048 &_swigt__p_wxControlWithItems
,
43049 &_swigt__p_wxCursor
,
43051 &_swigt__p_wxDateEvent
,
43052 &_swigt__p_wxDatePickerCtrl
,
43053 &_swigt__p_wxDateTime
,
43054 &_swigt__p_wxDirFilterListCtrl
,
43055 &_swigt__p_wxDisplayChangedEvent
,
43056 &_swigt__p_wxDropFilesEvent
,
43057 &_swigt__p_wxDuplexMode
,
43058 &_swigt__p_wxEraseEvent
,
43059 &_swigt__p_wxEvent
,
43060 &_swigt__p_wxEvtHandler
,
43061 &_swigt__p_wxFSFile
,
43062 &_swigt__p_wxFileSystem
,
43063 &_swigt__p_wxFlexGridSizer
,
43064 &_swigt__p_wxFocusEvent
,
43066 &_swigt__p_wxGBSizerItem
,
43067 &_swigt__p_wxGIFHandler
,
43068 &_swigt__p_wxGauge
,
43069 &_swigt__p_wxGenericDirCtrl
,
43070 &_swigt__p_wxGenericDragImage
,
43071 &_swigt__p_wxGridBagSizer
,
43072 &_swigt__p_wxGridSizer
,
43073 &_swigt__p_wxHelpEvent
,
43074 &_swigt__p_wxHelpProvider
,
43075 &_swigt__p_wxICOHandler
,
43077 &_swigt__p_wxIconizeEvent
,
43078 &_swigt__p_wxIdleEvent
,
43079 &_swigt__p_wxImage
,
43080 &_swigt__p_wxImageHandler
,
43081 &_swigt__p_wxImageList
,
43082 &_swigt__p_wxIndividualLayoutConstraint
,
43083 &_swigt__p_wxInitDialogEvent
,
43084 &_swigt__p_wxItemContainer
,
43085 &_swigt__p_wxJPEGHandler
,
43086 &_swigt__p_wxKeyEvent
,
43087 &_swigt__p_wxLayoutConstraints
,
43088 &_swigt__p_wxListBox
,
43089 &_swigt__p_wxListEvent
,
43090 &_swigt__p_wxListItem
,
43091 &_swigt__p_wxListItemAttr
,
43092 &_swigt__p_wxListView
,
43093 &_swigt__p_wxListbook
,
43094 &_swigt__p_wxListbookEvent
,
43095 &_swigt__p_wxMaximizeEvent
,
43096 &_swigt__p_wxMemoryDC
,
43098 &_swigt__p_wxMenuBar
,
43099 &_swigt__p_wxMenuEvent
,
43100 &_swigt__p_wxMenuItem
,
43101 &_swigt__p_wxMouseCaptureChangedEvent
,
43102 &_swigt__p_wxMouseEvent
,
43103 &_swigt__p_wxMoveEvent
,
43104 &_swigt__p_wxNavigationKeyEvent
,
43105 &_swigt__p_wxNcPaintEvent
,
43106 &_swigt__p_wxNotebook
,
43107 &_swigt__p_wxNotebookEvent
,
43108 &_swigt__p_wxNotifyEvent
,
43109 &_swigt__p_wxObject
,
43110 &_swigt__p_wxPCXHandler
,
43111 &_swigt__p_wxPNGHandler
,
43112 &_swigt__p_wxPNMHandler
,
43113 &_swigt__p_wxPaintEvent
,
43114 &_swigt__p_wxPaletteChangedEvent
,
43115 &_swigt__p_wxPaperSize
,
43116 &_swigt__p_wxPoint
,
43117 &_swigt__p_wxPyApp
,
43118 &_swigt__p_wxPyCommandEvent
,
43119 &_swigt__p_wxPyControl
,
43120 &_swigt__p_wxPyEvent
,
43121 &_swigt__p_wxPyImageHandler
,
43122 &_swigt__p_wxPyListCtrl
,
43123 &_swigt__p_wxPySizer
,
43124 &_swigt__p_wxPyTreeCtrl
,
43125 &_swigt__p_wxPyTreeItemData
,
43126 &_swigt__p_wxPyValidator
,
43127 &_swigt__p_wxQueryNewPaletteEvent
,
43128 &_swigt__p_wxRadioBox
,
43129 &_swigt__p_wxRadioButton
,
43131 &_swigt__p_wxScrollBar
,
43132 &_swigt__p_wxScrollEvent
,
43133 &_swigt__p_wxScrollWinEvent
,
43134 &_swigt__p_wxSetCursorEvent
,
43135 &_swigt__p_wxShowEvent
,
43136 &_swigt__p_wxSimpleHelpProvider
,
43138 &_swigt__p_wxSizeEvent
,
43139 &_swigt__p_wxSizer
,
43140 &_swigt__p_wxSizerItem
,
43141 &_swigt__p_wxSlider
,
43142 &_swigt__p_wxSpinButton
,
43143 &_swigt__p_wxSpinCtrl
,
43144 &_swigt__p_wxSpinEvent
,
43145 &_swigt__p_wxStaticBitmap
,
43146 &_swigt__p_wxStaticBox
,
43147 &_swigt__p_wxStaticBoxSizer
,
43148 &_swigt__p_wxStaticLine
,
43149 &_swigt__p_wxStaticText
,
43150 &_swigt__p_wxStdDialogButtonSizer
,
43151 &_swigt__p_wxString
,
43152 &_swigt__p_wxSysColourChangedEvent
,
43153 &_swigt__p_wxTIFFHandler
,
43154 &_swigt__p_wxTextAttr
,
43155 &_swigt__p_wxTextCtrl
,
43156 &_swigt__p_wxTextUrlEvent
,
43157 &_swigt__p_wxToggleButton
,
43158 &_swigt__p_wxToolBar
,
43159 &_swigt__p_wxToolBarBase
,
43160 &_swigt__p_wxToolBarToolBase
,
43161 &_swigt__p_wxToolbook
,
43162 &_swigt__p_wxToolbookEvent
,
43163 &_swigt__p_wxTreeCtrl
,
43164 &_swigt__p_wxTreeEvent
,
43165 &_swigt__p_wxTreeItemId
,
43166 &_swigt__p_wxTreebook
,
43167 &_swigt__p_wxTreebookEvent
,
43168 &_swigt__p_wxUpdateUIEvent
,
43169 &_swigt__p_wxValidator
,
43170 &_swigt__p_wxVisualAttributes
,
43171 &_swigt__p_wxWindow
,
43172 &_swigt__p_wxWindowCreateEvent
,
43173 &_swigt__p_wxWindowDestroyEvent
,
43174 &_swigt__p_wxXPMHandler
,
43177 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43178 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43179 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43180 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43181 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43182 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43183 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43184 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43185 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43186 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43187 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43188 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43189 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}};
43190 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}};
43191 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}};
43192 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}};
43193 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43194 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43195 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
43196 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43197 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43198 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43199 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43200 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43201 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43202 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43203 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43204 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43205 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43206 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43207 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43208 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}};
43209 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43210 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43211 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}};
43212 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
43213 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43214 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43215 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43216 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43217 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43218 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43219 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43220 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43221 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43222 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43223 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43224 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43225 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43226 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43227 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43228 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43229 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43230 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43231 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43232 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43233 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43234 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43235 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43236 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43237 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43238 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43239 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43240 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43241 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43242 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43243 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}};
43244 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43245 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43246 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43247 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43248 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}};
43249 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43250 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43251 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43252 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43253 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43254 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}};
43255 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43256 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43257 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}};
43258 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43259 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}};
43260 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43261 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43262 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43263 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43264 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43265 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43266 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43267 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43268 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43269 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43270 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}};
43271 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43272 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43273 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43274 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43275 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43276 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43277 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43278 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43279 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43280 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43281 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43282 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43283 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43284 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43285 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43286 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43287 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43288 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43289 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43290 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43291 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43292 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43293 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43294 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43295 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43296 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43297 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43298 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43299 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43300 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43301 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}};
43302 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43303 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43304 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43305 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}};
43306 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43307 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43308 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43309 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43310 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43311 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43312 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43313 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43314 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43315 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43316 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43317 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43318 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43319 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43320 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43321 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43322 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43323 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43324 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43325 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43326 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43327 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43328 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}};
43329 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43330 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43331 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43332 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43333 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43334 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43335 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43336 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43337 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}};
43338 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43339 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}};
43341 static swig_cast_info
*swig_cast_initial
[] = {
43344 _swigc__p_form_ops_t
,
43347 _swigc__p_unsigned_char
,
43348 _swigc__p_unsigned_int
,
43349 _swigc__p_unsigned_long
,
43351 _swigc__p_wxANIHandler
,
43352 _swigc__p_wxAcceleratorTable
,
43353 _swigc__p_wxActivateEvent
,
43354 _swigc__p_wxArrayInt
,
43355 _swigc__p_wxArrayString
,
43356 _swigc__p_wxBMPHandler
,
43357 _swigc__p_wxBitmap
,
43358 _swigc__p_wxBitmapButton
,
43359 _swigc__p_wxBookCtrlBase
,
43360 _swigc__p_wxBookCtrlBaseEvent
,
43361 _swigc__p_wxBoxSizer
,
43362 _swigc__p_wxButton
,
43363 _swigc__p_wxCURHandler
,
43364 _swigc__p_wxCheckBox
,
43365 _swigc__p_wxCheckListBox
,
43366 _swigc__p_wxChildFocusEvent
,
43367 _swigc__p_wxChoice
,
43368 _swigc__p_wxChoicebook
,
43369 _swigc__p_wxChoicebookEvent
,
43370 _swigc__p_wxCloseEvent
,
43371 _swigc__p_wxColour
,
43372 _swigc__p_wxComboBox
,
43373 _swigc__p_wxCommandEvent
,
43374 _swigc__p_wxContextHelp
,
43375 _swigc__p_wxContextHelpButton
,
43376 _swigc__p_wxContextMenuEvent
,
43377 _swigc__p_wxControl
,
43378 _swigc__p_wxControlWithItems
,
43379 _swigc__p_wxCursor
,
43381 _swigc__p_wxDateEvent
,
43382 _swigc__p_wxDatePickerCtrl
,
43383 _swigc__p_wxDateTime
,
43384 _swigc__p_wxDirFilterListCtrl
,
43385 _swigc__p_wxDisplayChangedEvent
,
43386 _swigc__p_wxDropFilesEvent
,
43387 _swigc__p_wxDuplexMode
,
43388 _swigc__p_wxEraseEvent
,
43390 _swigc__p_wxEvtHandler
,
43391 _swigc__p_wxFSFile
,
43392 _swigc__p_wxFileSystem
,
43393 _swigc__p_wxFlexGridSizer
,
43394 _swigc__p_wxFocusEvent
,
43396 _swigc__p_wxGBSizerItem
,
43397 _swigc__p_wxGIFHandler
,
43399 _swigc__p_wxGenericDirCtrl
,
43400 _swigc__p_wxGenericDragImage
,
43401 _swigc__p_wxGridBagSizer
,
43402 _swigc__p_wxGridSizer
,
43403 _swigc__p_wxHelpEvent
,
43404 _swigc__p_wxHelpProvider
,
43405 _swigc__p_wxICOHandler
,
43407 _swigc__p_wxIconizeEvent
,
43408 _swigc__p_wxIdleEvent
,
43410 _swigc__p_wxImageHandler
,
43411 _swigc__p_wxImageList
,
43412 _swigc__p_wxIndividualLayoutConstraint
,
43413 _swigc__p_wxInitDialogEvent
,
43414 _swigc__p_wxItemContainer
,
43415 _swigc__p_wxJPEGHandler
,
43416 _swigc__p_wxKeyEvent
,
43417 _swigc__p_wxLayoutConstraints
,
43418 _swigc__p_wxListBox
,
43419 _swigc__p_wxListEvent
,
43420 _swigc__p_wxListItem
,
43421 _swigc__p_wxListItemAttr
,
43422 _swigc__p_wxListView
,
43423 _swigc__p_wxListbook
,
43424 _swigc__p_wxListbookEvent
,
43425 _swigc__p_wxMaximizeEvent
,
43426 _swigc__p_wxMemoryDC
,
43428 _swigc__p_wxMenuBar
,
43429 _swigc__p_wxMenuEvent
,
43430 _swigc__p_wxMenuItem
,
43431 _swigc__p_wxMouseCaptureChangedEvent
,
43432 _swigc__p_wxMouseEvent
,
43433 _swigc__p_wxMoveEvent
,
43434 _swigc__p_wxNavigationKeyEvent
,
43435 _swigc__p_wxNcPaintEvent
,
43436 _swigc__p_wxNotebook
,
43437 _swigc__p_wxNotebookEvent
,
43438 _swigc__p_wxNotifyEvent
,
43439 _swigc__p_wxObject
,
43440 _swigc__p_wxPCXHandler
,
43441 _swigc__p_wxPNGHandler
,
43442 _swigc__p_wxPNMHandler
,
43443 _swigc__p_wxPaintEvent
,
43444 _swigc__p_wxPaletteChangedEvent
,
43445 _swigc__p_wxPaperSize
,
43448 _swigc__p_wxPyCommandEvent
,
43449 _swigc__p_wxPyControl
,
43450 _swigc__p_wxPyEvent
,
43451 _swigc__p_wxPyImageHandler
,
43452 _swigc__p_wxPyListCtrl
,
43453 _swigc__p_wxPySizer
,
43454 _swigc__p_wxPyTreeCtrl
,
43455 _swigc__p_wxPyTreeItemData
,
43456 _swigc__p_wxPyValidator
,
43457 _swigc__p_wxQueryNewPaletteEvent
,
43458 _swigc__p_wxRadioBox
,
43459 _swigc__p_wxRadioButton
,
43461 _swigc__p_wxScrollBar
,
43462 _swigc__p_wxScrollEvent
,
43463 _swigc__p_wxScrollWinEvent
,
43464 _swigc__p_wxSetCursorEvent
,
43465 _swigc__p_wxShowEvent
,
43466 _swigc__p_wxSimpleHelpProvider
,
43468 _swigc__p_wxSizeEvent
,
43470 _swigc__p_wxSizerItem
,
43471 _swigc__p_wxSlider
,
43472 _swigc__p_wxSpinButton
,
43473 _swigc__p_wxSpinCtrl
,
43474 _swigc__p_wxSpinEvent
,
43475 _swigc__p_wxStaticBitmap
,
43476 _swigc__p_wxStaticBox
,
43477 _swigc__p_wxStaticBoxSizer
,
43478 _swigc__p_wxStaticLine
,
43479 _swigc__p_wxStaticText
,
43480 _swigc__p_wxStdDialogButtonSizer
,
43481 _swigc__p_wxString
,
43482 _swigc__p_wxSysColourChangedEvent
,
43483 _swigc__p_wxTIFFHandler
,
43484 _swigc__p_wxTextAttr
,
43485 _swigc__p_wxTextCtrl
,
43486 _swigc__p_wxTextUrlEvent
,
43487 _swigc__p_wxToggleButton
,
43488 _swigc__p_wxToolBar
,
43489 _swigc__p_wxToolBarBase
,
43490 _swigc__p_wxToolBarToolBase
,
43491 _swigc__p_wxToolbook
,
43492 _swigc__p_wxToolbookEvent
,
43493 _swigc__p_wxTreeCtrl
,
43494 _swigc__p_wxTreeEvent
,
43495 _swigc__p_wxTreeItemId
,
43496 _swigc__p_wxTreebook
,
43497 _swigc__p_wxTreebookEvent
,
43498 _swigc__p_wxUpdateUIEvent
,
43499 _swigc__p_wxValidator
,
43500 _swigc__p_wxVisualAttributes
,
43501 _swigc__p_wxWindow
,
43502 _swigc__p_wxWindowCreateEvent
,
43503 _swigc__p_wxWindowDestroyEvent
,
43504 _swigc__p_wxXPMHandler
,
43508 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43510 static swig_const_info swig_const_table
[] = {
43511 {0, 0, 0, 0.0, 0, 0}};
43516 /* -----------------------------------------------------------------------------
43517 * Type initialization:
43518 * This problem is tough by the requirement that no dynamic
43519 * memory is used. Also, since swig_type_info structures store pointers to
43520 * swig_cast_info structures and swig_cast_info structures store pointers back
43521 * to swig_type_info structures, we need some lookup code at initialization.
43522 * The idea is that swig generates all the structures that are needed.
43523 * The runtime then collects these partially filled structures.
43524 * The SWIG_InitializeModule function takes these initial arrays out of
43525 * swig_module, and does all the lookup, filling in the swig_module.types
43526 * array with the correct data and linking the correct swig_cast_info
43527 * structures together.
43529 * The generated swig_type_info structures are assigned staticly to an initial
43530 * array. We just loop though that array, and handle each type individually.
43531 * First we lookup if this type has been already loaded, and if so, use the
43532 * loaded structure instead of the generated one. Then we have to fill in the
43533 * cast linked list. The cast data is initially stored in something like a
43534 * two-dimensional array. Each row corresponds to a type (there are the same
43535 * number of rows as there are in the swig_type_initial array). Each entry in
43536 * a column is one of the swig_cast_info structures for that type.
43537 * The cast_initial array is actually an array of arrays, because each row has
43538 * a variable number of columns. So to actually build the cast linked list,
43539 * we find the array of casts associated with the type, and loop through it
43540 * adding the casts to the list. The one last trick we need to do is making
43541 * sure the type pointer in the swig_cast_info struct is correct.
43543 * First off, we lookup the cast->type name to see if it is already loaded.
43544 * There are three cases to handle:
43545 * 1) If the cast->type has already been loaded AND the type we are adding
43546 * casting info to has not been loaded (it is in this module), THEN we
43547 * replace the cast->type pointer with the type pointer that has already
43549 * 2) If BOTH types (the one we are adding casting info to, and the
43550 * cast->type) are loaded, THEN the cast info has already been loaded by
43551 * the previous module so we just ignore it.
43552 * 3) Finally, if cast->type has not already been loaded, then we add that
43553 * swig_cast_info to the linked list (because the cast->type) pointer will
43555 * ----------------------------------------------------------------------------- */
43565 #define SWIGRUNTIME_DEBUG
43569 SWIG_InitializeModule(void *clientdata
) {
43571 swig_module_info
*module_head
;
43572 static int init_run
= 0;
43574 clientdata
= clientdata
;
43576 if (init_run
) return;
43579 /* Initialize the swig_module */
43580 swig_module
.type_initial
= swig_type_initial
;
43581 swig_module
.cast_initial
= swig_cast_initial
;
43583 /* Try and load any already created modules */
43584 module_head
= SWIG_GetModule(clientdata
);
43586 swig_module
.next
= module_head
->next
;
43587 module_head
->next
= &swig_module
;
43589 /* This is the first module loaded */
43590 swig_module
.next
= &swig_module
;
43591 SWIG_SetModule(clientdata
, &swig_module
);
43594 /* Now work on filling in swig_module.types */
43595 #ifdef SWIGRUNTIME_DEBUG
43596 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43598 for (i
= 0; i
< swig_module
.size
; ++i
) {
43599 swig_type_info
*type
= 0;
43600 swig_type_info
*ret
;
43601 swig_cast_info
*cast
;
43603 #ifdef SWIGRUNTIME_DEBUG
43604 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43607 /* if there is another module already loaded */
43608 if (swig_module
.next
!= &swig_module
) {
43609 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43612 /* Overwrite clientdata field */
43613 #ifdef SWIGRUNTIME_DEBUG
43614 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43616 if (swig_module
.type_initial
[i
]->clientdata
) {
43617 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43618 #ifdef SWIGRUNTIME_DEBUG
43619 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43623 type
= swig_module
.type_initial
[i
];
43626 /* Insert casting types */
43627 cast
= swig_module
.cast_initial
[i
];
43628 while (cast
->type
) {
43629 /* Don't need to add information already in the list */
43631 #ifdef SWIGRUNTIME_DEBUG
43632 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43634 if (swig_module
.next
!= &swig_module
) {
43635 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43636 #ifdef SWIGRUNTIME_DEBUG
43637 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43641 if (type
== swig_module
.type_initial
[i
]) {
43642 #ifdef SWIGRUNTIME_DEBUG
43643 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43648 /* Check for casting already in the list */
43649 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43650 #ifdef SWIGRUNTIME_DEBUG
43651 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43653 if (!ocast
) ret
= 0;
43658 #ifdef SWIGRUNTIME_DEBUG
43659 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43662 type
->cast
->prev
= cast
;
43663 cast
->next
= type
->cast
;
43669 /* Set entry in modules->types array equal to the type */
43670 swig_module
.types
[i
] = type
;
43672 swig_module
.types
[i
] = 0;
43674 #ifdef SWIGRUNTIME_DEBUG
43675 printf("**** SWIG_InitializeModule: Cast List ******\n");
43676 for (i
= 0; i
< swig_module
.size
; ++i
) {
43678 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43679 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43680 while (cast
->type
) {
43681 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43685 printf("---- Total casts: %d\n",j
);
43687 printf("**** SWIG_InitializeModule: Cast List ******\n");
43691 /* This function will propagate the clientdata field of type to
43692 * any new swig_type_info structures that have been added into the list
43693 * of equivalent types. It is like calling
43694 * SWIG_TypeClientData(type, clientdata) a second time.
43697 SWIG_PropagateClientData(void) {
43699 swig_cast_info
*equiv
;
43700 static int init_run
= 0;
43702 if (init_run
) return;
43705 for (i
= 0; i
< swig_module
.size
; i
++) {
43706 if (swig_module
.types
[i
]->clientdata
) {
43707 equiv
= swig_module
.types
[i
]->cast
;
43709 if (!equiv
->converter
) {
43710 if (equiv
->type
&& !equiv
->type
->clientdata
)
43711 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43713 equiv
= equiv
->next
;
43733 /* Python-specific SWIG API */
43734 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43735 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43736 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43738 /* -----------------------------------------------------------------------------
43739 * global variable support code.
43740 * ----------------------------------------------------------------------------- */
43742 typedef struct swig_globalvar
{
43743 char *name
; /* Name of global variable */
43744 PyObject
*(*get_attr
)(void); /* Return the current value */
43745 int (*set_attr
)(PyObject
*); /* Set the value */
43746 struct swig_globalvar
*next
;
43749 typedef struct swig_varlinkobject
{
43751 swig_globalvar
*vars
;
43752 } swig_varlinkobject
;
43754 SWIGINTERN PyObject
*
43755 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43756 return PyString_FromString("<Swig global variables>");
43759 SWIGINTERN PyObject
*
43760 swig_varlink_str(swig_varlinkobject
*v
) {
43761 PyObject
*str
= PyString_FromString("(");
43762 swig_globalvar
*var
;
43763 for (var
= v
->vars
; var
; var
=var
->next
) {
43764 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43765 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43767 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43772 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43773 PyObject
*str
= swig_varlink_str(v
);
43774 fprintf(fp
,"Swig global variables ");
43775 fprintf(fp
,"%s\n", PyString_AsString(str
));
43781 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43782 swig_globalvar
*var
= v
->vars
;
43784 swig_globalvar
*n
= var
->next
;
43791 SWIGINTERN PyObject
*
43792 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43793 PyObject
*res
= NULL
;
43794 swig_globalvar
*var
= v
->vars
;
43796 if (strcmp(var
->name
,n
) == 0) {
43797 res
= (*var
->get_attr
)();
43802 if (res
== NULL
&& !PyErr_Occurred()) {
43803 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43809 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43811 swig_globalvar
*var
= v
->vars
;
43813 if (strcmp(var
->name
,n
) == 0) {
43814 res
= (*var
->set_attr
)(p
);
43819 if (res
== 1 && !PyErr_Occurred()) {
43820 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43825 SWIGINTERN PyTypeObject
*
43826 swig_varlink_type(void) {
43827 static char varlink__doc__
[] = "Swig var link object";
43828 static PyTypeObject varlink_type
;
43829 static int type_init
= 0;
43831 const PyTypeObject tmp
43833 PyObject_HEAD_INIT(NULL
)
43834 0, /* Number of items in variable part (ob_size) */
43835 (char *)"swigvarlink", /* Type name (tp_name) */
43836 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43837 0, /* Itemsize (tp_itemsize) */
43838 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43839 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43840 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43841 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43842 0, /* tp_compare */
43843 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43844 0, /* tp_as_number */
43845 0, /* tp_as_sequence */
43846 0, /* tp_as_mapping */
43849 (reprfunc
)swig_varlink_str
, /* tp_str */
43850 0, /* tp_getattro */
43851 0, /* tp_setattro */
43852 0, /* tp_as_buffer */
43854 varlink__doc__
, /* tp_doc */
43855 0, /* tp_traverse */
43857 0, /* tp_richcompare */
43858 0, /* tp_weaklistoffset */
43859 #if PY_VERSION_HEX >= 0x02020000
43860 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43862 #if PY_VERSION_HEX >= 0x02030000
43865 #ifdef COUNT_ALLOCS
43866 0,0,0,0 /* tp_alloc -> tp_next */
43869 varlink_type
= tmp
;
43870 varlink_type
.ob_type
= &PyType_Type
;
43873 return &varlink_type
;
43876 /* Create a variable linking object for use later */
43877 SWIGINTERN PyObject
*
43878 SWIG_Python_newvarlink(void) {
43879 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43883 return ((PyObject
*) result
);
43887 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43888 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43889 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43891 size_t size
= strlen(name
)+1;
43892 gv
->name
= (char *)malloc(size
);
43894 strncpy(gv
->name
,name
,size
);
43895 gv
->get_attr
= get_attr
;
43896 gv
->set_attr
= set_attr
;
43897 gv
->next
= v
->vars
;
43903 SWIGINTERN PyObject
*
43905 static PyObject
*_SWIG_globals
= 0;
43906 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43907 return _SWIG_globals
;
43910 /* -----------------------------------------------------------------------------
43911 * constants/methods manipulation
43912 * ----------------------------------------------------------------------------- */
43914 /* Install Constants */
43916 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43919 for (i
= 0; constants
[i
].type
; ++i
) {
43920 switch(constants
[i
].type
) {
43921 case SWIG_PY_POINTER
:
43922 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43924 case SWIG_PY_BINARY
:
43925 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43932 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43938 /* -----------------------------------------------------------------------------*/
43939 /* Fix SwigMethods to carry the callback ptrs when needed */
43940 /* -----------------------------------------------------------------------------*/
43943 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43944 swig_const_info
*const_table
,
43945 swig_type_info
**types
,
43946 swig_type_info
**types_initial
) {
43948 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43949 char *c
= methods
[i
].ml_doc
;
43950 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43952 swig_const_info
*ci
= 0;
43953 char *name
= c
+ 10;
43954 for (j
= 0; const_table
[j
].type
; ++j
) {
43955 if (strncmp(const_table
[j
].name
, name
,
43956 strlen(const_table
[j
].name
)) == 0) {
43957 ci
= &(const_table
[j
]);
43962 size_t shift
= (ci
->ptype
) - types
;
43963 swig_type_info
*ty
= types_initial
[shift
];
43964 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43965 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43966 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43969 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43971 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43973 strncpy(buff
, "swig_ptr: ", 10);
43975 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43976 methods
[i
].ml_doc
= ndoc
;
43988 /* -----------------------------------------------------------------------------*
43989 * Partial Init method
43990 * -----------------------------------------------------------------------------*/
43995 SWIGEXPORT
void SWIG_init(void) {
43998 /* Fix SwigMethods to carry the callback ptrs when needed */
43999 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
44001 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
44002 d
= PyModule_GetDict(m
);
44004 SWIG_InitializeModule(0);
44005 SWIG_InstallConstants(d
,swig_const_table
);
44008 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
44009 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
44010 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
44011 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
44012 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
44013 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
44014 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
44015 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
44016 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
44017 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
44018 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
44019 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
44020 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
44021 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
44022 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
44023 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
44024 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
44025 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
44026 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
44027 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
44028 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
44029 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
44030 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
44031 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
44032 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
44033 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
44034 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
44035 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
44036 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
44037 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
44038 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
44039 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
44040 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
44041 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
44042 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
44043 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
44044 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
44045 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
44046 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
44047 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
44048 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
44049 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
44050 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
44051 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
44052 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
44053 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
44054 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
44055 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
44056 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
44057 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
44058 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
44059 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
44060 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
44061 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
44062 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
44063 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
44064 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
44065 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
44066 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
44067 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
44068 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
44069 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
44070 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
44071 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
44072 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
44073 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
44074 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
44075 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
44076 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
44077 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
44078 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
44079 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
44080 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
44081 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
44082 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
44083 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
44084 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
44085 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
44086 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
44087 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
44088 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
44089 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
44090 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
44091 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
44092 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
44093 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
44094 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
44095 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
44096 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
44097 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
44098 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
44099 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
44100 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
44101 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
44102 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
44103 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
44104 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
44105 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
44106 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
44107 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
44108 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
44109 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
44110 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
44111 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
44112 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
44113 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
44114 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
44115 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
44116 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
44117 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
44118 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
44119 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
44120 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
44121 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
44122 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
44123 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
44124 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
44125 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
44126 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
44127 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
44128 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
44129 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
44130 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
44131 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
44132 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
44133 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
44134 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
44135 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
44136 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
44137 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
44138 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44139 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44140 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44141 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44142 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44143 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44144 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44145 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44146 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44147 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44148 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44149 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44150 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44151 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44152 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44153 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44154 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44155 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44156 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44157 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44158 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44159 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44160 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44161 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44162 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44163 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44164 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44165 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44166 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44167 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44168 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44169 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44170 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44171 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44172 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44173 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44174 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44175 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44176 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44177 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44178 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44179 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44180 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44181 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44182 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44183 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44184 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44185 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44186 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44187 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44188 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44189 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44190 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44191 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44192 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44193 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44194 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44195 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44196 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44197 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44198 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44199 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44200 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44201 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44202 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44203 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44204 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44205 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44206 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44207 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44208 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44209 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44210 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44211 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44212 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44213 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44214 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44215 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44216 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44217 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44218 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44219 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44220 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44221 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44222 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44223 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44224 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44225 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44226 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44227 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44228 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44229 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44230 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44231 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44232 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44233 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44234 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44240 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44241 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44242 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44243 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44244 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44245 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44246 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44247 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44253 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44254 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44256 // Map renamed classes back to their common name for OOR
44257 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44259 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44260 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44261 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44262 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44263 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44264 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44265 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44266 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44267 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44268 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44269 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44270 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44271 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44272 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44273 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44274 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44275 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44276 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44277 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44278 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44279 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44280 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44281 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44282 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44283 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44284 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44285 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44286 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44287 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44288 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44289 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44290 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44291 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44292 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44293 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44294 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44295 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44296 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44308 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44309 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44310 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44311 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44312 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44313 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44315 // Map renamed classes back to their common name for OOR
44316 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44317 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44319 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44320 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44321 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44322 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44323 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44324 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44325 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44326 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44327 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44328 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44330 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44332 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44333 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44334 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44335 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44336 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44337 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));