1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxComboBox swig_types[31]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelp swig_types[33]
2496 #define SWIGTYPE_p_wxContextHelpButton swig_types[34]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
2498 #define SWIGTYPE_p_wxControl swig_types[36]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[37]
2500 #define SWIGTYPE_p_wxCursor swig_types[38]
2501 #define SWIGTYPE_p_wxDC swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime swig_types[42]
2505 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512 #define SWIGTYPE_p_wxFSFile swig_types[50]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[51]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[53]
2516 #define SWIGTYPE_p_wxFont swig_types[54]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[56]
2519 #define SWIGTYPE_p_wxGauge swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[58]
2521 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
2522 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2523 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2524 #define SWIGTYPE_p_wxHelpEvent swig_types[62]
2525 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
2526 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[64]
2527 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[65]
2528 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2529 #define SWIGTYPE_p_wxIcon swig_types[67]
2530 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2532 #define SWIGTYPE_p_wxImage swig_types[70]
2533 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2534 #define SWIGTYPE_p_wxImageList swig_types[72]
2535 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2536 #define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2537 #define SWIGTYPE_p_wxItemContainer swig_types[75]
2538 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2539 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2541 #define SWIGTYPE_p_wxListBox swig_types[79]
2542 #define SWIGTYPE_p_wxListEvent swig_types[80]
2543 #define SWIGTYPE_p_wxListItem swig_types[81]
2544 #define SWIGTYPE_p_wxListItemAttr swig_types[82]
2545 #define SWIGTYPE_p_wxListView swig_types[83]
2546 #define SWIGTYPE_p_wxListbook swig_types[84]
2547 #define SWIGTYPE_p_wxListbookEvent swig_types[85]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[86]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[87]
2550 #define SWIGTYPE_p_wxMenu swig_types[88]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[89]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[91]
2554 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[96]
2559 #define SWIGTYPE_p_wxNotebook swig_types[97]
2560 #define SWIGTYPE_p_wxNotebookEvent swig_types[98]
2561 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2562 #define SWIGTYPE_p_wxObject swig_types[100]
2563 #define SWIGTYPE_p_wxPCXHandler swig_types[101]
2564 #define SWIGTYPE_p_wxPNGHandler swig_types[102]
2565 #define SWIGTYPE_p_wxPNMHandler swig_types[103]
2566 #define SWIGTYPE_p_wxPaintEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[105]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[106]
2569 #define SWIGTYPE_p_wxPoint swig_types[107]
2570 #define SWIGTYPE_p_wxPyApp swig_types[108]
2571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPyControl swig_types[110]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPyImageHandler swig_types[112]
2575 #define SWIGTYPE_p_wxPyListCtrl swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[115]
2578 #define SWIGTYPE_p_wxPyTreeItemData swig_types[116]
2579 #define SWIGTYPE_p_wxPyValidator swig_types[117]
2580 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[118]
2581 #define SWIGTYPE_p_wxRadioBox swig_types[119]
2582 #define SWIGTYPE_p_wxRadioButton swig_types[120]
2583 #define SWIGTYPE_p_wxRect swig_types[121]
2584 #define SWIGTYPE_p_wxScrollBar swig_types[122]
2585 #define SWIGTYPE_p_wxScrollEvent swig_types[123]
2586 #define SWIGTYPE_p_wxScrollWinEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSetCursorEvent swig_types[125]
2588 #define SWIGTYPE_p_wxShowEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[127]
2590 #define SWIGTYPE_p_wxSize swig_types[128]
2591 #define SWIGTYPE_p_wxSizeEvent swig_types[129]
2592 #define SWIGTYPE_p_wxSizer swig_types[130]
2593 #define SWIGTYPE_p_wxSizerItem swig_types[131]
2594 #define SWIGTYPE_p_wxSlider swig_types[132]
2595 #define SWIGTYPE_p_wxSpinButton swig_types[133]
2596 #define SWIGTYPE_p_wxSpinCtrl swig_types[134]
2597 #define SWIGTYPE_p_wxSpinEvent swig_types[135]
2598 #define SWIGTYPE_p_wxStaticBitmap swig_types[136]
2599 #define SWIGTYPE_p_wxStaticBox swig_types[137]
2600 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxStaticLine swig_types[139]
2602 #define SWIGTYPE_p_wxStaticText swig_types[140]
2603 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[141]
2604 #define SWIGTYPE_p_wxString swig_types[142]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[143]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[144]
2607 #define SWIGTYPE_p_wxTextAttr swig_types[145]
2608 #define SWIGTYPE_p_wxTextCtrl swig_types[146]
2609 #define SWIGTYPE_p_wxTextUrlEvent swig_types[147]
2610 #define SWIGTYPE_p_wxToggleButton swig_types[148]
2611 #define SWIGTYPE_p_wxToolBar swig_types[149]
2612 #define SWIGTYPE_p_wxToolBarBase swig_types[150]
2613 #define SWIGTYPE_p_wxToolBarToolBase swig_types[151]
2614 #define SWIGTYPE_p_wxToolbook swig_types[152]
2615 #define SWIGTYPE_p_wxToolbookEvent swig_types[153]
2616 #define SWIGTYPE_p_wxTreeCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTreeEvent swig_types[155]
2618 #define SWIGTYPE_p_wxTreeItemId swig_types[156]
2619 #define SWIGTYPE_p_wxTreebook swig_types[157]
2620 #define SWIGTYPE_p_wxTreebookEvent swig_types[158]
2621 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2622 #define SWIGTYPE_p_wxValidator swig_types[160]
2623 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2624 #define SWIGTYPE_p_wxWindow swig_types[162]
2625 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2626 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2627 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2628 static swig_type_info
*swig_types
[167];
2629 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2630 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2631 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2633 /* -------- TYPES TABLE (END) -------- */
2635 #if (PY_VERSION_HEX <= 0x02000000)
2636 # if !defined(SWIG_PYTHON_CLASSIC)
2637 # error "This python version requires to use swig with the '-classic' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodern' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 /*-----------------------------------------------
2651 @(target):= _controls_.so
2652 ------------------------------------------------*/
2653 #define SWIG_init init_controls_
2655 #define SWIG_name "_controls_"
2657 #define SWIGVERSION 0x010329
2660 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2661 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664 #include <stdexcept>
2668 class PyObject_ptr
{
2673 PyObject_ptr() :_obj(0)
2677 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2682 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2684 if (initial_ref
) Py_XINCREF(_obj
);
2687 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2689 Py_XINCREF(item
._obj
);
2700 operator PyObject
*() const
2705 PyObject
*operator->() const
2714 struct PyObject_var
: PyObject_ptr
{
2715 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2717 PyObject_var
& operator = (PyObject
* obj
)
2727 #include "wx/wxPython/wxPython.h"
2728 #include "wx/wxPython/pyclasses.h"
2730 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2731 static const wxString
wxPyEmptyString(wxEmptyString
);
2732 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2734 const wxArrayString wxPyEmptyStringArray
;
2736 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2738 #define SWIG_From_long PyInt_FromLong
2741 SWIGINTERNINLINE PyObject
*
2742 SWIG_From_int (int value
)
2744 return SWIG_From_long (value
);
2750 # define LLONG_MIN LONG_LONG_MIN
2753 # define LLONG_MAX LONG_LONG_MAX
2756 # define ULLONG_MAX ULONG_LONG_MAX
2761 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2763 if (PyNumber_Check(obj
)) {
2764 if (val
) *val
= PyInt_AsLong(obj
);
2767 return SWIG_TypeError
;
2772 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2775 int res
= SWIG_AsVal_long (obj
, &v
);
2776 if (SWIG_IsOK(res
)) {
2777 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2778 return SWIG_OverflowError
;
2780 if (val
) *val
= static_cast< int >(v
);
2786 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2789 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2791 if (obj
== Py_True
) {
2792 if (val
) *val
= true;
2794 } else if (obj
== Py_False
) {
2795 if (val
) *val
= false;
2799 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2800 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2805 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2806 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2807 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2808 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2809 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2810 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2812 #include <wx/checklst.h>
2814 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2815 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2818 wxPyClientData
* data
= new wxPyClientData(clientData
);
2819 self
->Insert(item
, pos
, data
);
2822 self
->Insert(item
, pos
);
2826 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2829 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2830 return SWIG_TypeError
;
2833 *val
= (unsigned long)v
;
2839 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2842 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2843 if (SWIG_IsOK(res
)) {
2844 if ((v
> UINT_MAX
)) {
2845 return SWIG_OverflowError
;
2847 if (val
) *val
= static_cast< unsigned int >(v
);
2853 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2854 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2856 self
->GetSelections(lst
);
2857 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2858 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2860 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2862 wxPyEndBlockThreads(blocked
);
2865 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2867 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2868 self
->GetItem(item
)->SetTextColour(c
);
2871 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2873 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2874 self
->GetItem(item
)->SetBackgroundColour(c
);
2877 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2879 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2880 self
->GetItem(item
)->SetFont(f
);
2883 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2884 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2885 self
->AppendText(text
);
2887 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2888 return self
->GetValue().Mid(from
, to
- from
);
2890 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2891 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2892 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2893 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2894 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2896 SWIGINTERNINLINE PyObject
*
2897 SWIG_From_unsigned_SS_long (unsigned long value
)
2899 return (value
> LONG_MAX
) ?
2900 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2904 SWIGINTERNINLINE PyObject
*
2905 SWIG_From_size_t (size_t value
)
2907 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2911 SWIGINTERNINLINE PyObject
*
2912 SWIG_From_unsigned_SS_int (unsigned int value
)
2914 return SWIG_From_unsigned_SS_long (value
);
2918 #include <wx/slider.h>
2921 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2922 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2924 #if !wxUSE_TOGGLEBTN
2925 // implement dummy items for platforms that don't have this class
2927 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2929 class wxToggleButton
: public wxControl
2932 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2933 const wxPoint
&, const wxSize
&, long,
2934 const wxValidator
&, const wxString
&)
2935 { wxPyRaiseNotImplemented(); }
2938 { wxPyRaiseNotImplemented(); }
2942 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2944 SWIGINTERNINLINE
int
2945 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2948 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2949 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2953 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2954 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2955 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2957 Py_INCREF(udata
->m_obj
);
2958 return udata
->m_obj
;
2964 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2965 self
->SetClientData(new wxPyUserData(clientData
));
2967 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
){
2968 wxPyUserData
* udata
= NULL
;
2969 if (clientData
&& clientData
!= Py_None
)
2970 udata
= new wxPyUserData(clientData
);
2971 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2972 shortHelp
, longHelp
, udata
);
2974 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
){
2975 wxPyUserData
* udata
= NULL
;
2976 if (clientData
&& clientData
!= Py_None
)
2977 udata
= new wxPyUserData(clientData
);
2978 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2979 shortHelp
, longHelp
, udata
);
2981 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2982 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2984 Py_INCREF(udata
->m_obj
);
2985 return udata
->m_obj
;
2991 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2992 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2995 #include <wx/listctrl.h>
2997 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2998 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2999 // Python aware sorting function for wxPyListCtrl
3000 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3002 PyObject
* func
= (PyObject
*)funcPtr
;
3003 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3005 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3006 PyObject
* result
= PyEval_CallObject(func
, args
);
3009 retval
= PyInt_AsLong(result
);
3013 wxPyEndBlockThreads(blocked
);
3017 // C++ Version of a Python aware class
3018 class wxPyListCtrl
: public wxListCtrl
{
3019 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3021 wxPyListCtrl() : wxListCtrl() {}
3022 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3026 const wxValidator
& validator
,
3027 const wxString
& name
) :
3028 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3030 bool Create(wxWindow
* parent
, wxWindowID id
,
3034 const wxValidator
& validator
,
3035 const wxString
& name
) {
3036 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3039 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3040 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3042 // use the virtual version to avoid a confusing assert in the base class
3043 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3044 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3051 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3052 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3053 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3054 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3057 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3059 item
.SetMask( wxLIST_MASK_STATE
|
3067 if (self
->GetColumn(col
, item
))
3068 return new wxListItem(item
);
3072 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3073 wxListItem
* info
= new wxListItem
;
3074 info
->m_itemId
= itemId
;
3076 info
->m_mask
= 0xFFFF;
3077 self
->GetItem(*info
);
3080 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3082 self
->GetItemPosition(item
, pos
);
3085 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3087 self
->GetItemRect(item
, rect
, code
);
3090 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3091 if (!PyCallable_Check(func
))
3093 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3095 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3099 return (wxWindow
*)self
->m_mainWin
;
3103 #include <wx/treectrl.h>
3104 #include "wx/wxPython/pytree.h"
3106 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3107 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3108 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3109 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3110 // C++ version of Python aware wxTreeCtrl
3111 class wxPyTreeCtrl
: public wxTreeCtrl
{
3112 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3114 wxPyTreeCtrl() : wxTreeCtrl() {}
3115 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3119 const wxValidator
& validator
,
3120 const wxString
& name
) :
3121 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3123 bool Create(wxWindow
*parent
, wxWindowID id
,
3127 const wxValidator
& validator
,
3128 const wxString
& name
) {
3129 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3133 int OnCompareItems(const wxTreeItemId
& item1
,
3134 const wxTreeItemId
& item2
) {
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3139 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3140 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3141 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3145 wxPyEndBlockThreads(blocked
);
3147 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3153 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3156 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3157 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3159 data
= new wxPyTreeItemData();
3160 data
->SetId(item
); // set the id
3161 self
->SetItemData(item
, data
);
3165 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3166 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3168 data
= new wxPyTreeItemData();
3169 data
->SetId(item
); // set the id
3170 self
->SetItemData(item
, data
);
3172 return data
->GetData();
3174 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3178 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData(obj
);
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 PyObject
* rval
= PyList_New(0);
3190 wxArrayTreeItemIds array
;
3192 num
= self
->GetSelections(array
);
3193 for (x
=0; x
< num
; x
++) {
3194 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3195 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3196 PyList_Append(rval
, item
);
3199 wxPyEndBlockThreads(blocked
);
3202 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3204 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3205 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3206 PyObject
* tup
= PyTuple_New(2);
3207 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3208 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3209 wxPyEndBlockThreads(blocked
);
3212 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3213 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyObject
* tup
= PyTuple_New(2);
3216 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3217 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3223 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 wxRect
* r
= new wxRect(rect
);
3226 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3227 wxPyEndBlockThreads(blocked
);
3233 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3235 SWIGINTERNINLINE PyObject
*
3236 SWIG_From_bool (bool value
)
3238 return PyBool_FromLong(value
? 1 : 0);
3241 // C++ version of Python aware wxControl
3242 class wxPyControl
: public wxControl
3244 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3246 wxPyControl() : wxControl() {}
3247 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3248 const wxPoint
& pos
= wxDefaultPosition
,
3249 const wxSize
& size
= wxDefaultSize
,
3251 const wxValidator
& validator
=wxDefaultValidator
,
3252 const wxString
& name
= wxPyControlNameStr
)
3253 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3255 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3257 bool DoEraseBackground(wxDC
* dc
) {
3259 return wxWindow::DoEraseBackground(dc
->GetHDC());
3261 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3267 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3268 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3269 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3270 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3273 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3274 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3276 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3277 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3279 DEC_PYCALLBACK__(InitDialog
);
3280 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3281 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3282 DEC_PYCALLBACK_BOOL_(Validate
);
3284 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3285 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3286 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3288 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3289 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3291 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3292 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3294 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3296 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3301 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3303 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3304 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3305 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3306 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3309 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3312 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3313 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3315 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3316 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3317 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3318 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3320 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3321 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3322 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3324 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3325 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3327 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3328 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3330 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3332 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3336 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3338 #include <wx/generic/dragimgg.h>
3340 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3341 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3343 self
->GetRange(&rv
, NULL
);
3346 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3348 self
->GetRange(NULL
, &rv
);
3351 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3355 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3356 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3361 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3362 PyObject
*pyobj
= 0;
3366 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3368 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3375 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
= 0;
3377 wxWindow
*arg1
= (wxWindow
*) 0 ;
3378 int arg2
= (int) -1 ;
3379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3385 long arg6
= (long) 0 ;
3386 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3387 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3388 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3389 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3390 wxButton
*result
= 0 ;
3395 bool temp3
= false ;
3402 bool temp8
= false ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3405 PyObject
* obj2
= 0 ;
3406 PyObject
* obj3
= 0 ;
3407 PyObject
* obj4
= 0 ;
3408 PyObject
* obj5
= 0 ;
3409 PyObject
* obj6
= 0 ;
3410 PyObject
* obj7
= 0 ;
3411 char * kwnames
[] = {
3412 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3417 if (!SWIG_IsOK(res1
)) {
3418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3423 if (!SWIG_IsOK(ecode2
)) {
3424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3426 arg2
= static_cast< int >(val2
);
3430 arg3
= wxString_in_helper(obj2
);
3431 if (arg3
== NULL
) SWIG_fail
;
3438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3448 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3449 if (!SWIG_IsOK(ecode6
)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3452 arg6
= static_cast< long >(val6
);
3455 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3456 if (!SWIG_IsOK(res7
)) {
3457 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3462 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3466 arg8
= wxString_in_helper(obj7
);
3467 if (arg8
== NULL
) SWIG_fail
;
3472 if (!wxPyCheckForApp()) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3501 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3502 PyObject
*resultobj
= 0;
3503 wxButton
*result
= 0 ;
3505 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3507 if (!wxPyCheckForApp()) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (wxButton
*)new wxButton();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3520 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
= 0;
3522 wxButton
*arg1
= (wxButton
*) 0 ;
3523 wxWindow
*arg2
= (wxWindow
*) 0 ;
3524 int arg3
= (int) -1 ;
3525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3531 long arg7
= (long) 0 ;
3532 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3533 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3534 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3535 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3543 bool temp4
= false ;
3550 bool temp9
= false ;
3551 PyObject
* obj0
= 0 ;
3552 PyObject
* obj1
= 0 ;
3553 PyObject
* obj2
= 0 ;
3554 PyObject
* obj3
= 0 ;
3555 PyObject
* obj4
= 0 ;
3556 PyObject
* obj5
= 0 ;
3557 PyObject
* obj6
= 0 ;
3558 PyObject
* obj7
= 0 ;
3559 PyObject
* obj8
= 0 ;
3560 char * kwnames
[] = {
3561 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3566 if (!SWIG_IsOK(res1
)) {
3567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3569 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3571 if (!SWIG_IsOK(res2
)) {
3572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3577 if (!SWIG_IsOK(ecode3
)) {
3578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3580 arg3
= static_cast< int >(val3
);
3584 arg4
= wxString_in_helper(obj3
);
3585 if (arg4
== NULL
) SWIG_fail
;
3592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3603 if (!SWIG_IsOK(ecode7
)) {
3604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3606 arg7
= static_cast< long >(val7
);
3609 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3610 if (!SWIG_IsOK(res8
)) {
3611 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3616 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3620 arg9
= wxString_in_helper(obj8
);
3621 if (arg9
== NULL
) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3656 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3657 PyObject
*resultobj
= 0;
3658 wxButton
*arg1
= (wxButton
*) 0 ;
3661 PyObject
*swig_obj
[1] ;
3663 if (!args
) SWIG_fail
;
3665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3666 if (!SWIG_IsOK(res1
)) {
3667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3669 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->SetDefault();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_Py_Void();
3683 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3684 PyObject
*resultobj
= 0;
3687 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= wxButton::GetDefaultSize();
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3701 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
= 0;
3703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3704 SwigValueWrapper
<wxVisualAttributes
> result
;
3707 PyObject
* obj0
= 0 ;
3708 char * kwnames
[] = {
3709 (char *) "variant", NULL
3712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3715 if (!SWIG_IsOK(ecode1
)) {
3716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3718 arg1
= static_cast< wxWindowVariant
>(val1
);
3721 if (!wxPyCheckForApp()) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= wxButton::GetClassDefaultAttributes(arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3734 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3737 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3738 return SWIG_Py_Void();
3741 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3742 return SWIG_Python_InitShadowInstance(args
);
3745 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
= 0;
3747 wxWindow
*arg1
= (wxWindow
*) 0 ;
3748 int arg2
= (int) -1 ;
3749 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3750 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3751 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3752 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3753 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3754 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3755 long arg6
= (long) wxBU_AUTODRAW
;
3756 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3757 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3758 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3759 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3760 wxBitmapButton
*result
= 0 ;
3773 bool temp8
= false ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3777 PyObject
* obj3
= 0 ;
3778 PyObject
* obj4
= 0 ;
3779 PyObject
* obj5
= 0 ;
3780 PyObject
* obj6
= 0 ;
3781 PyObject
* obj7
= 0 ;
3782 char * kwnames
[] = {
3783 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3788 if (!SWIG_IsOK(res1
)) {
3789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3794 if (!SWIG_IsOK(ecode2
)) {
3795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3797 arg2
= static_cast< int >(val2
);
3800 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3801 if (!SWIG_IsOK(res3
)) {
3802 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3807 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3823 if (!SWIG_IsOK(ecode6
)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3826 arg6
= static_cast< long >(val6
);
3829 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3830 if (!SWIG_IsOK(res7
)) {
3831 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3836 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3840 arg8
= wxString_in_helper(obj7
);
3841 if (arg8
== NULL
) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3867 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3868 PyObject
*resultobj
= 0;
3869 wxBitmapButton
*result
= 0 ;
3871 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3873 if (!wxPyCheckForApp()) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (wxBitmapButton
*)new wxBitmapButton();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3886 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
= 0;
3888 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3889 wxWindow
*arg2
= (wxWindow
*) 0 ;
3890 int arg3
= (int) -1 ;
3891 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3892 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3897 long arg7
= (long) wxBU_AUTODRAW
;
3898 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3899 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3900 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3901 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3917 bool temp9
= false ;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3925 PyObject
* obj7
= 0 ;
3926 PyObject
* obj8
= 0 ;
3927 char * kwnames
[] = {
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3933 if (!SWIG_IsOK(res1
)) {
3934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3936 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3938 if (!SWIG_IsOK(res2
)) {
3939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3944 if (!SWIG_IsOK(ecode3
)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3947 arg3
= static_cast< int >(val3
);
3950 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3951 if (!SWIG_IsOK(res4
)) {
3952 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3957 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3962 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3968 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3972 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3973 if (!SWIG_IsOK(ecode7
)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3976 arg7
= static_cast< long >(val7
);
3979 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3980 if (!SWIG_IsOK(res8
)) {
3981 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3986 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3990 arg9
= wxString_in_helper(obj8
);
3991 if (arg9
== NULL
) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4018 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4024 PyObject
*swig_obj
[1] ;
4026 if (!args
) SWIG_fail
;
4028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4029 if (!SWIG_IsOK(res1
)) {
4030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4032 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 result
= (arg1
)->GetBitmapLabel();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4046 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 PyObject
*resultobj
= 0;
4048 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4052 PyObject
*swig_obj
[1] ;
4054 if (!args
) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4060 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (arg1
)->GetBitmapDisabled();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4074 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4075 PyObject
*resultobj
= 0;
4076 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4080 PyObject
*swig_obj
[1] ;
4082 if (!args
) SWIG_fail
;
4084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4085 if (!SWIG_IsOK(res1
)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4088 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (arg1
)->GetBitmapFocus();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4102 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4103 PyObject
*resultobj
= 0;
4104 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4108 PyObject
*swig_obj
[1] ;
4110 if (!args
) SWIG_fail
;
4112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4113 if (!SWIG_IsOK(res1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4116 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (arg1
)->GetBitmapSelected();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4130 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4131 PyObject
*resultobj
= 0;
4132 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4136 PyObject
*swig_obj
[1] ;
4138 if (!args
) SWIG_fail
;
4140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4141 if (!SWIG_IsOK(res1
)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4144 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (arg1
)->GetBitmapHover();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4158 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
= 0;
4160 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4161 wxBitmap
*arg2
= 0 ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 char * kwnames
[] = {
4169 (char *) "self",(char *) "bitmap", NULL
4172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4174 if (!SWIG_IsOK(res1
)) {
4175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4177 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4179 if (!SWIG_IsOK(res2
)) {
4180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4185 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_Py_Void();
4199 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4202 wxBitmap
*arg2
= 0 ;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 char * kwnames
[] = {
4210 (char *) "self",(char *) "bitmap", NULL
4213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4215 if (!SWIG_IsOK(res1
)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4218 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4220 if (!SWIG_IsOK(res2
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_Py_Void();
4240 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
= 0;
4242 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4243 wxBitmap
*arg2
= 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4250 char * kwnames
[] = {
4251 (char *) "self",(char *) "bitmap", NULL
4254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4259 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4261 if (!SWIG_IsOK(res2
)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4267 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_Py_Void();
4281 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
= 0;
4283 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4284 wxBitmap
*arg2
= 0 ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "self",(char *) "bitmap", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4300 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4302 if (!SWIG_IsOK(res2
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4308 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_Py_Void();
4322 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
= 0;
4324 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4325 wxBitmap
*arg2
= 0 ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 char * kwnames
[] = {
4333 (char *) "self",(char *) "hover", NULL
4336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4338 if (!SWIG_IsOK(res1
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4341 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4343 if (!SWIG_IsOK(res2
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4349 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_Py_Void();
4363 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
= 0;
4365 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4376 PyObject
* obj2
= 0 ;
4377 char * kwnames
[] = {
4378 (char *) "self",(char *) "x",(char *) "y", NULL
4381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4383 if (!SWIG_IsOK(res1
)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4386 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4388 if (!SWIG_IsOK(ecode2
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4391 arg2
= static_cast< int >(val2
);
4392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4393 if (!SWIG_IsOK(ecode3
)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4396 arg3
= static_cast< int >(val3
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 (arg1
)->SetMargins(arg2
,arg3
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_Py_Void();
4410 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4411 PyObject
*resultobj
= 0;
4412 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4416 PyObject
*swig_obj
[1] ;
4418 if (!args
) SWIG_fail
;
4420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4421 if (!SWIG_IsOK(res1
)) {
4422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4424 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_From_int(static_cast< int >(result
));
4438 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4439 PyObject
*resultobj
= 0;
4440 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4444 PyObject
*swig_obj
[1] ;
4446 if (!args
) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4452 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_From_int(static_cast< int >(result
));
4466 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4469 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4470 return SWIG_Py_Void();
4473 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4474 return SWIG_Python_InitShadowInstance(args
);
4477 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4478 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4483 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4484 PyObject
*pyobj
= 0;
4488 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4490 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4497 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
= 0;
4499 wxWindow
*arg1
= (wxWindow
*) 0 ;
4500 int arg2
= (int) -1 ;
4501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4507 long arg6
= (long) 0 ;
4508 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4509 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4510 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4511 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4512 wxCheckBox
*result
= 0 ;
4517 bool temp3
= false ;
4524 bool temp8
= false ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4527 PyObject
* obj2
= 0 ;
4528 PyObject
* obj3
= 0 ;
4529 PyObject
* obj4
= 0 ;
4530 PyObject
* obj5
= 0 ;
4531 PyObject
* obj6
= 0 ;
4532 PyObject
* obj7
= 0 ;
4533 char * kwnames
[] = {
4534 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4539 if (!SWIG_IsOK(res1
)) {
4540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4545 if (!SWIG_IsOK(ecode2
)) {
4546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4548 arg2
= static_cast< int >(val2
);
4552 arg3
= wxString_in_helper(obj2
);
4553 if (arg3
== NULL
) SWIG_fail
;
4560 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4566 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4570 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4571 if (!SWIG_IsOK(ecode6
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4574 arg6
= static_cast< long >(val6
);
4577 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4578 if (!SWIG_IsOK(res7
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4584 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4588 arg8
= wxString_in_helper(obj7
);
4589 if (arg8
== NULL
) SWIG_fail
;
4594 if (!wxPyCheckForApp()) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4623 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4624 PyObject
*resultobj
= 0;
4625 wxCheckBox
*result
= 0 ;
4627 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4629 if (!wxPyCheckForApp()) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (wxCheckBox
*)new wxCheckBox();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4642 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= 0;
4644 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4645 wxWindow
*arg2
= (wxWindow
*) 0 ;
4646 int arg3
= (int) -1 ;
4647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4653 long arg7
= (long) 0 ;
4654 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4655 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4656 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4657 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4665 bool temp4
= false ;
4672 bool temp9
= false ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4677 PyObject
* obj4
= 0 ;
4678 PyObject
* obj5
= 0 ;
4679 PyObject
* obj6
= 0 ;
4680 PyObject
* obj7
= 0 ;
4681 PyObject
* obj8
= 0 ;
4682 char * kwnames
[] = {
4683 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4691 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4693 if (!SWIG_IsOK(res2
)) {
4694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4699 if (!SWIG_IsOK(ecode3
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4702 arg3
= static_cast< int >(val3
);
4706 arg4
= wxString_in_helper(obj3
);
4707 if (arg4
== NULL
) SWIG_fail
;
4714 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4720 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4724 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4725 if (!SWIG_IsOK(ecode7
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4728 arg7
= static_cast< long >(val7
);
4731 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4732 if (!SWIG_IsOK(res8
)) {
4733 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4738 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4742 arg9
= wxString_in_helper(obj8
);
4743 if (arg9
== NULL
) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4778 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4779 PyObject
*resultobj
= 0;
4780 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4784 PyObject
*swig_obj
[1] ;
4786 if (!args
) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4792 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 result
= (bool)(arg1
)->GetValue();
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4808 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4809 PyObject
*resultobj
= 0;
4810 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4814 PyObject
*swig_obj
[1] ;
4816 if (!args
) SWIG_fail
;
4818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4819 if (!SWIG_IsOK(res1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4822 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)(arg1
)->IsChecked();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4838 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
= 0;
4840 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 char * kwnames
[] = {
4849 (char *) "self",(char *) "state", NULL
4852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4857 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4858 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4859 if (!SWIG_IsOK(ecode2
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4862 arg2
= static_cast< bool >(val2
);
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 (arg1
)->SetValue(arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_Py_Void();
4876 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4877 PyObject
*resultobj
= 0;
4878 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4879 wxCheckBoxState result
;
4882 PyObject
*swig_obj
[1] ;
4884 if (!args
) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4890 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_From_int(static_cast< int >(result
));
4904 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
= 0;
4906 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4907 wxCheckBoxState arg2
;
4912 PyObject
* obj0
= 0 ;
4913 PyObject
* obj1
= 0 ;
4914 char * kwnames
[] = {
4915 (char *) "self",(char *) "state", NULL
4918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4920 if (!SWIG_IsOK(res1
)) {
4921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4923 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4925 if (!SWIG_IsOK(ecode2
)) {
4926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4928 arg2
= static_cast< wxCheckBoxState
>(val2
);
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->Set3StateValue(arg2
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= SWIG_Py_Void();
4942 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4943 PyObject
*resultobj
= 0;
4944 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4948 PyObject
*swig_obj
[1] ;
4950 if (!args
) SWIG_fail
;
4952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4953 if (!SWIG_IsOK(res1
)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4956 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4972 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 PyObject
*resultobj
= 0;
4974 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4978 PyObject
*swig_obj
[1] ;
4980 if (!args
) SWIG_fail
;
4982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4983 if (!SWIG_IsOK(res1
)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4986 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
= 0;
5004 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5005 SwigValueWrapper
<wxVisualAttributes
> result
;
5008 PyObject
* obj0
= 0 ;
5009 char * kwnames
[] = {
5010 (char *) "variant", NULL
5013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5016 if (!SWIG_IsOK(ecode1
)) {
5017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5019 arg1
= static_cast< wxWindowVariant
>(val1
);
5022 if (!wxPyCheckForApp()) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5035 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5038 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5039 return SWIG_Py_Void();
5042 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5043 return SWIG_Python_InitShadowInstance(args
);
5046 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5047 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5052 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5053 PyObject
*pyobj
= 0;
5057 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5059 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5066 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
= 0;
5068 wxWindow
*arg1
= (wxWindow
*) 0 ;
5069 int arg2
= (int) -1 ;
5070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5074 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5075 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5076 long arg6
= (long) 0 ;
5077 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5078 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5079 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5080 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5081 wxChoice
*result
= 0 ;
5088 bool temp5
= false ;
5093 bool temp8
= false ;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5096 PyObject
* obj2
= 0 ;
5097 PyObject
* obj3
= 0 ;
5098 PyObject
* obj4
= 0 ;
5099 PyObject
* obj5
= 0 ;
5100 PyObject
* obj6
= 0 ;
5101 PyObject
* obj7
= 0 ;
5102 char * kwnames
[] = {
5103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5108 if (!SWIG_IsOK(res1
)) {
5109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5111 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5114 if (!SWIG_IsOK(ecode2
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5117 arg2
= static_cast< int >(val2
);
5122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5133 if (! PySequence_Check(obj4
)) {
5134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5137 arg5
= new wxArrayString
;
5139 int i
, len
=PySequence_Length(obj4
);
5140 for (i
=0; i
<len
; i
++) {
5141 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5142 wxString
* s
= wxString_in_helper(item
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5152 if (!SWIG_IsOK(ecode6
)) {
5153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5155 arg6
= static_cast< long >(val6
);
5158 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5159 if (!SWIG_IsOK(res7
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5165 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5169 arg8
= wxString_in_helper(obj7
);
5170 if (arg8
== NULL
) SWIG_fail
;
5175 if (!wxPyCheckForApp()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5183 if (temp5
) delete arg5
;
5192 if (temp5
) delete arg5
;
5202 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5203 PyObject
*resultobj
= 0;
5204 wxChoice
*result
= 0 ;
5206 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5208 if (!wxPyCheckForApp()) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (wxChoice
*)new wxChoice();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5221 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5223 wxChoice
*arg1
= (wxChoice
*) 0 ;
5224 wxWindow
*arg2
= (wxWindow
*) 0 ;
5225 int arg3
= (int) -1 ;
5226 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5227 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5228 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5229 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5230 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5231 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5232 long arg7
= (long) 0 ;
5233 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5234 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5235 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5236 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5246 bool temp6
= false ;
5251 bool temp9
= false ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5254 PyObject
* obj2
= 0 ;
5255 PyObject
* obj3
= 0 ;
5256 PyObject
* obj4
= 0 ;
5257 PyObject
* obj5
= 0 ;
5258 PyObject
* obj6
= 0 ;
5259 PyObject
* obj7
= 0 ;
5260 PyObject
* obj8
= 0 ;
5261 char * kwnames
[] = {
5262 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5267 if (!SWIG_IsOK(res1
)) {
5268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5270 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5272 if (!SWIG_IsOK(res2
)) {
5273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5275 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5278 if (!SWIG_IsOK(ecode3
)) {
5279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5281 arg3
= static_cast< int >(val3
);
5286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5297 if (! PySequence_Check(obj5
)) {
5298 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5301 arg6
= new wxArrayString
;
5303 int i
, len
=PySequence_Length(obj5
);
5304 for (i
=0; i
<len
; i
++) {
5305 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5306 wxString
* s
= wxString_in_helper(item
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5315 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5316 if (!SWIG_IsOK(ecode7
)) {
5317 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5319 arg7
= static_cast< long >(val7
);
5322 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5323 if (!SWIG_IsOK(res8
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5329 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5333 arg9
= wxString_in_helper(obj8
);
5334 if (arg9
== NULL
) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 if (temp6
) delete arg6
;
5357 if (temp6
) delete arg6
;
5367 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5368 PyObject
*resultobj
= 0;
5369 wxChoice
*arg1
= (wxChoice
*) 0 ;
5373 PyObject
*swig_obj
[1] ;
5375 if (!args
) SWIG_fail
;
5377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5378 if (!SWIG_IsOK(res1
)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5381 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= SWIG_From_int(static_cast< int >(result
));
5395 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
= 0;
5397 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5398 SwigValueWrapper
<wxVisualAttributes
> result
;
5401 PyObject
* obj0
= 0 ;
5402 char * kwnames
[] = {
5403 (char *) "variant", NULL
5406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5408 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5409 if (!SWIG_IsOK(ecode1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5412 arg1
= static_cast< wxWindowVariant
>(val1
);
5415 if (!wxPyCheckForApp()) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5428 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5431 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5432 return SWIG_Py_Void();
5435 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5436 return SWIG_Python_InitShadowInstance(args
);
5439 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5440 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5445 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5446 PyObject
*pyobj
= 0;
5450 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5452 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5459 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
= 0;
5461 wxWindow
*arg1
= (wxWindow
*) 0 ;
5462 int arg2
= (int) -1 ;
5463 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5464 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5465 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5466 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5467 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5468 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5469 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5470 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5471 long arg7
= (long) 0 ;
5472 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5473 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5474 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5475 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5476 wxComboBox
*result
= 0 ;
5481 bool temp3
= false ;
5484 bool temp6
= false ;
5489 bool temp9
= false ;
5490 PyObject
* obj0
= 0 ;
5491 PyObject
* obj1
= 0 ;
5492 PyObject
* obj2
= 0 ;
5493 PyObject
* obj3
= 0 ;
5494 PyObject
* obj4
= 0 ;
5495 PyObject
* obj5
= 0 ;
5496 PyObject
* obj6
= 0 ;
5497 PyObject
* obj7
= 0 ;
5498 PyObject
* obj8
= 0 ;
5499 char * kwnames
[] = {
5500 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5505 if (!SWIG_IsOK(res1
)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5511 if (!SWIG_IsOK(ecode2
)) {
5512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5514 arg2
= static_cast< int >(val2
);
5518 arg3
= wxString_in_helper(obj2
);
5519 if (arg3
== NULL
) SWIG_fail
;
5526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5537 if (! PySequence_Check(obj5
)) {
5538 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5541 arg6
= new wxArrayString
;
5543 int i
, len
=PySequence_Length(obj5
);
5544 for (i
=0; i
<len
; i
++) {
5545 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5546 wxString
* s
= wxString_in_helper(item
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5555 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5556 if (!SWIG_IsOK(ecode7
)) {
5557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5559 arg7
= static_cast< long >(val7
);
5562 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5563 if (!SWIG_IsOK(res8
)) {
5564 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5569 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5573 arg9
= wxString_in_helper(obj8
);
5574 if (arg9
== NULL
) SWIG_fail
;
5579 if (!wxPyCheckForApp()) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 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
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5591 if (temp6
) delete arg6
;
5604 if (temp6
) delete arg6
;
5614 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5615 PyObject
*resultobj
= 0;
5616 wxComboBox
*result
= 0 ;
5618 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5620 if (!wxPyCheckForApp()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (wxComboBox
*)new wxComboBox();
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5633 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
= 0;
5635 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5636 wxWindow
*arg2
= (wxWindow
*) 0 ;
5637 int arg3
= (int) -1 ;
5638 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5639 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5642 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5643 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5644 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5645 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5646 long arg8
= (long) 0 ;
5647 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5648 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5649 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5650 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5658 bool temp4
= false ;
5661 bool temp7
= false ;
5666 bool temp10
= false ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5669 PyObject
* obj2
= 0 ;
5670 PyObject
* obj3
= 0 ;
5671 PyObject
* obj4
= 0 ;
5672 PyObject
* obj5
= 0 ;
5673 PyObject
* obj6
= 0 ;
5674 PyObject
* obj7
= 0 ;
5675 PyObject
* obj8
= 0 ;
5676 PyObject
* obj9
= 0 ;
5677 char * kwnames
[] = {
5678 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5683 if (!SWIG_IsOK(res1
)) {
5684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5686 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5688 if (!SWIG_IsOK(res2
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5694 if (!SWIG_IsOK(ecode3
)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5697 arg3
= static_cast< int >(val3
);
5701 arg4
= wxString_in_helper(obj3
);
5702 if (arg4
== NULL
) SWIG_fail
;
5709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5720 if (! PySequence_Check(obj6
)) {
5721 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5724 arg7
= new wxArrayString
;
5726 int i
, len
=PySequence_Length(obj6
);
5727 for (i
=0; i
<len
; i
++) {
5728 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5729 wxString
* s
= wxString_in_helper(item
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5738 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5739 if (!SWIG_IsOK(ecode8
)) {
5740 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5742 arg8
= static_cast< long >(val8
);
5745 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5746 if (!SWIG_IsOK(res9
)) {
5747 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5752 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5756 arg10
= wxString_in_helper(obj9
);
5757 if (arg10
== NULL
) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 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
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5775 if (temp7
) delete arg7
;
5788 if (temp7
) delete arg7
;
5798 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5799 PyObject
*resultobj
= 0;
5800 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5804 PyObject
*swig_obj
[1] ;
5806 if (!args
) SWIG_fail
;
5808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5809 if (!SWIG_IsOK(res1
)) {
5810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5812 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= ((wxComboBox
const *)arg1
)->GetValue();
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5832 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
= 0;
5834 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5835 wxString
*arg2
= 0 ;
5838 bool temp2
= false ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5841 char * kwnames
[] = {
5842 (char *) "self",(char *) "value", NULL
5845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5847 if (!SWIG_IsOK(res1
)) {
5848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5850 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5852 arg2
= wxString_in_helper(obj1
);
5853 if (arg2
== NULL
) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 (arg1
)->SetValue((wxString
const &)*arg2
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= SWIG_Py_Void();
5877 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5878 PyObject
*resultobj
= 0;
5879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5882 PyObject
*swig_obj
[1] ;
5884 if (!args
) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5890 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_Py_Void();
5904 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5905 PyObject
*resultobj
= 0;
5906 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5909 PyObject
*swig_obj
[1] ;
5911 if (!args
) SWIG_fail
;
5913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5914 if (!SWIG_IsOK(res1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5917 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_Py_Void();
5931 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5932 PyObject
*resultobj
= 0;
5933 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5936 PyObject
*swig_obj
[1] ;
5938 if (!args
) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5944 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_Py_Void();
5958 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
= 0;
5960 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5968 char * kwnames
[] = {
5969 (char *) "self",(char *) "pos", NULL
5972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5977 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5979 if (!SWIG_IsOK(ecode2
)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5982 arg2
= static_cast< long >(val2
);
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 (arg1
)->SetInsertionPoint(arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_Py_Void();
5996 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5997 PyObject
*resultobj
= 0;
5998 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6002 PyObject
*swig_obj
[1] ;
6004 if (!args
) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6010 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_From_long(static_cast< long >(result
));
6024 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6025 PyObject
*resultobj
= 0;
6026 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6030 PyObject
*swig_obj
[1] ;
6032 if (!args
) SWIG_fail
;
6034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6035 if (!SWIG_IsOK(res1
)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6038 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= SWIG_From_long(static_cast< long >(result
));
6052 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
= 0;
6054 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6057 wxString
*arg4
= 0 ;
6064 bool temp4
= false ;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6067 PyObject
* obj2
= 0 ;
6068 PyObject
* obj3
= 0 ;
6069 char * kwnames
[] = {
6070 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6075 if (!SWIG_IsOK(res1
)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6078 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6079 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6080 if (!SWIG_IsOK(ecode2
)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6083 arg2
= static_cast< long >(val2
);
6084 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6085 if (!SWIG_IsOK(ecode3
)) {
6086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6088 arg3
= static_cast< long >(val3
);
6090 arg4
= wxString_in_helper(obj3
);
6091 if (arg4
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_Py_Void();
6115 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
= 0;
6117 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6129 char * kwnames
[] = {
6130 (char *) "self",(char *) "from",(char *) "to", NULL
6133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6135 if (!SWIG_IsOK(res1
)) {
6136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6138 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6139 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6140 if (!SWIG_IsOK(ecode2
)) {
6141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6143 arg2
= static_cast< long >(val2
);
6144 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6145 if (!SWIG_IsOK(ecode3
)) {
6146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6148 arg3
= static_cast< long >(val3
);
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 (arg1
)->SetSelection(arg2
,arg3
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_Py_Void();
6162 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6168 PyObject
*swig_obj
[1] ;
6170 if (!args
) SWIG_fail
;
6172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6173 if (!SWIG_IsOK(res1
)) {
6174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6176 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= SWIG_From_int(static_cast< int >(result
));
6190 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
= 0;
6192 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6193 wxString
*arg2
= 0 ;
6197 bool temp2
= false ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6200 char * kwnames
[] = {
6201 (char *) "self",(char *) "string", NULL
6204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6206 if (!SWIG_IsOK(res1
)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6209 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6211 arg2
= wxString_in_helper(obj1
);
6212 if (arg2
== NULL
) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6238 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
= 0;
6240 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6242 wxString
*arg3
= 0 ;
6247 bool temp3
= false ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6250 PyObject
* obj2
= 0 ;
6251 char * kwnames
[] = {
6252 (char *) "self",(char *) "n",(char *) "string", NULL
6255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6257 if (!SWIG_IsOK(res1
)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6260 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6262 if (!SWIG_IsOK(ecode2
)) {
6263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6265 arg2
= static_cast< int >(val2
);
6267 arg3
= wxString_in_helper(obj2
);
6268 if (arg3
== NULL
) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= SWIG_Py_Void();
6292 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
= 0;
6294 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6300 PyObject
* obj0
= 0 ;
6301 PyObject
* obj1
= 0 ;
6302 char * kwnames
[] = {
6303 (char *) "self",(char *) "editable", NULL
6306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6308 if (!SWIG_IsOK(res1
)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6311 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6312 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6313 if (!SWIG_IsOK(ecode2
)) {
6314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6316 arg2
= static_cast< bool >(val2
);
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 (arg1
)->SetEditable(arg2
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_Py_Void();
6330 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6331 PyObject
*resultobj
= 0;
6332 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6335 PyObject
*swig_obj
[1] ;
6337 if (!args
) SWIG_fail
;
6339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6340 if (!SWIG_IsOK(res1
)) {
6341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6343 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetInsertionPointEnd();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_Py_Void();
6357 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
= 0;
6359 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj2
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "self",(char *) "from",(char *) "to", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6381 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6382 if (!SWIG_IsOK(ecode2
)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6385 arg2
= static_cast< long >(val2
);
6386 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6387 if (!SWIG_IsOK(ecode3
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6390 arg3
= static_cast< long >(val3
);
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 (arg1
)->Remove(arg2
,arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= SWIG_Py_Void();
6404 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6405 PyObject
*resultobj
= 0;
6406 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6410 PyObject
*swig_obj
[1] ;
6412 if (!args
) SWIG_fail
;
6414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6415 if (!SWIG_IsOK(res1
)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6418 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6434 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6435 PyObject
*resultobj
= 0;
6436 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6439 PyObject
*swig_obj
[1] ;
6441 if (!args
) SWIG_fail
;
6443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6444 if (!SWIG_IsOK(res1
)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6447 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= SWIG_Py_Void();
6461 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6462 PyObject
*resultobj
= 0;
6463 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6466 PyObject
*swig_obj
[1] ;
6468 if (!args
) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6474 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_Py_Void();
6488 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6489 PyObject
*resultobj
= 0;
6490 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6493 PyObject
*swig_obj
[1] ;
6495 if (!args
) SWIG_fail
;
6497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6498 if (!SWIG_IsOK(res1
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6501 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 (arg1
)->SelectAll();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_Py_Void();
6515 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6516 PyObject
*resultobj
= 0;
6517 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6521 PyObject
*swig_obj
[1] ;
6523 if (!args
) SWIG_fail
;
6525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6526 if (!SWIG_IsOK(res1
)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6529 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6546 PyObject
*resultobj
= 0;
6547 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6551 PyObject
*swig_obj
[1] ;
6553 if (!args
) SWIG_fail
;
6555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6556 if (!SWIG_IsOK(res1
)) {
6557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6559 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6575 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6576 PyObject
*resultobj
= 0;
6577 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6581 PyObject
*swig_obj
[1] ;
6583 if (!args
) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6589 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6605 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6606 PyObject
*resultobj
= 0;
6607 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6611 PyObject
*swig_obj
[1] ;
6613 if (!args
) SWIG_fail
;
6615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6616 if (!SWIG_IsOK(res1
)) {
6617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6619 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6635 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6636 PyObject
*resultobj
= 0;
6637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6641 PyObject
*swig_obj
[1] ;
6643 if (!args
) SWIG_fail
;
6645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6646 if (!SWIG_IsOK(res1
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6649 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6665 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
= 0;
6667 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6668 SwigValueWrapper
<wxVisualAttributes
> result
;
6671 PyObject
* obj0
= 0 ;
6672 char * kwnames
[] = {
6673 (char *) "variant", NULL
6676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6678 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6679 if (!SWIG_IsOK(ecode1
)) {
6680 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6682 arg1
= static_cast< wxWindowVariant
>(val1
);
6685 if (!wxPyCheckForApp()) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6698 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6701 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6702 return SWIG_Py_Void();
6705 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 return SWIG_Python_InitShadowInstance(args
);
6709 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6710 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6715 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6716 PyObject
*pyobj
= 0;
6720 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6722 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6729 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
= 0;
6731 wxWindow
*arg1
= (wxWindow
*) 0 ;
6732 int arg2
= (int) -1 ;
6733 int arg3
= (int) 100 ;
6734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6738 long arg6
= (long) wxGA_HORIZONTAL
;
6739 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6740 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6741 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6742 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6743 wxGauge
*result
= 0 ;
6756 bool temp8
= false ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6759 PyObject
* obj2
= 0 ;
6760 PyObject
* obj3
= 0 ;
6761 PyObject
* obj4
= 0 ;
6762 PyObject
* obj5
= 0 ;
6763 PyObject
* obj6
= 0 ;
6764 PyObject
* obj7
= 0 ;
6765 char * kwnames
[] = {
6766 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6771 if (!SWIG_IsOK(res1
)) {
6772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6777 if (!SWIG_IsOK(ecode2
)) {
6778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6780 arg2
= static_cast< int >(val2
);
6783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6784 if (!SWIG_IsOK(ecode3
)) {
6785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6787 arg3
= static_cast< int >(val3
);
6792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6802 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6803 if (!SWIG_IsOK(ecode6
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6806 arg6
= static_cast< long >(val6
);
6809 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6810 if (!SWIG_IsOK(res7
)) {
6811 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6816 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6820 arg8
= wxString_in_helper(obj7
);
6821 if (arg8
== NULL
) SWIG_fail
;
6826 if (!wxPyCheckForApp()) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6847 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6848 PyObject
*resultobj
= 0;
6849 wxGauge
*result
= 0 ;
6851 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6853 if (!wxPyCheckForApp()) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (wxGauge
*)new wxGauge();
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6866 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
= 0;
6868 wxGauge
*arg1
= (wxGauge
*) 0 ;
6869 wxWindow
*arg2
= (wxWindow
*) 0 ;
6870 int arg3
= (int) -1 ;
6871 int arg4
= (int) 100 ;
6872 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6873 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6874 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6875 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6876 long arg7
= (long) wxGA_HORIZONTAL
;
6877 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6878 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6879 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6880 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6896 bool temp9
= false ;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6899 PyObject
* obj2
= 0 ;
6900 PyObject
* obj3
= 0 ;
6901 PyObject
* obj4
= 0 ;
6902 PyObject
* obj5
= 0 ;
6903 PyObject
* obj6
= 0 ;
6904 PyObject
* obj7
= 0 ;
6905 PyObject
* obj8
= 0 ;
6906 char * kwnames
[] = {
6907 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6912 if (!SWIG_IsOK(res1
)) {
6913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6915 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6916 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6917 if (!SWIG_IsOK(res2
)) {
6918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6920 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6923 if (!SWIG_IsOK(ecode3
)) {
6924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6926 arg3
= static_cast< int >(val3
);
6929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6930 if (!SWIG_IsOK(ecode4
)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6933 arg4
= static_cast< int >(val4
);
6938 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6944 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6948 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6949 if (!SWIG_IsOK(ecode7
)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6952 arg7
= static_cast< long >(val7
);
6955 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6956 if (!SWIG_IsOK(res8
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6962 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6966 arg9
= wxString_in_helper(obj8
);
6967 if (arg9
== NULL
) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6994 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
= 0;
6996 wxGauge
*arg1
= (wxGauge
*) 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 char * kwnames
[] = {
7005 (char *) "self",(char *) "range", NULL
7008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7010 if (!SWIG_IsOK(res1
)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7013 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7015 if (!SWIG_IsOK(ecode2
)) {
7016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7018 arg2
= static_cast< int >(val2
);
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 (arg1
)->SetRange(arg2
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_Py_Void();
7032 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7033 PyObject
*resultobj
= 0;
7034 wxGauge
*arg1
= (wxGauge
*) 0 ;
7038 PyObject
*swig_obj
[1] ;
7040 if (!args
) SWIG_fail
;
7042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7043 if (!SWIG_IsOK(res1
)) {
7044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7046 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_From_int(static_cast< int >(result
));
7060 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxGauge
*arg1
= (wxGauge
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7070 char * kwnames
[] = {
7071 (char *) "self",(char *) "pos", NULL
7074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7079 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7081 if (!SWIG_IsOK(ecode2
)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7084 arg2
= static_cast< int >(val2
);
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->SetValue(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxGauge
*arg1
= (wxGauge
*) 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7112 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_From_int(static_cast< int >(result
));
7126 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7127 PyObject
*resultobj
= 0;
7128 wxGauge
*arg1
= (wxGauge
*) 0 ;
7132 PyObject
*swig_obj
[1] ;
7134 if (!args
) SWIG_fail
;
7136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7137 if (!SWIG_IsOK(res1
)) {
7138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7140 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7156 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
= 0;
7158 wxGauge
*arg1
= (wxGauge
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7166 char * kwnames
[] = {
7167 (char *) "self",(char *) "w", NULL
7170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7172 if (!SWIG_IsOK(res1
)) {
7173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7175 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7177 if (!SWIG_IsOK(ecode2
)) {
7178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7180 arg2
= static_cast< int >(val2
);
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 (arg1
)->SetShadowWidth(arg2
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= SWIG_Py_Void();
7194 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7195 PyObject
*resultobj
= 0;
7196 wxGauge
*arg1
= (wxGauge
*) 0 ;
7200 PyObject
*swig_obj
[1] ;
7202 if (!args
) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7208 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_From_int(static_cast< int >(result
));
7222 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= 0;
7224 wxGauge
*arg1
= (wxGauge
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7232 char * kwnames
[] = {
7233 (char *) "self",(char *) "w", NULL
7236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7238 if (!SWIG_IsOK(res1
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7241 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7243 if (!SWIG_IsOK(ecode2
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7246 arg2
= static_cast< int >(val2
);
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetBezelFace(arg2
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_Py_Void();
7260 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 PyObject
*resultobj
= 0;
7262 wxGauge
*arg1
= (wxGauge
*) 0 ;
7266 PyObject
*swig_obj
[1] ;
7268 if (!args
) SWIG_fail
;
7270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7271 if (!SWIG_IsOK(res1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7274 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_From_int(static_cast< int >(result
));
7288 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
= 0;
7290 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7291 SwigValueWrapper
<wxVisualAttributes
> result
;
7294 PyObject
* obj0
= 0 ;
7295 char * kwnames
[] = {
7296 (char *) "variant", NULL
7299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7302 if (!SWIG_IsOK(ecode1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7305 arg1
= static_cast< wxWindowVariant
>(val1
);
7308 if (!wxPyCheckForApp()) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7321 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7324 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7325 return SWIG_Py_Void();
7328 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7329 return SWIG_Python_InitShadowInstance(args
);
7332 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7333 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7338 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7339 PyObject
*pyobj
= 0;
7343 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7345 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7352 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7353 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7358 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7359 PyObject
*pyobj
= 0;
7363 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7365 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7372 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7373 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7378 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7379 PyObject
*pyobj
= 0;
7383 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7385 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7392 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
= 0;
7394 wxWindow
*arg1
= (wxWindow
*) 0 ;
7395 int arg2
= (int) -1 ;
7396 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7397 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7402 long arg6
= (long) 0 ;
7403 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7404 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7405 wxStaticBox
*result
= 0 ;
7410 bool temp3
= false ;
7415 bool temp7
= false ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 PyObject
* obj3
= 0 ;
7420 PyObject
* obj4
= 0 ;
7421 PyObject
* obj5
= 0 ;
7422 PyObject
* obj6
= 0 ;
7423 char * kwnames
[] = {
7424 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7435 if (!SWIG_IsOK(ecode2
)) {
7436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7438 arg2
= static_cast< int >(val2
);
7442 arg3
= wxString_in_helper(obj2
);
7443 if (arg3
== NULL
) SWIG_fail
;
7450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7460 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7461 if (!SWIG_IsOK(ecode6
)) {
7462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7464 arg6
= static_cast< long >(val6
);
7468 arg7
= wxString_in_helper(obj6
);
7469 if (arg7
== NULL
) SWIG_fail
;
7474 if (!wxPyCheckForApp()) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7503 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7504 PyObject
*resultobj
= 0;
7505 wxStaticBox
*result
= 0 ;
7507 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7509 if (!wxPyCheckForApp()) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (wxStaticBox
*)new wxStaticBox();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7522 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
= 0;
7524 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7525 wxWindow
*arg2
= (wxWindow
*) 0 ;
7526 int arg3
= (int) -1 ;
7527 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7528 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7529 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7530 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7531 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7532 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7533 long arg7
= (long) 0 ;
7534 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7543 bool temp4
= false ;
7548 bool temp8
= false ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7552 PyObject
* obj3
= 0 ;
7553 PyObject
* obj4
= 0 ;
7554 PyObject
* obj5
= 0 ;
7555 PyObject
* obj6
= 0 ;
7556 PyObject
* obj7
= 0 ;
7557 char * kwnames
[] = {
7558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7563 if (!SWIG_IsOK(res1
)) {
7564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7566 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7568 if (!SWIG_IsOK(res2
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7574 if (!SWIG_IsOK(ecode3
)) {
7575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7577 arg3
= static_cast< int >(val3
);
7581 arg4
= wxString_in_helper(obj3
);
7582 if (arg4
== NULL
) SWIG_fail
;
7589 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7595 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7599 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7600 if (!SWIG_IsOK(ecode7
)) {
7601 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7603 arg7
= static_cast< long >(val7
);
7607 arg8
= wxString_in_helper(obj7
);
7608 if (arg8
== NULL
) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7643 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
= 0;
7645 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7646 SwigValueWrapper
<wxVisualAttributes
> result
;
7649 PyObject
* obj0
= 0 ;
7650 char * kwnames
[] = {
7651 (char *) "variant", NULL
7654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7657 if (!SWIG_IsOK(ecode1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7660 arg1
= static_cast< wxWindowVariant
>(val1
);
7663 if (!wxPyCheckForApp()) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7676 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7679 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7680 return SWIG_Py_Void();
7683 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7684 return SWIG_Python_InitShadowInstance(args
);
7687 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
= 0;
7689 wxWindow
*arg1
= (wxWindow
*) 0 ;
7690 int arg2
= (int) -1 ;
7691 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7692 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7693 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7694 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7695 long arg5
= (long) wxLI_HORIZONTAL
;
7696 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7697 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7698 wxStaticLine
*result
= 0 ;
7707 bool temp6
= false ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 PyObject
* obj2
= 0 ;
7711 PyObject
* obj3
= 0 ;
7712 PyObject
* obj4
= 0 ;
7713 PyObject
* obj5
= 0 ;
7714 char * kwnames
[] = {
7715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7720 if (!SWIG_IsOK(res1
)) {
7721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7726 if (!SWIG_IsOK(ecode2
)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7729 arg2
= static_cast< int >(val2
);
7734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7744 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7745 if (!SWIG_IsOK(ecode5
)) {
7746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7748 arg5
= static_cast< long >(val5
);
7752 arg6
= wxString_in_helper(obj5
);
7753 if (arg6
== NULL
) SWIG_fail
;
7758 if (!wxPyCheckForApp()) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7779 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7780 PyObject
*resultobj
= 0;
7781 wxStaticLine
*result
= 0 ;
7783 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7785 if (!wxPyCheckForApp()) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (wxStaticLine
*)new wxStaticLine();
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7798 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
= 0;
7800 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7801 wxWindow
*arg2
= (wxWindow
*) 0 ;
7802 int arg3
= (int) -1 ;
7803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7807 long arg6
= (long) wxLI_HORIZONTAL
;
7808 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7821 bool temp7
= false ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 PyObject
* obj2
= 0 ;
7825 PyObject
* obj3
= 0 ;
7826 PyObject
* obj4
= 0 ;
7827 PyObject
* obj5
= 0 ;
7828 PyObject
* obj6
= 0 ;
7829 char * kwnames
[] = {
7830 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7835 if (!SWIG_IsOK(res1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7838 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7840 if (!SWIG_IsOK(res2
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7843 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7846 if (!SWIG_IsOK(ecode3
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7849 arg3
= static_cast< int >(val3
);
7854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7864 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7865 if (!SWIG_IsOK(ecode6
)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7868 arg6
= static_cast< long >(val6
);
7872 arg7
= wxString_in_helper(obj6
);
7873 if (arg7
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7900 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7901 PyObject
*resultobj
= 0;
7902 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7906 PyObject
*swig_obj
[1] ;
7908 if (!args
) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7914 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7931 PyObject
*resultobj
= 0;
7934 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (int)wxStaticLine::GetDefaultSize();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_From_int(static_cast< int >(result
));
7948 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
= 0;
7950 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7951 SwigValueWrapper
<wxVisualAttributes
> result
;
7954 PyObject
* obj0
= 0 ;
7955 char * kwnames
[] = {
7956 (char *) "variant", NULL
7959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7961 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7962 if (!SWIG_IsOK(ecode1
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7965 arg1
= static_cast< wxWindowVariant
>(val1
);
7968 if (!wxPyCheckForApp()) SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7981 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7984 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7985 return SWIG_Py_Void();
7988 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7989 return SWIG_Python_InitShadowInstance(args
);
7992 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= 0;
7994 wxWindow
*arg1
= (wxWindow
*) 0 ;
7995 int arg2
= (int) -1 ;
7996 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7997 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8002 long arg6
= (long) 0 ;
8003 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8004 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8005 wxStaticText
*result
= 0 ;
8010 bool temp3
= false ;
8015 bool temp7
= false ;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8018 PyObject
* obj2
= 0 ;
8019 PyObject
* obj3
= 0 ;
8020 PyObject
* obj4
= 0 ;
8021 PyObject
* obj5
= 0 ;
8022 PyObject
* obj6
= 0 ;
8023 char * kwnames
[] = {
8024 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8029 if (!SWIG_IsOK(res1
)) {
8030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8035 if (!SWIG_IsOK(ecode2
)) {
8036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8038 arg2
= static_cast< int >(val2
);
8042 arg3
= wxString_in_helper(obj2
);
8043 if (arg3
== NULL
) SWIG_fail
;
8050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8060 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8061 if (!SWIG_IsOK(ecode6
)) {
8062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8064 arg6
= static_cast< long >(val6
);
8068 arg7
= wxString_in_helper(obj6
);
8069 if (arg7
== NULL
) SWIG_fail
;
8074 if (!wxPyCheckForApp()) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8103 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8104 PyObject
*resultobj
= 0;
8105 wxStaticText
*result
= 0 ;
8107 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8109 if (!wxPyCheckForApp()) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (wxStaticText
*)new wxStaticText();
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8122 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
= 0;
8124 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8125 wxWindow
*arg2
= (wxWindow
*) 0 ;
8126 int arg3
= (int) -1 ;
8127 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8128 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8129 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8130 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8131 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8132 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8133 long arg7
= (long) 0 ;
8134 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8143 bool temp4
= false ;
8148 bool temp8
= false ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 PyObject
* obj2
= 0 ;
8152 PyObject
* obj3
= 0 ;
8153 PyObject
* obj4
= 0 ;
8154 PyObject
* obj5
= 0 ;
8155 PyObject
* obj6
= 0 ;
8156 PyObject
* obj7
= 0 ;
8157 char * kwnames
[] = {
8158 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8163 if (!SWIG_IsOK(res1
)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8166 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8168 if (!SWIG_IsOK(res2
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8171 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8174 if (!SWIG_IsOK(ecode3
)) {
8175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8177 arg3
= static_cast< int >(val3
);
8181 arg4
= wxString_in_helper(obj3
);
8182 if (arg4
== NULL
) SWIG_fail
;
8189 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8195 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8199 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8200 if (!SWIG_IsOK(ecode7
)) {
8201 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8203 arg7
= static_cast< long >(val7
);
8207 arg8
= wxString_in_helper(obj7
);
8208 if (arg8
== NULL
) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8243 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
= 0;
8245 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 char * kwnames
[] = {
8254 (char *) "self",(char *) "width", NULL
8257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8259 if (!SWIG_IsOK(res1
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8262 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8264 if (!SWIG_IsOK(ecode2
)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8267 arg2
= static_cast< int >(val2
);
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_Py_Void();
8281 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
= 0;
8283 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8284 SwigValueWrapper
<wxVisualAttributes
> result
;
8287 PyObject
* obj0
= 0 ;
8288 char * kwnames
[] = {
8289 (char *) "variant", NULL
8292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8295 if (!SWIG_IsOK(ecode1
)) {
8296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8298 arg1
= static_cast< wxWindowVariant
>(val1
);
8301 if (!wxPyCheckForApp()) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8314 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8317 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8318 return SWIG_Py_Void();
8321 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8322 return SWIG_Python_InitShadowInstance(args
);
8325 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
= 0;
8327 wxWindow
*arg1
= (wxWindow
*) 0 ;
8328 int arg2
= (int) -1 ;
8329 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8330 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8335 long arg6
= (long) 0 ;
8336 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8338 wxStaticBitmap
*result
= 0 ;
8349 bool temp7
= false ;
8350 PyObject
* obj0
= 0 ;
8351 PyObject
* obj1
= 0 ;
8352 PyObject
* obj2
= 0 ;
8353 PyObject
* obj3
= 0 ;
8354 PyObject
* obj4
= 0 ;
8355 PyObject
* obj5
= 0 ;
8356 PyObject
* obj6
= 0 ;
8357 char * kwnames
[] = {
8358 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8363 if (!SWIG_IsOK(res1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8369 if (!SWIG_IsOK(ecode2
)) {
8370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8372 arg2
= static_cast< int >(val2
);
8375 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8376 if (!SWIG_IsOK(res3
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8382 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8397 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8398 if (!SWIG_IsOK(ecode6
)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8401 arg6
= static_cast< long >(val6
);
8405 arg7
= wxString_in_helper(obj6
);
8406 if (arg7
== NULL
) SWIG_fail
;
8411 if (!wxPyCheckForApp()) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8432 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8433 PyObject
*resultobj
= 0;
8434 wxStaticBitmap
*result
= 0 ;
8436 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8438 if (!wxPyCheckForApp()) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8451 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
= 0;
8453 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8454 wxWindow
*arg2
= (wxWindow
*) 0 ;
8455 int arg3
= (int) -1 ;
8456 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8457 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8458 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8459 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8460 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8461 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8462 long arg7
= (long) 0 ;
8463 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8478 bool temp8
= false ;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8481 PyObject
* obj2
= 0 ;
8482 PyObject
* obj3
= 0 ;
8483 PyObject
* obj4
= 0 ;
8484 PyObject
* obj5
= 0 ;
8485 PyObject
* obj6
= 0 ;
8486 PyObject
* obj7
= 0 ;
8487 char * kwnames
[] = {
8488 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8493 if (!SWIG_IsOK(res1
)) {
8494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8496 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8498 if (!SWIG_IsOK(res2
)) {
8499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8501 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8504 if (!SWIG_IsOK(ecode3
)) {
8505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8507 arg3
= static_cast< int >(val3
);
8510 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8511 if (!SWIG_IsOK(res4
)) {
8512 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8517 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8532 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8533 if (!SWIG_IsOK(ecode7
)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8536 arg7
= static_cast< long >(val7
);
8540 arg8
= wxString_in_helper(obj7
);
8541 if (arg8
== NULL
) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8568 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8569 PyObject
*resultobj
= 0;
8570 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8574 PyObject
*swig_obj
[1] ;
8576 if (!args
) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8582 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (arg1
)->GetBitmap();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8596 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= 0;
8598 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8599 wxBitmap
*arg2
= 0 ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 char * kwnames
[] = {
8607 (char *) "self",(char *) "bitmap", NULL
8610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8615 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8617 if (!SWIG_IsOK(res2
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8623 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_Py_Void();
8637 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
= 0;
8639 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8645 PyObject
* obj0
= 0 ;
8646 PyObject
* obj1
= 0 ;
8647 char * kwnames
[] = {
8648 (char *) "self",(char *) "icon", NULL
8651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8656 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8658 if (!SWIG_IsOK(res2
)) {
8659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8664 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_Py_Void();
8678 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
= 0;
8680 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8681 SwigValueWrapper
<wxVisualAttributes
> result
;
8684 PyObject
* obj0
= 0 ;
8685 char * kwnames
[] = {
8686 (char *) "variant", NULL
8689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8691 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8692 if (!SWIG_IsOK(ecode1
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8695 arg1
= static_cast< wxWindowVariant
>(val1
);
8698 if (!wxPyCheckForApp()) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8711 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8714 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8715 return SWIG_Py_Void();
8718 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8719 return SWIG_Python_InitShadowInstance(args
);
8722 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8723 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8728 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8729 PyObject
*pyobj
= 0;
8733 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8735 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8742 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
= 0;
8744 wxWindow
*arg1
= (wxWindow
*) 0 ;
8745 int arg2
= (int) -1 ;
8746 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8747 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8748 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8749 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8750 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8751 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8752 long arg6
= (long) 0 ;
8753 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8754 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8755 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8756 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8757 wxListBox
*result
= 0 ;
8764 bool temp5
= false ;
8769 bool temp8
= false ;
8770 PyObject
* obj0
= 0 ;
8771 PyObject
* obj1
= 0 ;
8772 PyObject
* obj2
= 0 ;
8773 PyObject
* obj3
= 0 ;
8774 PyObject
* obj4
= 0 ;
8775 PyObject
* obj5
= 0 ;
8776 PyObject
* obj6
= 0 ;
8777 PyObject
* obj7
= 0 ;
8778 char * kwnames
[] = {
8779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8784 if (!SWIG_IsOK(res1
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8790 if (!SWIG_IsOK(ecode2
)) {
8791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8793 arg2
= static_cast< int >(val2
);
8798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8809 if (! PySequence_Check(obj4
)) {
8810 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8813 arg5
= new wxArrayString
;
8815 int i
, len
=PySequence_Length(obj4
);
8816 for (i
=0; i
<len
; i
++) {
8817 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8818 wxString
* s
= wxString_in_helper(item
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8827 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8828 if (!SWIG_IsOK(ecode6
)) {
8829 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8831 arg6
= static_cast< long >(val6
);
8834 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8835 if (!SWIG_IsOK(res7
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8841 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8845 arg8
= wxString_in_helper(obj7
);
8846 if (arg8
== NULL
) SWIG_fail
;
8851 if (!wxPyCheckForApp()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8859 if (temp5
) delete arg5
;
8868 if (temp5
) delete arg5
;
8878 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8879 PyObject
*resultobj
= 0;
8880 wxListBox
*result
= 0 ;
8882 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8884 if (!wxPyCheckForApp()) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxListBox
*)new wxListBox();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8897 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
= 0;
8899 wxListBox
*arg1
= (wxListBox
*) 0 ;
8900 wxWindow
*arg2
= (wxWindow
*) 0 ;
8901 int arg3
= (int) -1 ;
8902 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8903 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8904 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8905 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8906 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8907 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8908 long arg7
= (long) 0 ;
8909 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8910 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8911 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8912 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8922 bool temp6
= false ;
8927 bool temp9
= false ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8931 PyObject
* obj3
= 0 ;
8932 PyObject
* obj4
= 0 ;
8933 PyObject
* obj5
= 0 ;
8934 PyObject
* obj6
= 0 ;
8935 PyObject
* obj7
= 0 ;
8936 PyObject
* obj8
= 0 ;
8937 char * kwnames
[] = {
8938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8943 if (!SWIG_IsOK(res1
)) {
8944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8946 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8948 if (!SWIG_IsOK(res2
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8951 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8954 if (!SWIG_IsOK(ecode3
)) {
8955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8957 arg3
= static_cast< int >(val3
);
8962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8973 if (! PySequence_Check(obj5
)) {
8974 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8977 arg6
= new wxArrayString
;
8979 int i
, len
=PySequence_Length(obj5
);
8980 for (i
=0; i
<len
; i
++) {
8981 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8982 wxString
* s
= wxString_in_helper(item
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8992 if (!SWIG_IsOK(ecode7
)) {
8993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8995 arg7
= static_cast< long >(val7
);
8998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
8999 if (!SWIG_IsOK(res8
)) {
9000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9009 arg9
= wxString_in_helper(obj8
);
9010 if (arg9
== NULL
) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9024 if (temp6
) delete arg6
;
9033 if (temp6
) delete arg6
;
9043 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= 0;
9045 wxListBox
*arg1
= (wxListBox
*) 0 ;
9046 wxString
*arg2
= 0 ;
9048 PyObject
*arg4
= (PyObject
*) NULL
;
9051 bool temp2
= false ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9057 PyObject
* obj3
= 0 ;
9058 char * kwnames
[] = {
9059 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9064 if (!SWIG_IsOK(res1
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9067 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9069 arg2
= wxString_in_helper(obj1
);
9070 if (arg2
== NULL
) SWIG_fail
;
9073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9074 if (!SWIG_IsOK(ecode3
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9077 arg3
= static_cast< int >(val3
);
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_Py_Void();
9102 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= 0;
9104 wxListBox
*arg1
= (wxListBox
*) 0 ;
9105 wxArrayString
*arg2
= 0 ;
9109 bool temp2
= false ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 PyObject
* obj2
= 0 ;
9115 char * kwnames
[] = {
9116 (char *) "self",(char *) "items",(char *) "pos", NULL
9119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9121 if (!SWIG_IsOK(res1
)) {
9122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9124 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9126 if (! PySequence_Check(obj1
)) {
9127 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9130 arg2
= new wxArrayString
;
9132 int i
, len
=PySequence_Length(obj1
);
9133 for (i
=0; i
<len
; i
++) {
9134 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9135 wxString
* s
= wxString_in_helper(item
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9142 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9143 if (!SWIG_IsOK(ecode3
)) {
9144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9146 arg3
= static_cast< unsigned int >(val3
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_Py_Void();
9155 if (temp2
) delete arg2
;
9160 if (temp2
) delete arg2
;
9166 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
= 0;
9168 wxListBox
*arg1
= (wxListBox
*) 0 ;
9169 wxArrayString
*arg2
= 0 ;
9172 bool temp2
= false ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 char * kwnames
[] = {
9176 (char *) "self",(char *) "items", NULL
9179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9181 if (!SWIG_IsOK(res1
)) {
9182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9184 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9186 if (! PySequence_Check(obj1
)) {
9187 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9190 arg2
= new wxArrayString
;
9192 int i
, len
=PySequence_Length(obj1
);
9193 for (i
=0; i
<len
; i
++) {
9194 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9195 wxString
* s
= wxString_in_helper(item
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->Set((wxArrayString
const &)*arg2
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_Py_Void();
9210 if (temp2
) delete arg2
;
9215 if (temp2
) delete arg2
;
9221 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
= 0;
9223 wxListBox
*arg1
= (wxListBox
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "self",(char *) "n", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9238 if (!SWIG_IsOK(res1
)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9241 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9243 if (!SWIG_IsOK(ecode2
)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9246 arg2
= static_cast< int >(val2
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9262 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
= 0;
9264 wxListBox
*arg1
= (wxListBox
*) 0 ;
9266 bool arg3
= (bool) true ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 PyObject
* obj2
= 0 ;
9276 char * kwnames
[] = {
9277 (char *) "self",(char *) "n",(char *) "select", NULL
9280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9285 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9287 if (!SWIG_IsOK(ecode2
)) {
9288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9290 arg2
= static_cast< int >(val2
);
9292 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9293 if (!SWIG_IsOK(ecode3
)) {
9294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9296 arg3
= static_cast< bool >(val3
);
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 (arg1
)->SetSelection(arg2
,arg3
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_Py_Void();
9311 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
= 0;
9313 wxListBox
*arg1
= (wxListBox
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 char * kwnames
[] = {
9322 (char *) "self",(char *) "n", NULL
9325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9330 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9332 if (!SWIG_IsOK(ecode2
)) {
9333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9335 arg2
= static_cast< int >(val2
);
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 (arg1
)->Select(arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= SWIG_Py_Void();
9349 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
= 0;
9351 wxListBox
*arg1
= (wxListBox
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9359 char * kwnames
[] = {
9360 (char *) "self",(char *) "n", NULL
9363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9365 if (!SWIG_IsOK(res1
)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9368 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9370 if (!SWIG_IsOK(ecode2
)) {
9371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9373 arg2
= static_cast< int >(val2
);
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->Deselect(arg2
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= SWIG_Py_Void();
9387 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
= 0;
9389 wxListBox
*arg1
= (wxListBox
*) 0 ;
9390 int arg2
= (int) -1 ;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9397 char * kwnames
[] = {
9398 (char *) "self",(char *) "itemToLeaveSelected", NULL
9401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9403 if (!SWIG_IsOK(res1
)) {
9404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9406 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9409 if (!SWIG_IsOK(ecode2
)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9412 arg2
= static_cast< int >(val2
);
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 (arg1
)->DeselectAll(arg2
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_Py_Void();
9427 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
= 0;
9429 wxListBox
*arg1
= (wxListBox
*) 0 ;
9430 wxString
*arg2
= 0 ;
9431 bool arg3
= (bool) true ;
9435 bool temp2
= false ;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 PyObject
* obj2
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "self",(char *) "s",(char *) "select", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9447 if (!SWIG_IsOK(res1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9450 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9452 arg2
= wxString_in_helper(obj1
);
9453 if (arg2
== NULL
) SWIG_fail
;
9457 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9458 if (!SWIG_IsOK(ecode3
)) {
9459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9461 arg3
= static_cast< bool >(val3
);
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9486 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9487 PyObject
*resultobj
= 0;
9488 wxListBox
*arg1
= (wxListBox
*) 0 ;
9489 PyObject
*result
= 0 ;
9492 PyObject
*swig_obj
[1] ;
9494 if (!args
) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9500 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9514 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= 0;
9516 wxListBox
*arg1
= (wxListBox
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "self",(char *) "n", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9533 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9535 if (!SWIG_IsOK(ecode2
)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9538 arg2
= static_cast< int >(val2
);
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->SetFirstItem(arg2
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_Py_Void();
9552 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
= 0;
9554 wxListBox
*arg1
= (wxListBox
*) 0 ;
9555 wxString
*arg2
= 0 ;
9558 bool temp2
= false ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9561 char * kwnames
[] = {
9562 (char *) "self",(char *) "s", NULL
9565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9570 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9572 arg2
= wxString_in_helper(obj1
);
9573 if (arg2
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_Py_Void();
9597 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
= 0;
9599 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 char * kwnames
[] = {
9608 (char *) "self",(char *) "n", NULL
9611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9616 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9618 if (!SWIG_IsOK(ecode2
)) {
9619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9621 arg2
= static_cast< int >(val2
);
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 (arg1
)->EnsureVisible(arg2
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= SWIG_Py_Void();
9635 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
= 0;
9637 wxListBox
*arg1
= (wxListBox
*) 0 ;
9638 wxString
*arg2
= 0 ;
9641 bool temp2
= false ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 char * kwnames
[] = {
9645 (char *) "self",(char *) "s", NULL
9648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9653 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9655 arg2
= wxString_in_helper(obj1
);
9656 if (arg2
== NULL
) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_Py_Void();
9680 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9681 PyObject
*resultobj
= 0;
9682 wxListBox
*arg1
= (wxListBox
*) 0 ;
9686 PyObject
*swig_obj
[1] ;
9688 if (!args
) SWIG_fail
;
9690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9691 if (!SWIG_IsOK(res1
)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9694 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
= 0;
9712 wxListBox
*arg1
= (wxListBox
*) 0 ;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 char * kwnames
[] = {
9721 (char *) "self",(char *) "pt", NULL
9724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9726 if (!SWIG_IsOK(res1
)) {
9727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9729 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9732 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_From_int(static_cast< int >(result
));
9747 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
= 0;
9749 wxListBox
*arg1
= (wxListBox
*) 0 ;
9751 wxColour
*arg3
= 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 PyObject
* obj2
= 0 ;
9760 char * kwnames
[] = {
9761 (char *) "self",(char *) "item",(char *) "c", NULL
9764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9769 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9771 if (!SWIG_IsOK(ecode2
)) {
9772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9774 arg2
= static_cast< int >(val2
);
9777 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= SWIG_Py_Void();
9792 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
= 0;
9794 wxListBox
*arg1
= (wxListBox
*) 0 ;
9796 wxColour
*arg3
= 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 PyObject
* obj2
= 0 ;
9805 char * kwnames
[] = {
9806 (char *) "self",(char *) "item",(char *) "c", NULL
9809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9811 if (!SWIG_IsOK(res1
)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9814 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9816 if (!SWIG_IsOK(ecode2
)) {
9817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9819 arg2
= static_cast< int >(val2
);
9822 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= SWIG_Py_Void();
9837 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
= 0;
9839 wxListBox
*arg1
= (wxListBox
*) 0 ;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9850 PyObject
* obj2
= 0 ;
9851 char * kwnames
[] = {
9852 (char *) "self",(char *) "item",(char *) "f", NULL
9855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9857 if (!SWIG_IsOK(res1
)) {
9858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9860 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9862 if (!SWIG_IsOK(ecode2
)) {
9863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9865 arg2
= static_cast< int >(val2
);
9866 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9867 if (!SWIG_IsOK(res3
)) {
9868 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9873 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_Py_Void();
9887 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9890 SwigValueWrapper
<wxVisualAttributes
> result
;
9893 PyObject
* obj0
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "variant", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9900 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9901 if (!SWIG_IsOK(ecode1
)) {
9902 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9904 arg1
= static_cast< wxWindowVariant
>(val1
);
9907 if (!wxPyCheckForApp()) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9920 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9923 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9924 return SWIG_Py_Void();
9927 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9928 return SWIG_Python_InitShadowInstance(args
);
9931 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= 0;
9933 wxWindow
*arg1
= (wxWindow
*) 0 ;
9934 int arg2
= (int) -1 ;
9935 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9936 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9937 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9938 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9939 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9940 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9941 long arg6
= (long) 0 ;
9942 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9943 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9944 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9945 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9946 wxCheckListBox
*result
= 0 ;
9953 bool temp5
= false ;
9958 bool temp8
= false ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9961 PyObject
* obj2
= 0 ;
9962 PyObject
* obj3
= 0 ;
9963 PyObject
* obj4
= 0 ;
9964 PyObject
* obj5
= 0 ;
9965 PyObject
* obj6
= 0 ;
9966 PyObject
* obj7
= 0 ;
9967 char * kwnames
[] = {
9968 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9976 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9979 if (!SWIG_IsOK(ecode2
)) {
9980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9982 arg2
= static_cast< int >(val2
);
9987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9993 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9998 if (! PySequence_Check(obj4
)) {
9999 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10002 arg5
= new wxArrayString
;
10004 int i
, len
=PySequence_Length(obj4
);
10005 for (i
=0; i
<len
; i
++) {
10006 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10007 wxString
* s
= wxString_in_helper(item
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10016 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10017 if (!SWIG_IsOK(ecode6
)) {
10018 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10020 arg6
= static_cast< long >(val6
);
10023 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10024 if (!SWIG_IsOK(res7
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10030 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10034 arg8
= wxString_in_helper(obj7
);
10035 if (arg8
== NULL
) SWIG_fail
;
10040 if (!wxPyCheckForApp()) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10048 if (temp5
) delete arg5
;
10057 if (temp5
) delete arg5
;
10067 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10068 PyObject
*resultobj
= 0;
10069 wxCheckListBox
*result
= 0 ;
10071 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10073 if (!wxPyCheckForApp()) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (wxCheckListBox
*)new wxCheckListBox();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10086 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
= 0;
10088 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10089 wxWindow
*arg2
= (wxWindow
*) 0 ;
10090 int arg3
= (int) -1 ;
10091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10095 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10096 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10097 long arg7
= (long) 0 ;
10098 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10099 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10100 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10101 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10111 bool temp6
= false ;
10116 bool temp9
= false ;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 PyObject
* obj2
= 0 ;
10120 PyObject
* obj3
= 0 ;
10121 PyObject
* obj4
= 0 ;
10122 PyObject
* obj5
= 0 ;
10123 PyObject
* obj6
= 0 ;
10124 PyObject
* obj7
= 0 ;
10125 PyObject
* obj8
= 0 ;
10126 char * kwnames
[] = {
10127 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10132 if (!SWIG_IsOK(res1
)) {
10133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10135 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10137 if (!SWIG_IsOK(res2
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10140 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10143 if (!SWIG_IsOK(ecode3
)) {
10144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10146 arg3
= static_cast< int >(val3
);
10151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10162 if (! PySequence_Check(obj5
)) {
10163 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10166 arg6
= new wxArrayString
;
10168 int i
, len
=PySequence_Length(obj5
);
10169 for (i
=0; i
<len
; i
++) {
10170 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10171 wxString
* s
= wxString_in_helper(item
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10180 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10181 if (!SWIG_IsOK(ecode7
)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10184 arg7
= static_cast< long >(val7
);
10187 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10188 if (!SWIG_IsOK(res8
)) {
10189 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10194 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10198 arg9
= wxString_in_helper(obj8
);
10199 if (arg9
== NULL
) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10213 if (temp6
) delete arg6
;
10222 if (temp6
) delete arg6
;
10232 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
= 0;
10234 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10235 unsigned int arg2
;
10239 unsigned int val2
;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char * kwnames
[] = {
10244 (char *) "self",(char *) "index", NULL
10247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10252 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10253 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10254 if (!SWIG_IsOK(ecode2
)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10257 arg2
= static_cast< unsigned int >(val2
);
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (bool)(arg1
)->IsChecked(arg2
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10273 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
= 0;
10275 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10276 unsigned int arg2
;
10277 int arg3
= (int) true ;
10280 unsigned int val2
;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 PyObject
* obj2
= 0 ;
10287 char * kwnames
[] = {
10288 (char *) "self",(char *) "index",(char *) "check", NULL
10291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10293 if (!SWIG_IsOK(res1
)) {
10294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10296 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10297 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10298 if (!SWIG_IsOK(ecode2
)) {
10299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10301 arg2
= static_cast< unsigned int >(val2
);
10303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10304 if (!SWIG_IsOK(ecode3
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10307 arg3
= static_cast< int >(val3
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->Check(arg2
,arg3
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_Py_Void();
10322 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10325 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10326 return SWIG_Py_Void();
10329 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10330 return SWIG_Python_InitShadowInstance(args
);
10333 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10334 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10339 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10340 PyObject
*pyobj
= 0;
10344 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10346 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10353 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
= 0;
10355 wxColour
const &arg1_defvalue
= wxNullColour
;
10356 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10357 wxColour
const &arg2_defvalue
= wxNullColour
;
10358 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10359 wxFont
const &arg3_defvalue
= wxNullFont
;
10360 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10361 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10362 wxTextAttr
*result
= 0 ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 PyObject
* obj2
= 0 ;
10372 PyObject
* obj3
= 0 ;
10373 char * kwnames
[] = {
10374 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10381 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10391 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10392 if (!SWIG_IsOK(res3
)) {
10393 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10398 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10402 if (!SWIG_IsOK(ecode4
)) {
10403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10405 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10420 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10421 PyObject
*resultobj
= 0;
10422 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10433 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_Py_Void();
10448 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 PyObject
*resultobj
= 0;
10450 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10453 PyObject
*swig_obj
[1] ;
10455 if (!args
) SWIG_fail
;
10456 swig_obj
[0] = args
;
10457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10458 if (!SWIG_IsOK(res1
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10461 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_Py_Void();
10475 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
= 0;
10477 wxTextAttr
*arg1
= 0 ;
10478 wxTextAttr
*arg2
= 0 ;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 char * kwnames
[] = {
10487 (char *) "base",(char *) "overlay", NULL
10490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10491 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10492 if (!SWIG_IsOK(res1
)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10498 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10499 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10500 if (!SWIG_IsOK(res2
)) {
10501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10506 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10520 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
= 0;
10522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10523 wxColour
*arg2
= 0 ;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 char * kwnames
[] = {
10530 (char *) "self",(char *) "colText", NULL
10533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10535 if (!SWIG_IsOK(res1
)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10538 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_Py_Void();
10556 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
= 0;
10558 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10559 wxColour
*arg2
= 0 ;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char * kwnames
[] = {
10566 (char *) "self",(char *) "colBack", NULL
10569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10571 if (!SWIG_IsOK(res1
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10574 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_Py_Void();
10592 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10596 long arg3
= (long) wxTEXT_ATTR_FONT
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 char * kwnames
[] = {
10607 (char *) "self",(char *) "font",(char *) "flags", NULL
10610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10612 if (!SWIG_IsOK(res1
)) {
10613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10615 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10617 if (!SWIG_IsOK(res2
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10623 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10625 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10626 if (!SWIG_IsOK(ecode3
)) {
10627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10629 arg3
= static_cast< long >(val3
);
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_Py_Void();
10644 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
= 0;
10646 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10647 wxTextAttrAlignment arg2
;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char * kwnames
[] = {
10655 (char *) "self",(char *) "alignment", NULL
10658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10660 if (!SWIG_IsOK(res1
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10663 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10665 if (!SWIG_IsOK(ecode2
)) {
10666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10668 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 (arg1
)->SetAlignment(arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_Py_Void();
10682 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10685 wxArrayInt
*arg2
= 0 ;
10688 bool temp2
= false ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char * kwnames
[] = {
10692 (char *) "self",(char *) "tabs", NULL
10695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10697 if (!SWIG_IsOK(res1
)) {
10698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10700 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10702 if (! PySequence_Check(obj1
)) {
10703 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10706 arg2
= new wxArrayInt
;
10708 int i
, len
=PySequence_Length(obj1
);
10709 for (i
=0; i
<len
; i
++) {
10710 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10711 PyObject
* number
= PyNumber_Int(item
);
10712 arg2
->Add(PyInt_AS_LONG(number
));
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= SWIG_Py_Void();
10725 if (temp2
) delete arg2
;
10730 if (temp2
) delete arg2
;
10736 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10740 int arg3
= (int) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10759 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10761 if (!SWIG_IsOK(ecode2
)) {
10762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10764 arg2
= static_cast< int >(val2
);
10766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10767 if (!SWIG_IsOK(ecode3
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10770 arg3
= static_cast< int >(val3
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 (arg1
)->SetLeftIndent(arg2
,arg3
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_Py_Void();
10785 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= 0;
10787 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 PyObject
* obj1
= 0 ;
10795 char * kwnames
[] = {
10796 (char *) "self",(char *) "indent", NULL
10799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10804 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10806 if (!SWIG_IsOK(ecode2
)) {
10807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10809 arg2
= static_cast< int >(val2
);
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 (arg1
)->SetRightIndent(arg2
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_Py_Void();
10823 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
= 0;
10825 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 char * kwnames
[] = {
10834 (char *) "self",(char *) "flags", NULL
10837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10839 if (!SWIG_IsOK(res1
)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10842 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10844 if (!SWIG_IsOK(ecode2
)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10847 arg2
= static_cast< long >(val2
);
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->SetFlags(arg2
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= SWIG_Py_Void();
10861 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10862 PyObject
*resultobj
= 0;
10863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10867 PyObject
*swig_obj
[1] ;
10869 if (!args
) SWIG_fail
;
10870 swig_obj
[0] = args
;
10871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10875 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10891 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10892 PyObject
*resultobj
= 0;
10893 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10897 PyObject
*swig_obj
[1] ;
10899 if (!args
) SWIG_fail
;
10900 swig_obj
[0] = args
;
10901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10902 if (!SWIG_IsOK(res1
)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10905 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10921 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10922 PyObject
*resultobj
= 0;
10923 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10927 PyObject
*swig_obj
[1] ;
10929 if (!args
) SWIG_fail
;
10930 swig_obj
[0] = args
;
10931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10932 if (!SWIG_IsOK(res1
)) {
10933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10935 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10951 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10952 PyObject
*resultobj
= 0;
10953 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10957 PyObject
*swig_obj
[1] ;
10959 if (!args
) SWIG_fail
;
10960 swig_obj
[0] = args
;
10961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10962 if (!SWIG_IsOK(res1
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10965 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10981 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10982 PyObject
*resultobj
= 0;
10983 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10987 PyObject
*swig_obj
[1] ;
10989 if (!args
) SWIG_fail
;
10990 swig_obj
[0] = args
;
10991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10992 if (!SWIG_IsOK(res1
)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10995 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11011 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11012 PyObject
*resultobj
= 0;
11013 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11017 PyObject
*swig_obj
[1] ;
11019 if (!args
) SWIG_fail
;
11020 swig_obj
[0] = args
;
11021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11022 if (!SWIG_IsOK(res1
)) {
11023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11025 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11041 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11042 PyObject
*resultobj
= 0;
11043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11047 PyObject
*swig_obj
[1] ;
11049 if (!args
) SWIG_fail
;
11050 swig_obj
[0] = args
;
11051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11055 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
= 0;
11073 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 char * kwnames
[] = {
11083 (char *) "self",(char *) "flag", NULL
11086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11088 if (!SWIG_IsOK(res1
)) {
11089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11091 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11092 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11093 if (!SWIG_IsOK(ecode2
)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11096 arg2
= static_cast< long >(val2
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11113 PyObject
*resultobj
= 0;
11114 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11115 wxColour
*result
= 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_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11126 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11131 result
= (wxColour
*) &_result_ref
;
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11143 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11146 wxColour
*result
= 0 ;
11149 PyObject
*swig_obj
[1] ;
11151 if (!args
) SWIG_fail
;
11152 swig_obj
[0] = args
;
11153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11154 if (!SWIG_IsOK(res1
)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11157 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11162 result
= (wxColour
*) &_result_ref
;
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11174 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11175 PyObject
*resultobj
= 0;
11176 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11177 wxFont
*result
= 0 ;
11180 PyObject
*swig_obj
[1] ;
11182 if (!args
) SWIG_fail
;
11183 swig_obj
[0] = args
;
11184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11185 if (!SWIG_IsOK(res1
)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11188 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11193 result
= (wxFont
*) &_result_ref
;
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11199 wxFont
* resultptr
= new wxFont(*result
);
11200 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11208 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11209 PyObject
*resultobj
= 0;
11210 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11211 wxTextAttrAlignment result
;
11214 PyObject
*swig_obj
[1] ;
11216 if (!args
) SWIG_fail
;
11217 swig_obj
[0] = args
;
11218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11219 if (!SWIG_IsOK(res1
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11222 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_From_int(static_cast< int >(result
));
11236 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11237 PyObject
*resultobj
= 0;
11238 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11239 wxArrayInt
*result
= 0 ;
11242 PyObject
*swig_obj
[1] ;
11244 if (!args
) SWIG_fail
;
11245 swig_obj
[0] = args
;
11246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11247 if (!SWIG_IsOK(res1
)) {
11248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11250 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11255 result
= (wxArrayInt
*) &_result_ref
;
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= PyList_New(0);
11263 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11264 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11265 PyList_Append(resultobj
, val
);
11275 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11276 PyObject
*resultobj
= 0;
11277 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11281 PyObject
*swig_obj
[1] ;
11283 if (!args
) SWIG_fail
;
11284 swig_obj
[0] = args
;
11285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11286 if (!SWIG_IsOK(res1
)) {
11287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11289 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= SWIG_From_long(static_cast< long >(result
));
11303 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11304 PyObject
*resultobj
= 0;
11305 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11309 PyObject
*swig_obj
[1] ;
11311 if (!args
) SWIG_fail
;
11312 swig_obj
[0] = args
;
11313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11317 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_From_long(static_cast< long >(result
));
11331 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11332 PyObject
*resultobj
= 0;
11333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11337 PyObject
*swig_obj
[1] ;
11339 if (!args
) SWIG_fail
;
11340 swig_obj
[0] = args
;
11341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11342 if (!SWIG_IsOK(res1
)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11345 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_From_long(static_cast< long >(result
));
11359 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11360 PyObject
*resultobj
= 0;
11361 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11365 PyObject
*swig_obj
[1] ;
11367 if (!args
) SWIG_fail
;
11368 swig_obj
[0] = args
;
11369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11370 if (!SWIG_IsOK(res1
)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11373 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= SWIG_From_long(static_cast< long >(result
));
11387 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11388 PyObject
*resultobj
= 0;
11389 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11393 PyObject
*swig_obj
[1] ;
11395 if (!args
) SWIG_fail
;
11396 swig_obj
[0] = args
;
11397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11398 if (!SWIG_IsOK(res1
)) {
11399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11401 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11417 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
= 0;
11419 wxTextAttr
*arg1
= 0 ;
11420 wxTextAttr
*arg2
= 0 ;
11421 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 PyObject
* obj2
= 0 ;
11432 char * kwnames
[] = {
11433 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11437 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11444 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11446 if (!SWIG_IsOK(res2
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11452 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11453 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11454 if (!SWIG_IsOK(res3
)) {
11455 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11457 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11471 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11474 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11475 return SWIG_Py_Void();
11478 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11479 return SWIG_Python_InitShadowInstance(args
);
11482 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
= 0;
11484 wxWindow
*arg1
= (wxWindow
*) 0 ;
11485 int arg2
= (int) -1 ;
11486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11492 long arg6
= (long) 0 ;
11493 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11494 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11495 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11496 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11497 wxTextCtrl
*result
= 0 ;
11502 bool temp3
= false ;
11509 bool temp8
= false ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 PyObject
* obj3
= 0 ;
11514 PyObject
* obj4
= 0 ;
11515 PyObject
* obj5
= 0 ;
11516 PyObject
* obj6
= 0 ;
11517 PyObject
* obj7
= 0 ;
11518 char * kwnames
[] = {
11519 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11524 if (!SWIG_IsOK(res1
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11530 if (!SWIG_IsOK(ecode2
)) {
11531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11533 arg2
= static_cast< int >(val2
);
11537 arg3
= wxString_in_helper(obj2
);
11538 if (arg3
== NULL
) SWIG_fail
;
11545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11555 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11556 if (!SWIG_IsOK(ecode6
)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11559 arg6
= static_cast< long >(val6
);
11562 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11563 if (!SWIG_IsOK(res7
)) {
11564 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11569 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11573 arg8
= wxString_in_helper(obj7
);
11574 if (arg8
== NULL
) SWIG_fail
;
11579 if (!wxPyCheckForApp()) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11608 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11609 PyObject
*resultobj
= 0;
11610 wxTextCtrl
*result
= 0 ;
11612 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11614 if (!wxPyCheckForApp()) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (wxTextCtrl
*)new wxTextCtrl();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11627 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
= 0;
11629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11630 wxWindow
*arg2
= (wxWindow
*) 0 ;
11631 int arg3
= (int) -1 ;
11632 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11633 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11634 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11635 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11636 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11637 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11638 long arg7
= (long) 0 ;
11639 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11640 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11641 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11642 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11650 bool temp4
= false ;
11657 bool temp9
= false ;
11658 PyObject
* obj0
= 0 ;
11659 PyObject
* obj1
= 0 ;
11660 PyObject
* obj2
= 0 ;
11661 PyObject
* obj3
= 0 ;
11662 PyObject
* obj4
= 0 ;
11663 PyObject
* obj5
= 0 ;
11664 PyObject
* obj6
= 0 ;
11665 PyObject
* obj7
= 0 ;
11666 PyObject
* obj8
= 0 ;
11667 char * kwnames
[] = {
11668 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11676 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11678 if (!SWIG_IsOK(res2
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11681 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11684 if (!SWIG_IsOK(ecode3
)) {
11685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11687 arg3
= static_cast< int >(val3
);
11691 arg4
= wxString_in_helper(obj3
);
11692 if (arg4
== NULL
) SWIG_fail
;
11699 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11705 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11709 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11710 if (!SWIG_IsOK(ecode7
)) {
11711 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11713 arg7
= static_cast< long >(val7
);
11716 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11717 if (!SWIG_IsOK(res8
)) {
11718 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11723 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11727 arg9
= wxString_in_helper(obj8
);
11728 if (arg9
== NULL
) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11763 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 PyObject
*resultobj
= 0;
11765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11769 PyObject
*swig_obj
[1] ;
11771 if (!args
) SWIG_fail
;
11772 swig_obj
[0] = args
;
11773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11774 if (!SWIG_IsOK(res1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11777 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11797 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
= 0;
11799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11800 wxString
*arg2
= 0 ;
11803 bool temp2
= false ;
11804 PyObject
* obj0
= 0 ;
11805 PyObject
* obj1
= 0 ;
11806 char * kwnames
[] = {
11807 (char *) "self",(char *) "value", NULL
11810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11815 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11817 arg2
= wxString_in_helper(obj1
);
11818 if (arg2
== NULL
) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 (arg1
)->SetValue((wxString
const &)*arg2
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_Py_Void();
11842 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
= 0;
11844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 PyObject
* obj2
= 0 ;
11857 char * kwnames
[] = {
11858 (char *) "self",(char *) "from",(char *) "to", NULL
11861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11867 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11868 if (!SWIG_IsOK(ecode2
)) {
11869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11871 arg2
= static_cast< long >(val2
);
11872 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11873 if (!SWIG_IsOK(ecode3
)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11876 arg3
= static_cast< long >(val3
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11896 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
= 0;
11898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 char * kwnames
[] = {
11908 (char *) "self",(char *) "lineNo", NULL
11911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11917 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11918 if (!SWIG_IsOK(ecode2
)) {
11919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11921 arg2
= static_cast< long >(val2
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_From_int(static_cast< int >(result
));
11935 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
= 0;
11937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 PyObject
* obj1
= 0 ;
11946 char * kwnames
[] = {
11947 (char *) "self",(char *) "lineNo", NULL
11950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11952 if (!SWIG_IsOK(res1
)) {
11953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11955 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11956 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11957 if (!SWIG_IsOK(ecode2
)) {
11958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11960 arg2
= static_cast< long >(val2
);
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11980 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11981 PyObject
*resultobj
= 0;
11982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11986 PyObject
*swig_obj
[1] ;
11988 if (!args
) SWIG_fail
;
11989 swig_obj
[0] = args
;
11990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11991 if (!SWIG_IsOK(res1
)) {
11992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11994 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_From_int(static_cast< int >(result
));
12008 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12009 PyObject
*resultobj
= 0;
12010 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12014 PyObject
*swig_obj
[1] ;
12016 if (!args
) SWIG_fail
;
12017 swig_obj
[0] = args
;
12018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12019 if (!SWIG_IsOK(res1
)) {
12020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12022 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12038 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12039 PyObject
*resultobj
= 0;
12040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12044 PyObject
*swig_obj
[1] ;
12046 if (!args
) SWIG_fail
;
12047 swig_obj
[0] = args
;
12048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12049 if (!SWIG_IsOK(res1
)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12052 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12068 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12069 PyObject
*resultobj
= 0;
12070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12074 PyObject
*swig_obj
[1] ;
12076 if (!args
) SWIG_fail
;
12077 swig_obj
[0] = args
;
12078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12079 if (!SWIG_IsOK(res1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12082 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12098 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12099 PyObject
*resultobj
= 0;
12100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12104 PyObject
*swig_obj
[1] ;
12106 if (!args
) SWIG_fail
;
12107 swig_obj
[0] = args
;
12108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12109 if (!SWIG_IsOK(res1
)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12112 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12128 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 PyObject
*resultobj
= 0;
12130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12131 long *arg2
= (long *) 0 ;
12132 long *arg3
= (long *) 0 ;
12136 int res2
= SWIG_TMPOBJ
;
12138 int res3
= SWIG_TMPOBJ
;
12139 PyObject
*swig_obj
[1] ;
12143 if (!args
) SWIG_fail
;
12144 swig_obj
[0] = args
;
12145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_Py_Void();
12157 if (SWIG_IsTmpObj(res2
)) {
12158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12160 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12163 if (SWIG_IsTmpObj(res3
)) {
12164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12166 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12175 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12176 PyObject
*resultobj
= 0;
12177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12181 PyObject
*swig_obj
[1] ;
12183 if (!args
) SWIG_fail
;
12184 swig_obj
[0] = args
;
12185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12186 if (!SWIG_IsOK(res1
)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12189 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12209 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12214 PyObject
*swig_obj
[1] ;
12216 if (!args
) SWIG_fail
;
12217 swig_obj
[0] = args
;
12218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12219 if (!SWIG_IsOK(res1
)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12222 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_Py_Void();
12236 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
= 0;
12238 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12241 wxString
*arg4
= 0 ;
12248 bool temp4
= false ;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 PyObject
* obj2
= 0 ;
12252 PyObject
* obj3
= 0 ;
12253 char * kwnames
[] = {
12254 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12259 if (!SWIG_IsOK(res1
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12262 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12263 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12264 if (!SWIG_IsOK(ecode2
)) {
12265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12267 arg2
= static_cast< long >(val2
);
12268 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12269 if (!SWIG_IsOK(ecode3
)) {
12270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12272 arg3
= static_cast< long >(val3
);
12274 arg4
= wxString_in_helper(obj3
);
12275 if (arg4
== NULL
) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_Py_Void();
12299 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
= 0;
12301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 PyObject
* obj1
= 0 ;
12312 PyObject
* obj2
= 0 ;
12313 char * kwnames
[] = {
12314 (char *) "self",(char *) "from",(char *) "to", NULL
12317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12322 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12323 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12324 if (!SWIG_IsOK(ecode2
)) {
12325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12327 arg2
= static_cast< long >(val2
);
12328 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12329 if (!SWIG_IsOK(ecode3
)) {
12330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12332 arg3
= static_cast< long >(val3
);
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 (arg1
)->Remove(arg2
,arg3
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_Py_Void();
12346 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
= 0;
12348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12349 wxString
*arg2
= 0 ;
12353 bool temp2
= false ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 char * kwnames
[] = {
12357 (char *) "self",(char *) "file", NULL
12360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12362 if (!SWIG_IsOK(res1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12365 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12367 arg2
= wxString_in_helper(obj1
);
12368 if (arg2
== NULL
) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12394 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
= 0;
12396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12397 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12398 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12402 bool temp2
= false ;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 char * kwnames
[] = {
12406 (char *) "self",(char *) "file", NULL
12409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12411 if (!SWIG_IsOK(res1
)) {
12412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12414 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12417 arg2
= wxString_in_helper(obj1
);
12418 if (arg2
== NULL
) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12445 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12446 PyObject
*resultobj
= 0;
12447 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12450 PyObject
*swig_obj
[1] ;
12452 if (!args
) SWIG_fail
;
12453 swig_obj
[0] = args
;
12454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12458 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 (arg1
)->MarkDirty();
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_Py_Void();
12472 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12473 PyObject
*resultobj
= 0;
12474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12477 PyObject
*swig_obj
[1] ;
12479 if (!args
) SWIG_fail
;
12480 swig_obj
[0] = args
;
12481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12485 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 (arg1
)->DiscardEdits();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_Py_Void();
12499 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
= 0;
12501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12502 unsigned long arg2
;
12505 unsigned long val2
;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 char * kwnames
[] = {
12510 (char *) "self",(char *) "len", NULL
12513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12515 if (!SWIG_IsOK(res1
)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12518 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12519 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12520 if (!SWIG_IsOK(ecode2
)) {
12521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12523 arg2
= static_cast< unsigned long >(val2
);
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->SetMaxLength(arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_Py_Void();
12537 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
= 0;
12539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12540 wxString
*arg2
= 0 ;
12543 bool temp2
= false ;
12544 PyObject
* obj0
= 0 ;
12545 PyObject
* obj1
= 0 ;
12546 char * kwnames
[] = {
12547 (char *) "self",(char *) "text", NULL
12550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12552 if (!SWIG_IsOK(res1
)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12555 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12557 arg2
= wxString_in_helper(obj1
);
12558 if (arg2
== NULL
) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 (arg1
)->WriteText((wxString
const &)*arg2
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_Py_Void();
12582 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
= 0;
12584 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12585 wxString
*arg2
= 0 ;
12588 bool temp2
= false ;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 char * kwnames
[] = {
12592 (char *) "self",(char *) "text", NULL
12595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12600 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12602 arg2
= wxString_in_helper(obj1
);
12603 if (arg2
== NULL
) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->AppendText((wxString
const &)*arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_Py_Void();
12627 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
= 0;
12629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12630 wxKeyEvent
*arg2
= 0 ;
12636 PyObject
* obj0
= 0 ;
12637 PyObject
* obj1
= 0 ;
12638 char * kwnames
[] = {
12639 (char *) "self",(char *) "event", NULL
12642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12644 if (!SWIG_IsOK(res1
)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12649 if (!SWIG_IsOK(res2
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12655 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12671 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
= 0;
12673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12676 wxTextAttr
*arg4
= 0 ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 PyObject
* obj2
= 0 ;
12689 PyObject
* obj3
= 0 ;
12690 char * kwnames
[] = {
12691 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12696 if (!SWIG_IsOK(res1
)) {
12697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12701 if (!SWIG_IsOK(ecode2
)) {
12702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12704 arg2
= static_cast< long >(val2
);
12705 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12706 if (!SWIG_IsOK(ecode3
)) {
12707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12709 arg3
= static_cast< long >(val3
);
12710 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12711 if (!SWIG_IsOK(res4
)) {
12712 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12717 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12733 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
= 0;
12735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12737 wxTextAttr
*arg3
= 0 ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 PyObject
* obj2
= 0 ;
12748 char * kwnames
[] = {
12749 (char *) "self",(char *) "position",(char *) "style", NULL
12752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12757 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12759 if (!SWIG_IsOK(ecode2
)) {
12760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12762 arg2
= static_cast< long >(val2
);
12763 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12764 if (!SWIG_IsOK(res3
)) {
12765 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12770 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12786 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
= 0;
12788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12789 wxTextAttr
*arg2
= 0 ;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 char * kwnames
[] = {
12798 (char *) "self",(char *) "style", NULL
12801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12803 if (!SWIG_IsOK(res1
)) {
12804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12806 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12808 if (!SWIG_IsOK(res2
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12814 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12830 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12831 PyObject
*resultobj
= 0;
12832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12833 wxTextAttr
*result
= 0 ;
12836 PyObject
*swig_obj
[1] ;
12838 if (!args
) SWIG_fail
;
12839 swig_obj
[0] = args
;
12840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12841 if (!SWIG_IsOK(res1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12844 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12849 result
= (wxTextAttr
*) &_result_ref
;
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12861 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
= 0;
12863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 PyObject
* obj2
= 0 ;
12876 char * kwnames
[] = {
12877 (char *) "self",(char *) "x",(char *) "y", NULL
12880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12882 if (!SWIG_IsOK(res1
)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12885 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12887 if (!SWIG_IsOK(ecode2
)) {
12888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12890 arg2
= static_cast< long >(val2
);
12891 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12892 if (!SWIG_IsOK(ecode3
)) {
12893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12895 arg3
= static_cast< long >(val3
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= SWIG_From_long(static_cast< long >(result
));
12909 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
= 0;
12911 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12913 long *arg3
= (long *) 0 ;
12914 long *arg4
= (long *) 0 ;
12920 int res3
= SWIG_TMPOBJ
;
12922 int res4
= SWIG_TMPOBJ
;
12923 PyObject
* obj0
= 0 ;
12924 PyObject
* obj1
= 0 ;
12925 char * kwnames
[] = {
12926 (char *) "self",(char *) "pos", NULL
12931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12936 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12941 arg2
= static_cast< long >(val2
);
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_Py_Void();
12949 if (SWIG_IsTmpObj(res3
)) {
12950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12952 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12955 if (SWIG_IsTmpObj(res4
)) {
12956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12958 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12967 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
= 0;
12969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 char * kwnames
[] = {
12978 (char *) "self",(char *) "pos", NULL
12981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12983 if (!SWIG_IsOK(res1
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12986 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12987 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12988 if (!SWIG_IsOK(ecode2
)) {
12989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
12991 arg2
= static_cast< long >(val2
);
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 (arg1
)->ShowPosition(arg2
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= SWIG_Py_Void();
13005 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
= 0;
13007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13008 wxPoint
*arg2
= 0 ;
13009 long *arg3
= (long *) 0 ;
13010 long *arg4
= (long *) 0 ;
13011 wxTextCtrlHitTestResult result
;
13016 int res3
= SWIG_TMPOBJ
;
13018 int res4
= SWIG_TMPOBJ
;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 char * kwnames
[] = {
13022 (char *) "self",(char *) "pt", NULL
13027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13029 if (!SWIG_IsOK(res1
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13032 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_From_int(static_cast< int >(result
));
13044 if (SWIG_IsTmpObj(res3
)) {
13045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13047 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13050 if (SWIG_IsTmpObj(res4
)) {
13051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13053 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13062 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
= 0;
13064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13065 wxPoint
*arg2
= 0 ;
13066 long *arg3
= (long *) 0 ;
13067 wxTextCtrlHitTestResult result
;
13072 int res3
= SWIG_TMPOBJ
;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char * kwnames
[] = {
13076 (char *) "self",(char *) "pt", NULL
13080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13082 if (!SWIG_IsOK(res1
)) {
13083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13085 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_From_int(static_cast< int >(result
));
13097 if (SWIG_IsTmpObj(res3
)) {
13098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13109 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 PyObject
*resultobj
= 0;
13111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13114 PyObject
*swig_obj
[1] ;
13116 if (!args
) SWIG_fail
;
13117 swig_obj
[0] = args
;
13118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13122 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_Py_Void();
13136 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13137 PyObject
*resultobj
= 0;
13138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13141 PyObject
*swig_obj
[1] ;
13143 if (!args
) SWIG_fail
;
13144 swig_obj
[0] = args
;
13145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13146 if (!SWIG_IsOK(res1
)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_Py_Void();
13163 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13164 PyObject
*resultobj
= 0;
13165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13168 PyObject
*swig_obj
[1] ;
13170 if (!args
) SWIG_fail
;
13171 swig_obj
[0] = args
;
13172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13173 if (!SWIG_IsOK(res1
)) {
13174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13176 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_Py_Void();
13190 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13191 PyObject
*resultobj
= 0;
13192 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13196 PyObject
*swig_obj
[1] ;
13198 if (!args
) SWIG_fail
;
13199 swig_obj
[0] = args
;
13200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13201 if (!SWIG_IsOK(res1
)) {
13202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13204 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13220 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13221 PyObject
*resultobj
= 0;
13222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13226 PyObject
*swig_obj
[1] ;
13228 if (!args
) SWIG_fail
;
13229 swig_obj
[0] = args
;
13230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13231 if (!SWIG_IsOK(res1
)) {
13232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13234 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13250 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13251 PyObject
*resultobj
= 0;
13252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13256 PyObject
*swig_obj
[1] ;
13258 if (!args
) SWIG_fail
;
13259 swig_obj
[0] = args
;
13260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13280 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13281 PyObject
*resultobj
= 0;
13282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13285 PyObject
*swig_obj
[1] ;
13287 if (!args
) SWIG_fail
;
13288 swig_obj
[0] = args
;
13289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_Py_Void();
13307 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13308 PyObject
*resultobj
= 0;
13309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13312 PyObject
*swig_obj
[1] ;
13314 if (!args
) SWIG_fail
;
13315 swig_obj
[0] = args
;
13316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13317 if (!SWIG_IsOK(res1
)) {
13318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13320 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_Py_Void();
13334 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13335 PyObject
*resultobj
= 0;
13336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13340 PyObject
*swig_obj
[1] ;
13342 if (!args
) SWIG_fail
;
13343 swig_obj
[0] = args
;
13344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13345 if (!SWIG_IsOK(res1
)) {
13346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13348 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13364 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13365 PyObject
*resultobj
= 0;
13366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13370 PyObject
*swig_obj
[1] ;
13372 if (!args
) SWIG_fail
;
13373 swig_obj
[0] = args
;
13374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13375 if (!SWIG_IsOK(res1
)) {
13376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13378 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13394 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
= 0;
13396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 PyObject
* obj1
= 0 ;
13404 char * kwnames
[] = {
13405 (char *) "self",(char *) "pos", NULL
13408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13410 if (!SWIG_IsOK(res1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13413 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13414 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13415 if (!SWIG_IsOK(ecode2
)) {
13416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13418 arg2
= static_cast< long >(val2
);
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 (arg1
)->SetInsertionPoint(arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_Py_Void();
13432 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13433 PyObject
*resultobj
= 0;
13434 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13437 PyObject
*swig_obj
[1] ;
13439 if (!args
) SWIG_fail
;
13440 swig_obj
[0] = args
;
13441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13442 if (!SWIG_IsOK(res1
)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13445 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 (arg1
)->SetInsertionPointEnd();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_Py_Void();
13459 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13460 PyObject
*resultobj
= 0;
13461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13465 PyObject
*swig_obj
[1] ;
13467 if (!args
) SWIG_fail
;
13468 swig_obj
[0] = args
;
13469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13470 if (!SWIG_IsOK(res1
)) {
13471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13473 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_From_long(static_cast< long >(result
));
13487 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13493 PyObject
*swig_obj
[1] ;
13495 if (!args
) SWIG_fail
;
13496 swig_obj
[0] = args
;
13497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13501 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_From_long(static_cast< long >(result
));
13515 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
= 0;
13517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 PyObject
* obj2
= 0 ;
13529 char * kwnames
[] = {
13530 (char *) "self",(char *) "from",(char *) "to", NULL
13533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13535 if (!SWIG_IsOK(res1
)) {
13536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13538 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13540 if (!SWIG_IsOK(ecode2
)) {
13541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13543 arg2
= static_cast< long >(val2
);
13544 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13545 if (!SWIG_IsOK(ecode3
)) {
13546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13548 arg3
= static_cast< long >(val3
);
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 (arg1
)->SetSelection(arg2
,arg3
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_Py_Void();
13562 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13563 PyObject
*resultobj
= 0;
13564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13567 PyObject
*swig_obj
[1] ;
13569 if (!args
) SWIG_fail
;
13570 swig_obj
[0] = args
;
13571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13572 if (!SWIG_IsOK(res1
)) {
13573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13575 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 (arg1
)->SelectAll();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_Py_Void();
13589 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 char * kwnames
[] = {
13600 (char *) "self",(char *) "editable", NULL
13603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13605 if (!SWIG_IsOK(res1
)) {
13606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13608 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13609 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13610 if (!SWIG_IsOK(ecode2
)) {
13611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13613 arg2
= static_cast< bool >(val2
);
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 (arg1
)->SetEditable(arg2
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_Py_Void();
13627 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
= 0;
13629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13630 wxString
*arg2
= 0 ;
13633 bool temp2
= false ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char * kwnames
[] = {
13637 (char *) "self",(char *) "text", NULL
13640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13642 if (!SWIG_IsOK(res1
)) {
13643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13645 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13647 arg2
= wxString_in_helper(obj1
);
13648 if (arg2
== NULL
) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_Py_Void();
13672 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
= 0;
13674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 char * kwnames
[] = {
13688 (char *) "self",(char *) "from",(char *) "to", NULL
13691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13693 if (!SWIG_IsOK(res1
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13696 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13698 if (!SWIG_IsOK(ecode2
)) {
13699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13701 arg2
= static_cast< long >(val2
);
13702 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13703 if (!SWIG_IsOK(ecode3
)) {
13704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13706 arg3
= static_cast< long >(val3
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13726 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
= 0;
13728 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13729 SwigValueWrapper
<wxVisualAttributes
> result
;
13732 PyObject
* obj0
= 0 ;
13733 char * kwnames
[] = {
13734 (char *) "variant", NULL
13737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13739 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13740 if (!SWIG_IsOK(ecode1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13743 arg1
= static_cast< wxWindowVariant
>(val1
);
13746 if (!wxPyCheckForApp()) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13759 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13762 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13763 return SWIG_Py_Void();
13766 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13767 return SWIG_Python_InitShadowInstance(args
);
13770 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= 0;
13773 wxMouseEvent
*arg2
= 0 ;
13776 wxTextUrlEvent
*result
= 0 ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 PyObject
* obj2
= 0 ;
13788 PyObject
* obj3
= 0 ;
13789 char * kwnames
[] = {
13790 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13795 if (!SWIG_IsOK(ecode1
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13798 arg1
= static_cast< int >(val1
);
13799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13800 if (!SWIG_IsOK(res2
)) {
13801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13806 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13807 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13808 if (!SWIG_IsOK(ecode3
)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13811 arg3
= static_cast< long >(val3
);
13812 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13813 if (!SWIG_IsOK(ecode4
)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13816 arg4
= static_cast< long >(val4
);
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13830 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13831 PyObject
*resultobj
= 0;
13832 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13833 wxMouseEvent
*result
= 0 ;
13836 PyObject
*swig_obj
[1] ;
13838 if (!args
) SWIG_fail
;
13839 swig_obj
[0] = args
;
13840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13841 if (!SWIG_IsOK(res1
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13844 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13849 result
= (wxMouseEvent
*) &_result_ref
;
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13861 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13862 PyObject
*resultobj
= 0;
13863 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13867 PyObject
*swig_obj
[1] ;
13869 if (!args
) SWIG_fail
;
13870 swig_obj
[0] = args
;
13871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13872 if (!SWIG_IsOK(res1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13875 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_From_long(static_cast< long >(result
));
13889 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13890 PyObject
*resultobj
= 0;
13891 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13895 PyObject
*swig_obj
[1] ;
13897 if (!args
) SWIG_fail
;
13898 swig_obj
[0] = args
;
13899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13900 if (!SWIG_IsOK(res1
)) {
13901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13903 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= SWIG_From_long(static_cast< long >(result
));
13917 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13920 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13921 return SWIG_Py_Void();
13924 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13925 return SWIG_Python_InitShadowInstance(args
);
13928 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13929 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13934 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13935 PyObject
*pyobj
= 0;
13939 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13941 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13948 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
= 0;
13950 wxWindow
*arg1
= (wxWindow
*) 0 ;
13951 int arg2
= (int) -1 ;
13952 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13953 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13954 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13955 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13956 long arg5
= (long) wxSB_HORIZONTAL
;
13957 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13958 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13959 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13960 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13961 wxScrollBar
*result
= 0 ;
13972 bool temp7
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 PyObject
* obj3
= 0 ;
13977 PyObject
* obj4
= 0 ;
13978 PyObject
* obj5
= 0 ;
13979 PyObject
* obj6
= 0 ;
13980 char * kwnames
[] = {
13981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13986 if (!SWIG_IsOK(res1
)) {
13987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
13989 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13992 if (!SWIG_IsOK(ecode2
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
13995 arg2
= static_cast< int >(val2
);
14000 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14006 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14010 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14011 if (!SWIG_IsOK(ecode5
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14014 arg5
= static_cast< long >(val5
);
14017 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14018 if (!SWIG_IsOK(res6
)) {
14019 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14024 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14028 arg7
= wxString_in_helper(obj6
);
14029 if (arg7
== NULL
) SWIG_fail
;
14034 if (!wxPyCheckForApp()) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14055 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14056 PyObject
*resultobj
= 0;
14057 wxScrollBar
*result
= 0 ;
14059 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14061 if (!wxPyCheckForApp()) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (wxScrollBar
*)new wxScrollBar();
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14074 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
= 0;
14076 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14077 wxWindow
*arg2
= (wxWindow
*) 0 ;
14078 int arg3
= (int) -1 ;
14079 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14080 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14081 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14082 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14083 long arg6
= (long) wxSB_HORIZONTAL
;
14084 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14085 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14086 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14087 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14101 bool temp8
= false ;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 PyObject
* obj2
= 0 ;
14105 PyObject
* obj3
= 0 ;
14106 PyObject
* obj4
= 0 ;
14107 PyObject
* obj5
= 0 ;
14108 PyObject
* obj6
= 0 ;
14109 PyObject
* obj7
= 0 ;
14110 char * kwnames
[] = {
14111 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14116 if (!SWIG_IsOK(res1
)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14119 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14121 if (!SWIG_IsOK(res2
)) {
14122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14127 if (!SWIG_IsOK(ecode3
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14130 arg3
= static_cast< int >(val3
);
14135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14145 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14146 if (!SWIG_IsOK(ecode6
)) {
14147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14149 arg6
= static_cast< long >(val6
);
14152 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14153 if (!SWIG_IsOK(res7
)) {
14154 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14159 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14163 arg8
= wxString_in_helper(obj7
);
14164 if (arg8
== NULL
) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14191 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14193 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14197 PyObject
*swig_obj
[1] ;
14199 if (!args
) SWIG_fail
;
14200 swig_obj
[0] = args
;
14201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14202 if (!SWIG_IsOK(res1
)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14205 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= SWIG_From_int(static_cast< int >(result
));
14219 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14220 PyObject
*resultobj
= 0;
14221 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14225 PyObject
*swig_obj
[1] ;
14227 if (!args
) SWIG_fail
;
14228 swig_obj
[0] = args
;
14229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14233 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_From_int(static_cast< int >(result
));
14247 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14248 PyObject
*resultobj
= 0;
14249 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14253 PyObject
*swig_obj
[1] ;
14255 if (!args
) SWIG_fail
;
14256 swig_obj
[0] = args
;
14257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14258 if (!SWIG_IsOK(res1
)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14261 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= SWIG_From_int(static_cast< int >(result
));
14275 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14276 PyObject
*resultobj
= 0;
14277 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14281 PyObject
*swig_obj
[1] ;
14283 if (!args
) SWIG_fail
;
14284 swig_obj
[0] = args
;
14285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14286 if (!SWIG_IsOK(res1
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14289 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= SWIG_From_int(static_cast< int >(result
));
14303 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14304 PyObject
*resultobj
= 0;
14305 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14309 PyObject
*swig_obj
[1] ;
14311 if (!args
) SWIG_fail
;
14312 swig_obj
[0] = args
;
14313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14314 if (!SWIG_IsOK(res1
)) {
14315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14317 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14333 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
= 0;
14335 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 PyObject
* obj1
= 0 ;
14343 char * kwnames
[] = {
14344 (char *) "self",(char *) "viewStart", NULL
14347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14349 if (!SWIG_IsOK(res1
)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14352 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14354 if (!SWIG_IsOK(ecode2
)) {
14355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14357 arg2
= static_cast< int >(val2
);
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 (arg1
)->SetThumbPosition(arg2
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_Py_Void();
14371 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
= 0;
14373 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14374 SwigValueWrapper
<wxVisualAttributes
> result
;
14377 PyObject
* obj0
= 0 ;
14378 char * kwnames
[] = {
14379 (char *) "variant", NULL
14382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14385 if (!SWIG_IsOK(ecode1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14388 arg1
= static_cast< wxWindowVariant
>(val1
);
14391 if (!wxPyCheckForApp()) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14404 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14407 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14408 return SWIG_Py_Void();
14411 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14412 return SWIG_Python_InitShadowInstance(args
);
14415 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14416 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14421 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14422 PyObject
*pyobj
= 0;
14426 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14428 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14435 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14436 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14441 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14442 PyObject
*pyobj
= 0;
14446 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14448 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14455 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
= 0;
14457 wxWindow
*arg1
= (wxWindow
*) 0 ;
14458 int arg2
= (int) -1 ;
14459 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14460 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14461 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14462 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14463 long arg5
= (long) wxSP_HORIZONTAL
;
14464 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14465 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14466 wxSpinButton
*result
= 0 ;
14475 bool temp6
= false ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 PyObject
* obj2
= 0 ;
14479 PyObject
* obj3
= 0 ;
14480 PyObject
* obj4
= 0 ;
14481 PyObject
* obj5
= 0 ;
14482 char * kwnames
[] = {
14483 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14488 if (!SWIG_IsOK(res1
)) {
14489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14491 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14494 if (!SWIG_IsOK(ecode2
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14497 arg2
= static_cast< int >(val2
);
14502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14512 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14513 if (!SWIG_IsOK(ecode5
)) {
14514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14516 arg5
= static_cast< long >(val5
);
14520 arg6
= wxString_in_helper(obj5
);
14521 if (arg6
== NULL
) SWIG_fail
;
14526 if (!wxPyCheckForApp()) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14547 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14548 PyObject
*resultobj
= 0;
14549 wxSpinButton
*result
= 0 ;
14551 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14553 if (!wxPyCheckForApp()) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (wxSpinButton
*)new wxSpinButton();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14566 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
= 0;
14568 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14569 wxWindow
*arg2
= (wxWindow
*) 0 ;
14570 int arg3
= (int) -1 ;
14571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14575 long arg6
= (long) wxSP_HORIZONTAL
;
14576 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14589 bool temp7
= false ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 PyObject
* obj2
= 0 ;
14593 PyObject
* obj3
= 0 ;
14594 PyObject
* obj4
= 0 ;
14595 PyObject
* obj5
= 0 ;
14596 PyObject
* obj6
= 0 ;
14597 char * kwnames
[] = {
14598 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14606 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14608 if (!SWIG_IsOK(res2
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14611 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14614 if (!SWIG_IsOK(ecode3
)) {
14615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14617 arg3
= static_cast< int >(val3
);
14622 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14628 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14632 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14633 if (!SWIG_IsOK(ecode6
)) {
14634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14636 arg6
= static_cast< long >(val6
);
14640 arg7
= wxString_in_helper(obj6
);
14641 if (arg7
== NULL
) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14668 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 PyObject
*resultobj
= 0;
14670 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14674 PyObject
*swig_obj
[1] ;
14676 if (!args
) SWIG_fail
;
14677 swig_obj
[0] = args
;
14678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14679 if (!SWIG_IsOK(res1
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14682 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= SWIG_From_int(static_cast< int >(result
));
14696 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14697 PyObject
*resultobj
= 0;
14698 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14702 PyObject
*swig_obj
[1] ;
14704 if (!args
) SWIG_fail
;
14705 swig_obj
[0] = args
;
14706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14710 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_From_int(static_cast< int >(result
));
14724 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14725 PyObject
*resultobj
= 0;
14726 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14730 PyObject
*swig_obj
[1] ;
14732 if (!args
) SWIG_fail
;
14733 swig_obj
[0] = args
;
14734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14738 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_From_int(static_cast< int >(result
));
14752 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
= 0;
14754 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char * kwnames
[] = {
14763 (char *) "self",(char *) "val", NULL
14766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14771 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14773 if (!SWIG_IsOK(ecode2
)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14776 arg2
= static_cast< int >(val2
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetValue(arg2
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_Py_Void();
14790 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= 0;
14792 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 char * kwnames
[] = {
14801 (char *) "self",(char *) "minVal", NULL
14804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14806 if (!SWIG_IsOK(res1
)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14809 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14811 if (!SWIG_IsOK(ecode2
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14814 arg2
= static_cast< int >(val2
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->SetMin(arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_Py_Void();
14828 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= 0;
14830 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 char * kwnames
[] = {
14839 (char *) "self",(char *) "maxVal", NULL
14842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14847 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14849 if (!SWIG_IsOK(ecode2
)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14852 arg2
= static_cast< int >(val2
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 (arg1
)->SetMax(arg2
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_Py_Void();
14866 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
= 0;
14868 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 PyObject
* obj2
= 0 ;
14880 char * kwnames
[] = {
14881 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14889 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14891 if (!SWIG_IsOK(ecode2
)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14894 arg2
= static_cast< int >(val2
);
14895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14896 if (!SWIG_IsOK(ecode3
)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14899 arg3
= static_cast< int >(val3
);
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 (arg1
)->SetRange(arg2
,arg3
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_Py_Void();
14913 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14914 PyObject
*resultobj
= 0;
14915 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14919 PyObject
*swig_obj
[1] ;
14921 if (!args
) SWIG_fail
;
14922 swig_obj
[0] = args
;
14923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14927 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14943 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
= 0;
14945 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14946 SwigValueWrapper
<wxVisualAttributes
> result
;
14949 PyObject
* obj0
= 0 ;
14950 char * kwnames
[] = {
14951 (char *) "variant", NULL
14954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14956 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14957 if (!SWIG_IsOK(ecode1
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14960 arg1
= static_cast< wxWindowVariant
>(val1
);
14963 if (!wxPyCheckForApp()) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14976 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14979 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
14980 return SWIG_Py_Void();
14983 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14984 return SWIG_Python_InitShadowInstance(args
);
14987 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
= 0;
14989 wxWindow
*arg1
= (wxWindow
*) 0 ;
14990 int arg2
= (int) -1 ;
14991 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14992 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14995 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14996 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14997 long arg6
= (long) wxSP_ARROW_KEYS
;
14998 int arg7
= (int) 0 ;
14999 int arg8
= (int) 100 ;
15000 int arg9
= (int) 0 ;
15001 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15002 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15003 wxSpinCtrl
*result
= 0 ;
15008 bool temp3
= false ;
15019 bool temp10
= false ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 PyObject
* obj2
= 0 ;
15023 PyObject
* obj3
= 0 ;
15024 PyObject
* obj4
= 0 ;
15025 PyObject
* obj5
= 0 ;
15026 PyObject
* obj6
= 0 ;
15027 PyObject
* obj7
= 0 ;
15028 PyObject
* obj8
= 0 ;
15029 PyObject
* obj9
= 0 ;
15030 char * kwnames
[] = {
15031 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15036 if (!SWIG_IsOK(res1
)) {
15037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15039 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15042 if (!SWIG_IsOK(ecode2
)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15045 arg2
= static_cast< int >(val2
);
15049 arg3
= wxString_in_helper(obj2
);
15050 if (arg3
== NULL
) SWIG_fail
;
15057 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15063 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15067 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15068 if (!SWIG_IsOK(ecode6
)) {
15069 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15071 arg6
= static_cast< long >(val6
);
15074 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15075 if (!SWIG_IsOK(ecode7
)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15078 arg7
= static_cast< int >(val7
);
15081 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15082 if (!SWIG_IsOK(ecode8
)) {
15083 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15085 arg8
= static_cast< int >(val8
);
15088 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15089 if (!SWIG_IsOK(ecode9
)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15092 arg9
= static_cast< int >(val9
);
15096 arg10
= wxString_in_helper(obj9
);
15097 if (arg10
== NULL
) SWIG_fail
;
15102 if (!wxPyCheckForApp()) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15131 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15132 PyObject
*resultobj
= 0;
15133 wxSpinCtrl
*result
= 0 ;
15135 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15137 if (!wxPyCheckForApp()) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15150 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
= 0;
15152 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15153 wxWindow
*arg2
= (wxWindow
*) 0 ;
15154 int arg3
= (int) -1 ;
15155 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15156 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15157 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15158 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15159 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15160 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15161 long arg7
= (long) wxSP_ARROW_KEYS
;
15162 int arg8
= (int) 0 ;
15163 int arg9
= (int) 100 ;
15164 int arg10
= (int) 0 ;
15165 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15166 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15174 bool temp4
= false ;
15185 bool temp11
= false ;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 PyObject
* obj2
= 0 ;
15189 PyObject
* obj3
= 0 ;
15190 PyObject
* obj4
= 0 ;
15191 PyObject
* obj5
= 0 ;
15192 PyObject
* obj6
= 0 ;
15193 PyObject
* obj7
= 0 ;
15194 PyObject
* obj8
= 0 ;
15195 PyObject
* obj9
= 0 ;
15196 PyObject
* obj10
= 0 ;
15197 char * kwnames
[] = {
15198 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15203 if (!SWIG_IsOK(res1
)) {
15204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15206 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15208 if (!SWIG_IsOK(res2
)) {
15209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15214 if (!SWIG_IsOK(ecode3
)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15217 arg3
= static_cast< int >(val3
);
15221 arg4
= wxString_in_helper(obj3
);
15222 if (arg4
== NULL
) SWIG_fail
;
15229 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15235 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15239 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15240 if (!SWIG_IsOK(ecode7
)) {
15241 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15243 arg7
= static_cast< long >(val7
);
15246 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15247 if (!SWIG_IsOK(ecode8
)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15250 arg8
= static_cast< int >(val8
);
15253 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15254 if (!SWIG_IsOK(ecode9
)) {
15255 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15257 arg9
= static_cast< int >(val9
);
15260 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15261 if (!SWIG_IsOK(ecode10
)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15264 arg10
= static_cast< int >(val10
);
15268 arg11
= wxString_in_helper(obj10
);
15269 if (arg11
== NULL
) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15305 PyObject
*resultobj
= 0;
15306 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15310 PyObject
*swig_obj
[1] ;
15312 if (!args
) SWIG_fail
;
15313 swig_obj
[0] = args
;
15314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15318 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_From_int(static_cast< int >(result
));
15332 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 char * kwnames
[] = {
15343 (char *) "self",(char *) "value", NULL
15346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15348 if (!SWIG_IsOK(res1
)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15351 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15353 if (!SWIG_IsOK(ecode2
)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15356 arg2
= static_cast< int >(val2
);
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 (arg1
)->SetValue(arg2
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_Py_Void();
15370 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= 0;
15372 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15373 wxString
*arg2
= 0 ;
15376 bool temp2
= false ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "self",(char *) "text", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15388 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15390 arg2
= wxString_in_helper(obj1
);
15391 if (arg2
== NULL
) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->SetValue((wxString
const &)*arg2
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_Py_Void();
15415 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
= 0;
15417 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15428 PyObject
* obj2
= 0 ;
15429 char * kwnames
[] = {
15430 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15435 if (!SWIG_IsOK(res1
)) {
15436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15438 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15440 if (!SWIG_IsOK(ecode2
)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15443 arg2
= static_cast< int >(val2
);
15444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15445 if (!SWIG_IsOK(ecode3
)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15448 arg3
= static_cast< int >(val3
);
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 (arg1
)->SetRange(arg2
,arg3
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_Py_Void();
15462 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15463 PyObject
*resultobj
= 0;
15464 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15468 PyObject
*swig_obj
[1] ;
15470 if (!args
) SWIG_fail
;
15471 swig_obj
[0] = args
;
15472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15473 if (!SWIG_IsOK(res1
)) {
15474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15476 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_From_int(static_cast< int >(result
));
15490 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15491 PyObject
*resultobj
= 0;
15492 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15496 PyObject
*swig_obj
[1] ;
15498 if (!args
) SWIG_fail
;
15499 swig_obj
[0] = args
;
15500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15501 if (!SWIG_IsOK(res1
)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15504 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_From_int(static_cast< int >(result
));
15518 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
= 0;
15520 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 PyObject
* obj2
= 0 ;
15532 char * kwnames
[] = {
15533 (char *) "self",(char *) "from",(char *) "to", NULL
15536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15538 if (!SWIG_IsOK(res1
)) {
15539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15541 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15542 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15543 if (!SWIG_IsOK(ecode2
)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15546 arg2
= static_cast< long >(val2
);
15547 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15548 if (!SWIG_IsOK(ecode3
)) {
15549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15551 arg3
= static_cast< long >(val3
);
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 (arg1
)->SetSelection(arg2
,arg3
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_Py_Void();
15565 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
= 0;
15567 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15568 SwigValueWrapper
<wxVisualAttributes
> result
;
15571 PyObject
* obj0
= 0 ;
15572 char * kwnames
[] = {
15573 (char *) "variant", NULL
15576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15578 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15579 if (!SWIG_IsOK(ecode1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15582 arg1
= static_cast< wxWindowVariant
>(val1
);
15585 if (!wxPyCheckForApp()) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15598 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15601 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15602 return SWIG_Py_Void();
15605 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15606 return SWIG_Python_InitShadowInstance(args
);
15609 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
= 0;
15611 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15612 int arg2
= (int) 0 ;
15613 wxSpinEvent
*result
= 0 ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 char * kwnames
[] = {
15621 (char *) "commandType",(char *) "winid", NULL
15624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15626 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15627 if (!SWIG_IsOK(ecode1
)) {
15628 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15630 arg1
= static_cast< wxEventType
>(val1
);
15633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15634 if (!SWIG_IsOK(ecode2
)) {
15635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15637 arg2
= static_cast< int >(val2
);
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15652 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 PyObject
*resultobj
= 0;
15654 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15658 PyObject
*swig_obj
[1] ;
15660 if (!args
) SWIG_fail
;
15661 swig_obj
[0] = args
;
15662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15663 if (!SWIG_IsOK(res1
)) {
15664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15666 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_From_int(static_cast< int >(result
));
15680 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
= 0;
15682 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15690 char * kwnames
[] = {
15691 (char *) "self",(char *) "pos", NULL
15694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15696 if (!SWIG_IsOK(res1
)) {
15697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15699 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15701 if (!SWIG_IsOK(ecode2
)) {
15702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15704 arg2
= static_cast< int >(val2
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->SetPosition(arg2
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_Py_Void();
15718 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15721 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15722 return SWIG_Py_Void();
15725 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 return SWIG_Python_InitShadowInstance(args
);
15729 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15730 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15735 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15736 PyObject
*pyobj
= 0;
15740 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15742 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15749 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15750 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15755 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15756 PyObject
*pyobj
= 0;
15760 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15762 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15769 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
= 0;
15771 wxWindow
*arg1
= (wxWindow
*) 0 ;
15772 int arg2
= (int) -1 ;
15773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15775 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15776 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15777 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15778 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15779 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15780 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15781 int arg7
= (int) 0 ;
15782 long arg8
= (long) wxRA_HORIZONTAL
;
15783 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15784 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15785 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15786 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15787 wxRadioBox
*result
= 0 ;
15792 bool temp3
= false ;
15795 bool temp6
= false ;
15802 bool temp10
= false ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 PyObject
* obj2
= 0 ;
15806 PyObject
* obj3
= 0 ;
15807 PyObject
* obj4
= 0 ;
15808 PyObject
* obj5
= 0 ;
15809 PyObject
* obj6
= 0 ;
15810 PyObject
* obj7
= 0 ;
15811 PyObject
* obj8
= 0 ;
15812 PyObject
* obj9
= 0 ;
15813 char * kwnames
[] = {
15814 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15819 if (!SWIG_IsOK(res1
)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15825 if (!SWIG_IsOK(ecode2
)) {
15826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15828 arg2
= static_cast< int >(val2
);
15832 arg3
= wxString_in_helper(obj2
);
15833 if (arg3
== NULL
) SWIG_fail
;
15840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15851 if (! PySequence_Check(obj5
)) {
15852 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15855 arg6
= new wxArrayString
;
15857 int i
, len
=PySequence_Length(obj5
);
15858 for (i
=0; i
<len
; i
++) {
15859 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15860 wxString
* s
= wxString_in_helper(item
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15869 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15870 if (!SWIG_IsOK(ecode7
)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15873 arg7
= static_cast< int >(val7
);
15876 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15877 if (!SWIG_IsOK(ecode8
)) {
15878 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15880 arg8
= static_cast< long >(val8
);
15883 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15884 if (!SWIG_IsOK(res9
)) {
15885 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15890 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15894 arg10
= wxString_in_helper(obj9
);
15895 if (arg10
== NULL
) SWIG_fail
;
15900 if (!wxPyCheckForApp()) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 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
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15912 if (temp6
) delete arg6
;
15925 if (temp6
) delete arg6
;
15935 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15936 PyObject
*resultobj
= 0;
15937 wxRadioBox
*result
= 0 ;
15939 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15941 if (!wxPyCheckForApp()) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (wxRadioBox
*)new wxRadioBox();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15954 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
= 0;
15956 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15957 wxWindow
*arg2
= (wxWindow
*) 0 ;
15958 int arg3
= (int) -1 ;
15959 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15960 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15961 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15962 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15963 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15964 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15965 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15966 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15967 int arg8
= (int) 0 ;
15968 long arg9
= (long) wxRA_HORIZONTAL
;
15969 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15970 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15971 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15972 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15980 bool temp4
= false ;
15983 bool temp7
= false ;
15990 bool temp11
= false ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 PyObject
* obj2
= 0 ;
15994 PyObject
* obj3
= 0 ;
15995 PyObject
* obj4
= 0 ;
15996 PyObject
* obj5
= 0 ;
15997 PyObject
* obj6
= 0 ;
15998 PyObject
* obj7
= 0 ;
15999 PyObject
* obj8
= 0 ;
16000 PyObject
* obj9
= 0 ;
16001 PyObject
* obj10
= 0 ;
16002 char * kwnames
[] = {
16003 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16011 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16013 if (!SWIG_IsOK(res2
)) {
16014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16016 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16019 if (!SWIG_IsOK(ecode3
)) {
16020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16022 arg3
= static_cast< int >(val3
);
16026 arg4
= wxString_in_helper(obj3
);
16027 if (arg4
== NULL
) SWIG_fail
;
16034 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16040 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16045 if (! PySequence_Check(obj6
)) {
16046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16049 arg7
= new wxArrayString
;
16051 int i
, len
=PySequence_Length(obj6
);
16052 for (i
=0; i
<len
; i
++) {
16053 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16054 wxString
* s
= wxString_in_helper(item
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16063 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16064 if (!SWIG_IsOK(ecode8
)) {
16065 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16067 arg8
= static_cast< int >(val8
);
16070 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16071 if (!SWIG_IsOK(ecode9
)) {
16072 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16074 arg9
= static_cast< long >(val9
);
16077 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16078 if (!SWIG_IsOK(res10
)) {
16079 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16084 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16088 arg11
= wxString_in_helper(obj10
);
16089 if (arg11
== NULL
) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 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
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16107 if (temp7
) delete arg7
;
16120 if (temp7
) delete arg7
;
16130 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
= 0;
16132 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 PyObject
* obj1
= 0 ;
16140 char * kwnames
[] = {
16141 (char *) "self",(char *) "n", NULL
16144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16146 if (!SWIG_IsOK(res1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16149 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16151 if (!SWIG_IsOK(ecode2
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16154 arg2
= static_cast< int >(val2
);
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 (arg1
)->SetSelection(arg2
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_Py_Void();
16168 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16169 PyObject
*resultobj
= 0;
16170 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16174 PyObject
*swig_obj
[1] ;
16176 if (!args
) SWIG_fail
;
16177 swig_obj
[0] = args
;
16178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16179 if (!SWIG_IsOK(res1
)) {
16180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16182 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_From_int(static_cast< int >(result
));
16196 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16197 PyObject
*resultobj
= 0;
16198 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16202 PyObject
*swig_obj
[1] ;
16204 if (!args
) SWIG_fail
;
16205 swig_obj
[0] = args
;
16206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16210 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16230 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
= 0;
16232 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16233 wxString
*arg2
= 0 ;
16237 bool temp2
= false ;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char * kwnames
[] = {
16241 (char *) "self",(char *) "s", NULL
16244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16249 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16251 arg2
= wxString_in_helper(obj1
);
16252 if (arg2
== NULL
) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16278 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16279 PyObject
*resultobj
= 0;
16280 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16284 PyObject
*swig_obj
[1] ;
16286 if (!args
) SWIG_fail
;
16287 swig_obj
[0] = args
;
16288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16289 if (!SWIG_IsOK(res1
)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16292 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16306 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
= 0;
16308 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16309 wxString
*arg2
= 0 ;
16313 bool temp2
= false ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char * kwnames
[] = {
16317 (char *) "self",(char *) "s", NULL
16320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16322 if (!SWIG_IsOK(res1
)) {
16323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16325 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16327 arg2
= wxString_in_helper(obj1
);
16328 if (arg2
== NULL
) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_From_int(static_cast< int >(result
));
16352 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
= 0;
16354 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char * kwnames
[] = {
16364 (char *) "self",(char *) "n", NULL
16367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16372 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16374 if (!SWIG_IsOK(ecode2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16377 arg2
= static_cast< int >(val2
);
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16397 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
= 0;
16399 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16401 wxString
*arg3
= 0 ;
16406 bool temp3
= false ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 PyObject
* obj2
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "self",(char *) "n",(char *) "label", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16419 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16421 if (!SWIG_IsOK(ecode2
)) {
16422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16424 arg2
= static_cast< int >(val2
);
16426 arg3
= wxString_in_helper(obj2
);
16427 if (arg3
== NULL
) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= SWIG_Py_Void();
16451 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= 0;
16453 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16454 unsigned int arg2
;
16455 bool arg3
= (bool) true ;
16458 unsigned int val2
;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 PyObject
* obj2
= 0 ;
16465 char * kwnames
[] = {
16466 (char *) "self",(char *) "n",(char *) "enable", NULL
16469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16471 if (!SWIG_IsOK(res1
)) {
16472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16474 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16475 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16476 if (!SWIG_IsOK(ecode2
)) {
16477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16479 arg2
= static_cast< unsigned int >(val2
);
16481 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16482 if (!SWIG_IsOK(ecode3
)) {
16483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16485 arg3
= static_cast< bool >(val3
);
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 (arg1
)->Enable(arg2
,arg3
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= SWIG_Py_Void();
16500 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
= 0;
16502 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16503 unsigned int arg2
;
16504 bool arg3
= (bool) true ;
16507 unsigned int val2
;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 PyObject
* obj2
= 0 ;
16514 char * kwnames
[] = {
16515 (char *) "self",(char *) "n",(char *) "show", NULL
16518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16520 if (!SWIG_IsOK(res1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16523 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16524 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16525 if (!SWIG_IsOK(ecode2
)) {
16526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16528 arg2
= static_cast< unsigned int >(val2
);
16530 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16531 if (!SWIG_IsOK(ecode3
)) {
16532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16534 arg3
= static_cast< bool >(val3
);
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 (arg1
)->Show(arg2
,arg3
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= SWIG_Py_Void();
16549 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
= 0;
16551 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16552 unsigned int arg2
;
16556 unsigned int val2
;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 char * kwnames
[] = {
16561 (char *) "self",(char *) "n", NULL
16564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16566 if (!SWIG_IsOK(res1
)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16569 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16570 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16571 if (!SWIG_IsOK(ecode2
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16574 arg2
= static_cast< unsigned int >(val2
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16590 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
= 0;
16592 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16593 unsigned int arg2
;
16597 unsigned int val2
;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 char * kwnames
[] = {
16602 (char *) "self",(char *) "n", NULL
16605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16607 if (!SWIG_IsOK(res1
)) {
16608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16610 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16611 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16612 if (!SWIG_IsOK(ecode2
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16615 arg2
= static_cast< unsigned int >(val2
);
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16631 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16632 PyObject
*resultobj
= 0;
16633 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16634 unsigned int result
;
16637 PyObject
*swig_obj
[1] ;
16639 if (!args
) SWIG_fail
;
16640 swig_obj
[0] = args
;
16641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16642 if (!SWIG_IsOK(res1
)) {
16643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16645 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16659 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16660 PyObject
*resultobj
= 0;
16661 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16662 unsigned int result
;
16665 PyObject
*swig_obj
[1] ;
16667 if (!args
) SWIG_fail
;
16668 swig_obj
[0] = args
;
16669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16670 if (!SWIG_IsOK(res1
)) {
16671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16673 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16687 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16689 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16702 PyObject
* obj0
= 0 ;
16703 PyObject
* obj1
= 0 ;
16704 PyObject
* obj2
= 0 ;
16705 PyObject
* obj3
= 0 ;
16706 char * kwnames
[] = {
16707 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16712 if (!SWIG_IsOK(res1
)) {
16713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16715 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16717 if (!SWIG_IsOK(ecode2
)) {
16718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16720 arg2
= static_cast< int >(val2
);
16721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16722 if (!SWIG_IsOK(ecode3
)) {
16723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16725 arg3
= static_cast< wxDirection
>(val3
);
16726 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16727 if (!SWIG_IsOK(ecode4
)) {
16728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16730 arg4
= static_cast< long >(val4
);
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_From_int(static_cast< int >(result
));
16744 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
= 0;
16746 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16747 unsigned int arg2
;
16748 wxString
*arg3
= 0 ;
16751 unsigned int val2
;
16753 bool temp3
= false ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 PyObject
* obj2
= 0 ;
16757 char * kwnames
[] = {
16758 (char *) "self",(char *) "item",(char *) "text", NULL
16761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16763 if (!SWIG_IsOK(res1
)) {
16764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16766 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16767 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16768 if (!SWIG_IsOK(ecode2
)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16771 arg2
= static_cast< unsigned int >(val2
);
16773 arg3
= wxString_in_helper(obj2
);
16774 if (arg3
== NULL
) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_Py_Void();
16798 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
= 0;
16800 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16801 unsigned int arg2
;
16802 wxToolTip
*result
= 0 ;
16805 unsigned int val2
;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 char * kwnames
[] = {
16810 (char *) "self",(char *) "item", NULL
16813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16818 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16819 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16820 if (!SWIG_IsOK(ecode2
)) {
16821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16823 arg2
= static_cast< unsigned int >(val2
);
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16839 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
= 0;
16841 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16842 SwigValueWrapper
<wxVisualAttributes
> result
;
16845 PyObject
* obj0
= 0 ;
16846 char * kwnames
[] = {
16847 (char *) "variant", NULL
16850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16852 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16853 if (!SWIG_IsOK(ecode1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16856 arg1
= static_cast< wxWindowVariant
>(val1
);
16859 if (!wxPyCheckForApp()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16872 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16875 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16876 return SWIG_Py_Void();
16879 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16880 return SWIG_Python_InitShadowInstance(args
);
16883 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
= 0;
16885 wxWindow
*arg1
= (wxWindow
*) 0 ;
16886 int arg2
= (int) -1 ;
16887 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16888 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16889 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16890 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16891 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16892 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16893 long arg6
= (long) 0 ;
16894 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16895 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16896 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16898 wxRadioButton
*result
= 0 ;
16903 bool temp3
= false ;
16910 bool temp8
= false ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 PyObject
* obj2
= 0 ;
16914 PyObject
* obj3
= 0 ;
16915 PyObject
* obj4
= 0 ;
16916 PyObject
* obj5
= 0 ;
16917 PyObject
* obj6
= 0 ;
16918 PyObject
* obj7
= 0 ;
16919 char * kwnames
[] = {
16920 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16931 if (!SWIG_IsOK(ecode2
)) {
16932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16934 arg2
= static_cast< int >(val2
);
16938 arg3
= wxString_in_helper(obj2
);
16939 if (arg3
== NULL
) SWIG_fail
;
16946 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16952 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16956 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16957 if (!SWIG_IsOK(ecode6
)) {
16958 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16960 arg6
= static_cast< long >(val6
);
16963 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16964 if (!SWIG_IsOK(res7
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16970 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16974 arg8
= wxString_in_helper(obj7
);
16975 if (arg8
== NULL
) SWIG_fail
;
16980 if (!wxPyCheckForApp()) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17009 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17010 PyObject
*resultobj
= 0;
17011 wxRadioButton
*result
= 0 ;
17013 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17015 if (!wxPyCheckForApp()) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (wxRadioButton
*)new wxRadioButton();
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17028 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17031 wxWindow
*arg2
= (wxWindow
*) 0 ;
17032 int arg3
= (int) -1 ;
17033 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17034 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17035 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17036 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17037 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17038 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17039 long arg7
= (long) 0 ;
17040 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17041 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17042 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17043 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17051 bool temp4
= false ;
17058 bool temp9
= false ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 PyObject
* obj3
= 0 ;
17063 PyObject
* obj4
= 0 ;
17064 PyObject
* obj5
= 0 ;
17065 PyObject
* obj6
= 0 ;
17066 PyObject
* obj7
= 0 ;
17067 PyObject
* obj8
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17074 if (!SWIG_IsOK(res1
)) {
17075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17077 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17079 if (!SWIG_IsOK(res2
)) {
17080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17085 if (!SWIG_IsOK(ecode3
)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17088 arg3
= static_cast< int >(val3
);
17092 arg4
= wxString_in_helper(obj3
);
17093 if (arg4
== NULL
) SWIG_fail
;
17100 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17106 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17110 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17111 if (!SWIG_IsOK(ecode7
)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17114 arg7
= static_cast< long >(val7
);
17117 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17118 if (!SWIG_IsOK(res8
)) {
17119 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17124 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17128 arg9
= wxString_in_helper(obj8
);
17129 if (arg9
== NULL
) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17164 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17165 PyObject
*resultobj
= 0;
17166 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17170 PyObject
*swig_obj
[1] ;
17172 if (!args
) SWIG_fail
;
17173 swig_obj
[0] = args
;
17174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17175 if (!SWIG_IsOK(res1
)) {
17176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17178 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (bool)(arg1
)->GetValue();
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17194 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
= 0;
17196 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "self",(char *) "value", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17213 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17214 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17215 if (!SWIG_IsOK(ecode2
)) {
17216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17218 arg2
= static_cast< bool >(val2
);
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->SetValue(arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17232 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17235 SwigValueWrapper
<wxVisualAttributes
> result
;
17238 PyObject
* obj0
= 0 ;
17239 char * kwnames
[] = {
17240 (char *) "variant", NULL
17243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17245 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17246 if (!SWIG_IsOK(ecode1
)) {
17247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17249 arg1
= static_cast< wxWindowVariant
>(val1
);
17252 if (!wxPyCheckForApp()) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17265 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17268 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17269 return SWIG_Py_Void();
17272 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17273 return SWIG_Python_InitShadowInstance(args
);
17276 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17277 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17282 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17283 PyObject
*pyobj
= 0;
17287 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17289 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17296 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
= 0;
17298 wxWindow
*arg1
= (wxWindow
*) 0 ;
17299 int arg2
= (int) -1 ;
17300 int arg3
= (int) 0 ;
17301 int arg4
= (int) 0 ;
17302 int arg5
= (int) 100 ;
17303 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17304 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17305 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17306 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17307 long arg8
= (long) wxSL_HORIZONTAL
;
17308 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17309 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17310 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17311 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17312 wxSlider
*result
= 0 ;
17329 bool temp10
= false ;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 PyObject
* obj2
= 0 ;
17333 PyObject
* obj3
= 0 ;
17334 PyObject
* obj4
= 0 ;
17335 PyObject
* obj5
= 0 ;
17336 PyObject
* obj6
= 0 ;
17337 PyObject
* obj7
= 0 ;
17338 PyObject
* obj8
= 0 ;
17339 PyObject
* obj9
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17352 if (!SWIG_IsOK(ecode2
)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17355 arg2
= static_cast< int >(val2
);
17358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17359 if (!SWIG_IsOK(ecode3
)) {
17360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17362 arg3
= static_cast< int >(val3
);
17365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17366 if (!SWIG_IsOK(ecode4
)) {
17367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17369 arg4
= static_cast< int >(val4
);
17372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17373 if (!SWIG_IsOK(ecode5
)) {
17374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17376 arg5
= static_cast< int >(val5
);
17381 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17387 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17391 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17392 if (!SWIG_IsOK(ecode8
)) {
17393 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17395 arg8
= static_cast< long >(val8
);
17398 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17399 if (!SWIG_IsOK(res9
)) {
17400 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17405 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17409 arg10
= wxString_in_helper(obj9
);
17410 if (arg10
== NULL
) SWIG_fail
;
17415 if (!wxPyCheckForApp()) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17436 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17437 PyObject
*resultobj
= 0;
17438 wxSlider
*result
= 0 ;
17440 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17442 if (!wxPyCheckForApp()) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (wxSlider
*)new wxSlider();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17455 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= 0;
17457 wxSlider
*arg1
= (wxSlider
*) 0 ;
17458 wxWindow
*arg2
= (wxWindow
*) 0 ;
17459 int arg3
= (int) -1 ;
17460 int arg4
= (int) 0 ;
17461 int arg5
= (int) 0 ;
17462 int arg6
= (int) 100 ;
17463 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17464 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17465 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17466 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17467 long arg9
= (long) wxSL_HORIZONTAL
;
17468 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17469 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17470 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17471 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17491 bool temp11
= false ;
17492 PyObject
* obj0
= 0 ;
17493 PyObject
* obj1
= 0 ;
17494 PyObject
* obj2
= 0 ;
17495 PyObject
* obj3
= 0 ;
17496 PyObject
* obj4
= 0 ;
17497 PyObject
* obj5
= 0 ;
17498 PyObject
* obj6
= 0 ;
17499 PyObject
* obj7
= 0 ;
17500 PyObject
* obj8
= 0 ;
17501 PyObject
* obj9
= 0 ;
17502 PyObject
* obj10
= 0 ;
17503 char * kwnames
[] = {
17504 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17509 if (!SWIG_IsOK(res1
)) {
17510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17512 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17514 if (!SWIG_IsOK(res2
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17517 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17520 if (!SWIG_IsOK(ecode3
)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17523 arg3
= static_cast< int >(val3
);
17526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17527 if (!SWIG_IsOK(ecode4
)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17530 arg4
= static_cast< int >(val4
);
17533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17534 if (!SWIG_IsOK(ecode5
)) {
17535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17537 arg5
= static_cast< int >(val5
);
17540 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17541 if (!SWIG_IsOK(ecode6
)) {
17542 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17544 arg6
= static_cast< int >(val6
);
17549 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17555 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17559 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17560 if (!SWIG_IsOK(ecode9
)) {
17561 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17563 arg9
= static_cast< long >(val9
);
17566 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17567 if (!SWIG_IsOK(res10
)) {
17568 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17573 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17577 arg11
= wxString_in_helper(obj10
);
17578 if (arg11
== NULL
) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 PyObject
*resultobj
= 0;
17607 wxSlider
*arg1
= (wxSlider
*) 0 ;
17611 PyObject
*swig_obj
[1] ;
17613 if (!args
) SWIG_fail
;
17614 swig_obj
[0] = args
;
17615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17616 if (!SWIG_IsOK(res1
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17619 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_From_int(static_cast< int >(result
));
17633 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxSlider
*arg1
= (wxSlider
*) 0 ;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 char * kwnames
[] = {
17644 (char *) "self",(char *) "value", NULL
17647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17652 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17654 if (!SWIG_IsOK(ecode2
)) {
17655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17657 arg2
= static_cast< int >(val2
);
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 (arg1
)->SetValue(arg2
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_Py_Void();
17671 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
= 0;
17673 wxSlider
*arg1
= (wxSlider
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 char * kwnames
[] = {
17686 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17691 if (!SWIG_IsOK(res1
)) {
17692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17694 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17696 if (!SWIG_IsOK(ecode2
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17699 arg2
= static_cast< int >(val2
);
17700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17701 if (!SWIG_IsOK(ecode3
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17704 arg3
= static_cast< int >(val3
);
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 (arg1
)->SetRange(arg2
,arg3
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_Py_Void();
17718 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17719 PyObject
*resultobj
= 0;
17720 wxSlider
*arg1
= (wxSlider
*) 0 ;
17724 PyObject
*swig_obj
[1] ;
17726 if (!args
) SWIG_fail
;
17727 swig_obj
[0] = args
;
17728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17732 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_From_int(static_cast< int >(result
));
17746 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17747 PyObject
*resultobj
= 0;
17748 wxSlider
*arg1
= (wxSlider
*) 0 ;
17752 PyObject
*swig_obj
[1] ;
17754 if (!args
) SWIG_fail
;
17755 swig_obj
[0] = args
;
17756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17757 if (!SWIG_IsOK(res1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17760 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_From_int(static_cast< int >(result
));
17774 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
= 0;
17776 wxSlider
*arg1
= (wxSlider
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 PyObject
* obj1
= 0 ;
17784 char * kwnames
[] = {
17785 (char *) "self",(char *) "minValue", NULL
17788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17790 if (!SWIG_IsOK(res1
)) {
17791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17793 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17795 if (!SWIG_IsOK(ecode2
)) {
17796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17798 arg2
= static_cast< int >(val2
);
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 (arg1
)->SetMin(arg2
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= SWIG_Py_Void();
17812 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
= 0;
17814 wxSlider
*arg1
= (wxSlider
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 char * kwnames
[] = {
17823 (char *) "self",(char *) "maxValue", NULL
17826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17828 if (!SWIG_IsOK(res1
)) {
17829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17831 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17833 if (!SWIG_IsOK(ecode2
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17836 arg2
= static_cast< int >(val2
);
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 (arg1
)->SetMax(arg2
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_Py_Void();
17850 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= 0;
17852 wxSlider
*arg1
= (wxSlider
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 char * kwnames
[] = {
17861 (char *) "self",(char *) "lineSize", NULL
17864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17866 if (!SWIG_IsOK(res1
)) {
17867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17869 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17871 if (!SWIG_IsOK(ecode2
)) {
17872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17874 arg2
= static_cast< int >(val2
);
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 (arg1
)->SetLineSize(arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_Py_Void();
17888 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
= 0;
17890 wxSlider
*arg1
= (wxSlider
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 PyObject
* obj1
= 0 ;
17898 char * kwnames
[] = {
17899 (char *) "self",(char *) "pageSize", NULL
17902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17904 if (!SWIG_IsOK(res1
)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17907 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17909 if (!SWIG_IsOK(ecode2
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17912 arg2
= static_cast< int >(val2
);
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->SetPageSize(arg2
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= SWIG_Py_Void();
17926 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17927 PyObject
*resultobj
= 0;
17928 wxSlider
*arg1
= (wxSlider
*) 0 ;
17932 PyObject
*swig_obj
[1] ;
17934 if (!args
) SWIG_fail
;
17935 swig_obj
[0] = args
;
17936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17940 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= SWIG_From_int(static_cast< int >(result
));
17954 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17955 PyObject
*resultobj
= 0;
17956 wxSlider
*arg1
= (wxSlider
*) 0 ;
17960 PyObject
*swig_obj
[1] ;
17962 if (!args
) SWIG_fail
;
17963 swig_obj
[0] = args
;
17964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17965 if (!SWIG_IsOK(res1
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17968 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= SWIG_From_int(static_cast< int >(result
));
17982 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
= 0;
17984 wxSlider
*arg1
= (wxSlider
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 char * kwnames
[] = {
17993 (char *) "self",(char *) "lenPixels", NULL
17996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17998 if (!SWIG_IsOK(res1
)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18001 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18003 if (!SWIG_IsOK(ecode2
)) {
18004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18006 arg2
= static_cast< int >(val2
);
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 (arg1
)->SetThumbLength(arg2
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_Py_Void();
18020 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18021 PyObject
*resultobj
= 0;
18022 wxSlider
*arg1
= (wxSlider
*) 0 ;
18026 PyObject
*swig_obj
[1] ;
18028 if (!args
) SWIG_fail
;
18029 swig_obj
[0] = args
;
18030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18031 if (!SWIG_IsOK(res1
)) {
18032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18034 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_From_int(static_cast< int >(result
));
18048 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxSlider
*arg1
= (wxSlider
*) 0 ;
18052 int arg3
= (int) 1 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 char * kwnames
[] = {
18063 (char *) "self",(char *) "n",(char *) "pos", NULL
18066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18068 if (!SWIG_IsOK(res1
)) {
18069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18071 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18073 if (!SWIG_IsOK(ecode2
)) {
18074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18076 arg2
= static_cast< int >(val2
);
18078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18079 if (!SWIG_IsOK(ecode3
)) {
18080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18082 arg3
= static_cast< int >(val3
);
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->SetTickFreq(arg2
,arg3
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 resultobj
= SWIG_Py_Void();
18097 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18098 PyObject
*resultobj
= 0;
18099 wxSlider
*arg1
= (wxSlider
*) 0 ;
18103 PyObject
*swig_obj
[1] ;
18105 if (!args
) SWIG_fail
;
18106 swig_obj
[0] = args
;
18107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18108 if (!SWIG_IsOK(res1
)) {
18109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18111 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 resultobj
= SWIG_From_int(static_cast< int >(result
));
18125 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18126 PyObject
*resultobj
= 0;
18127 wxSlider
*arg1
= (wxSlider
*) 0 ;
18130 PyObject
*swig_obj
[1] ;
18132 if (!args
) SWIG_fail
;
18133 swig_obj
[0] = args
;
18134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18138 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 (arg1
)->ClearTicks();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_Py_Void();
18152 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
= 0;
18154 wxSlider
*arg1
= (wxSlider
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 char * kwnames
[] = {
18163 (char *) "self",(char *) "tickPos", NULL
18166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18168 if (!SWIG_IsOK(res1
)) {
18169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18171 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18173 if (!SWIG_IsOK(ecode2
)) {
18174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18176 arg2
= static_cast< int >(val2
);
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->SetTick(arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_Py_Void();
18190 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18191 PyObject
*resultobj
= 0;
18192 wxSlider
*arg1
= (wxSlider
*) 0 ;
18195 PyObject
*swig_obj
[1] ;
18197 if (!args
) SWIG_fail
;
18198 swig_obj
[0] = args
;
18199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18200 if (!SWIG_IsOK(res1
)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18203 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 (arg1
)->ClearSel();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_Py_Void();
18217 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18218 PyObject
*resultobj
= 0;
18219 wxSlider
*arg1
= (wxSlider
*) 0 ;
18223 PyObject
*swig_obj
[1] ;
18225 if (!args
) SWIG_fail
;
18226 swig_obj
[0] = args
;
18227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18231 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_From_int(static_cast< int >(result
));
18245 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18246 PyObject
*resultobj
= 0;
18247 wxSlider
*arg1
= (wxSlider
*) 0 ;
18251 PyObject
*swig_obj
[1] ;
18253 if (!args
) SWIG_fail
;
18254 swig_obj
[0] = args
;
18255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18259 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_From_int(static_cast< int >(result
));
18273 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= 0;
18275 wxSlider
*arg1
= (wxSlider
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 PyObject
* obj2
= 0 ;
18287 char * kwnames
[] = {
18288 (char *) "self",(char *) "min",(char *) "max", NULL
18291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18293 if (!SWIG_IsOK(res1
)) {
18294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18296 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18298 if (!SWIG_IsOK(ecode2
)) {
18299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18301 arg2
= static_cast< int >(val2
);
18302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18303 if (!SWIG_IsOK(ecode3
)) {
18304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18306 arg3
= static_cast< int >(val3
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->SetSelection(arg2
,arg3
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_Py_Void();
18320 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
= 0;
18322 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18323 SwigValueWrapper
<wxVisualAttributes
> result
;
18326 PyObject
* obj0
= 0 ;
18327 char * kwnames
[] = {
18328 (char *) "variant", NULL
18331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18334 if (!SWIG_IsOK(ecode1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18337 arg1
= static_cast< wxWindowVariant
>(val1
);
18340 if (!wxPyCheckForApp()) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18353 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18356 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18357 return SWIG_Py_Void();
18360 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18361 return SWIG_Python_InitShadowInstance(args
);
18364 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18365 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18370 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18371 PyObject
*pyobj
= 0;
18375 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18377 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18384 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
= 0;
18386 wxWindow
*arg1
= (wxWindow
*) 0 ;
18387 int arg2
= (int) -1 ;
18388 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18389 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18394 long arg6
= (long) 0 ;
18395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18397 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18399 wxToggleButton
*result
= 0 ;
18404 bool temp3
= false ;
18411 bool temp8
= false ;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 PyObject
* obj2
= 0 ;
18415 PyObject
* obj3
= 0 ;
18416 PyObject
* obj4
= 0 ;
18417 PyObject
* obj5
= 0 ;
18418 PyObject
* obj6
= 0 ;
18419 PyObject
* obj7
= 0 ;
18420 char * kwnames
[] = {
18421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18426 if (!SWIG_IsOK(res1
)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18429 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18432 if (!SWIG_IsOK(ecode2
)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18435 arg2
= static_cast< int >(val2
);
18439 arg3
= wxString_in_helper(obj2
);
18440 if (arg3
== NULL
) SWIG_fail
;
18447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18457 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18458 if (!SWIG_IsOK(ecode6
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18461 arg6
= static_cast< long >(val6
);
18464 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18465 if (!SWIG_IsOK(res7
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18471 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18475 arg8
= wxString_in_helper(obj7
);
18476 if (arg8
== NULL
) SWIG_fail
;
18481 if (!wxPyCheckForApp()) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18510 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18511 PyObject
*resultobj
= 0;
18512 wxToggleButton
*result
= 0 ;
18514 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18516 if (!wxPyCheckForApp()) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (wxToggleButton
*)new wxToggleButton();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18529 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18532 wxWindow
*arg2
= (wxWindow
*) 0 ;
18533 int arg3
= (int) -1 ;
18534 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18535 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18536 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18537 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18538 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18539 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18540 long arg7
= (long) 0 ;
18541 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18542 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18543 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18544 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18552 bool temp4
= false ;
18559 bool temp9
= false ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 PyObject
* obj2
= 0 ;
18563 PyObject
* obj3
= 0 ;
18564 PyObject
* obj4
= 0 ;
18565 PyObject
* obj5
= 0 ;
18566 PyObject
* obj6
= 0 ;
18567 PyObject
* obj7
= 0 ;
18568 PyObject
* obj8
= 0 ;
18569 char * kwnames
[] = {
18570 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18575 if (!SWIG_IsOK(res1
)) {
18576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18578 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18580 if (!SWIG_IsOK(res2
)) {
18581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18586 if (!SWIG_IsOK(ecode3
)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18589 arg3
= static_cast< int >(val3
);
18593 arg4
= wxString_in_helper(obj3
);
18594 if (arg4
== NULL
) SWIG_fail
;
18601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18611 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18612 if (!SWIG_IsOK(ecode7
)) {
18613 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18615 arg7
= static_cast< long >(val7
);
18618 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18619 if (!SWIG_IsOK(res8
)) {
18620 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18625 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18629 arg9
= wxString_in_helper(obj8
);
18630 if (arg9
== NULL
) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18665 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
= 0;
18667 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char * kwnames
[] = {
18676 (char *) "self",(char *) "value", NULL
18679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18681 if (!SWIG_IsOK(res1
)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18684 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18686 if (!SWIG_IsOK(ecode2
)) {
18687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18689 arg2
= static_cast< bool >(val2
);
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->SetValue(arg2
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_Py_Void();
18703 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18704 PyObject
*resultobj
= 0;
18705 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18709 PyObject
*swig_obj
[1] ;
18711 if (!args
) SWIG_fail
;
18712 swig_obj
[0] = args
;
18713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18714 if (!SWIG_IsOK(res1
)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18717 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18733 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18736 SwigValueWrapper
<wxVisualAttributes
> result
;
18739 PyObject
* obj0
= 0 ;
18740 char * kwnames
[] = {
18741 (char *) "variant", NULL
18744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18747 if (!SWIG_IsOK(ecode1
)) {
18748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18750 arg1
= static_cast< wxWindowVariant
>(val1
);
18753 if (!wxPyCheckForApp()) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18766 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18769 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18770 return SWIG_Py_Void();
18773 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18774 return SWIG_Python_InitShadowInstance(args
);
18777 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18778 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18783 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18784 PyObject
*pyobj
= 0;
18788 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18790 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18797 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18798 PyObject
*resultobj
= 0;
18799 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18803 PyObject
*swig_obj
[1] ;
18805 if (!args
) SWIG_fail
;
18806 swig_obj
[0] = args
;
18807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18811 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18825 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= 0;
18827 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18829 wxWindow
*result
= 0 ;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 char * kwnames
[] = {
18837 (char *) "self",(char *) "n", NULL
18840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18842 if (!SWIG_IsOK(res1
)) {
18843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18845 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18846 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18847 if (!SWIG_IsOK(ecode2
)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18850 arg2
= static_cast< size_t >(val2
);
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= wxPyMake_wxObject(result
, 0);
18866 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18867 PyObject
*resultobj
= 0;
18868 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18869 wxWindow
*result
= 0 ;
18872 PyObject
*swig_obj
[1] ;
18874 if (!args
) SWIG_fail
;
18875 swig_obj
[0] = args
;
18876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18877 if (!SWIG_IsOK(res1
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18880 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= wxPyMake_wxObject(result
, 0);
18896 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18897 PyObject
*resultobj
= 0;
18898 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18902 PyObject
*swig_obj
[1] ;
18904 if (!args
) SWIG_fail
;
18905 swig_obj
[0] = args
;
18906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18910 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_From_int(static_cast< int >(result
));
18924 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
= 0;
18926 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18928 wxString
*arg3
= 0 ;
18934 bool temp3
= false ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 PyObject
* obj2
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "n",(char *) "strText", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18947 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18948 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18949 if (!SWIG_IsOK(ecode2
)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18952 arg2
= static_cast< size_t >(val2
);
18954 arg3
= wxString_in_helper(obj2
);
18955 if (arg3
== NULL
) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18981 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
= 0;
18983 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char * kwnames
[] = {
18993 (char *) "self",(char *) "n", NULL
18996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19001 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19002 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19003 if (!SWIG_IsOK(ecode2
)) {
19004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19006 arg2
= static_cast< size_t >(val2
);
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19026 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
= 0;
19028 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19029 wxImageList
*arg2
= (wxImageList
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char * kwnames
[] = {
19037 (char *) "self",(char *) "imageList", NULL
19040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19042 if (!SWIG_IsOK(res1
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19045 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19047 if (!SWIG_IsOK(res2
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19050 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->SetImageList(arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_Py_Void();
19064 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
= 0;
19066 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19067 wxImageList
*arg2
= (wxImageList
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char * kwnames
[] = {
19074 (char *) "self",(char *) "imageList", NULL
19077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19079 if (!SWIG_IsOK(res1
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19082 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19083 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19084 if (!SWIG_IsOK(res2
)) {
19085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->AssignImageList(arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_Py_Void();
19100 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19101 PyObject
*resultobj
= 0;
19102 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19103 wxImageList
*result
= 0 ;
19106 PyObject
*swig_obj
[1] ;
19108 if (!args
) SWIG_fail
;
19109 swig_obj
[0] = args
;
19110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19114 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19130 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= 0;
19132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char * kwnames
[] = {
19142 (char *) "self",(char *) "n", NULL
19145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19147 if (!SWIG_IsOK(res1
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19150 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19152 if (!SWIG_IsOK(ecode2
)) {
19153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19155 arg2
= static_cast< size_t >(val2
);
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 resultobj
= SWIG_From_int(static_cast< int >(result
));
19169 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
= 0;
19171 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 PyObject
* obj2
= 0 ;
19184 char * kwnames
[] = {
19185 (char *) "self",(char *) "n",(char *) "imageId", NULL
19188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19190 if (!SWIG_IsOK(res1
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19193 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19194 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19195 if (!SWIG_IsOK(ecode2
)) {
19196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19198 arg2
= static_cast< size_t >(val2
);
19199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19200 if (!SWIG_IsOK(ecode3
)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19203 arg3
= static_cast< int >(val3
);
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19219 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
= 0;
19221 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 char * kwnames
[] = {
19229 (char *) "self",(char *) "size", NULL
19232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19234 if (!SWIG_IsOK(res1
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19237 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19240 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char * kwnames
[] = {
19266 (char *) "self",(char *) "sizePage", NULL
19269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19274 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19292 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19293 PyObject
*resultobj
= 0;
19294 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19295 unsigned int result
;
19298 PyObject
*swig_obj
[1] ;
19300 if (!args
) SWIG_fail
;
19301 swig_obj
[0] = args
;
19302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19303 if (!SWIG_IsOK(res1
)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19306 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19320 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19323 unsigned int arg2
;
19326 unsigned int val2
;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char * kwnames
[] = {
19331 (char *) "self",(char *) "internalBorder", NULL
19334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19336 if (!SWIG_IsOK(res1
)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19339 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19340 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19341 if (!SWIG_IsOK(ecode2
)) {
19342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19344 arg2
= static_cast< unsigned int >(val2
);
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 (arg1
)->SetInternalBorder(arg2
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_Py_Void();
19358 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19359 PyObject
*resultobj
= 0;
19360 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19364 PyObject
*swig_obj
[1] ;
19366 if (!args
) SWIG_fail
;
19367 swig_obj
[0] = args
;
19368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19369 if (!SWIG_IsOK(res1
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19372 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19388 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
= 0;
19390 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 char * kwnames
[] = {
19399 (char *) "self",(char *) "margin", NULL
19402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19404 if (!SWIG_IsOK(res1
)) {
19405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19407 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19409 if (!SWIG_IsOK(ecode2
)) {
19410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19412 arg2
= static_cast< int >(val2
);
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->SetControlMargin(arg2
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_Py_Void();
19426 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19427 PyObject
*resultobj
= 0;
19428 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19432 PyObject
*swig_obj
[1] ;
19434 if (!args
) SWIG_fail
;
19435 swig_obj
[0] = args
;
19436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19440 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= SWIG_From_int(static_cast< int >(result
));
19454 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
= 0;
19456 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char * kwnames
[] = {
19465 (char *) "self",(char *) "fit", NULL
19468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19470 if (!SWIG_IsOK(res1
)) {
19471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19473 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19474 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19475 if (!SWIG_IsOK(ecode2
)) {
19476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19478 arg2
= static_cast< bool >(val2
);
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->SetFitToCurrentPage(arg2
);
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= SWIG_Py_Void();
19492 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19493 PyObject
*resultobj
= 0;
19494 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19498 PyObject
*swig_obj
[1] ;
19500 if (!args
) SWIG_fail
;
19501 swig_obj
[0] = args
;
19502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19503 if (!SWIG_IsOK(res1
)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19506 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19522 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19523 PyObject
*resultobj
= 0;
19524 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19525 wxSizer
*result
= 0 ;
19528 PyObject
*swig_obj
[1] ;
19530 if (!args
) SWIG_fail
;
19531 swig_obj
[0] = args
;
19532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19533 if (!SWIG_IsOK(res1
)) {
19534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19536 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19552 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
= 0;
19554 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char * kwnames
[] = {
19564 (char *) "self",(char *) "n", NULL
19567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19569 if (!SWIG_IsOK(res1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19572 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19573 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19574 if (!SWIG_IsOK(ecode2
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19577 arg2
= static_cast< size_t >(val2
);
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= (bool)(arg1
)->DeletePage(arg2
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19593 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
= 0;
19595 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 char * kwnames
[] = {
19605 (char *) "self",(char *) "n", NULL
19608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19610 if (!SWIG_IsOK(res1
)) {
19611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19613 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19614 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19615 if (!SWIG_IsOK(ecode2
)) {
19616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19618 arg2
= static_cast< size_t >(val2
);
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (bool)(arg1
)->RemovePage(arg2
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19634 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19635 PyObject
*resultobj
= 0;
19636 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19640 PyObject
*swig_obj
[1] ;
19642 if (!args
) SWIG_fail
;
19643 swig_obj
[0] = args
;
19644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19645 if (!SWIG_IsOK(res1
)) {
19646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19648 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (bool)(arg1
)->DeleteAllPages();
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19664 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
= 0;
19666 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19667 wxWindow
*arg2
= (wxWindow
*) 0 ;
19668 wxString
*arg3
= 0 ;
19669 bool arg4
= (bool) false ;
19670 int arg5
= (int) -1 ;
19676 bool temp3
= false ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 PyObject
* obj3
= 0 ;
19685 PyObject
* obj4
= 0 ;
19686 char * kwnames
[] = {
19687 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19695 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19697 if (!SWIG_IsOK(res2
)) {
19698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19700 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19702 arg3
= wxString_in_helper(obj2
);
19703 if (arg3
== NULL
) SWIG_fail
;
19707 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19708 if (!SWIG_IsOK(ecode4
)) {
19709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19711 arg4
= static_cast< bool >(val4
);
19714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19715 if (!SWIG_IsOK(ecode5
)) {
19716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19718 arg5
= static_cast< int >(val5
);
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19743 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
= 0;
19745 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19747 wxWindow
*arg3
= (wxWindow
*) 0 ;
19748 wxString
*arg4
= 0 ;
19749 bool arg5
= (bool) false ;
19750 int arg6
= (int) -1 ;
19758 bool temp4
= false ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 PyObject
* obj2
= 0 ;
19766 PyObject
* obj3
= 0 ;
19767 PyObject
* obj4
= 0 ;
19768 PyObject
* obj5
= 0 ;
19769 char * kwnames
[] = {
19770 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19775 if (!SWIG_IsOK(res1
)) {
19776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19778 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19779 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19780 if (!SWIG_IsOK(ecode2
)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19783 arg2
= static_cast< size_t >(val2
);
19784 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19785 if (!SWIG_IsOK(res3
)) {
19786 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19788 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19790 arg4
= wxString_in_helper(obj3
);
19791 if (arg4
== NULL
) SWIG_fail
;
19795 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19796 if (!SWIG_IsOK(ecode5
)) {
19797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19799 arg5
= static_cast< bool >(val5
);
19802 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19803 if (!SWIG_IsOK(ecode6
)) {
19804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19806 arg6
= static_cast< int >(val6
);
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19831 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
= 0;
19833 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 char * kwnames
[] = {
19843 (char *) "self",(char *) "n", NULL
19846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19848 if (!SWIG_IsOK(res1
)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19851 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19852 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19853 if (!SWIG_IsOK(ecode2
)) {
19854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19856 arg2
= static_cast< size_t >(val2
);
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (int)(arg1
)->SetSelection(arg2
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_From_int(static_cast< int >(result
));
19870 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
= 0;
19872 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19873 bool arg2
= (bool) true ;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 char * kwnames
[] = {
19881 (char *) "self",(char *) "forward", NULL
19884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19886 if (!SWIG_IsOK(res1
)) {
19887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19889 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19891 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19892 if (!SWIG_IsOK(ecode2
)) {
19893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19895 arg2
= static_cast< bool >(val2
);
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 (arg1
)->AdvanceSelection(arg2
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_Py_Void();
19910 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
= 0;
19912 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19913 wxPoint
*arg2
= 0 ;
19914 long *arg3
= (long *) 0 ;
19920 int res3
= SWIG_TMPOBJ
;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 char * kwnames
[] = {
19924 (char *) "self",(char *) "pt", NULL
19928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19930 if (!SWIG_IsOK(res1
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19933 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= SWIG_From_int(static_cast< int >(result
));
19945 if (SWIG_IsTmpObj(res3
)) {
19946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
19948 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
19957 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
= 0;
19959 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19960 SwigValueWrapper
<wxVisualAttributes
> result
;
19963 PyObject
* obj0
= 0 ;
19964 char * kwnames
[] = {
19965 (char *) "variant", NULL
19968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19971 if (!SWIG_IsOK(ecode1
)) {
19972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19974 arg1
= static_cast< wxWindowVariant
>(val1
);
19977 if (!wxPyCheckForApp()) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19990 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19993 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19994 return SWIG_Py_Void();
19997 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
= 0;
19999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20000 int arg2
= (int) 0 ;
20001 int arg3
= (int) -1 ;
20002 int arg4
= (int) -1 ;
20003 wxBookCtrlBaseEvent
*result
= 0 ;
20012 PyObject
* obj0
= 0 ;
20013 PyObject
* obj1
= 0 ;
20014 PyObject
* obj2
= 0 ;
20015 PyObject
* obj3
= 0 ;
20016 char * kwnames
[] = {
20017 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20022 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20023 if (!SWIG_IsOK(ecode1
)) {
20024 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20026 arg1
= static_cast< wxEventType
>(val1
);
20029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20030 if (!SWIG_IsOK(ecode2
)) {
20031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20033 arg2
= static_cast< int >(val2
);
20036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20037 if (!SWIG_IsOK(ecode3
)) {
20038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20040 arg3
= static_cast< int >(val3
);
20043 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20044 if (!SWIG_IsOK(ecode4
)) {
20045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20047 arg4
= static_cast< int >(val4
);
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20062 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20063 PyObject
*resultobj
= 0;
20064 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20068 PyObject
*swig_obj
[1] ;
20070 if (!args
) SWIG_fail
;
20071 swig_obj
[0] = args
;
20072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20073 if (!SWIG_IsOK(res1
)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20076 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= SWIG_From_int(static_cast< int >(result
));
20090 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
= 0;
20092 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 char * kwnames
[] = {
20101 (char *) "self",(char *) "nSel", NULL
20104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20106 if (!SWIG_IsOK(res1
)) {
20107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20109 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20111 if (!SWIG_IsOK(ecode2
)) {
20112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20114 arg2
= static_cast< int >(val2
);
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 (arg1
)->SetSelection(arg2
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 resultobj
= SWIG_Py_Void();
20128 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20129 PyObject
*resultobj
= 0;
20130 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20134 PyObject
*swig_obj
[1] ;
20136 if (!args
) SWIG_fail
;
20137 swig_obj
[0] = args
;
20138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20139 if (!SWIG_IsOK(res1
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20142 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_From_int(static_cast< int >(result
));
20156 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= 0;
20158 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 char * kwnames
[] = {
20167 (char *) "self",(char *) "nOldSel", NULL
20170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20172 if (!SWIG_IsOK(res1
)) {
20173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20175 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20177 if (!SWIG_IsOK(ecode2
)) {
20178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20180 arg2
= static_cast< int >(val2
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->SetOldSelection(arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_Py_Void();
20194 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20197 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20198 return SWIG_Py_Void();
20201 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20202 return SWIG_Python_InitShadowInstance(args
);
20205 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
= 0;
20207 wxWindow
*arg1
= (wxWindow
*) 0 ;
20208 int arg2
= (int) -1 ;
20209 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20210 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20211 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20212 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20213 long arg5
= (long) 0 ;
20214 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20215 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20216 wxNotebook
*result
= 0 ;
20225 bool temp6
= false ;
20226 PyObject
* obj0
= 0 ;
20227 PyObject
* obj1
= 0 ;
20228 PyObject
* obj2
= 0 ;
20229 PyObject
* obj3
= 0 ;
20230 PyObject
* obj4
= 0 ;
20231 PyObject
* obj5
= 0 ;
20232 char * kwnames
[] = {
20233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20241 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20244 if (!SWIG_IsOK(ecode2
)) {
20245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20247 arg2
= static_cast< int >(val2
);
20252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20258 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20262 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20263 if (!SWIG_IsOK(ecode5
)) {
20264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20266 arg5
= static_cast< long >(val5
);
20270 arg6
= wxString_in_helper(obj5
);
20271 if (arg6
== NULL
) SWIG_fail
;
20276 if (!wxPyCheckForApp()) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20297 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20298 PyObject
*resultobj
= 0;
20299 wxNotebook
*result
= 0 ;
20301 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20303 if (!wxPyCheckForApp()) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (wxNotebook
*)new wxNotebook();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20316 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
= 0;
20318 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20319 wxWindow
*arg2
= (wxWindow
*) 0 ;
20320 int arg3
= (int) -1 ;
20321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20325 long arg6
= (long) 0 ;
20326 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20339 bool temp7
= false ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 PyObject
* obj2
= 0 ;
20343 PyObject
* obj3
= 0 ;
20344 PyObject
* obj4
= 0 ;
20345 PyObject
* obj5
= 0 ;
20346 PyObject
* obj6
= 0 ;
20347 char * kwnames
[] = {
20348 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20353 if (!SWIG_IsOK(res1
)) {
20354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20356 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20358 if (!SWIG_IsOK(res2
)) {
20359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20364 if (!SWIG_IsOK(ecode3
)) {
20365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20367 arg3
= static_cast< int >(val3
);
20372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20382 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20383 if (!SWIG_IsOK(ecode6
)) {
20384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20386 arg6
= static_cast< long >(val6
);
20390 arg7
= wxString_in_helper(obj6
);
20391 if (arg7
== NULL
) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20419 PyObject
*resultobj
= 0;
20420 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20424 PyObject
*swig_obj
[1] ;
20426 if (!args
) SWIG_fail
;
20427 swig_obj
[0] = args
;
20428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20429 if (!SWIG_IsOK(res1
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20432 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_From_int(static_cast< int >(result
));
20446 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
= 0;
20448 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 char * kwnames
[] = {
20456 (char *) "self",(char *) "padding", NULL
20459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20461 if (!SWIG_IsOK(res1
)) {
20462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20464 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= SWIG_Py_Void();
20482 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20483 PyObject
*resultobj
= 0;
20484 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 char * kwnames
[] = {
20492 (char *) "self",(char *) "sz", NULL
20495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20497 if (!SWIG_IsOK(res1
)) {
20498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20500 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_Py_Void();
20518 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20519 PyObject
*resultobj
= 0;
20520 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20524 PyObject
*swig_obj
[1] ;
20526 if (!args
) SWIG_fail
;
20527 swig_obj
[0] = args
;
20528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20529 if (!SWIG_IsOK(res1
)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20532 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20546 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
= 0;
20548 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20549 SwigValueWrapper
<wxVisualAttributes
> result
;
20552 PyObject
* obj0
= 0 ;
20553 char * kwnames
[] = {
20554 (char *) "variant", NULL
20557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20559 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20560 if (!SWIG_IsOK(ecode1
)) {
20561 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20563 arg1
= static_cast< wxWindowVariant
>(val1
);
20566 if (!wxPyCheckForApp()) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20579 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20582 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20583 return SWIG_Py_Void();
20586 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20587 return SWIG_Python_InitShadowInstance(args
);
20590 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
= 0;
20592 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20593 int arg2
= (int) 0 ;
20594 int arg3
= (int) -1 ;
20595 int arg4
= (int) -1 ;
20596 wxNotebookEvent
*result
= 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 PyObject
* obj2
= 0 ;
20608 PyObject
* obj3
= 0 ;
20609 char * kwnames
[] = {
20610 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20615 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20616 if (!SWIG_IsOK(ecode1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20619 arg1
= static_cast< wxEventType
>(val1
);
20622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20623 if (!SWIG_IsOK(ecode2
)) {
20624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20626 arg2
= static_cast< int >(val2
);
20629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20630 if (!SWIG_IsOK(ecode3
)) {
20631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20633 arg3
= static_cast< int >(val3
);
20636 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20637 if (!SWIG_IsOK(ecode4
)) {
20638 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20640 arg4
= static_cast< int >(val4
);
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20655 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20658 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20659 return SWIG_Py_Void();
20662 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20663 return SWIG_Python_InitShadowInstance(args
);
20666 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
= 0;
20668 wxWindow
*arg1
= (wxWindow
*) 0 ;
20669 int arg2
= (int) -1 ;
20670 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20671 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20672 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20673 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20674 long arg5
= (long) 0 ;
20675 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20676 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20677 wxListbook
*result
= 0 ;
20686 bool temp6
= false ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 PyObject
* obj2
= 0 ;
20690 PyObject
* obj3
= 0 ;
20691 PyObject
* obj4
= 0 ;
20692 PyObject
* obj5
= 0 ;
20693 char * kwnames
[] = {
20694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20699 if (!SWIG_IsOK(res1
)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20702 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20705 if (!SWIG_IsOK(ecode2
)) {
20706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20708 arg2
= static_cast< int >(val2
);
20713 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20719 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20723 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20724 if (!SWIG_IsOK(ecode5
)) {
20725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20727 arg5
= static_cast< long >(val5
);
20731 arg6
= wxString_in_helper(obj5
);
20732 if (arg6
== NULL
) SWIG_fail
;
20737 if (!wxPyCheckForApp()) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20758 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20759 PyObject
*resultobj
= 0;
20760 wxListbook
*result
= 0 ;
20762 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20764 if (!wxPyCheckForApp()) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (wxListbook
*)new wxListbook();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20777 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
= 0;
20779 wxListbook
*arg1
= (wxListbook
*) 0 ;
20780 wxWindow
*arg2
= (wxWindow
*) 0 ;
20781 int arg3
= (int) -1 ;
20782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20786 long arg6
= (long) 0 ;
20787 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20788 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20800 bool temp7
= false ;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 PyObject
* obj2
= 0 ;
20804 PyObject
* obj3
= 0 ;
20805 PyObject
* obj4
= 0 ;
20806 PyObject
* obj5
= 0 ;
20807 PyObject
* obj6
= 0 ;
20808 char * kwnames
[] = {
20809 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20814 if (!SWIG_IsOK(res1
)) {
20815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20817 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20819 if (!SWIG_IsOK(res2
)) {
20820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20822 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20825 if (!SWIG_IsOK(ecode3
)) {
20826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20828 arg3
= static_cast< int >(val3
);
20833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20839 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20843 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20844 if (!SWIG_IsOK(ecode6
)) {
20845 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20847 arg6
= static_cast< long >(val6
);
20851 arg7
= wxString_in_helper(obj6
);
20852 if (arg7
== NULL
) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20879 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20880 PyObject
*resultobj
= 0;
20881 wxListbook
*arg1
= (wxListbook
*) 0 ;
20882 wxListView
*result
= 0 ;
20885 PyObject
*swig_obj
[1] ;
20887 if (!args
) SWIG_fail
;
20888 swig_obj
[0] = args
;
20889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20890 if (!SWIG_IsOK(res1
)) {
20891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20893 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= (wxListView
*)(arg1
)->GetListView();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20907 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20910 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20911 return SWIG_Py_Void();
20914 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20915 return SWIG_Python_InitShadowInstance(args
);
20918 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
= 0;
20920 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20921 int arg2
= (int) 0 ;
20922 int arg3
= (int) -1 ;
20923 int arg4
= (int) -1 ;
20924 wxListbookEvent
*result
= 0 ;
20933 PyObject
* obj0
= 0 ;
20934 PyObject
* obj1
= 0 ;
20935 PyObject
* obj2
= 0 ;
20936 PyObject
* obj3
= 0 ;
20937 char * kwnames
[] = {
20938 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20944 if (!SWIG_IsOK(ecode1
)) {
20945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20947 arg1
= static_cast< wxEventType
>(val1
);
20950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20951 if (!SWIG_IsOK(ecode2
)) {
20952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20954 arg2
= static_cast< int >(val2
);
20957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20958 if (!SWIG_IsOK(ecode3
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20961 arg3
= static_cast< int >(val3
);
20964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20965 if (!SWIG_IsOK(ecode4
)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20968 arg4
= static_cast< int >(val4
);
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20983 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20986 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20987 return SWIG_Py_Void();
20990 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20991 return SWIG_Python_InitShadowInstance(args
);
20994 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
= 0;
20996 wxWindow
*arg1
= (wxWindow
*) 0 ;
20998 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20999 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21000 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21001 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21002 long arg5
= (long) 0 ;
21003 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21004 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21005 wxChoicebook
*result
= 0 ;
21014 bool temp6
= false ;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 PyObject
* obj2
= 0 ;
21018 PyObject
* obj3
= 0 ;
21019 PyObject
* obj4
= 0 ;
21020 PyObject
* obj5
= 0 ;
21021 char * kwnames
[] = {
21022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21027 if (!SWIG_IsOK(res1
)) {
21028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21032 if (!SWIG_IsOK(ecode2
)) {
21033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21035 arg2
= static_cast< int >(val2
);
21039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21045 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21049 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21050 if (!SWIG_IsOK(ecode5
)) {
21051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21053 arg5
= static_cast< long >(val5
);
21057 arg6
= wxString_in_helper(obj5
);
21058 if (arg6
== NULL
) SWIG_fail
;
21063 if (!wxPyCheckForApp()) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21084 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21085 PyObject
*resultobj
= 0;
21086 wxChoicebook
*result
= 0 ;
21088 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21090 if (!wxPyCheckForApp()) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (wxChoicebook
*)new wxChoicebook();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21103 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
= 0;
21105 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21106 wxWindow
*arg2
= (wxWindow
*) 0 ;
21108 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21109 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21110 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21111 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21112 long arg6
= (long) 0 ;
21113 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21114 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21126 bool temp7
= false ;
21127 PyObject
* obj0
= 0 ;
21128 PyObject
* obj1
= 0 ;
21129 PyObject
* obj2
= 0 ;
21130 PyObject
* obj3
= 0 ;
21131 PyObject
* obj4
= 0 ;
21132 PyObject
* obj5
= 0 ;
21133 PyObject
* obj6
= 0 ;
21134 char * kwnames
[] = {
21135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21140 if (!SWIG_IsOK(res1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21143 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21145 if (!SWIG_IsOK(res2
)) {
21146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21150 if (!SWIG_IsOK(ecode3
)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21153 arg3
= static_cast< int >(val3
);
21157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21168 if (!SWIG_IsOK(ecode6
)) {
21169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21171 arg6
= static_cast< long >(val6
);
21175 arg7
= wxString_in_helper(obj6
);
21176 if (arg7
== NULL
) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21203 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21204 PyObject
*resultobj
= 0;
21205 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21206 wxChoice
*result
= 0 ;
21209 PyObject
*swig_obj
[1] ;
21211 if (!args
) SWIG_fail
;
21212 swig_obj
[0] = args
;
21213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21214 if (!SWIG_IsOK(res1
)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21217 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21231 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21234 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21235 return SWIG_Py_Void();
21238 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21239 return SWIG_Python_InitShadowInstance(args
);
21242 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
= 0;
21244 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21245 int arg2
= (int) 0 ;
21246 int arg3
= (int) -1 ;
21247 int arg4
= (int) -1 ;
21248 wxChoicebookEvent
*result
= 0 ;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 PyObject
* obj2
= 0 ;
21260 PyObject
* obj3
= 0 ;
21261 char * kwnames
[] = {
21262 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21267 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21268 if (!SWIG_IsOK(ecode1
)) {
21269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21271 arg1
= static_cast< wxEventType
>(val1
);
21274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21275 if (!SWIG_IsOK(ecode2
)) {
21276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21278 arg2
= static_cast< int >(val2
);
21281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21282 if (!SWIG_IsOK(ecode3
)) {
21283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21285 arg3
= static_cast< int >(val3
);
21288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21289 if (!SWIG_IsOK(ecode4
)) {
21290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21292 arg4
= static_cast< int >(val4
);
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21307 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21310 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21311 return SWIG_Py_Void();
21314 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21315 return SWIG_Python_InitShadowInstance(args
);
21318 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
= 0;
21320 wxWindow
*arg1
= (wxWindow
*) 0 ;
21322 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21323 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21324 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21325 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21326 long arg5
= (long) wxBK_DEFAULT
;
21327 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21328 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21329 wxTreebook
*result
= 0 ;
21338 bool temp6
= false ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 PyObject
* obj2
= 0 ;
21342 PyObject
* obj3
= 0 ;
21343 PyObject
* obj4
= 0 ;
21344 PyObject
* obj5
= 0 ;
21345 char * kwnames
[] = {
21346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21351 if (!SWIG_IsOK(res1
)) {
21352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21356 if (!SWIG_IsOK(ecode2
)) {
21357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21359 arg2
= static_cast< int >(val2
);
21363 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21369 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21373 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21374 if (!SWIG_IsOK(ecode5
)) {
21375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21377 arg5
= static_cast< long >(val5
);
21381 arg6
= wxString_in_helper(obj5
);
21382 if (arg6
== NULL
) SWIG_fail
;
21387 if (!wxPyCheckForApp()) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21408 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21409 PyObject
*resultobj
= 0;
21410 wxTreebook
*result
= 0 ;
21412 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21414 if (!wxPyCheckForApp()) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (wxTreebook
*)new wxTreebook();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21427 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
= 0;
21429 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21430 wxWindow
*arg2
= (wxWindow
*) 0 ;
21432 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21433 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21434 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21435 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21436 long arg6
= (long) wxBK_DEFAULT
;
21437 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21438 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21450 bool temp7
= false ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 PyObject
* obj2
= 0 ;
21454 PyObject
* obj3
= 0 ;
21455 PyObject
* obj4
= 0 ;
21456 PyObject
* obj5
= 0 ;
21457 PyObject
* obj6
= 0 ;
21458 char * kwnames
[] = {
21459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21467 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21469 if (!SWIG_IsOK(res2
)) {
21470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21472 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21474 if (!SWIG_IsOK(ecode3
)) {
21475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21477 arg3
= static_cast< int >(val3
);
21481 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21487 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21491 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21492 if (!SWIG_IsOK(ecode6
)) {
21493 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21495 arg6
= static_cast< long >(val6
);
21499 arg7
= wxString_in_helper(obj6
);
21500 if (arg7
== NULL
) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21527 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
= 0;
21529 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21531 wxWindow
*arg3
= (wxWindow
*) 0 ;
21532 wxString
*arg4
= 0 ;
21533 bool arg5
= (bool) false ;
21534 int arg6
= (int) wxNOT_FOUND
;
21542 bool temp4
= false ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 PyObject
* obj2
= 0 ;
21550 PyObject
* obj3
= 0 ;
21551 PyObject
* obj4
= 0 ;
21552 PyObject
* obj5
= 0 ;
21553 char * kwnames
[] = {
21554 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21562 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21563 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21564 if (!SWIG_IsOK(ecode2
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21567 arg2
= static_cast< size_t >(val2
);
21568 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21569 if (!SWIG_IsOK(res3
)) {
21570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21572 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21574 arg4
= wxString_in_helper(obj3
);
21575 if (arg4
== NULL
) SWIG_fail
;
21579 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21580 if (!SWIG_IsOK(ecode5
)) {
21581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21583 arg5
= static_cast< bool >(val5
);
21586 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21587 if (!SWIG_IsOK(ecode6
)) {
21588 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21590 arg6
= static_cast< int >(val6
);
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21615 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
= 0;
21617 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21618 wxWindow
*arg2
= (wxWindow
*) 0 ;
21619 wxString
*arg3
= 0 ;
21620 bool arg4
= (bool) false ;
21621 int arg5
= (int) wxNOT_FOUND
;
21627 bool temp3
= false ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 PyObject
* obj2
= 0 ;
21635 PyObject
* obj3
= 0 ;
21636 PyObject
* obj4
= 0 ;
21637 char * kwnames
[] = {
21638 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21643 if (!SWIG_IsOK(res1
)) {
21644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21646 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21648 if (!SWIG_IsOK(res2
)) {
21649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21653 arg3
= wxString_in_helper(obj2
);
21654 if (arg3
== NULL
) SWIG_fail
;
21658 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21659 if (!SWIG_IsOK(ecode4
)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21662 arg4
= static_cast< bool >(val4
);
21665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21666 if (!SWIG_IsOK(ecode5
)) {
21667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21669 arg5
= static_cast< int >(val5
);
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21694 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
= 0;
21696 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 char * kwnames
[] = {
21706 (char *) "self",(char *) "pos", NULL
21709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21711 if (!SWIG_IsOK(res1
)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21714 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21715 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21716 if (!SWIG_IsOK(ecode2
)) {
21717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21719 arg2
= static_cast< size_t >(val2
);
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21735 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
= 0;
21737 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21739 bool arg3
= (bool) true ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 PyObject
* obj2
= 0 ;
21750 char * kwnames
[] = {
21751 (char *) "self",(char *) "pos",(char *) "expand", NULL
21754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21756 if (!SWIG_IsOK(res1
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21759 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21760 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21761 if (!SWIG_IsOK(ecode2
)) {
21762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21764 arg2
= static_cast< size_t >(val2
);
21766 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21767 if (!SWIG_IsOK(ecode3
)) {
21768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21770 arg3
= static_cast< bool >(val3
);
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21787 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
= 0;
21789 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char * kwnames
[] = {
21799 (char *) "self",(char *) "pos", NULL
21802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21807 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21808 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21809 if (!SWIG_IsOK(ecode2
)) {
21810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21812 arg2
= static_cast< size_t >(val2
);
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (bool)(arg1
)->CollapseNode(arg2
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21828 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
= 0;
21830 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char * kwnames
[] = {
21840 (char *) "self",(char *) "pos", NULL
21843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21845 if (!SWIG_IsOK(res1
)) {
21846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21848 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21849 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21850 if (!SWIG_IsOK(ecode2
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21853 arg2
= static_cast< size_t >(val2
);
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 resultobj
= SWIG_From_int(static_cast< int >(result
));
21867 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21868 PyObject
*resultobj
= 0;
21869 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21870 wxTreeCtrl
*result
= 0 ;
21873 PyObject
*swig_obj
[1] ;
21875 if (!args
) SWIG_fail
;
21876 swig_obj
[0] = args
;
21877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21881 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21895 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21898 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21899 return SWIG_Py_Void();
21902 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21903 return SWIG_Python_InitShadowInstance(args
);
21906 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
= 0;
21908 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21909 int arg2
= (int) 0 ;
21910 int arg3
= (int) wxNOT_FOUND
;
21911 int arg4
= (int) wxNOT_FOUND
;
21912 wxTreebookEvent
*result
= 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 PyObject
* obj3
= 0 ;
21925 char * kwnames
[] = {
21926 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21931 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21932 if (!SWIG_IsOK(ecode1
)) {
21933 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21935 arg1
= static_cast< wxEventType
>(val1
);
21938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21939 if (!SWIG_IsOK(ecode2
)) {
21940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21942 arg2
= static_cast< int >(val2
);
21945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21946 if (!SWIG_IsOK(ecode3
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21949 arg3
= static_cast< int >(val3
);
21952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21953 if (!SWIG_IsOK(ecode4
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21956 arg4
= static_cast< int >(val4
);
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21971 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21974 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21975 return SWIG_Py_Void();
21978 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21979 return SWIG_Python_InitShadowInstance(args
);
21982 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
= 0;
21984 wxWindow
*arg1
= (wxWindow
*) 0 ;
21986 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21987 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21988 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21989 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21990 long arg5
= (long) wxBK_DEFAULT
;
21991 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21992 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21993 wxToolbook
*result
= 0 ;
22002 bool temp6
= false ;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 PyObject
* obj2
= 0 ;
22006 PyObject
* obj3
= 0 ;
22007 PyObject
* obj4
= 0 ;
22008 PyObject
* obj5
= 0 ;
22009 char * kwnames
[] = {
22010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22018 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22020 if (!SWIG_IsOK(ecode2
)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22023 arg2
= static_cast< int >(val2
);
22027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22033 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22037 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22038 if (!SWIG_IsOK(ecode5
)) {
22039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22041 arg5
= static_cast< long >(val5
);
22045 arg6
= wxString_in_helper(obj5
);
22046 if (arg6
== NULL
) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22071 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22072 PyObject
*resultobj
= 0;
22073 wxToolbook
*result
= 0 ;
22075 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (wxToolbook
*)new wxToolbook();
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22089 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
= 0;
22091 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22092 wxWindow
*arg2
= (wxWindow
*) 0 ;
22094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22098 long arg6
= (long) 0 ;
22099 wxString
const &arg7_defvalue
= wxEmptyString
;
22100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22112 bool temp7
= false ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 PyObject
* obj2
= 0 ;
22116 PyObject
* obj3
= 0 ;
22117 PyObject
* obj4
= 0 ;
22118 PyObject
* obj5
= 0 ;
22119 PyObject
* obj6
= 0 ;
22120 char * kwnames
[] = {
22121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22126 if (!SWIG_IsOK(res1
)) {
22127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22129 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22131 if (!SWIG_IsOK(res2
)) {
22132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22136 if (!SWIG_IsOK(ecode3
)) {
22137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22139 arg3
= static_cast< int >(val3
);
22143 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22149 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22153 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22154 if (!SWIG_IsOK(ecode6
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22157 arg6
= static_cast< long >(val6
);
22161 arg7
= wxString_in_helper(obj6
);
22162 if (arg7
== NULL
) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22189 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22190 PyObject
*resultobj
= 0;
22191 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22192 wxToolBarBase
*result
= 0 ;
22195 PyObject
*swig_obj
[1] ;
22197 if (!args
) SWIG_fail
;
22198 swig_obj
[0] = args
;
22199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22200 if (!SWIG_IsOK(res1
)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22203 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22219 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22220 PyObject
*resultobj
= 0;
22221 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22224 PyObject
*swig_obj
[1] ;
22226 if (!args
) SWIG_fail
;
22227 swig_obj
[0] = args
;
22228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22229 if (!SWIG_IsOK(res1
)) {
22230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22232 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_Py_Void();
22246 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22249 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22250 return SWIG_Py_Void();
22253 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22254 return SWIG_Python_InitShadowInstance(args
);
22257 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
= 0;
22259 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22260 int arg2
= (int) 0 ;
22261 int arg3
= (int) wxNOT_FOUND
;
22262 int arg4
= (int) wxNOT_FOUND
;
22263 wxToolbookEvent
*result
= 0 ;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 PyObject
* obj2
= 0 ;
22275 PyObject
* obj3
= 0 ;
22276 char * kwnames
[] = {
22277 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22283 if (!SWIG_IsOK(ecode1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22286 arg1
= static_cast< wxEventType
>(val1
);
22289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22290 if (!SWIG_IsOK(ecode2
)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22293 arg2
= static_cast< int >(val2
);
22296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22297 if (!SWIG_IsOK(ecode3
)) {
22298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22300 arg3
= static_cast< int >(val3
);
22303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22304 if (!SWIG_IsOK(ecode4
)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22307 arg4
= static_cast< int >(val4
);
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22322 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22325 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22326 return SWIG_Py_Void();
22329 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22330 return SWIG_Python_InitShadowInstance(args
);
22333 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22334 PyObject
*resultobj
= 0;
22335 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22339 PyObject
*swig_obj
[1] ;
22341 if (!args
) SWIG_fail
;
22342 swig_obj
[0] = args
;
22343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22347 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (int)(arg1
)->GetId();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_From_int(static_cast< int >(result
));
22361 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22362 PyObject
*resultobj
= 0;
22363 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22364 wxControl
*result
= 0 ;
22367 PyObject
*swig_obj
[1] ;
22369 if (!args
) SWIG_fail
;
22370 swig_obj
[0] = args
;
22371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22375 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxControl
*)(arg1
)->GetControl();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= wxPyMake_wxObject(result
, 0);
22391 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22392 PyObject
*resultobj
= 0;
22393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22394 wxToolBarBase
*result
= 0 ;
22397 PyObject
*swig_obj
[1] ;
22399 if (!args
) SWIG_fail
;
22400 swig_obj
[0] = args
;
22401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22405 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22421 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22422 PyObject
*resultobj
= 0;
22423 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22427 PyObject
*swig_obj
[1] ;
22429 if (!args
) SWIG_fail
;
22430 swig_obj
[0] = args
;
22431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22432 if (!SWIG_IsOK(res1
)) {
22433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22435 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (int)(arg1
)->IsButton();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_From_int(static_cast< int >(result
));
22449 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22450 PyObject
*resultobj
= 0;
22451 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22455 PyObject
*swig_obj
[1] ;
22457 if (!args
) SWIG_fail
;
22458 swig_obj
[0] = args
;
22459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22463 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (int)(arg1
)->IsControl();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_From_int(static_cast< int >(result
));
22477 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 PyObject
*resultobj
= 0;
22479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22483 PyObject
*swig_obj
[1] ;
22485 if (!args
) SWIG_fail
;
22486 swig_obj
[0] = args
;
22487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22491 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (int)(arg1
)->IsSeparator();
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_From_int(static_cast< int >(result
));
22505 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22506 PyObject
*resultobj
= 0;
22507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22511 PyObject
*swig_obj
[1] ;
22513 if (!args
) SWIG_fail
;
22514 swig_obj
[0] = args
;
22515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22516 if (!SWIG_IsOK(res1
)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22519 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (int)(arg1
)->GetStyle();
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_From_int(static_cast< int >(result
));
22533 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22534 PyObject
*resultobj
= 0;
22535 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22539 PyObject
*swig_obj
[1] ;
22541 if (!args
) SWIG_fail
;
22542 swig_obj
[0] = args
;
22543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22544 if (!SWIG_IsOK(res1
)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22547 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= (wxItemKind
)(arg1
)->GetKind();
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= SWIG_From_int(static_cast< int >(result
));
22561 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22562 PyObject
*resultobj
= 0;
22563 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22567 PyObject
*swig_obj
[1] ;
22569 if (!args
) SWIG_fail
;
22570 swig_obj
[0] = args
;
22571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22575 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (bool)(arg1
)->IsEnabled();
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22591 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 PyObject
*resultobj
= 0;
22593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22597 PyObject
*swig_obj
[1] ;
22599 if (!args
) SWIG_fail
;
22600 swig_obj
[0] = args
;
22601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22605 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (bool)(arg1
)->IsToggled();
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22621 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22622 PyObject
*resultobj
= 0;
22623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22627 PyObject
*swig_obj
[1] ;
22629 if (!args
) SWIG_fail
;
22630 swig_obj
[0] = args
;
22631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22635 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= (bool)(arg1
)->CanBeToggled();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22651 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22654 wxBitmap
*result
= 0 ;
22657 PyObject
*swig_obj
[1] ;
22659 if (!args
) SWIG_fail
;
22660 swig_obj
[0] = args
;
22661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22665 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22670 result
= (wxBitmap
*) &_result_ref
;
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 wxBitmap
* resultptr
= new wxBitmap(*result
);
22677 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22685 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22686 PyObject
*resultobj
= 0;
22687 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22688 wxBitmap
*result
= 0 ;
22691 PyObject
*swig_obj
[1] ;
22693 if (!args
) SWIG_fail
;
22694 swig_obj
[0] = args
;
22695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22696 if (!SWIG_IsOK(res1
)) {
22697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22699 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22704 result
= (wxBitmap
*) &_result_ref
;
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 wxBitmap
* resultptr
= new wxBitmap(*result
);
22711 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22719 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22720 PyObject
*resultobj
= 0;
22721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22725 PyObject
*swig_obj
[1] ;
22727 if (!args
) SWIG_fail
;
22728 swig_obj
[0] = args
;
22729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22730 if (!SWIG_IsOK(res1
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22733 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (arg1
)->GetBitmap();
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22747 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22748 PyObject
*resultobj
= 0;
22749 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22753 PyObject
*swig_obj
[1] ;
22755 if (!args
) SWIG_fail
;
22756 swig_obj
[0] = args
;
22757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22761 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= (arg1
)->GetLabel();
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22781 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22782 PyObject
*resultobj
= 0;
22783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22787 PyObject
*swig_obj
[1] ;
22789 if (!args
) SWIG_fail
;
22790 swig_obj
[0] = args
;
22791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22795 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= (arg1
)->GetShortHelp();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22815 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22816 PyObject
*resultobj
= 0;
22817 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22821 PyObject
*swig_obj
[1] ;
22823 if (!args
) SWIG_fail
;
22824 swig_obj
[0] = args
;
22825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22829 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (arg1
)->GetLongHelp();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22849 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
= 0;
22851 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22858 PyObject
* obj0
= 0 ;
22859 PyObject
* obj1
= 0 ;
22860 char * kwnames
[] = {
22861 (char *) "self",(char *) "enable", NULL
22864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22866 if (!SWIG_IsOK(res1
)) {
22867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22869 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22871 if (!SWIG_IsOK(ecode2
)) {
22872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22874 arg2
= static_cast< bool >(val2
);
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (bool)(arg1
)->Enable(arg2
);
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22890 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22891 PyObject
*resultobj
= 0;
22892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22895 PyObject
*swig_obj
[1] ;
22897 if (!args
) SWIG_fail
;
22898 swig_obj
[0] = args
;
22899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22903 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_Py_Void();
22917 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
= 0;
22919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char * kwnames
[] = {
22929 (char *) "self",(char *) "toggle", NULL
22932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22934 if (!SWIG_IsOK(res1
)) {
22935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22937 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22939 if (!SWIG_IsOK(ecode2
)) {
22940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22942 arg2
= static_cast< bool >(val2
);
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 result
= (bool)(arg1
)->SetToggle(arg2
);
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22958 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
= 0;
22960 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22961 wxString
*arg2
= 0 ;
22965 bool temp2
= false ;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 char * kwnames
[] = {
22969 (char *) "self",(char *) "help", NULL
22972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22974 if (!SWIG_IsOK(res1
)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22977 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22979 arg2
= wxString_in_helper(obj1
);
22980 if (arg2
== NULL
) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22986 wxPyEndAllowThreads(__tstate
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23006 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
= 0;
23008 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23009 wxString
*arg2
= 0 ;
23013 bool temp2
= false ;
23014 PyObject
* obj0
= 0 ;
23015 PyObject
* obj1
= 0 ;
23016 char * kwnames
[] = {
23017 (char *) "self",(char *) "help", NULL
23020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23025 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23027 arg2
= wxString_in_helper(obj1
);
23028 if (arg2
== NULL
) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23054 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
= 0;
23056 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23057 wxBitmap
*arg2
= 0 ;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 char * kwnames
[] = {
23065 (char *) "self",(char *) "bmp", NULL
23068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23073 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23075 if (!SWIG_IsOK(res2
)) {
23076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23081 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_Py_Void();
23095 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
= 0;
23097 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23098 wxBitmap
*arg2
= 0 ;
23103 PyObject
* obj0
= 0 ;
23104 PyObject
* obj1
= 0 ;
23105 char * kwnames
[] = {
23106 (char *) "self",(char *) "bmp", NULL
23109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23111 if (!SWIG_IsOK(res1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23114 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23116 if (!SWIG_IsOK(res2
)) {
23117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23122 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_Py_Void();
23136 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
= 0;
23138 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23139 wxString
*arg2
= 0 ;
23142 bool temp2
= false ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char * kwnames
[] = {
23146 (char *) "self",(char *) "label", NULL
23149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23151 if (!SWIG_IsOK(res1
)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23154 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23156 arg2
= wxString_in_helper(obj1
);
23157 if (arg2
== NULL
) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 (arg1
)->SetLabel((wxString
const &)*arg2
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_Py_Void();
23181 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23182 PyObject
*resultobj
= 0;
23183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23186 PyObject
*swig_obj
[1] ;
23188 if (!args
) SWIG_fail
;
23189 swig_obj
[0] = args
;
23190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23194 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_Py_Void();
23208 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
= 0;
23210 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23211 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 PyObject
* obj1
= 0 ;
23218 char * kwnames
[] = {
23219 (char *) "self",(char *) "tbar", NULL
23222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23224 if (!SWIG_IsOK(res1
)) {
23225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23227 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23229 if (!SWIG_IsOK(res2
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23232 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->Attach(arg2
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_Py_Void();
23246 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23247 PyObject
*resultobj
= 0;
23248 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23249 PyObject
*result
= 0 ;
23252 PyObject
*swig_obj
[1] ;
23254 if (!args
) SWIG_fail
;
23255 swig_obj
[0] = args
;
23256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23257 if (!SWIG_IsOK(res1
)) {
23258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23260 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= result
;
23274 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
= 0;
23276 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23277 PyObject
*arg2
= (PyObject
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 char * kwnames
[] = {
23283 (char *) "self",(char *) "clientData", NULL
23286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23288 if (!SWIG_IsOK(res1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23291 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_Py_Void();
23306 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23309 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23310 return SWIG_Py_Void();
23313 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
= 0;
23315 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23317 wxString
*arg3
= 0 ;
23318 wxBitmap
*arg4
= 0 ;
23319 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23320 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23321 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23322 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23323 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23324 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23325 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23326 PyObject
*arg9
= (PyObject
*) NULL
;
23327 wxToolBarToolBase
*result
= 0 ;
23332 bool temp3
= false ;
23339 bool temp7
= false ;
23340 bool temp8
= false ;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 PyObject
* obj2
= 0 ;
23344 PyObject
* obj3
= 0 ;
23345 PyObject
* obj4
= 0 ;
23346 PyObject
* obj5
= 0 ;
23347 PyObject
* obj6
= 0 ;
23348 PyObject
* obj7
= 0 ;
23349 PyObject
* obj8
= 0 ;
23350 char * kwnames
[] = {
23351 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23359 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23361 if (!SWIG_IsOK(ecode2
)) {
23362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23364 arg2
= static_cast< int >(val2
);
23366 arg3
= wxString_in_helper(obj2
);
23367 if (arg3
== NULL
) SWIG_fail
;
23370 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23371 if (!SWIG_IsOK(res4
)) {
23372 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23377 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23379 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23380 if (!SWIG_IsOK(res5
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23386 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23389 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23390 if (!SWIG_IsOK(ecode6
)) {
23391 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23393 arg6
= static_cast< wxItemKind
>(val6
);
23397 arg7
= wxString_in_helper(obj6
);
23398 if (arg7
== NULL
) SWIG_fail
;
23404 arg8
= wxString_in_helper(obj7
);
23405 if (arg8
== NULL
) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23451 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
= 0;
23453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23456 wxString
*arg4
= 0 ;
23457 wxBitmap
*arg5
= 0 ;
23458 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23459 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23460 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23461 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23463 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23464 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23465 PyObject
*arg10
= (PyObject
*) NULL
;
23466 wxToolBarToolBase
*result
= 0 ;
23473 bool temp4
= false ;
23480 bool temp8
= false ;
23481 bool temp9
= false ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 PyObject
* obj2
= 0 ;
23485 PyObject
* obj3
= 0 ;
23486 PyObject
* obj4
= 0 ;
23487 PyObject
* obj5
= 0 ;
23488 PyObject
* obj6
= 0 ;
23489 PyObject
* obj7
= 0 ;
23490 PyObject
* obj8
= 0 ;
23491 PyObject
* obj9
= 0 ;
23492 char * kwnames
[] = {
23493 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23498 if (!SWIG_IsOK(res1
)) {
23499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23501 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23502 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23503 if (!SWIG_IsOK(ecode2
)) {
23504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23506 arg2
= static_cast< size_t >(val2
);
23507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23508 if (!SWIG_IsOK(ecode3
)) {
23509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23511 arg3
= static_cast< int >(val3
);
23513 arg4
= wxString_in_helper(obj3
);
23514 if (arg4
== NULL
) SWIG_fail
;
23517 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23518 if (!SWIG_IsOK(res5
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23524 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23526 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23527 if (!SWIG_IsOK(res6
)) {
23528 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23533 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23536 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23537 if (!SWIG_IsOK(ecode7
)) {
23538 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23540 arg7
= static_cast< wxItemKind
>(val7
);
23544 arg8
= wxString_in_helper(obj7
);
23545 if (arg8
== NULL
) SWIG_fail
;
23551 arg9
= wxString_in_helper(obj8
);
23552 if (arg9
== NULL
) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23598 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
= 0;
23600 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23601 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23602 wxToolBarToolBase
*result
= 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char * kwnames
[] = {
23610 (char *) "self",(char *) "tool", NULL
23613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23615 if (!SWIG_IsOK(res1
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23618 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23620 if (!SWIG_IsOK(res2
)) {
23621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23623 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23639 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
= 0;
23641 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23643 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23644 wxToolBarToolBase
*result
= 0 ;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 PyObject
* obj2
= 0 ;
23654 char * kwnames
[] = {
23655 (char *) "self",(char *) "pos",(char *) "tool", NULL
23658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23660 if (!SWIG_IsOK(res1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23663 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23664 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23665 if (!SWIG_IsOK(ecode2
)) {
23666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23668 arg2
= static_cast< size_t >(val2
);
23669 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23670 if (!SWIG_IsOK(res3
)) {
23671 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23673 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23689 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
= 0;
23691 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23692 wxControl
*arg2
= (wxControl
*) 0 ;
23693 wxToolBarToolBase
*result
= 0 ;
23698 PyObject
* obj0
= 0 ;
23699 PyObject
* obj1
= 0 ;
23700 char * kwnames
[] = {
23701 (char *) "self",(char *) "control", NULL
23704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23706 if (!SWIG_IsOK(res1
)) {
23707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23709 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23711 if (!SWIG_IsOK(res2
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23714 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23730 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
= 0;
23732 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23734 wxControl
*arg3
= (wxControl
*) 0 ;
23735 wxToolBarToolBase
*result
= 0 ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 PyObject
* obj2
= 0 ;
23745 char * kwnames
[] = {
23746 (char *) "self",(char *) "pos",(char *) "control", NULL
23749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23751 if (!SWIG_IsOK(res1
)) {
23752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23754 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23755 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23756 if (!SWIG_IsOK(ecode2
)) {
23757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23759 arg2
= static_cast< size_t >(val2
);
23760 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23761 if (!SWIG_IsOK(res3
)) {
23762 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23764 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23780 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
= 0;
23782 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23784 wxControl
*result
= 0 ;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char * kwnames
[] = {
23792 (char *) "self",(char *) "id", NULL
23795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23797 if (!SWIG_IsOK(res1
)) {
23798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23800 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23802 if (!SWIG_IsOK(ecode2
)) {
23803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23805 arg2
= static_cast< int >(val2
);
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= wxPyMake_wxObject(result
, 0);
23821 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23822 PyObject
*resultobj
= 0;
23823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23824 wxToolBarToolBase
*result
= 0 ;
23827 PyObject
*swig_obj
[1] ;
23829 if (!args
) SWIG_fail
;
23830 swig_obj
[0] = args
;
23831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23832 if (!SWIG_IsOK(res1
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23835 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23851 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
= 0;
23853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23855 wxToolBarToolBase
*result
= 0 ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char * kwnames
[] = {
23863 (char *) "self",(char *) "pos", NULL
23866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",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_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23871 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23872 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23873 if (!SWIG_IsOK(ecode2
)) {
23874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23876 arg2
= static_cast< size_t >(val2
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23892 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
= 0;
23894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23896 wxToolBarToolBase
*result
= 0 ;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 char * kwnames
[] = {
23904 (char *) "self",(char *) "id", NULL
23907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23909 if (!SWIG_IsOK(res1
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23912 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23914 if (!SWIG_IsOK(ecode2
)) {
23915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23917 arg2
= static_cast< int >(val2
);
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23933 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
= 0;
23935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char * kwnames
[] = {
23945 (char *) "self",(char *) "pos", NULL
23948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23953 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23954 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23955 if (!SWIG_IsOK(ecode2
)) {
23956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23958 arg2
= static_cast< size_t >(val2
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23974 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
= 0;
23976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 char * kwnames
[] = {
23986 (char *) "self",(char *) "id", NULL
23989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23991 if (!SWIG_IsOK(res1
)) {
23992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23994 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23996 if (!SWIG_IsOK(ecode2
)) {
23997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23999 arg2
= static_cast< int >(val2
);
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 result
= (bool)(arg1
)->DeleteTool(arg2
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24015 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24016 PyObject
*resultobj
= 0;
24017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24020 PyObject
*swig_obj
[1] ;
24022 if (!args
) SWIG_fail
;
24023 swig_obj
[0] = args
;
24024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24028 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 (arg1
)->ClearTools();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= SWIG_Py_Void();
24042 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24043 PyObject
*resultobj
= 0;
24044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24048 PyObject
*swig_obj
[1] ;
24050 if (!args
) SWIG_fail
;
24051 swig_obj
[0] = args
;
24052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24056 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (bool)(arg1
)->Realize();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24072 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
= 0;
24074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 PyObject
* obj2
= 0 ;
24086 char * kwnames
[] = {
24087 (char *) "self",(char *) "id",(char *) "enable", NULL
24090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24092 if (!SWIG_IsOK(res1
)) {
24093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24095 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24097 if (!SWIG_IsOK(ecode2
)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24100 arg2
= static_cast< int >(val2
);
24101 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24102 if (!SWIG_IsOK(ecode3
)) {
24103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24105 arg3
= static_cast< bool >(val3
);
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 (arg1
)->EnableTool(arg2
,arg3
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_Py_Void();
24119 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
= 0;
24121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 PyObject
* obj2
= 0 ;
24133 char * kwnames
[] = {
24134 (char *) "self",(char *) "id",(char *) "toggle", NULL
24137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24139 if (!SWIG_IsOK(res1
)) {
24140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24142 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24144 if (!SWIG_IsOK(ecode2
)) {
24145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24147 arg2
= static_cast< int >(val2
);
24148 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24149 if (!SWIG_IsOK(ecode3
)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24152 arg3
= static_cast< bool >(val3
);
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 (arg1
)->ToggleTool(arg2
,arg3
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= SWIG_Py_Void();
24166 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
= 0;
24168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 PyObject
* obj2
= 0 ;
24180 char * kwnames
[] = {
24181 (char *) "self",(char *) "id",(char *) "toggle", NULL
24184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24186 if (!SWIG_IsOK(res1
)) {
24187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24189 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24191 if (!SWIG_IsOK(ecode2
)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24194 arg2
= static_cast< int >(val2
);
24195 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24196 if (!SWIG_IsOK(ecode3
)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24199 arg3
= static_cast< bool >(val3
);
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 (arg1
)->SetToggle(arg2
,arg3
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= SWIG_Py_Void();
24213 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
= 0;
24215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24217 PyObject
*result
= 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 char * kwnames
[] = {
24225 (char *) "self",(char *) "id", NULL
24228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24233 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24235 if (!SWIG_IsOK(ecode2
)) {
24236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24238 arg2
= static_cast< int >(val2
);
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= result
;
24252 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24256 PyObject
*arg3
= (PyObject
*) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 PyObject
* obj1
= 0 ;
24263 PyObject
* obj2
= 0 ;
24264 char * kwnames
[] = {
24265 (char *) "self",(char *) "id",(char *) "clientData", NULL
24268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24270 if (!SWIG_IsOK(res1
)) {
24271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24273 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24275 if (!SWIG_IsOK(ecode2
)) {
24276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24278 arg2
= static_cast< int >(val2
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_Py_Void();
24293 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
= 0;
24295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 char * kwnames
[] = {
24305 (char *) "self",(char *) "id", NULL
24308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24310 if (!SWIG_IsOK(res1
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24313 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24315 if (!SWIG_IsOK(ecode2
)) {
24316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24318 arg2
= static_cast< int >(val2
);
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= SWIG_From_int(static_cast< int >(result
));
24332 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
= 0;
24334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char * kwnames
[] = {
24344 (char *) "self",(char *) "id", NULL
24347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24352 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24354 if (!SWIG_IsOK(ecode2
)) {
24355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24357 arg2
= static_cast< int >(val2
);
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (bool)(arg1
)->GetToolState(arg2
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24373 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
= 0;
24375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 char * kwnames
[] = {
24385 (char *) "self",(char *) "id", NULL
24388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24393 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24395 if (!SWIG_IsOK(ecode2
)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24398 arg2
= static_cast< int >(val2
);
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24414 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= 0;
24416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24418 wxString
*arg3
= 0 ;
24423 bool temp3
= false ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 PyObject
* obj2
= 0 ;
24427 char * kwnames
[] = {
24428 (char *) "self",(char *) "id",(char *) "helpString", NULL
24431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24433 if (!SWIG_IsOK(res1
)) {
24434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24436 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24438 if (!SWIG_IsOK(ecode2
)) {
24439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24441 arg2
= static_cast< int >(val2
);
24443 arg3
= wxString_in_helper(obj2
);
24444 if (arg3
== NULL
) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= SWIG_Py_Void();
24468 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
= 0;
24470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char * kwnames
[] = {
24480 (char *) "self",(char *) "id", NULL
24483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24485 if (!SWIG_IsOK(res1
)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24488 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24490 if (!SWIG_IsOK(ecode2
)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24493 arg2
= static_cast< int >(val2
);
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (arg1
)->GetToolShortHelp(arg2
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24513 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
= 0;
24515 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24517 wxString
*arg3
= 0 ;
24522 bool temp3
= false ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 PyObject
* obj2
= 0 ;
24526 char * kwnames
[] = {
24527 (char *) "self",(char *) "id",(char *) "helpString", NULL
24530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24532 if (!SWIG_IsOK(res1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24535 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24537 if (!SWIG_IsOK(ecode2
)) {
24538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24540 arg2
= static_cast< int >(val2
);
24542 arg3
= wxString_in_helper(obj2
);
24543 if (arg3
== NULL
) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_Py_Void();
24567 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
= 0;
24569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char * kwnames
[] = {
24579 (char *) "self",(char *) "id", NULL
24582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24584 if (!SWIG_IsOK(res1
)) {
24585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24587 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24589 if (!SWIG_IsOK(ecode2
)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24592 arg2
= static_cast< int >(val2
);
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (arg1
)->GetToolLongHelp(arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24612 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
= 0;
24614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 PyObject
* obj2
= 0 ;
24626 char * kwnames
[] = {
24627 (char *) "self",(char *) "x",(char *) "y", NULL
24630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24632 if (!SWIG_IsOK(res1
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24635 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24637 if (!SWIG_IsOK(ecode2
)) {
24638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24640 arg2
= static_cast< int >(val2
);
24641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24642 if (!SWIG_IsOK(ecode3
)) {
24643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24645 arg3
= static_cast< int >(val3
);
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetMargins(arg2
,arg3
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_Py_Void();
24659 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
= 0;
24661 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char * kwnames
[] = {
24669 (char *) "self",(char *) "size", NULL
24672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24674 if (!SWIG_IsOK(res1
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24677 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24680 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_Py_Void();
24695 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "self",(char *) "packing", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24714 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24716 if (!SWIG_IsOK(ecode2
)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24719 arg2
= static_cast< int >(val2
);
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 (arg1
)->SetToolPacking(arg2
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_Py_Void();
24733 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
= 0;
24735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 char * kwnames
[] = {
24744 (char *) "self",(char *) "separation", NULL
24747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24749 if (!SWIG_IsOK(res1
)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24752 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24754 if (!SWIG_IsOK(ecode2
)) {
24755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24757 arg2
= static_cast< int >(val2
);
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 (arg1
)->SetToolSeparation(arg2
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= SWIG_Py_Void();
24771 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 PyObject
*resultobj
= 0;
24773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24777 PyObject
*swig_obj
[1] ;
24779 if (!args
) SWIG_fail
;
24780 swig_obj
[0] = args
;
24781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24782 if (!SWIG_IsOK(res1
)) {
24783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24785 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (arg1
)->GetToolMargins();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24799 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 PyObject
*resultobj
= 0;
24801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24805 PyObject
*swig_obj
[1] ;
24807 if (!args
) SWIG_fail
;
24808 swig_obj
[0] = args
;
24809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24810 if (!SWIG_IsOK(res1
)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24813 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (arg1
)->GetMargins();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24827 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24828 PyObject
*resultobj
= 0;
24829 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24833 PyObject
*swig_obj
[1] ;
24835 if (!args
) SWIG_fail
;
24836 swig_obj
[0] = args
;
24837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24841 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (int)(arg1
)->GetToolPacking();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_From_int(static_cast< int >(result
));
24855 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24856 PyObject
*resultobj
= 0;
24857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24861 PyObject
*swig_obj
[1] ;
24863 if (!args
) SWIG_fail
;
24864 swig_obj
[0] = args
;
24865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24866 if (!SWIG_IsOK(res1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24869 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (int)(arg1
)->GetToolSeparation();
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= SWIG_From_int(static_cast< int >(result
));
24883 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
= 0;
24885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 char * kwnames
[] = {
24894 (char *) "self",(char *) "nRows", NULL
24897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24899 if (!SWIG_IsOK(res1
)) {
24900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24902 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24904 if (!SWIG_IsOK(ecode2
)) {
24905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24907 arg2
= static_cast< int >(val2
);
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 (arg1
)->SetRows(arg2
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= SWIG_Py_Void();
24921 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
= 0;
24923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 PyObject
* obj2
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "self",(char *) "rows",(char *) "cols", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24944 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24946 if (!SWIG_IsOK(ecode2
)) {
24947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24949 arg2
= static_cast< int >(val2
);
24950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24951 if (!SWIG_IsOK(ecode3
)) {
24952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24954 arg3
= static_cast< int >(val3
);
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_Py_Void();
24968 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24969 PyObject
*resultobj
= 0;
24970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24974 PyObject
*swig_obj
[1] ;
24976 if (!args
) SWIG_fail
;
24977 swig_obj
[0] = args
;
24978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24979 if (!SWIG_IsOK(res1
)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24982 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (int)(arg1
)->GetMaxRows();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_From_int(static_cast< int >(result
));
24996 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24997 PyObject
*resultobj
= 0;
24998 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25002 PyObject
*swig_obj
[1] ;
25004 if (!args
) SWIG_fail
;
25005 swig_obj
[0] = args
;
25006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25010 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (int)(arg1
)->GetMaxCols();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_From_int(static_cast< int >(result
));
25024 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= 0;
25026 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char * kwnames
[] = {
25034 (char *) "self",(char *) "size", NULL
25037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25042 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25045 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_Py_Void();
25060 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25061 PyObject
*resultobj
= 0;
25062 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25066 PyObject
*swig_obj
[1] ;
25068 if (!args
) SWIG_fail
;
25069 swig_obj
[0] = args
;
25070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25071 if (!SWIG_IsOK(res1
)) {
25072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25074 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (arg1
)->GetToolBitmapSize();
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25088 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25089 PyObject
*resultobj
= 0;
25090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25094 PyObject
*swig_obj
[1] ;
25096 if (!args
) SWIG_fail
;
25097 swig_obj
[0] = args
;
25098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25099 if (!SWIG_IsOK(res1
)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25102 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 result
= (arg1
)->GetToolSize();
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25116 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
= 0;
25118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25121 wxToolBarToolBase
*result
= 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 PyObject
* obj2
= 0 ;
25131 char * kwnames
[] = {
25132 (char *) "self",(char *) "x",(char *) "y", NULL
25135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25140 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25142 if (!SWIG_IsOK(ecode2
)) {
25143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25145 arg2
= static_cast< int >(val2
);
25146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25147 if (!SWIG_IsOK(ecode3
)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25150 arg3
= static_cast< int >(val3
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25166 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
= 0;
25168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25170 wxToolBarToolBase
*result
= 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char * kwnames
[] = {
25178 (char *) "self",(char *) "toolid", NULL
25181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25186 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25188 if (!SWIG_IsOK(ecode2
)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25191 arg2
= static_cast< int >(val2
);
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25207 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25208 PyObject
*resultobj
= 0;
25209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25213 PyObject
*swig_obj
[1] ;
25215 if (!args
) SWIG_fail
;
25216 swig_obj
[0] = args
;
25217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25218 if (!SWIG_IsOK(res1
)) {
25219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25221 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 result
= (bool)(arg1
)->IsVertical();
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25237 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25238 PyObject
*resultobj
= 0;
25239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25243 PyObject
*swig_obj
[1] ;
25245 if (!args
) SWIG_fail
;
25246 swig_obj
[0] = args
;
25247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25251 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25265 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25268 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25269 return SWIG_Py_Void();
25272 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
= 0;
25274 wxWindow
*arg1
= (wxWindow
*) 0 ;
25275 int arg2
= (int) -1 ;
25276 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25277 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25278 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25279 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25280 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25281 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25282 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25283 wxToolBar
*result
= 0 ;
25292 bool temp6
= false ;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 PyObject
* obj2
= 0 ;
25296 PyObject
* obj3
= 0 ;
25297 PyObject
* obj4
= 0 ;
25298 PyObject
* obj5
= 0 ;
25299 char * kwnames
[] = {
25300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25308 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25311 if (!SWIG_IsOK(ecode2
)) {
25312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25314 arg2
= static_cast< int >(val2
);
25319 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25325 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25329 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25330 if (!SWIG_IsOK(ecode5
)) {
25331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25333 arg5
= static_cast< long >(val5
);
25337 arg6
= wxString_in_helper(obj5
);
25338 if (arg6
== NULL
) SWIG_fail
;
25343 if (!wxPyCheckForApp()) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25364 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25365 PyObject
*resultobj
= 0;
25366 wxToolBar
*result
= 0 ;
25368 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25370 if (!wxPyCheckForApp()) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (wxToolBar
*)new wxToolBar();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25383 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
= 0;
25385 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25386 wxWindow
*arg2
= (wxWindow
*) 0 ;
25387 int arg3
= (int) -1 ;
25388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25392 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25393 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25406 bool temp7
= false ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 PyObject
* obj2
= 0 ;
25410 PyObject
* obj3
= 0 ;
25411 PyObject
* obj4
= 0 ;
25412 PyObject
* obj5
= 0 ;
25413 PyObject
* obj6
= 0 ;
25414 char * kwnames
[] = {
25415 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25423 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25425 if (!SWIG_IsOK(res2
)) {
25426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25428 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25431 if (!SWIG_IsOK(ecode3
)) {
25432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25434 arg3
= static_cast< int >(val3
);
25439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25449 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25450 if (!SWIG_IsOK(ecode6
)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25453 arg6
= static_cast< long >(val6
);
25457 arg7
= wxString_in_helper(obj6
);
25458 if (arg7
== NULL
) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25485 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25486 PyObject
*resultobj
= 0;
25487 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25488 SwigValueWrapper
<wxVisualAttributes
> result
;
25491 PyObject
* obj0
= 0 ;
25492 char * kwnames
[] = {
25493 (char *) "variant", NULL
25496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25498 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25499 if (!SWIG_IsOK(ecode1
)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25502 arg1
= static_cast< wxWindowVariant
>(val1
);
25505 if (!wxPyCheckForApp()) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25518 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25521 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25522 return SWIG_Py_Void();
25525 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 return SWIG_Python_InitShadowInstance(args
);
25529 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25530 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25535 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25536 PyObject
*pyobj
= 0;
25540 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25542 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25549 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxColour
const &arg1_defvalue
= wxNullColour
;
25552 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25553 wxColour
const &arg2_defvalue
= wxNullColour
;
25554 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25555 wxFont
const &arg3_defvalue
= wxNullFont
;
25556 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25557 wxListItemAttr
*result
= 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 PyObject
* obj2
= 0 ;
25565 char * kwnames
[] = {
25566 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25573 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25583 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25584 if (!SWIG_IsOK(res3
)) {
25585 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25590 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25605 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25606 PyObject
*resultobj
= 0;
25607 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25610 PyObject
*swig_obj
[1] ;
25612 if (!args
) SWIG_fail
;
25613 swig_obj
[0] = args
;
25614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25615 if (!SWIG_IsOK(res1
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25618 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_Py_Void();
25633 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25635 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25636 wxColour
*arg2
= 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 char * kwnames
[] = {
25643 (char *) "self",(char *) "colText", NULL
25646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25651 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25654 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_Py_Void();
25669 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
= 0;
25671 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25672 wxColour
*arg2
= 0 ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char * kwnames
[] = {
25679 (char *) "self",(char *) "colBack", NULL
25682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25687 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char * kwnames
[] = {
25716 (char *) "self",(char *) "font", NULL
25719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25724 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25726 if (!SWIG_IsOK(res2
)) {
25727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25732 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 (arg1
)->SetFont((wxFont
const &)*arg2
);
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= SWIG_Py_Void();
25746 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25747 PyObject
*resultobj
= 0;
25748 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25752 PyObject
*swig_obj
[1] ;
25754 if (!args
) SWIG_fail
;
25755 swig_obj
[0] = args
;
25756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25757 if (!SWIG_IsOK(res1
)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25760 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 result
= (bool)(arg1
)->HasTextColour();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25776 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25777 PyObject
*resultobj
= 0;
25778 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25782 PyObject
*swig_obj
[1] ;
25784 if (!args
) SWIG_fail
;
25785 swig_obj
[0] = args
;
25786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25787 if (!SWIG_IsOK(res1
)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25790 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (bool)(arg1
)->HasBackgroundColour();
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25806 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25807 PyObject
*resultobj
= 0;
25808 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25812 PyObject
*swig_obj
[1] ;
25814 if (!args
) SWIG_fail
;
25815 swig_obj
[0] = args
;
25816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25820 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (bool)(arg1
)->HasFont();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25836 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25837 PyObject
*resultobj
= 0;
25838 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25842 PyObject
*swig_obj
[1] ;
25844 if (!args
) SWIG_fail
;
25845 swig_obj
[0] = args
;
25846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25850 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 result
= (arg1
)->GetTextColour();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25864 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25865 PyObject
*resultobj
= 0;
25866 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25870 PyObject
*swig_obj
[1] ;
25872 if (!args
) SWIG_fail
;
25873 swig_obj
[0] = args
;
25874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25875 if (!SWIG_IsOK(res1
)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25878 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (arg1
)->GetBackgroundColour();
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25892 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25893 PyObject
*resultobj
= 0;
25894 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25898 PyObject
*swig_obj
[1] ;
25900 if (!args
) SWIG_fail
;
25901 swig_obj
[0] = args
;
25902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25903 if (!SWIG_IsOK(res1
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25906 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (arg1
)->GetFont();
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25920 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
= 0;
25922 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25923 wxListItemAttr
*arg2
= 0 ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char * kwnames
[] = {
25931 (char *) "self",(char *) "source", NULL
25934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25936 if (!SWIG_IsOK(res1
)) {
25937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25939 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25941 if (!SWIG_IsOK(res2
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25947 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_Py_Void();
25961 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25962 PyObject
*resultobj
= 0;
25963 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25966 PyObject
*swig_obj
[1] ;
25968 if (!args
) SWIG_fail
;
25969 swig_obj
[0] = args
;
25970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25971 if (!SWIG_IsOK(res1
)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25974 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 wxListItemAttr_Destroy(arg1
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= SWIG_Py_Void();
25988 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25991 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25992 return SWIG_Py_Void();
25995 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25996 return SWIG_Python_InitShadowInstance(args
);
25999 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26000 PyObject
*resultobj
= 0;
26001 wxListItem
*result
= 0 ;
26003 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (wxListItem
*)new wxListItem();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26019 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26020 PyObject
*resultobj
= 0;
26021 wxListItem
*arg1
= (wxListItem
*) 0 ;
26024 PyObject
*swig_obj
[1] ;
26026 if (!args
) SWIG_fail
;
26027 swig_obj
[0] = args
;
26028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26032 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26040 resultobj
= SWIG_Py_Void();
26047 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26048 PyObject
*resultobj
= 0;
26049 wxListItem
*arg1
= (wxListItem
*) 0 ;
26052 PyObject
*swig_obj
[1] ;
26054 if (!args
) SWIG_fail
;
26055 swig_obj
[0] = args
;
26056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26057 if (!SWIG_IsOK(res1
)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26060 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= SWIG_Py_Void();
26074 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26075 PyObject
*resultobj
= 0;
26076 wxListItem
*arg1
= (wxListItem
*) 0 ;
26079 PyObject
*swig_obj
[1] ;
26081 if (!args
) SWIG_fail
;
26082 swig_obj
[0] = args
;
26083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26084 if (!SWIG_IsOK(res1
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26087 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 (arg1
)->ClearAttributes();
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_Py_Void();
26101 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26102 PyObject
*resultobj
= 0;
26103 wxListItem
*arg1
= (wxListItem
*) 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 char * kwnames
[] = {
26112 (char *) "self",(char *) "mask", NULL
26115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26117 if (!SWIG_IsOK(res1
)) {
26118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26120 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26122 if (!SWIG_IsOK(ecode2
)) {
26123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26125 arg2
= static_cast< long >(val2
);
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 (arg1
)->SetMask(arg2
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= SWIG_Py_Void();
26139 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
= 0;
26141 wxListItem
*arg1
= (wxListItem
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char * kwnames
[] = {
26150 (char *) "self",(char *) "id", NULL
26153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26158 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26160 if (!SWIG_IsOK(ecode2
)) {
26161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26163 arg2
= static_cast< long >(val2
);
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 (arg1
)->SetId(arg2
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= SWIG_Py_Void();
26177 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
= 0;
26179 wxListItem
*arg1
= (wxListItem
*) 0 ;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 char * kwnames
[] = {
26188 (char *) "self",(char *) "col", NULL
26191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26193 if (!SWIG_IsOK(res1
)) {
26194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26196 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26198 if (!SWIG_IsOK(ecode2
)) {
26199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26201 arg2
= static_cast< int >(val2
);
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->SetColumn(arg2
);
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= SWIG_Py_Void();
26215 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
= 0;
26217 wxListItem
*arg1
= (wxListItem
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 char * kwnames
[] = {
26226 (char *) "self",(char *) "state", NULL
26229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26231 if (!SWIG_IsOK(res1
)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26234 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26235 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26236 if (!SWIG_IsOK(ecode2
)) {
26237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26239 arg2
= static_cast< long >(val2
);
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 (arg1
)->SetState(arg2
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_Py_Void();
26253 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
= 0;
26255 wxListItem
*arg1
= (wxListItem
*) 0 ;
26261 PyObject
* obj0
= 0 ;
26262 PyObject
* obj1
= 0 ;
26263 char * kwnames
[] = {
26264 (char *) "self",(char *) "stateMask", NULL
26267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26269 if (!SWIG_IsOK(res1
)) {
26270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26272 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26273 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26274 if (!SWIG_IsOK(ecode2
)) {
26275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26277 arg2
= static_cast< long >(val2
);
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->SetStateMask(arg2
);
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= SWIG_Py_Void();
26291 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
= 0;
26293 wxListItem
*arg1
= (wxListItem
*) 0 ;
26294 wxString
*arg2
= 0 ;
26297 bool temp2
= false ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char * kwnames
[] = {
26301 (char *) "self",(char *) "text", NULL
26304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26309 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26311 arg2
= wxString_in_helper(obj1
);
26312 if (arg2
== NULL
) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->SetText((wxString
const &)*arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_Py_Void();
26336 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxListItem
*arg1
= (wxListItem
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char * kwnames
[] = {
26347 (char *) "self",(char *) "image", NULL
26350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26355 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26357 if (!SWIG_IsOK(ecode2
)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26360 arg2
= static_cast< int >(val2
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetImage(arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_Py_Void();
26374 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 wxListItem
*arg1
= (wxListItem
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char * kwnames
[] = {
26385 (char *) "self",(char *) "data", NULL
26388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26393 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26394 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26395 if (!SWIG_IsOK(ecode2
)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26398 arg2
= static_cast< long >(val2
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->SetData(arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxListItem
*arg1
= (wxListItem
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char * kwnames
[] = {
26423 (char *) "self",(char *) "width", NULL
26426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26431 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26433 if (!SWIG_IsOK(ecode2
)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26436 arg2
= static_cast< int >(val2
);
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->SetWidth(arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_Py_Void();
26450 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
= 0;
26452 wxListItem
*arg1
= (wxListItem
*) 0 ;
26453 wxListColumnFormat arg2
;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char * kwnames
[] = {
26461 (char *) "self",(char *) "align", NULL
26464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26469 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26471 if (!SWIG_IsOK(ecode2
)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26474 arg2
= static_cast< wxListColumnFormat
>(val2
);
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->SetAlign(arg2
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_Py_Void();
26488 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
= 0;
26490 wxListItem
*arg1
= (wxListItem
*) 0 ;
26491 wxColour
*arg2
= 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 char * kwnames
[] = {
26498 (char *) "self",(char *) "colText", NULL
26501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26503 if (!SWIG_IsOK(res1
)) {
26504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26506 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_Py_Void();
26524 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
= 0;
26526 wxListItem
*arg1
= (wxListItem
*) 0 ;
26527 wxColour
*arg2
= 0 ;
26531 PyObject
* obj0
= 0 ;
26532 PyObject
* obj1
= 0 ;
26533 char * kwnames
[] = {
26534 (char *) "self",(char *) "colBack", NULL
26537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26539 if (!SWIG_IsOK(res1
)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26542 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItem
*arg1
= (wxListItem
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char * kwnames
[] = {
26571 (char *) "self",(char *) "font", NULL
26574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26579 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26581 if (!SWIG_IsOK(res2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26587 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->SetFont((wxFont
const &)*arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_Py_Void();
26601 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26602 PyObject
*resultobj
= 0;
26603 wxListItem
*arg1
= (wxListItem
*) 0 ;
26607 PyObject
*swig_obj
[1] ;
26609 if (!args
) SWIG_fail
;
26610 swig_obj
[0] = args
;
26611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26612 if (!SWIG_IsOK(res1
)) {
26613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26615 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (long)(arg1
)->GetMask();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= SWIG_From_long(static_cast< long >(result
));
26629 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26630 PyObject
*resultobj
= 0;
26631 wxListItem
*arg1
= (wxListItem
*) 0 ;
26635 PyObject
*swig_obj
[1] ;
26637 if (!args
) SWIG_fail
;
26638 swig_obj
[0] = args
;
26639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26643 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (long)(arg1
)->GetId();
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_From_long(static_cast< long >(result
));
26657 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26658 PyObject
*resultobj
= 0;
26659 wxListItem
*arg1
= (wxListItem
*) 0 ;
26663 PyObject
*swig_obj
[1] ;
26665 if (!args
) SWIG_fail
;
26666 swig_obj
[0] = args
;
26667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26668 if (!SWIG_IsOK(res1
)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26671 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (int)(arg1
)->GetColumn();
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= SWIG_From_int(static_cast< int >(result
));
26685 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26686 PyObject
*resultobj
= 0;
26687 wxListItem
*arg1
= (wxListItem
*) 0 ;
26691 PyObject
*swig_obj
[1] ;
26693 if (!args
) SWIG_fail
;
26694 swig_obj
[0] = args
;
26695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26696 if (!SWIG_IsOK(res1
)) {
26697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26699 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (long)(arg1
)->GetState();
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_From_long(static_cast< long >(result
));
26713 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26714 PyObject
*resultobj
= 0;
26715 wxListItem
*arg1
= (wxListItem
*) 0 ;
26716 wxString
*result
= 0 ;
26719 PyObject
*swig_obj
[1] ;
26721 if (!args
) SWIG_fail
;
26722 swig_obj
[0] = args
;
26723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26724 if (!SWIG_IsOK(res1
)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26727 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 wxString
const &_result_ref
= (arg1
)->GetText();
26732 result
= (wxString
*) &_result_ref
;
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26750 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 PyObject
*resultobj
= 0;
26752 wxListItem
*arg1
= (wxListItem
*) 0 ;
26756 PyObject
*swig_obj
[1] ;
26758 if (!args
) SWIG_fail
;
26759 swig_obj
[0] = args
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26764 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (int)(arg1
)->GetImage();
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= SWIG_From_int(static_cast< int >(result
));
26778 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26779 PyObject
*resultobj
= 0;
26780 wxListItem
*arg1
= (wxListItem
*) 0 ;
26784 PyObject
*swig_obj
[1] ;
26786 if (!args
) SWIG_fail
;
26787 swig_obj
[0] = args
;
26788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26789 if (!SWIG_IsOK(res1
)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26792 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 result
= (long)(arg1
)->GetData();
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= SWIG_From_long(static_cast< long >(result
));
26806 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26807 PyObject
*resultobj
= 0;
26808 wxListItem
*arg1
= (wxListItem
*) 0 ;
26812 PyObject
*swig_obj
[1] ;
26814 if (!args
) SWIG_fail
;
26815 swig_obj
[0] = args
;
26816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26820 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= (int)(arg1
)->GetWidth();
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= SWIG_From_int(static_cast< int >(result
));
26834 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26835 PyObject
*resultobj
= 0;
26836 wxListItem
*arg1
= (wxListItem
*) 0 ;
26837 wxListColumnFormat result
;
26840 PyObject
*swig_obj
[1] ;
26842 if (!args
) SWIG_fail
;
26843 swig_obj
[0] = args
;
26844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26845 if (!SWIG_IsOK(res1
)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26848 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26855 resultobj
= SWIG_From_int(static_cast< int >(result
));
26862 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26863 PyObject
*resultobj
= 0;
26864 wxListItem
*arg1
= (wxListItem
*) 0 ;
26865 wxListItemAttr
*result
= 0 ;
26868 PyObject
*swig_obj
[1] ;
26870 if (!args
) SWIG_fail
;
26871 swig_obj
[0] = args
;
26872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26873 if (!SWIG_IsOK(res1
)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26876 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26890 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26891 PyObject
*resultobj
= 0;
26892 wxListItem
*arg1
= (wxListItem
*) 0 ;
26896 PyObject
*swig_obj
[1] ;
26898 if (!args
) SWIG_fail
;
26899 swig_obj
[0] = args
;
26900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26901 if (!SWIG_IsOK(res1
)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26904 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (bool)(arg1
)->HasAttributes();
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26920 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26921 PyObject
*resultobj
= 0;
26922 wxListItem
*arg1
= (wxListItem
*) 0 ;
26926 PyObject
*swig_obj
[1] ;
26928 if (!args
) SWIG_fail
;
26929 swig_obj
[0] = args
;
26930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26931 if (!SWIG_IsOK(res1
)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26934 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26948 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26949 PyObject
*resultobj
= 0;
26950 wxListItem
*arg1
= (wxListItem
*) 0 ;
26954 PyObject
*swig_obj
[1] ;
26956 if (!args
) SWIG_fail
;
26957 swig_obj
[0] = args
;
26958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26959 if (!SWIG_IsOK(res1
)) {
26960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26962 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26976 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26977 PyObject
*resultobj
= 0;
26978 wxListItem
*arg1
= (wxListItem
*) 0 ;
26982 PyObject
*swig_obj
[1] ;
26984 if (!args
) SWIG_fail
;
26985 swig_obj
[0] = args
;
26986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26987 if (!SWIG_IsOK(res1
)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26990 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= ((wxListItem
const *)arg1
)->GetFont();
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27004 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27005 PyObject
*resultobj
= 0;
27006 wxListItem
*arg1
= (wxListItem
*) 0 ;
27012 PyObject
*swig_obj
[2] ;
27014 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27019 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27020 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27021 if (!SWIG_IsOK(ecode2
)) {
27022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27024 arg2
= static_cast< long >(val2
);
27025 if (arg1
) (arg1
)->m_mask
= arg2
;
27027 resultobj
= SWIG_Py_Void();
27034 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27035 PyObject
*resultobj
= 0;
27036 wxListItem
*arg1
= (wxListItem
*) 0 ;
27040 PyObject
*swig_obj
[1] ;
27042 if (!args
) SWIG_fail
;
27043 swig_obj
[0] = args
;
27044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27045 if (!SWIG_IsOK(res1
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27048 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27049 result
= (long) ((arg1
)->m_mask
);
27050 resultobj
= SWIG_From_long(static_cast< long >(result
));
27057 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27058 PyObject
*resultobj
= 0;
27059 wxListItem
*arg1
= (wxListItem
*) 0 ;
27065 PyObject
*swig_obj
[2] ;
27067 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27069 if (!SWIG_IsOK(res1
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27072 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27073 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27074 if (!SWIG_IsOK(ecode2
)) {
27075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27077 arg2
= static_cast< long >(val2
);
27078 if (arg1
) (arg1
)->m_itemId
= arg2
;
27080 resultobj
= SWIG_Py_Void();
27087 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27088 PyObject
*resultobj
= 0;
27089 wxListItem
*arg1
= (wxListItem
*) 0 ;
27093 PyObject
*swig_obj
[1] ;
27095 if (!args
) SWIG_fail
;
27096 swig_obj
[0] = args
;
27097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27101 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27102 result
= (long) ((arg1
)->m_itemId
);
27103 resultobj
= SWIG_From_long(static_cast< long >(result
));
27110 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27111 PyObject
*resultobj
= 0;
27112 wxListItem
*arg1
= (wxListItem
*) 0 ;
27118 PyObject
*swig_obj
[2] ;
27120 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27122 if (!SWIG_IsOK(res1
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27125 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27126 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27127 if (!SWIG_IsOK(ecode2
)) {
27128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27130 arg2
= static_cast< int >(val2
);
27131 if (arg1
) (arg1
)->m_col
= arg2
;
27133 resultobj
= SWIG_Py_Void();
27140 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27141 PyObject
*resultobj
= 0;
27142 wxListItem
*arg1
= (wxListItem
*) 0 ;
27146 PyObject
*swig_obj
[1] ;
27148 if (!args
) SWIG_fail
;
27149 swig_obj
[0] = args
;
27150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27151 if (!SWIG_IsOK(res1
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27154 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27155 result
= (int) ((arg1
)->m_col
);
27156 resultobj
= SWIG_From_int(static_cast< int >(result
));
27163 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27164 PyObject
*resultobj
= 0;
27165 wxListItem
*arg1
= (wxListItem
*) 0 ;
27171 PyObject
*swig_obj
[2] ;
27173 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27175 if (!SWIG_IsOK(res1
)) {
27176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27178 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27179 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27180 if (!SWIG_IsOK(ecode2
)) {
27181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27183 arg2
= static_cast< long >(val2
);
27184 if (arg1
) (arg1
)->m_state
= arg2
;
27186 resultobj
= SWIG_Py_Void();
27193 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27194 PyObject
*resultobj
= 0;
27195 wxListItem
*arg1
= (wxListItem
*) 0 ;
27199 PyObject
*swig_obj
[1] ;
27201 if (!args
) SWIG_fail
;
27202 swig_obj
[0] = args
;
27203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27204 if (!SWIG_IsOK(res1
)) {
27205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27207 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27208 result
= (long) ((arg1
)->m_state
);
27209 resultobj
= SWIG_From_long(static_cast< long >(result
));
27216 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27217 PyObject
*resultobj
= 0;
27218 wxListItem
*arg1
= (wxListItem
*) 0 ;
27224 PyObject
*swig_obj
[2] ;
27226 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27228 if (!SWIG_IsOK(res1
)) {
27229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27231 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27232 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27233 if (!SWIG_IsOK(ecode2
)) {
27234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27236 arg2
= static_cast< long >(val2
);
27237 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27239 resultobj
= SWIG_Py_Void();
27246 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27247 PyObject
*resultobj
= 0;
27248 wxListItem
*arg1
= (wxListItem
*) 0 ;
27252 PyObject
*swig_obj
[1] ;
27254 if (!args
) SWIG_fail
;
27255 swig_obj
[0] = args
;
27256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27257 if (!SWIG_IsOK(res1
)) {
27258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27260 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27261 result
= (long) ((arg1
)->m_stateMask
);
27262 resultobj
= SWIG_From_long(static_cast< long >(result
));
27269 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27270 PyObject
*resultobj
= 0;
27271 wxListItem
*arg1
= (wxListItem
*) 0 ;
27272 wxString
*arg2
= (wxString
*) 0 ;
27275 bool temp2
= false ;
27276 PyObject
*swig_obj
[2] ;
27278 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27280 if (!SWIG_IsOK(res1
)) {
27281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27283 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27285 arg2
= wxString_in_helper(swig_obj
[1]);
27286 if (arg2
== NULL
) SWIG_fail
;
27289 if (arg1
) (arg1
)->m_text
= *arg2
;
27291 resultobj
= SWIG_Py_Void();
27306 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27307 PyObject
*resultobj
= 0;
27308 wxListItem
*arg1
= (wxListItem
*) 0 ;
27309 wxString
*result
= 0 ;
27312 PyObject
*swig_obj
[1] ;
27314 if (!args
) SWIG_fail
;
27315 swig_obj
[0] = args
;
27316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27317 if (!SWIG_IsOK(res1
)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27320 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27321 result
= (wxString
*)& ((arg1
)->m_text
);
27324 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27326 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27335 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27336 PyObject
*resultobj
= 0;
27337 wxListItem
*arg1
= (wxListItem
*) 0 ;
27343 PyObject
*swig_obj
[2] ;
27345 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27347 if (!SWIG_IsOK(res1
)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27350 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27351 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27352 if (!SWIG_IsOK(ecode2
)) {
27353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27355 arg2
= static_cast< int >(val2
);
27356 if (arg1
) (arg1
)->m_image
= arg2
;
27358 resultobj
= SWIG_Py_Void();
27365 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27366 PyObject
*resultobj
= 0;
27367 wxListItem
*arg1
= (wxListItem
*) 0 ;
27371 PyObject
*swig_obj
[1] ;
27373 if (!args
) SWIG_fail
;
27374 swig_obj
[0] = args
;
27375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27376 if (!SWIG_IsOK(res1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27379 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27380 result
= (int) ((arg1
)->m_image
);
27381 resultobj
= SWIG_From_int(static_cast< int >(result
));
27388 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27389 PyObject
*resultobj
= 0;
27390 wxListItem
*arg1
= (wxListItem
*) 0 ;
27396 PyObject
*swig_obj
[2] ;
27398 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27400 if (!SWIG_IsOK(res1
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27403 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27404 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27405 if (!SWIG_IsOK(ecode2
)) {
27406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27408 arg2
= static_cast< long >(val2
);
27409 if (arg1
) (arg1
)->m_data
= arg2
;
27411 resultobj
= SWIG_Py_Void();
27418 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27419 PyObject
*resultobj
= 0;
27420 wxListItem
*arg1
= (wxListItem
*) 0 ;
27424 PyObject
*swig_obj
[1] ;
27426 if (!args
) SWIG_fail
;
27427 swig_obj
[0] = args
;
27428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27429 if (!SWIG_IsOK(res1
)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27432 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27433 result
= (long) ((arg1
)->m_data
);
27434 resultobj
= SWIG_From_long(static_cast< long >(result
));
27441 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27442 PyObject
*resultobj
= 0;
27443 wxListItem
*arg1
= (wxListItem
*) 0 ;
27449 PyObject
*swig_obj
[2] ;
27451 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27456 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27457 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27458 if (!SWIG_IsOK(ecode2
)) {
27459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27461 arg2
= static_cast< int >(val2
);
27462 if (arg1
) (arg1
)->m_format
= arg2
;
27464 resultobj
= SWIG_Py_Void();
27471 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27472 PyObject
*resultobj
= 0;
27473 wxListItem
*arg1
= (wxListItem
*) 0 ;
27477 PyObject
*swig_obj
[1] ;
27479 if (!args
) SWIG_fail
;
27480 swig_obj
[0] = args
;
27481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27482 if (!SWIG_IsOK(res1
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27485 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27486 result
= (int) ((arg1
)->m_format
);
27487 resultobj
= SWIG_From_int(static_cast< int >(result
));
27494 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27495 PyObject
*resultobj
= 0;
27496 wxListItem
*arg1
= (wxListItem
*) 0 ;
27502 PyObject
*swig_obj
[2] ;
27504 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27509 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27510 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27511 if (!SWIG_IsOK(ecode2
)) {
27512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27514 arg2
= static_cast< int >(val2
);
27515 if (arg1
) (arg1
)->m_width
= arg2
;
27517 resultobj
= SWIG_Py_Void();
27524 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27525 PyObject
*resultobj
= 0;
27526 wxListItem
*arg1
= (wxListItem
*) 0 ;
27530 PyObject
*swig_obj
[1] ;
27532 if (!args
) SWIG_fail
;
27533 swig_obj
[0] = args
;
27534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27535 if (!SWIG_IsOK(res1
)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27538 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27539 result
= (int) ((arg1
)->m_width
);
27540 resultobj
= SWIG_From_int(static_cast< int >(result
));
27547 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27550 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27551 return SWIG_Py_Void();
27554 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27555 return SWIG_Python_InitShadowInstance(args
);
27558 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
= 0;
27560 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27561 int arg2
= (int) 0 ;
27562 wxListEvent
*result
= 0 ;
27567 PyObject
* obj0
= 0 ;
27568 PyObject
* obj1
= 0 ;
27569 char * kwnames
[] = {
27570 (char *) "commandType",(char *) "id", NULL
27573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27575 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27576 if (!SWIG_IsOK(ecode1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27579 arg1
= static_cast< wxEventType
>(val1
);
27582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27583 if (!SWIG_IsOK(ecode2
)) {
27584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27586 arg2
= static_cast< int >(val2
);
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27601 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 PyObject
*resultobj
= 0;
27603 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27609 PyObject
*swig_obj
[2] ;
27611 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27616 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27617 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27618 if (!SWIG_IsOK(ecode2
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27621 arg2
= static_cast< int >(val2
);
27622 if (arg1
) (arg1
)->m_code
= arg2
;
27624 resultobj
= SWIG_Py_Void();
27631 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27637 PyObject
*swig_obj
[1] ;
27639 if (!args
) SWIG_fail
;
27640 swig_obj
[0] = args
;
27641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27642 if (!SWIG_IsOK(res1
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27645 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27646 result
= (int) ((arg1
)->m_code
);
27647 resultobj
= SWIG_From_int(static_cast< int >(result
));
27654 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27662 PyObject
*swig_obj
[2] ;
27664 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27669 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27670 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27671 if (!SWIG_IsOK(ecode2
)) {
27672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27674 arg2
= static_cast< long >(val2
);
27675 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27677 resultobj
= SWIG_Py_Void();
27684 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27698 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27699 result
= (long) ((arg1
)->m_oldItemIndex
);
27700 resultobj
= SWIG_From_long(static_cast< long >(result
));
27707 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27708 PyObject
*resultobj
= 0;
27709 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27715 PyObject
*swig_obj
[2] ;
27717 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27722 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27723 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27724 if (!SWIG_IsOK(ecode2
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27727 arg2
= static_cast< long >(val2
);
27728 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27730 resultobj
= SWIG_Py_Void();
27737 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27738 PyObject
*resultobj
= 0;
27739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27743 PyObject
*swig_obj
[1] ;
27745 if (!args
) SWIG_fail
;
27746 swig_obj
[0] = args
;
27747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27748 if (!SWIG_IsOK(res1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27751 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27752 result
= (long) ((arg1
)->m_itemIndex
);
27753 resultobj
= SWIG_From_long(static_cast< long >(result
));
27760 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27761 PyObject
*resultobj
= 0;
27762 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27768 PyObject
*swig_obj
[2] ;
27770 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27772 if (!SWIG_IsOK(res1
)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27775 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27776 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27777 if (!SWIG_IsOK(ecode2
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27780 arg2
= static_cast< int >(val2
);
27781 if (arg1
) (arg1
)->m_col
= arg2
;
27783 resultobj
= SWIG_Py_Void();
27790 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27791 PyObject
*resultobj
= 0;
27792 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27796 PyObject
*swig_obj
[1] ;
27798 if (!args
) SWIG_fail
;
27799 swig_obj
[0] = args
;
27800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27801 if (!SWIG_IsOK(res1
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27804 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27805 result
= (int) ((arg1
)->m_col
);
27806 resultobj
= SWIG_From_int(static_cast< int >(result
));
27813 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27814 PyObject
*resultobj
= 0;
27815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27816 wxPoint
*arg2
= (wxPoint
*) 0 ;
27821 PyObject
*swig_obj
[2] ;
27823 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27825 if (!SWIG_IsOK(res1
)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27828 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27829 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27830 if (!SWIG_IsOK(res2
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27833 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27834 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27836 resultobj
= SWIG_Py_Void();
27843 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27844 PyObject
*resultobj
= 0;
27845 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27846 wxPoint
*result
= 0 ;
27849 PyObject
*swig_obj
[1] ;
27851 if (!args
) SWIG_fail
;
27852 swig_obj
[0] = args
;
27853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27857 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27858 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27866 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27867 PyObject
*resultobj
= 0;
27868 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27869 wxListItem
*result
= 0 ;
27872 PyObject
*swig_obj
[1] ;
27874 if (!args
) SWIG_fail
;
27875 swig_obj
[0] = args
;
27876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27880 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27881 result
= (wxListItem
*)& ((arg1
)->m_item
);
27883 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27891 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 PyObject
*resultobj
= 0;
27893 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27897 PyObject
*swig_obj
[1] ;
27899 if (!args
) SWIG_fail
;
27900 swig_obj
[0] = args
;
27901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27902 if (!SWIG_IsOK(res1
)) {
27903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27905 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 result
= (int)(arg1
)->GetKeyCode();
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= SWIG_From_int(static_cast< int >(result
));
27919 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27920 PyObject
*resultobj
= 0;
27921 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27925 PyObject
*swig_obj
[1] ;
27927 if (!args
) SWIG_fail
;
27928 swig_obj
[0] = args
;
27929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27930 if (!SWIG_IsOK(res1
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27933 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27936 result
= (long)(arg1
)->GetIndex();
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= SWIG_From_long(static_cast< long >(result
));
27947 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27948 PyObject
*resultobj
= 0;
27949 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27953 PyObject
*swig_obj
[1] ;
27955 if (!args
) SWIG_fail
;
27956 swig_obj
[0] = args
;
27957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27958 if (!SWIG_IsOK(res1
)) {
27959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27961 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (int)(arg1
)->GetColumn();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_From_int(static_cast< int >(result
));
27975 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27981 PyObject
*swig_obj
[1] ;
27983 if (!args
) SWIG_fail
;
27984 swig_obj
[0] = args
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27989 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= (arg1
)->GetPoint();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28003 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28004 PyObject
*resultobj
= 0;
28005 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28006 wxString
*result
= 0 ;
28009 PyObject
*swig_obj
[1] ;
28011 if (!args
) SWIG_fail
;
28012 swig_obj
[0] = args
;
28013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28017 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 wxString
const &_result_ref
= (arg1
)->GetLabel();
28022 result
= (wxString
*) &_result_ref
;
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28031 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28040 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28041 PyObject
*resultobj
= 0;
28042 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28043 wxString
*result
= 0 ;
28046 PyObject
*swig_obj
[1] ;
28048 if (!args
) SWIG_fail
;
28049 swig_obj
[0] = args
;
28050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28054 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 wxString
const &_result_ref
= (arg1
)->GetText();
28059 result
= (wxString
*) &_result_ref
;
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28077 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28078 PyObject
*resultobj
= 0;
28079 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28083 PyObject
*swig_obj
[1] ;
28085 if (!args
) SWIG_fail
;
28086 swig_obj
[0] = args
;
28087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28088 if (!SWIG_IsOK(res1
)) {
28089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28091 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28094 result
= (int)(arg1
)->GetImage();
28095 wxPyEndAllowThreads(__tstate
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= SWIG_From_int(static_cast< int >(result
));
28105 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28106 PyObject
*resultobj
= 0;
28107 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28111 PyObject
*swig_obj
[1] ;
28113 if (!args
) SWIG_fail
;
28114 swig_obj
[0] = args
;
28115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28119 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 result
= (long)(arg1
)->GetData();
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= SWIG_From_long(static_cast< long >(result
));
28133 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28134 PyObject
*resultobj
= 0;
28135 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28139 PyObject
*swig_obj
[1] ;
28141 if (!args
) SWIG_fail
;
28142 swig_obj
[0] = args
;
28143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28144 if (!SWIG_IsOK(res1
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28147 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= (long)(arg1
)->GetMask();
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_From_long(static_cast< long >(result
));
28161 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28162 PyObject
*resultobj
= 0;
28163 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28164 wxListItem
*result
= 0 ;
28167 PyObject
*swig_obj
[1] ;
28169 if (!args
) SWIG_fail
;
28170 swig_obj
[0] = args
;
28171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28172 if (!SWIG_IsOK(res1
)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28175 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28180 result
= (wxListItem
*) &_result_ref
;
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28192 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28193 PyObject
*resultobj
= 0;
28194 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28198 PyObject
*swig_obj
[1] ;
28200 if (!args
) SWIG_fail
;
28201 swig_obj
[0] = args
;
28202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28206 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 result
= (long)(arg1
)->GetCacheFrom();
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28213 resultobj
= SWIG_From_long(static_cast< long >(result
));
28220 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28221 PyObject
*resultobj
= 0;
28222 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28226 PyObject
*swig_obj
[1] ;
28228 if (!args
) SWIG_fail
;
28229 swig_obj
[0] = args
;
28230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28234 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (long)(arg1
)->GetCacheTo();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= SWIG_From_long(static_cast< long >(result
));
28248 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28249 PyObject
*resultobj
= 0;
28250 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28254 PyObject
*swig_obj
[1] ;
28256 if (!args
) SWIG_fail
;
28257 swig_obj
[0] = args
;
28258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28262 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28278 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
= 0;
28280 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 char * kwnames
[] = {
28289 (char *) "self",(char *) "editCancelled", NULL
28292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28294 if (!SWIG_IsOK(res1
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28297 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28298 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28299 if (!SWIG_IsOK(ecode2
)) {
28300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28302 arg2
= static_cast< bool >(val2
);
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 (arg1
)->SetEditCanceled(arg2
);
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_Py_Void();
28316 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28319 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28320 return SWIG_Py_Void();
28323 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 return SWIG_Python_InitShadowInstance(args
);
28327 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
= 0;
28329 wxWindow
*arg1
= (wxWindow
*) 0 ;
28330 int arg2
= (int) -1 ;
28331 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28332 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28333 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28334 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28335 long arg5
= (long) wxLC_ICON
;
28336 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28337 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28338 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28340 wxPyListCtrl
*result
= 0 ;
28351 bool temp7
= false ;
28352 PyObject
* obj0
= 0 ;
28353 PyObject
* obj1
= 0 ;
28354 PyObject
* obj2
= 0 ;
28355 PyObject
* obj3
= 0 ;
28356 PyObject
* obj4
= 0 ;
28357 PyObject
* obj5
= 0 ;
28358 PyObject
* obj6
= 0 ;
28359 char * kwnames
[] = {
28360 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28368 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28371 if (!SWIG_IsOK(ecode2
)) {
28372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28374 arg2
= static_cast< int >(val2
);
28379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28385 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28389 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28390 if (!SWIG_IsOK(ecode5
)) {
28391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28393 arg5
= static_cast< long >(val5
);
28396 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28397 if (!SWIG_IsOK(res6
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28403 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28407 arg7
= wxString_in_helper(obj6
);
28408 if (arg7
== NULL
) SWIG_fail
;
28413 if (!wxPyCheckForApp()) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28434 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28435 PyObject
*resultobj
= 0;
28436 wxPyListCtrl
*result
= 0 ;
28438 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28440 if (!wxPyCheckForApp()) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28453 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
= 0;
28455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28456 wxWindow
*arg2
= (wxWindow
*) 0 ;
28457 int arg3
= (int) -1 ;
28458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28462 long arg6
= (long) wxLC_ICON
;
28463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28465 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28480 bool temp8
= false ;
28481 PyObject
* obj0
= 0 ;
28482 PyObject
* obj1
= 0 ;
28483 PyObject
* obj2
= 0 ;
28484 PyObject
* obj3
= 0 ;
28485 PyObject
* obj4
= 0 ;
28486 PyObject
* obj5
= 0 ;
28487 PyObject
* obj6
= 0 ;
28488 PyObject
* obj7
= 0 ;
28489 char * kwnames
[] = {
28490 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28495 if (!SWIG_IsOK(res1
)) {
28496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28498 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28500 if (!SWIG_IsOK(res2
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28503 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28506 if (!SWIG_IsOK(ecode3
)) {
28507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28509 arg3
= static_cast< int >(val3
);
28514 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28520 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28524 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28525 if (!SWIG_IsOK(ecode6
)) {
28526 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28528 arg6
= static_cast< long >(val6
);
28531 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28532 if (!SWIG_IsOK(res7
)) {
28533 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28538 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28542 arg8
= wxString_in_helper(obj7
);
28543 if (arg8
== NULL
) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28570 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
= 0;
28572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28573 PyObject
*arg2
= (PyObject
*) 0 ;
28574 PyObject
*arg3
= (PyObject
*) 0 ;
28577 PyObject
* obj0
= 0 ;
28578 PyObject
* obj1
= 0 ;
28579 PyObject
* obj2
= 0 ;
28580 char * kwnames
[] = {
28581 (char *) "self",(char *) "self",(char *) "_class", NULL
28584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28586 if (!SWIG_IsOK(res1
)) {
28587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28589 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 resultobj
= SWIG_Py_Void();
28605 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28606 PyObject
*resultobj
= 0;
28607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28609 wxListItem
*result
= 0 ;
28614 PyObject
* obj0
= 0 ;
28615 PyObject
* obj1
= 0 ;
28616 char * kwnames
[] = {
28617 (char *) "self",(char *) "col", NULL
28620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28622 if (!SWIG_IsOK(res1
)) {
28623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28627 if (!SWIG_IsOK(ecode2
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28630 arg2
= static_cast< int >(val2
);
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28646 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28647 PyObject
*resultobj
= 0;
28648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28650 wxListItem
*arg3
= 0 ;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 PyObject
* obj2
= 0 ;
28661 char * kwnames
[] = {
28662 (char *) "self",(char *) "col",(char *) "item", NULL
28665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28667 if (!SWIG_IsOK(res1
)) {
28668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28672 if (!SWIG_IsOK(ecode2
)) {
28673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28675 arg2
= static_cast< int >(val2
);
28676 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28677 if (!SWIG_IsOK(res3
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28683 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28699 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
= 0;
28701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28708 PyObject
* obj0
= 0 ;
28709 PyObject
* obj1
= 0 ;
28710 char * kwnames
[] = {
28711 (char *) "self",(char *) "col", NULL
28714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28719 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28721 if (!SWIG_IsOK(ecode2
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28724 arg2
= static_cast< int >(val2
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_From_int(static_cast< int >(result
));
28738 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
= 0;
28740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 PyObject
* obj2
= 0 ;
28753 char * kwnames
[] = {
28754 (char *) "self",(char *) "col",(char *) "width", NULL
28757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28759 if (!SWIG_IsOK(res1
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28764 if (!SWIG_IsOK(ecode2
)) {
28765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28767 arg2
= static_cast< int >(val2
);
28768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28769 if (!SWIG_IsOK(ecode3
)) {
28770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28772 arg3
= static_cast< int >(val3
);
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28788 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28789 PyObject
*resultobj
= 0;
28790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28794 PyObject
*swig_obj
[1] ;
28796 if (!args
) SWIG_fail
;
28797 swig_obj
[0] = args
;
28798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28799 if (!SWIG_IsOK(res1
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28802 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_From_int(static_cast< int >(result
));
28816 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28817 PyObject
*resultobj
= 0;
28818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28822 PyObject
*swig_obj
[1] ;
28824 if (!args
) SWIG_fail
;
28825 swig_obj
[0] = args
;
28826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28827 if (!SWIG_IsOK(res1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28844 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 PyObject
*resultobj
= 0;
28846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28847 wxTextCtrl
*result
= 0 ;
28850 PyObject
*swig_obj
[1] ;
28852 if (!args
) SWIG_fail
;
28853 swig_obj
[0] = args
;
28854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28855 if (!SWIG_IsOK(res1
)) {
28856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28858 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28866 resultobj
= wxPyMake_wxObject(result
, 0);
28874 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
= 0;
28876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28878 int arg3
= (int) 0 ;
28879 wxListItem
*result
= 0 ;
28886 PyObject
* obj0
= 0 ;
28887 PyObject
* obj1
= 0 ;
28888 PyObject
* obj2
= 0 ;
28889 char * kwnames
[] = {
28890 (char *) "self",(char *) "itemId",(char *) "col", NULL
28893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28895 if (!SWIG_IsOK(res1
)) {
28896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28899 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28900 if (!SWIG_IsOK(ecode2
)) {
28901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28903 arg2
= static_cast< long >(val2
);
28905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28906 if (!SWIG_IsOK(ecode3
)) {
28907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28909 arg3
= static_cast< int >(val3
);
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28926 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
= 0;
28928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28929 wxListItem
*arg2
= 0 ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char * kwnames
[] = {
28938 (char *) "self",(char *) "info", NULL
28941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28943 if (!SWIG_IsOK(res1
)) {
28944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28946 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28948 if (!SWIG_IsOK(res2
)) {
28949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28954 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (bool)(arg1
)->SetItem(*arg2
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28970 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
= 0;
28972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28975 wxString
*arg4
= 0 ;
28976 int arg5
= (int) -1 ;
28984 bool temp4
= false ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 PyObject
* obj2
= 0 ;
28990 PyObject
* obj3
= 0 ;
28991 PyObject
* obj4
= 0 ;
28992 char * kwnames
[] = {
28993 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28998 if (!SWIG_IsOK(res1
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29001 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29002 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29003 if (!SWIG_IsOK(ecode2
)) {
29004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29006 arg2
= static_cast< long >(val2
);
29007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29008 if (!SWIG_IsOK(ecode3
)) {
29009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29011 arg3
= static_cast< int >(val3
);
29013 arg4
= wxString_in_helper(obj3
);
29014 if (arg4
== NULL
) SWIG_fail
;
29018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29019 if (!SWIG_IsOK(ecode5
)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29022 arg5
= static_cast< int >(val5
);
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= SWIG_From_long(static_cast< long >(result
));
29045 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
= 0;
29047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 PyObject
* obj2
= 0 ;
29060 char * kwnames
[] = {
29061 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29066 if (!SWIG_IsOK(res1
)) {
29067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29069 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29071 if (!SWIG_IsOK(ecode2
)) {
29072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29074 arg2
= static_cast< long >(val2
);
29075 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29076 if (!SWIG_IsOK(ecode3
)) {
29077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29079 arg3
= static_cast< long >(val3
);
29081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29082 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= SWIG_From_int(static_cast< int >(result
));
29093 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= 0;
29095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 PyObject
* obj2
= 0 ;
29111 PyObject
* obj3
= 0 ;
29112 char * kwnames
[] = {
29113 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29118 if (!SWIG_IsOK(res1
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29122 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29123 if (!SWIG_IsOK(ecode2
)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29126 arg2
= static_cast< long >(val2
);
29127 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29128 if (!SWIG_IsOK(ecode3
)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29131 arg3
= static_cast< long >(val3
);
29132 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29133 if (!SWIG_IsOK(ecode4
)) {
29134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29136 arg4
= static_cast< long >(val4
);
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29152 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
= 0;
29154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29157 int arg4
= (int) -1 ;
29167 PyObject
* obj0
= 0 ;
29168 PyObject
* obj1
= 0 ;
29169 PyObject
* obj2
= 0 ;
29170 PyObject
* obj3
= 0 ;
29171 char * kwnames
[] = {
29172 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29177 if (!SWIG_IsOK(res1
)) {
29178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29180 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29181 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29182 if (!SWIG_IsOK(ecode2
)) {
29183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29185 arg2
= static_cast< long >(val2
);
29186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29187 if (!SWIG_IsOK(ecode3
)) {
29188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29190 arg3
= static_cast< int >(val3
);
29192 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29193 if (!SWIG_IsOK(ecode4
)) {
29194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29196 arg4
= static_cast< int >(val4
);
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29213 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
= 0;
29215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 PyObject
* obj3
= 0 ;
29232 char * kwnames
[] = {
29233 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29238 if (!SWIG_IsOK(res1
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29241 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29242 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29243 if (!SWIG_IsOK(ecode2
)) {
29244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29246 arg2
= static_cast< long >(val2
);
29247 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29248 if (!SWIG_IsOK(ecode3
)) {
29249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29251 arg3
= static_cast< long >(val3
);
29252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29253 if (!SWIG_IsOK(ecode4
)) {
29254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29256 arg4
= static_cast< int >(val4
);
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29272 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
= 0;
29274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 char * kwnames
[] = {
29284 (char *) "self",(char *) "item", NULL
29287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29292 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29294 if (!SWIG_IsOK(ecode2
)) {
29295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29297 arg2
= static_cast< long >(val2
);
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29317 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
= 0;
29319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29321 wxString
*arg3
= 0 ;
29326 bool temp3
= false ;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 PyObject
* obj2
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "item",(char *) "str", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29339 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29340 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29341 if (!SWIG_IsOK(ecode2
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29344 arg2
= static_cast< long >(val2
);
29346 arg3
= wxString_in_helper(obj2
);
29347 if (arg3
== NULL
) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_Py_Void();
29371 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
= 0;
29373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 char * kwnames
[] = {
29383 (char *) "self",(char *) "item", NULL
29386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29388 if (!SWIG_IsOK(res1
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29391 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29392 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29393 if (!SWIG_IsOK(ecode2
)) {
29394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29396 arg2
= static_cast< long >(val2
);
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= SWIG_From_long(static_cast< long >(result
));
29410 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
= 0;
29412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29422 PyObject
* obj0
= 0 ;
29423 PyObject
* obj1
= 0 ;
29424 PyObject
* obj2
= 0 ;
29425 char * kwnames
[] = {
29426 (char *) "self",(char *) "item",(char *) "data", NULL
29429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29431 if (!SWIG_IsOK(res1
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29434 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29435 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29436 if (!SWIG_IsOK(ecode2
)) {
29437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29439 arg2
= static_cast< long >(val2
);
29440 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29441 if (!SWIG_IsOK(ecode3
)) {
29442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29444 arg3
= static_cast< long >(val3
);
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29460 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
= 0;
29462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29469 PyObject
* obj0
= 0 ;
29470 PyObject
* obj1
= 0 ;
29471 char * kwnames
[] = {
29472 (char *) "self",(char *) "item", NULL
29475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29477 if (!SWIG_IsOK(res1
)) {
29478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29480 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29481 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29482 if (!SWIG_IsOK(ecode2
)) {
29483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29485 arg2
= static_cast< long >(val2
);
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29499 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
= 0;
29501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29503 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 PyObject
* obj2
= 0 ;
29514 char * kwnames
[] = {
29515 (char *) "self",(char *) "item",(char *) "code", NULL
29518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29520 if (!SWIG_IsOK(res1
)) {
29521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29523 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29525 if (!SWIG_IsOK(ecode2
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29528 arg2
= static_cast< long >(val2
);
29530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29531 if (!SWIG_IsOK(ecode3
)) {
29532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29534 arg3
= static_cast< int >(val3
);
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29549 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
= 0;
29551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29553 wxPoint
*arg3
= 0 ;
29560 PyObject
* obj0
= 0 ;
29561 PyObject
* obj1
= 0 ;
29562 PyObject
* obj2
= 0 ;
29563 char * kwnames
[] = {
29564 (char *) "self",(char *) "item",(char *) "pos", NULL
29567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29573 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29574 if (!SWIG_IsOK(ecode2
)) {
29575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29577 arg2
= static_cast< long >(val2
);
29580 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29597 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29598 PyObject
*resultobj
= 0;
29599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29603 PyObject
*swig_obj
[1] ;
29605 if (!args
) SWIG_fail
;
29606 swig_obj
[0] = args
;
29607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29608 if (!SWIG_IsOK(res1
)) {
29609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29611 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= SWIG_From_int(static_cast< int >(result
));
29625 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29626 PyObject
*resultobj
= 0;
29627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29631 PyObject
*swig_obj
[1] ;
29633 if (!args
) SWIG_fail
;
29634 swig_obj
[0] = args
;
29635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29639 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29643 wxPyEndAllowThreads(__tstate
);
29644 if (PyErr_Occurred()) SWIG_fail
;
29646 resultobj
= SWIG_From_int(static_cast< int >(result
));
29653 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29654 PyObject
*resultobj
= 0;
29655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29659 PyObject
*swig_obj
[1] ;
29661 if (!args
) SWIG_fail
;
29662 swig_obj
[0] = args
;
29663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29681 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
= 0;
29683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29685 bool arg3
= (bool) false ;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 PyObject
* obj2
= 0 ;
29695 char * kwnames
[] = {
29696 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29701 if (!SWIG_IsOK(res1
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29704 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29706 if (!SWIG_IsOK(ecode2
)) {
29707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29709 arg2
= static_cast< int >(val2
);
29711 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29712 if (!SWIG_IsOK(ecode3
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29715 arg3
= static_cast< bool >(val3
);
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 (arg1
)->SetItemSpacing(arg2
,arg3
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_Py_Void();
29730 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29731 PyObject
*resultobj
= 0;
29732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29736 PyObject
*swig_obj
[1] ;
29738 if (!args
) SWIG_fail
;
29739 swig_obj
[0] = args
;
29740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29741 if (!SWIG_IsOK(res1
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29744 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29747 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= SWIG_From_int(static_cast< int >(result
));
29758 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29759 PyObject
*resultobj
= 0;
29760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29764 PyObject
*swig_obj
[1] ;
29766 if (!args
) SWIG_fail
;
29767 swig_obj
[0] = args
;
29768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29769 if (!SWIG_IsOK(res1
)) {
29770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29772 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29786 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
= 0;
29788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29789 wxColour
*arg2
= 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 char * kwnames
[] = {
29796 (char *) "self",(char *) "col", NULL
29799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29801 if (!SWIG_IsOK(res1
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29804 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= SWIG_Py_Void();
29822 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29823 PyObject
*resultobj
= 0;
29824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29828 PyObject
*swig_obj
[1] ;
29830 if (!args
) SWIG_fail
;
29831 swig_obj
[0] = args
;
29832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29833 if (!SWIG_IsOK(res1
)) {
29834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29836 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29840 wxPyEndAllowThreads(__tstate
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29843 resultobj
= SWIG_From_long(static_cast< long >(result
));
29850 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
= 0;
29852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29854 bool arg3
= (bool) true ;
29861 PyObject
* obj0
= 0 ;
29862 PyObject
* obj1
= 0 ;
29863 PyObject
* obj2
= 0 ;
29864 char * kwnames
[] = {
29865 (char *) "self",(char *) "style",(char *) "add", NULL
29868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29870 if (!SWIG_IsOK(res1
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29873 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29875 if (!SWIG_IsOK(ecode2
)) {
29876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29878 arg2
= static_cast< long >(val2
);
29880 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29881 if (!SWIG_IsOK(ecode3
)) {
29882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29884 arg3
= static_cast< bool >(val3
);
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 (arg1
)->SetSingleStyle(arg2
,arg3
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= SWIG_Py_Void();
29899 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
= 0;
29901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29903 int arg3
= (int) wxLIST_NEXT_ALL
;
29904 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 PyObject
* obj2
= 0 ;
29917 PyObject
* obj3
= 0 ;
29918 char * kwnames
[] = {
29919 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29924 if (!SWIG_IsOK(res1
)) {
29925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29927 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29928 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29929 if (!SWIG_IsOK(ecode2
)) {
29930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29932 arg2
= static_cast< long >(val2
);
29934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29935 if (!SWIG_IsOK(ecode3
)) {
29936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29938 arg3
= static_cast< int >(val3
);
29941 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29942 if (!SWIG_IsOK(ecode4
)) {
29943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29945 arg4
= static_cast< int >(val4
);
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29950 wxPyEndAllowThreads(__tstate
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= SWIG_From_long(static_cast< long >(result
));
29960 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= 0;
29962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29964 wxImageList
*result
= 0 ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 char * kwnames
[] = {
29972 (char *) "self",(char *) "which", NULL
29975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29977 if (!SWIG_IsOK(res1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29980 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29982 if (!SWIG_IsOK(ecode2
)) {
29983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29985 arg2
= static_cast< int >(val2
);
29987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29988 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30001 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
= 0;
30003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30004 wxImageList
*arg2
= (wxImageList
*) 0 ;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 PyObject
* obj2
= 0 ;
30015 char * kwnames
[] = {
30016 (char *) "self",(char *) "imageList",(char *) "which", NULL
30019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30021 if (!SWIG_IsOK(res1
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30025 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30026 if (!SWIG_IsOK(res2
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30029 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30031 if (!SWIG_IsOK(ecode3
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30034 arg3
= static_cast< int >(val3
);
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 (arg1
)->SetImageList(arg2
,arg3
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_Py_Void();
30048 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
= 0;
30050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30051 wxImageList
*arg2
= (wxImageList
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 PyObject
* obj2
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "self",(char *) "imageList",(char *) "which", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30067 if (!SWIG_IsOK(res1
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30070 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30071 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30072 if (!SWIG_IsOK(res2
)) {
30073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30076 if (!SWIG_IsOK(ecode3
)) {
30077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30079 arg3
= static_cast< int >(val3
);
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 (arg1
)->AssignImageList(arg2
,arg3
);
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= SWIG_Py_Void();
30093 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30094 PyObject
*resultobj
= 0;
30095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30099 PyObject
*swig_obj
[1] ;
30101 if (!args
) SWIG_fail
;
30102 swig_obj
[0] = args
;
30103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30104 if (!SWIG_IsOK(res1
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30107 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30123 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30124 PyObject
*resultobj
= 0;
30125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30129 PyObject
*swig_obj
[1] ;
30131 if (!args
) SWIG_fail
;
30132 swig_obj
[0] = args
;
30133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30134 if (!SWIG_IsOK(res1
)) {
30135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30137 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30153 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
= 0;
30155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30161 PyObject
* obj0
= 0 ;
30162 PyObject
* obj1
= 0 ;
30163 char * kwnames
[] = {
30164 (char *) "self",(char *) "item", NULL
30167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30169 if (!SWIG_IsOK(res1
)) {
30170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30172 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30174 if (!SWIG_IsOK(ecode2
)) {
30175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30177 arg2
= static_cast< long >(val2
);
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 (arg1
)->RefreshItem(arg2
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_Py_Void();
30191 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
= 0;
30193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30202 PyObject
* obj0
= 0 ;
30203 PyObject
* obj1
= 0 ;
30204 PyObject
* obj2
= 0 ;
30205 char * kwnames
[] = {
30206 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30211 if (!SWIG_IsOK(res1
)) {
30212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30214 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30215 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30216 if (!SWIG_IsOK(ecode2
)) {
30217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30219 arg2
= static_cast< long >(val2
);
30220 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30221 if (!SWIG_IsOK(ecode3
)) {
30222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30224 arg3
= static_cast< long >(val3
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 (arg1
)->RefreshItems(arg2
,arg3
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= SWIG_Py_Void();
30238 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
= 0;
30240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30241 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 char * kwnames
[] = {
30250 (char *) "self",(char *) "flag", NULL
30253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30255 if (!SWIG_IsOK(res1
)) {
30256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30258 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30261 if (!SWIG_IsOK(ecode2
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30264 arg2
= static_cast< int >(val2
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= (bool)(arg1
)->Arrange(arg2
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30281 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
= 0;
30283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 char * kwnames
[] = {
30293 (char *) "self",(char *) "item", NULL
30296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30301 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30302 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30303 if (!SWIG_IsOK(ecode2
)) {
30304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30306 arg2
= static_cast< long >(val2
);
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (bool)(arg1
)->DeleteItem(arg2
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30322 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30323 PyObject
*resultobj
= 0;
30324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30328 PyObject
*swig_obj
[1] ;
30330 if (!args
) SWIG_fail
;
30331 swig_obj
[0] = args
;
30332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30333 if (!SWIG_IsOK(res1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)(arg1
)->DeleteAllItems();
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30352 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(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 *) "col", NULL
30367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",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_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30374 if (!SWIG_IsOK(ecode2
)) {
30375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30377 arg2
= static_cast< int >(val2
);
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 result
= (bool)(arg1
)->DeleteColumn(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_DeleteAllColumns(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_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30407 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (bool)(arg1
)->DeleteAllColumns();
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30423 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30424 PyObject
*resultobj
= 0;
30425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30428 PyObject
*swig_obj
[1] ;
30430 if (!args
) SWIG_fail
;
30431 swig_obj
[0] = args
;
30432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30433 if (!SWIG_IsOK(res1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30436 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 (arg1
)->ClearAll();
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= SWIG_Py_Void();
30450 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30451 PyObject
*resultobj
= 0;
30452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30458 PyObject
* obj0
= 0 ;
30459 PyObject
* obj1
= 0 ;
30460 char * kwnames
[] = {
30461 (char *) "self",(char *) "item", NULL
30464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30469 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30470 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30471 if (!SWIG_IsOK(ecode2
)) {
30472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30474 arg2
= static_cast< long >(val2
);
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 (arg1
)->EditLabel(arg2
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= SWIG_Py_Void();
30488 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
= 0;
30490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 char * kwnames
[] = {
30500 (char *) "self",(char *) "item", NULL
30503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30505 if (!SWIG_IsOK(res1
)) {
30506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30508 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30509 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30510 if (!SWIG_IsOK(ecode2
)) {
30511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30513 arg2
= static_cast< long >(val2
);
30515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30516 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30529 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
= 0;
30531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30533 wxString
*arg3
= 0 ;
30534 bool arg4
= (bool) false ;
30540 bool temp3
= false ;
30543 PyObject
* obj0
= 0 ;
30544 PyObject
* obj1
= 0 ;
30545 PyObject
* obj2
= 0 ;
30546 PyObject
* obj3
= 0 ;
30547 char * kwnames
[] = {
30548 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30553 if (!SWIG_IsOK(res1
)) {
30554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30556 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30557 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30558 if (!SWIG_IsOK(ecode2
)) {
30559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30561 arg2
= static_cast< long >(val2
);
30563 arg3
= wxString_in_helper(obj2
);
30564 if (arg3
== NULL
) SWIG_fail
;
30568 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30569 if (!SWIG_IsOK(ecode4
)) {
30570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30572 arg4
= static_cast< bool >(val4
);
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= SWIG_From_long(static_cast< long >(result
));
30595 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
= 0;
30597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 PyObject
* obj2
= 0 ;
30610 char * kwnames
[] = {
30611 (char *) "self",(char *) "start",(char *) "data", NULL
30614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30616 if (!SWIG_IsOK(res1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30619 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30620 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30621 if (!SWIG_IsOK(ecode2
)) {
30622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30624 arg2
= static_cast< long >(val2
);
30625 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30626 if (!SWIG_IsOK(ecode3
)) {
30627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30629 arg3
= static_cast< long >(val3
);
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 resultobj
= SWIG_From_long(static_cast< long >(result
));
30643 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
= 0;
30645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30647 wxPoint
*arg3
= 0 ;
30657 PyObject
* obj0
= 0 ;
30658 PyObject
* obj1
= 0 ;
30659 PyObject
* obj2
= 0 ;
30660 PyObject
* obj3
= 0 ;
30661 char * kwnames
[] = {
30662 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30667 if (!SWIG_IsOK(res1
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30672 if (!SWIG_IsOK(ecode2
)) {
30673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30675 arg2
= static_cast< long >(val2
);
30678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30681 if (!SWIG_IsOK(ecode4
)) {
30682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30684 arg4
= static_cast< int >(val4
);
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_From_long(static_cast< long >(result
));
30698 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30699 PyObject
*resultobj
= 0;
30700 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30701 wxPoint
*arg2
= 0 ;
30708 int res3
= SWIG_TMPOBJ
;
30709 PyObject
* obj0
= 0 ;
30710 PyObject
* obj1
= 0 ;
30711 char * kwnames
[] = {
30712 (char *) "self",(char *) "point", NULL
30716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30718 if (!SWIG_IsOK(res1
)) {
30719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30721 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30724 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_From_long(static_cast< long >(result
));
30733 if (SWIG_IsTmpObj(res3
)) {
30734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30736 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30745 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30746 PyObject
*resultobj
= 0;
30747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30748 wxPoint
*arg2
= 0 ;
30750 long *arg4
= (long *) 0 ;
30756 int res3
= SWIG_TMPOBJ
;
30758 int res4
= SWIG_TMPOBJ
;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char * kwnames
[] = {
30762 (char *) "self",(char *) "point", NULL
30767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30769 if (!SWIG_IsOK(res1
)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30772 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 resultobj
= SWIG_From_long(static_cast< long >(result
));
30784 if (SWIG_IsTmpObj(res3
)) {
30785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30787 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30790 if (SWIG_IsTmpObj(res4
)) {
30791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30793 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30802 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
= 0;
30804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30805 wxListItem
*arg2
= 0 ;
30811 PyObject
* obj0
= 0 ;
30812 PyObject
* obj1
= 0 ;
30813 char * kwnames
[] = {
30814 (char *) "self",(char *) "info", NULL
30817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30822 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30824 if (!SWIG_IsOK(res2
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30830 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (long)(arg1
)->InsertItem(*arg2
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= SWIG_From_long(static_cast< long >(result
));
30844 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30845 PyObject
*resultobj
= 0;
30846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30848 wxString
*arg3
= 0 ;
30849 int arg4
= (int) -1 ;
30855 bool temp3
= false ;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 PyObject
* obj2
= 0 ;
30861 PyObject
* obj3
= 0 ;
30862 char * kwnames
[] = {
30863 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30868 if (!SWIG_IsOK(res1
)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30871 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30872 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30873 if (!SWIG_IsOK(ecode2
)) {
30874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30876 arg2
= static_cast< long >(val2
);
30878 arg3
= wxString_in_helper(obj2
);
30879 if (arg3
== NULL
) SWIG_fail
;
30883 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30884 if (!SWIG_IsOK(ecode4
)) {
30885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30887 arg4
= static_cast< int >(val4
);
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= SWIG_From_long(static_cast< long >(result
));
30910 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
= 0;
30912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30922 PyObject
* obj0
= 0 ;
30923 PyObject
* obj1
= 0 ;
30924 PyObject
* obj2
= 0 ;
30925 char * kwnames
[] = {
30926 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30935 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30936 if (!SWIG_IsOK(ecode2
)) {
30937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30939 arg2
= static_cast< long >(val2
);
30940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30941 if (!SWIG_IsOK(ecode3
)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30944 arg3
= static_cast< int >(val3
);
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= SWIG_From_long(static_cast< long >(result
));
30958 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
= 0;
30960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30962 wxString
*arg3
= 0 ;
30969 bool temp3
= false ;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 PyObject
* obj2
= 0 ;
30975 PyObject
* obj3
= 0 ;
30976 char * kwnames
[] = {
30977 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30982 if (!SWIG_IsOK(res1
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30985 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30987 if (!SWIG_IsOK(ecode2
)) {
30988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30990 arg2
= static_cast< long >(val2
);
30992 arg3
= wxString_in_helper(obj2
);
30993 if (arg3
== NULL
) SWIG_fail
;
30996 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30997 if (!SWIG_IsOK(ecode4
)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31000 arg4
= static_cast< int >(val4
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_From_long(static_cast< long >(result
));
31022 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
= 0;
31024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31026 wxListItem
*arg3
= 0 ;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 PyObject
* obj2
= 0 ;
31037 char * kwnames
[] = {
31038 (char *) "self",(char *) "col",(char *) "info", NULL
31041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31043 if (!SWIG_IsOK(res1
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31046 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31048 if (!SWIG_IsOK(ecode2
)) {
31049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31051 arg2
= static_cast< long >(val2
);
31052 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31053 if (!SWIG_IsOK(res3
)) {
31054 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31059 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 resultobj
= SWIG_From_long(static_cast< long >(result
));
31073 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31074 PyObject
*resultobj
= 0;
31075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31077 wxString
*arg3
= 0 ;
31078 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31079 int arg5
= (int) -1 ;
31085 bool temp3
= false ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 PyObject
* obj3
= 0 ;
31094 PyObject
* obj4
= 0 ;
31095 char * kwnames
[] = {
31096 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31101 if (!SWIG_IsOK(res1
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31106 if (!SWIG_IsOK(ecode2
)) {
31107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31109 arg2
= static_cast< long >(val2
);
31111 arg3
= wxString_in_helper(obj2
);
31112 if (arg3
== NULL
) SWIG_fail
;
31116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31117 if (!SWIG_IsOK(ecode4
)) {
31118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31120 arg4
= static_cast< int >(val4
);
31123 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31124 if (!SWIG_IsOK(ecode5
)) {
31125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31127 arg5
= static_cast< int >(val5
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_From_long(static_cast< long >(result
));
31150 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
= 0;
31152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 char * kwnames
[] = {
31161 (char *) "self",(char *) "count", NULL
31164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31166 if (!SWIG_IsOK(res1
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31171 if (!SWIG_IsOK(ecode2
)) {
31172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31174 arg2
= static_cast< long >(val2
);
31176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31177 (arg1
)->SetItemCount(arg2
);
31178 wxPyEndAllowThreads(__tstate
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 resultobj
= SWIG_Py_Void();
31188 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
= 0;
31190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 PyObject
* obj2
= 0 ;
31203 char * kwnames
[] = {
31204 (char *) "self",(char *) "dx",(char *) "dy", NULL
31207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31209 if (!SWIG_IsOK(res1
)) {
31210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31212 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31214 if (!SWIG_IsOK(ecode2
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31217 arg2
= static_cast< int >(val2
);
31218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31219 if (!SWIG_IsOK(ecode3
)) {
31220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31222 arg3
= static_cast< int >(val3
);
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31238 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
= 0;
31240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31242 wxColour
*arg3
= 0 ;
31248 PyObject
* obj0
= 0 ;
31249 PyObject
* obj1
= 0 ;
31250 PyObject
* obj2
= 0 ;
31251 char * kwnames
[] = {
31252 (char *) "self",(char *) "item",(char *) "col", NULL
31255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31257 if (!SWIG_IsOK(res1
)) {
31258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31260 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31261 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31262 if (!SWIG_IsOK(ecode2
)) {
31263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31265 arg2
= static_cast< long >(val2
);
31268 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31276 resultobj
= SWIG_Py_Void();
31283 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
= 0;
31285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 char * kwnames
[] = {
31295 (char *) "self",(char *) "item", NULL
31298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31300 if (!SWIG_IsOK(res1
)) {
31301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31303 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31304 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31305 if (!SWIG_IsOK(ecode2
)) {
31306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31308 arg2
= static_cast< long >(val2
);
31310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31311 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31312 wxPyEndAllowThreads(__tstate
);
31313 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31322 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
= 0;
31324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31326 wxColour
*arg3
= 0 ;
31332 PyObject
* obj0
= 0 ;
31333 PyObject
* obj1
= 0 ;
31334 PyObject
* obj2
= 0 ;
31335 char * kwnames
[] = {
31336 (char *) "self",(char *) "item",(char *) "col", NULL
31339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31341 if (!SWIG_IsOK(res1
)) {
31342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31344 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31345 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31346 if (!SWIG_IsOK(ecode2
)) {
31347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31349 arg2
= static_cast< long >(val2
);
31352 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_Py_Void();
31367 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31368 PyObject
*resultobj
= 0;
31369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 char * kwnames
[] = {
31379 (char *) "self",(char *) "item", NULL
31382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31384 if (!SWIG_IsOK(res1
)) {
31385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31387 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31388 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31389 if (!SWIG_IsOK(ecode2
)) {
31390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31392 arg2
= static_cast< long >(val2
);
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31406 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
= 0;
31408 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31417 PyObject
* obj0
= 0 ;
31418 PyObject
* obj1
= 0 ;
31419 PyObject
* obj2
= 0 ;
31420 char * kwnames
[] = {
31421 (char *) "self",(char *) "item",(char *) "f", NULL
31424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31426 if (!SWIG_IsOK(res1
)) {
31427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31429 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31430 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31431 if (!SWIG_IsOK(ecode2
)) {
31432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31434 arg2
= static_cast< long >(val2
);
31435 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31436 if (!SWIG_IsOK(res3
)) {
31437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31442 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= SWIG_Py_Void();
31456 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
= 0;
31458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31465 PyObject
* obj0
= 0 ;
31466 PyObject
* obj1
= 0 ;
31467 char * kwnames
[] = {
31468 (char *) "self",(char *) "item", NULL
31471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31473 if (!SWIG_IsOK(res1
)) {
31474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31476 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31477 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31478 if (!SWIG_IsOK(ecode2
)) {
31479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31481 arg2
= static_cast< long >(val2
);
31483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31484 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31495 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31496 PyObject
*resultobj
= 0;
31497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31498 PyObject
*arg2
= (PyObject
*) 0 ;
31502 PyObject
* obj0
= 0 ;
31503 PyObject
* obj1
= 0 ;
31504 char * kwnames
[] = {
31505 (char *) "self",(char *) "func", NULL
31508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31510 if (!SWIG_IsOK(res1
)) {
31511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31513 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31530 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31531 PyObject
*resultobj
= 0;
31532 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31533 wxWindow
*result
= 0 ;
31536 PyObject
*swig_obj
[1] ;
31538 if (!args
) SWIG_fail
;
31539 swig_obj
[0] = args
;
31540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31541 if (!SWIG_IsOK(res1
)) {
31542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31544 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31547 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31552 resultobj
= wxPyMake_wxObject(result
, 0);
31560 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31561 PyObject
*resultobj
= 0;
31562 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31563 SwigValueWrapper
<wxVisualAttributes
> result
;
31566 PyObject
* obj0
= 0 ;
31567 char * kwnames
[] = {
31568 (char *) "variant", NULL
31571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31573 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31574 if (!SWIG_IsOK(ecode1
)) {
31575 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31577 arg1
= static_cast< wxWindowVariant
>(val1
);
31580 if (!wxPyCheckForApp()) SWIG_fail
;
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31586 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31593 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31596 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31597 return SWIG_Py_Void();
31600 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31601 return SWIG_Python_InitShadowInstance(args
);
31604 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= 0;
31606 wxWindow
*arg1
= (wxWindow
*) 0 ;
31607 int arg2
= (int) -1 ;
31608 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31609 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31610 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31611 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31612 long arg5
= (long) wxLC_REPORT
;
31613 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31614 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31615 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31616 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31617 wxListView
*result
= 0 ;
31628 bool temp7
= false ;
31629 PyObject
* obj0
= 0 ;
31630 PyObject
* obj1
= 0 ;
31631 PyObject
* obj2
= 0 ;
31632 PyObject
* obj3
= 0 ;
31633 PyObject
* obj4
= 0 ;
31634 PyObject
* obj5
= 0 ;
31635 PyObject
* obj6
= 0 ;
31636 char * kwnames
[] = {
31637 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31642 if (!SWIG_IsOK(res1
)) {
31643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31648 if (!SWIG_IsOK(ecode2
)) {
31649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31651 arg2
= static_cast< int >(val2
);
31656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31667 if (!SWIG_IsOK(ecode5
)) {
31668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31670 arg5
= static_cast< long >(val5
);
31673 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31674 if (!SWIG_IsOK(res6
)) {
31675 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31680 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31684 arg7
= wxString_in_helper(obj6
);
31685 if (arg7
== NULL
) SWIG_fail
;
31690 if (!wxPyCheckForApp()) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31711 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31712 PyObject
*resultobj
= 0;
31713 wxListView
*result
= 0 ;
31715 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31717 if (!wxPyCheckForApp()) SWIG_fail
;
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (wxListView
*)new wxListView();
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31730 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
= 0;
31732 wxListView
*arg1
= (wxListView
*) 0 ;
31733 wxWindow
*arg2
= (wxWindow
*) 0 ;
31734 int arg3
= (int) -1 ;
31735 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31736 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31737 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31738 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31739 long arg6
= (long) wxLC_REPORT
;
31740 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31741 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31742 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31743 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31757 bool temp8
= false ;
31758 PyObject
* obj0
= 0 ;
31759 PyObject
* obj1
= 0 ;
31760 PyObject
* obj2
= 0 ;
31761 PyObject
* obj3
= 0 ;
31762 PyObject
* obj4
= 0 ;
31763 PyObject
* obj5
= 0 ;
31764 PyObject
* obj6
= 0 ;
31765 PyObject
* obj7
= 0 ;
31766 char * kwnames
[] = {
31767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31772 if (!SWIG_IsOK(res1
)) {
31773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31775 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31777 if (!SWIG_IsOK(res2
)) {
31778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31780 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31783 if (!SWIG_IsOK(ecode3
)) {
31784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31786 arg3
= static_cast< int >(val3
);
31791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31801 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31802 if (!SWIG_IsOK(ecode6
)) {
31803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31805 arg6
= static_cast< long >(val6
);
31808 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31809 if (!SWIG_IsOK(res7
)) {
31810 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31815 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31819 arg8
= wxString_in_helper(obj7
);
31820 if (arg8
== NULL
) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31827 wxPyEndAllowThreads(__tstate
);
31828 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31847 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
= 0;
31849 wxListView
*arg1
= (wxListView
*) 0 ;
31851 bool arg3
= (bool) true ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 PyObject
* obj2
= 0 ;
31861 char * kwnames
[] = {
31862 (char *) "self",(char *) "n",(char *) "on", NULL
31865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31867 if (!SWIG_IsOK(res1
)) {
31868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31870 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31871 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31872 if (!SWIG_IsOK(ecode2
)) {
31873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31875 arg2
= static_cast< long >(val2
);
31877 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31878 if (!SWIG_IsOK(ecode3
)) {
31879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31881 arg3
= static_cast< bool >(val3
);
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 (arg1
)->Select(arg2
,arg3
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 resultobj
= SWIG_Py_Void();
31896 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
= 0;
31898 wxListView
*arg1
= (wxListView
*) 0 ;
31904 PyObject
* obj0
= 0 ;
31905 PyObject
* obj1
= 0 ;
31906 char * kwnames
[] = {
31907 (char *) "self",(char *) "index", NULL
31910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31912 if (!SWIG_IsOK(res1
)) {
31913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31915 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31916 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31917 if (!SWIG_IsOK(ecode2
)) {
31918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31920 arg2
= static_cast< long >(val2
);
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 (arg1
)->Focus(arg2
);
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= SWIG_Py_Void();
31934 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31935 PyObject
*resultobj
= 0;
31936 wxListView
*arg1
= (wxListView
*) 0 ;
31940 PyObject
*swig_obj
[1] ;
31942 if (!args
) SWIG_fail
;
31943 swig_obj
[0] = args
;
31944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31948 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31955 resultobj
= SWIG_From_long(static_cast< long >(result
));
31962 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31963 PyObject
*resultobj
= 0;
31964 wxListView
*arg1
= (wxListView
*) 0 ;
31971 PyObject
* obj0
= 0 ;
31972 PyObject
* obj1
= 0 ;
31973 char * kwnames
[] = {
31974 (char *) "self",(char *) "item", NULL
31977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31979 if (!SWIG_IsOK(res1
)) {
31980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31982 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31984 if (!SWIG_IsOK(ecode2
)) {
31985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31987 arg2
= static_cast< long >(val2
);
31989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31990 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 resultobj
= SWIG_From_long(static_cast< long >(result
));
32001 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32002 PyObject
*resultobj
= 0;
32003 wxListView
*arg1
= (wxListView
*) 0 ;
32007 PyObject
*swig_obj
[1] ;
32009 if (!args
) SWIG_fail
;
32010 swig_obj
[0] = args
;
32011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32012 if (!SWIG_IsOK(res1
)) {
32013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32015 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32022 resultobj
= SWIG_From_long(static_cast< long >(result
));
32029 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32030 PyObject
*resultobj
= 0;
32031 wxListView
*arg1
= (wxListView
*) 0 ;
32038 PyObject
* obj0
= 0 ;
32039 PyObject
* obj1
= 0 ;
32040 char * kwnames
[] = {
32041 (char *) "self",(char *) "index", NULL
32044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32046 if (!SWIG_IsOK(res1
)) {
32047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32049 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32050 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32051 if (!SWIG_IsOK(ecode2
)) {
32052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32054 arg2
= static_cast< long >(val2
);
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (bool)(arg1
)->IsSelected(arg2
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32070 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
= 0;
32072 wxListView
*arg1
= (wxListView
*) 0 ;
32081 PyObject
* obj0
= 0 ;
32082 PyObject
* obj1
= 0 ;
32083 PyObject
* obj2
= 0 ;
32084 char * kwnames
[] = {
32085 (char *) "self",(char *) "col",(char *) "image", NULL
32088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32090 if (!SWIG_IsOK(res1
)) {
32091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32093 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32095 if (!SWIG_IsOK(ecode2
)) {
32096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32098 arg2
= static_cast< int >(val2
);
32099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32100 if (!SWIG_IsOK(ecode3
)) {
32101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32103 arg3
= static_cast< int >(val3
);
32105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32106 (arg1
)->SetColumnImage(arg2
,arg3
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 resultobj
= SWIG_Py_Void();
32117 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
= 0;
32119 wxListView
*arg1
= (wxListView
*) 0 ;
32125 PyObject
* obj0
= 0 ;
32126 PyObject
* obj1
= 0 ;
32127 char * kwnames
[] = {
32128 (char *) "self",(char *) "col", NULL
32131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32133 if (!SWIG_IsOK(res1
)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32136 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32138 if (!SWIG_IsOK(ecode2
)) {
32139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32141 arg2
= static_cast< int >(val2
);
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 (arg1
)->ClearColumnImage(arg2
);
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32148 resultobj
= SWIG_Py_Void();
32155 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32158 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32159 return SWIG_Py_Void();
32162 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32163 return SWIG_Python_InitShadowInstance(args
);
32166 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32167 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32172 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32173 PyObject
*pyobj
= 0;
32177 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32179 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32186 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32187 PyObject
*resultobj
= 0;
32188 wxTreeItemId
*result
= 0 ;
32190 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 result
= (wxTreeItemId
*)new wxTreeItemId();
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32204 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32205 PyObject
*resultobj
= 0;
32206 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32209 PyObject
*swig_obj
[1] ;
32211 if (!args
) SWIG_fail
;
32212 swig_obj
[0] = args
;
32213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32214 if (!SWIG_IsOK(res1
)) {
32215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32217 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= SWIG_Py_Void();
32232 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32233 PyObject
*resultobj
= 0;
32234 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32238 PyObject
*swig_obj
[1] ;
32240 if (!args
) SWIG_fail
;
32241 swig_obj
[0] = args
;
32242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32243 if (!SWIG_IsOK(res1
)) {
32244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32246 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32262 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32263 PyObject
*resultobj
= 0;
32264 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32265 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32271 PyObject
* obj0
= 0 ;
32272 PyObject
* obj1
= 0 ;
32273 char * kwnames
[] = {
32274 (char *) "self",(char *) "other", NULL
32277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32279 if (!SWIG_IsOK(res1
)) {
32280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32282 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32284 if (!SWIG_IsOK(res2
)) {
32285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32287 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32303 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
= 0;
32305 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32306 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char * kwnames
[] = {
32315 (char *) "self",(char *) "other", NULL
32318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32320 if (!SWIG_IsOK(res1
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32323 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32325 if (!SWIG_IsOK(res2
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32328 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32344 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32345 PyObject
*resultobj
= 0;
32346 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32347 void *arg2
= (void *) 0 ;
32351 PyObject
*swig_obj
[2] ;
32353 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32355 if (!SWIG_IsOK(res1
)) {
32356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32358 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32359 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32360 if (!SWIG_IsOK(res2
)) {
32361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32363 if (arg1
) (arg1
)->m_pItem
= arg2
;
32365 resultobj
= SWIG_Py_Void();
32372 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32373 PyObject
*resultobj
= 0;
32374 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32378 PyObject
*swig_obj
[1] ;
32380 if (!args
) SWIG_fail
;
32381 swig_obj
[0] = args
;
32382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32383 if (!SWIG_IsOK(res1
)) {
32384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32386 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32387 result
= (void *) ((arg1
)->m_pItem
);
32388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32395 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32398 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32399 return SWIG_Py_Void();
32402 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32403 return SWIG_Python_InitShadowInstance(args
);
32406 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32407 PyObject
*resultobj
= 0;
32408 PyObject
*arg1
= (PyObject
*) NULL
;
32409 wxPyTreeItemData
*result
= 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char * kwnames
[] = {
32412 (char *) "obj", NULL
32415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32421 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32432 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32433 PyObject
*resultobj
= 0;
32434 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32437 PyObject
*swig_obj
[1] ;
32439 if (!args
) SWIG_fail
;
32440 swig_obj
[0] = args
;
32441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32442 if (!SWIG_IsOK(res1
)) {
32443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32445 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_Py_Void();
32460 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32461 PyObject
*resultobj
= 0;
32462 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32463 PyObject
*result
= 0 ;
32466 PyObject
*swig_obj
[1] ;
32468 if (!args
) SWIG_fail
;
32469 swig_obj
[0] = args
;
32470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32471 if (!SWIG_IsOK(res1
)) {
32472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32474 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 result
= (PyObject
*)(arg1
)->GetData();
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= result
;
32488 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32489 PyObject
*resultobj
= 0;
32490 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32491 PyObject
*arg2
= (PyObject
*) 0 ;
32494 PyObject
* obj0
= 0 ;
32495 PyObject
* obj1
= 0 ;
32496 char * kwnames
[] = {
32497 (char *) "self",(char *) "obj", NULL
32500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32502 if (!SWIG_IsOK(res1
)) {
32503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32505 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 (arg1
)->SetData(arg2
);
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= SWIG_Py_Void();
32520 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32521 PyObject
*resultobj
= 0;
32522 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32523 wxTreeItemId
*result
= 0 ;
32526 PyObject
*swig_obj
[1] ;
32528 if (!args
) SWIG_fail
;
32529 swig_obj
[0] = args
;
32530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32534 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32538 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32539 result
= (wxTreeItemId
*) &_result_ref
;
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32551 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
= 0;
32553 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32554 wxTreeItemId
*arg2
= 0 ;
32559 PyObject
* obj0
= 0 ;
32560 PyObject
* obj1
= 0 ;
32561 char * kwnames
[] = {
32562 (char *) "self",(char *) "id", NULL
32565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32567 if (!SWIG_IsOK(res1
)) {
32568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32570 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32572 if (!SWIG_IsOK(res2
)) {
32573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32578 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= SWIG_Py_Void();
32592 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32593 PyObject
*resultobj
= 0;
32594 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32597 PyObject
*swig_obj
[1] ;
32599 if (!args
) SWIG_fail
;
32600 swig_obj
[0] = args
;
32601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32602 if (!SWIG_IsOK(res1
)) {
32603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32605 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 wxPyTreeItemData_Destroy(arg1
);
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= SWIG_Py_Void();
32619 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32623 return SWIG_Py_Void();
32626 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32627 return SWIG_Python_InitShadowInstance(args
);
32630 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
= 0;
32632 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32633 int arg2
= (int) 0 ;
32634 wxTreeEvent
*result
= 0 ;
32639 PyObject
* obj0
= 0 ;
32640 PyObject
* obj1
= 0 ;
32641 char * kwnames
[] = {
32642 (char *) "commandType",(char *) "id", NULL
32645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32648 if (!SWIG_IsOK(ecode1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32651 arg1
= static_cast< wxEventType
>(val1
);
32654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32655 if (!SWIG_IsOK(ecode2
)) {
32656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32658 arg2
= static_cast< int >(val2
);
32661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32673 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32674 PyObject
*resultobj
= 0;
32675 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32676 wxTreeItemId result
;
32679 PyObject
*swig_obj
[1] ;
32681 if (!args
) SWIG_fail
;
32682 swig_obj
[0] = args
;
32683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32684 if (!SWIG_IsOK(res1
)) {
32685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32687 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32701 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
= 0;
32703 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32704 wxTreeItemId
*arg2
= 0 ;
32709 PyObject
* obj0
= 0 ;
32710 PyObject
* obj1
= 0 ;
32711 char * kwnames
[] = {
32712 (char *) "self",(char *) "item", NULL
32715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32717 if (!SWIG_IsOK(res1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32720 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32722 if (!SWIG_IsOK(res2
)) {
32723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= SWIG_Py_Void();
32742 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32743 PyObject
*resultobj
= 0;
32744 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32745 wxTreeItemId result
;
32748 PyObject
*swig_obj
[1] ;
32750 if (!args
) SWIG_fail
;
32751 swig_obj
[0] = args
;
32752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32753 if (!SWIG_IsOK(res1
)) {
32754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32756 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32759 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32763 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32770 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32771 PyObject
*resultobj
= 0;
32772 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32773 wxTreeItemId
*arg2
= 0 ;
32778 PyObject
* obj0
= 0 ;
32779 PyObject
* obj1
= 0 ;
32780 char * kwnames
[] = {
32781 (char *) "self",(char *) "item", NULL
32784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32786 if (!SWIG_IsOK(res1
)) {
32787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32789 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32791 if (!SWIG_IsOK(res2
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32797 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32800 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32801 wxPyEndAllowThreads(__tstate
);
32802 if (PyErr_Occurred()) SWIG_fail
;
32804 resultobj
= SWIG_Py_Void();
32811 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32812 PyObject
*resultobj
= 0;
32813 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32817 PyObject
*swig_obj
[1] ;
32819 if (!args
) SWIG_fail
;
32820 swig_obj
[0] = args
;
32821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32822 if (!SWIG_IsOK(res1
)) {
32823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32825 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32839 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
= 0;
32841 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32842 wxPoint
*arg2
= 0 ;
32846 PyObject
* obj0
= 0 ;
32847 PyObject
* obj1
= 0 ;
32848 char * kwnames
[] = {
32849 (char *) "self",(char *) "pt", NULL
32852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32854 if (!SWIG_IsOK(res1
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32857 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32864 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32865 wxPyEndAllowThreads(__tstate
);
32866 if (PyErr_Occurred()) SWIG_fail
;
32868 resultobj
= SWIG_Py_Void();
32875 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32876 PyObject
*resultobj
= 0;
32877 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32878 wxKeyEvent
*result
= 0 ;
32881 PyObject
*swig_obj
[1] ;
32883 if (!args
) SWIG_fail
;
32884 swig_obj
[0] = args
;
32885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32886 if (!SWIG_IsOK(res1
)) {
32887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32889 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32893 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32894 result
= (wxKeyEvent
*) &_result_ref
;
32896 wxPyEndAllowThreads(__tstate
);
32897 if (PyErr_Occurred()) SWIG_fail
;
32899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32906 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32907 PyObject
*resultobj
= 0;
32908 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32912 PyObject
*swig_obj
[1] ;
32914 if (!args
) SWIG_fail
;
32915 swig_obj
[0] = args
;
32916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32917 if (!SWIG_IsOK(res1
)) {
32918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32920 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= SWIG_From_int(static_cast< int >(result
));
32934 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
= 0;
32936 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32937 wxKeyEvent
*arg2
= 0 ;
32942 PyObject
* obj0
= 0 ;
32943 PyObject
* obj1
= 0 ;
32944 char * kwnames
[] = {
32945 (char *) "self",(char *) "evt", NULL
32948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32950 if (!SWIG_IsOK(res1
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32953 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32955 if (!SWIG_IsOK(res2
)) {
32956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32961 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32965 wxPyEndAllowThreads(__tstate
);
32966 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= SWIG_Py_Void();
32975 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32976 PyObject
*resultobj
= 0;
32977 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32978 wxString
*result
= 0 ;
32981 PyObject
*swig_obj
[1] ;
32983 if (!args
) SWIG_fail
;
32984 swig_obj
[0] = args
;
32985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32986 if (!SWIG_IsOK(res1
)) {
32987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32989 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32993 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32994 result
= (wxString
*) &_result_ref
;
32996 wxPyEndAllowThreads(__tstate
);
32997 if (PyErr_Occurred()) SWIG_fail
;
33001 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33003 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33012 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
= 0;
33014 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33015 wxString
*arg2
= 0 ;
33018 bool temp2
= false ;
33019 PyObject
* obj0
= 0 ;
33020 PyObject
* obj1
= 0 ;
33021 char * kwnames
[] = {
33022 (char *) "self",(char *) "label", NULL
33025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33027 if (!SWIG_IsOK(res1
)) {
33028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33030 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33032 arg2
= wxString_in_helper(obj1
);
33033 if (arg2
== NULL
) SWIG_fail
;
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33038 (arg1
)->SetLabel((wxString
const &)*arg2
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 resultobj
= SWIG_Py_Void();
33057 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33058 PyObject
*resultobj
= 0;
33059 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33063 PyObject
*swig_obj
[1] ;
33065 if (!args
) SWIG_fail
;
33066 swig_obj
[0] = args
;
33067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33071 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33087 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
= 0;
33089 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33095 PyObject
* obj0
= 0 ;
33096 PyObject
* obj1
= 0 ;
33097 char * kwnames
[] = {
33098 (char *) "self",(char *) "editCancelled", NULL
33101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33103 if (!SWIG_IsOK(res1
)) {
33104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33106 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33107 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33108 if (!SWIG_IsOK(ecode2
)) {
33109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33111 arg2
= static_cast< bool >(val2
);
33113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 (arg1
)->SetEditCanceled(arg2
);
33115 wxPyEndAllowThreads(__tstate
);
33116 if (PyErr_Occurred()) SWIG_fail
;
33118 resultobj
= SWIG_Py_Void();
33125 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
= 0;
33127 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33128 wxString
*arg2
= 0 ;
33131 bool temp2
= false ;
33132 PyObject
* obj0
= 0 ;
33133 PyObject
* obj1
= 0 ;
33134 char * kwnames
[] = {
33135 (char *) "self",(char *) "toolTip", NULL
33138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33140 if (!SWIG_IsOK(res1
)) {
33141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33143 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33145 arg2
= wxString_in_helper(obj1
);
33146 if (arg2
== NULL
) SWIG_fail
;
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33155 resultobj
= SWIG_Py_Void();
33170 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33171 PyObject
*resultobj
= 0;
33172 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33176 PyObject
*swig_obj
[1] ;
33178 if (!args
) SWIG_fail
;
33179 swig_obj
[0] = args
;
33180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33181 if (!SWIG_IsOK(res1
)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33184 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (arg1
)->GetToolTip();
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33204 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33207 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33208 return SWIG_Py_Void();
33211 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33212 return SWIG_Python_InitShadowInstance(args
);
33215 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33216 PyObject
*resultobj
= 0;
33217 wxWindow
*arg1
= (wxWindow
*) 0 ;
33218 int arg2
= (int) -1 ;
33219 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33220 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33221 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33222 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33223 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33224 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33225 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33226 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33227 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33228 wxPyTreeCtrl
*result
= 0 ;
33239 bool temp7
= false ;
33240 PyObject
* obj0
= 0 ;
33241 PyObject
* obj1
= 0 ;
33242 PyObject
* obj2
= 0 ;
33243 PyObject
* obj3
= 0 ;
33244 PyObject
* obj4
= 0 ;
33245 PyObject
* obj5
= 0 ;
33246 PyObject
* obj6
= 0 ;
33247 char * kwnames
[] = {
33248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33253 if (!SWIG_IsOK(res1
)) {
33254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33259 if (!SWIG_IsOK(ecode2
)) {
33260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33262 arg2
= static_cast< int >(val2
);
33267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33273 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33277 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33278 if (!SWIG_IsOK(ecode5
)) {
33279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33281 arg5
= static_cast< long >(val5
);
33284 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33285 if (!SWIG_IsOK(res6
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33291 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33295 arg7
= wxString_in_helper(obj6
);
33296 if (arg7
== NULL
) SWIG_fail
;
33301 if (!wxPyCheckForApp()) SWIG_fail
;
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33322 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33323 PyObject
*resultobj
= 0;
33324 wxPyTreeCtrl
*result
= 0 ;
33326 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33328 if (!wxPyCheckForApp()) SWIG_fail
;
33329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33330 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33341 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
= 0;
33343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33344 wxWindow
*arg2
= (wxWindow
*) 0 ;
33345 int arg3
= (int) -1 ;
33346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33350 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33351 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33352 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33353 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33354 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33368 bool temp8
= false ;
33369 PyObject
* obj0
= 0 ;
33370 PyObject
* obj1
= 0 ;
33371 PyObject
* obj2
= 0 ;
33372 PyObject
* obj3
= 0 ;
33373 PyObject
* obj4
= 0 ;
33374 PyObject
* obj5
= 0 ;
33375 PyObject
* obj6
= 0 ;
33376 PyObject
* obj7
= 0 ;
33377 char * kwnames
[] = {
33378 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33383 if (!SWIG_IsOK(res1
)) {
33384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33386 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33388 if (!SWIG_IsOK(res2
)) {
33389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33394 if (!SWIG_IsOK(ecode3
)) {
33395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33397 arg3
= static_cast< int >(val3
);
33402 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33408 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33412 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33413 if (!SWIG_IsOK(ecode6
)) {
33414 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33416 arg6
= static_cast< long >(val6
);
33419 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33420 if (!SWIG_IsOK(res7
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33426 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33430 arg8
= wxString_in_helper(obj7
);
33431 if (arg8
== NULL
) SWIG_fail
;
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33458 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33459 PyObject
*resultobj
= 0;
33460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33461 PyObject
*arg2
= (PyObject
*) 0 ;
33462 PyObject
*arg3
= (PyObject
*) 0 ;
33465 PyObject
* obj0
= 0 ;
33466 PyObject
* obj1
= 0 ;
33467 PyObject
* obj2
= 0 ;
33468 char * kwnames
[] = {
33469 (char *) "self",(char *) "self",(char *) "_class", NULL
33472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33474 if (!SWIG_IsOK(res1
)) {
33475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33477 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= SWIG_Py_Void();
33493 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33496 unsigned int result
;
33499 PyObject
*swig_obj
[1] ;
33501 if (!args
) SWIG_fail
;
33502 swig_obj
[0] = args
;
33503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33504 if (!SWIG_IsOK(res1
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33507 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33514 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33521 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33522 PyObject
*resultobj
= 0;
33523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33524 unsigned int result
;
33527 PyObject
*swig_obj
[1] ;
33529 if (!args
) SWIG_fail
;
33530 swig_obj
[0] = args
;
33531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33532 if (!SWIG_IsOK(res1
)) {
33533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33535 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33542 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33549 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33550 PyObject
*resultobj
= 0;
33551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33552 unsigned int arg2
;
33555 unsigned int val2
;
33557 PyObject
* obj0
= 0 ;
33558 PyObject
* obj1
= 0 ;
33559 char * kwnames
[] = {
33560 (char *) "self",(char *) "indent", NULL
33563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33568 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33569 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33570 if (!SWIG_IsOK(ecode2
)) {
33571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33573 arg2
= static_cast< unsigned int >(val2
);
33575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33576 (arg1
)->SetIndent(arg2
);
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 resultobj
= SWIG_Py_Void();
33587 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33588 PyObject
*resultobj
= 0;
33589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33590 unsigned int result
;
33593 PyObject
*swig_obj
[1] ;
33595 if (!args
) SWIG_fail
;
33596 swig_obj
[0] = args
;
33597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33598 if (!SWIG_IsOK(res1
)) {
33599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33601 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33615 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33616 PyObject
*resultobj
= 0;
33617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33618 unsigned int arg2
;
33621 unsigned int val2
;
33623 PyObject
* obj0
= 0 ;
33624 PyObject
* obj1
= 0 ;
33625 char * kwnames
[] = {
33626 (char *) "self",(char *) "spacing", NULL
33629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33631 if (!SWIG_IsOK(res1
)) {
33632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33634 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33635 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33636 if (!SWIG_IsOK(ecode2
)) {
33637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33639 arg2
= static_cast< unsigned int >(val2
);
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 (arg1
)->SetSpacing(arg2
);
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33646 resultobj
= SWIG_Py_Void();
33653 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33654 PyObject
*resultobj
= 0;
33655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33656 wxImageList
*result
= 0 ;
33659 PyObject
*swig_obj
[1] ;
33661 if (!args
) SWIG_fail
;
33662 swig_obj
[0] = args
;
33663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33664 if (!SWIG_IsOK(res1
)) {
33665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33667 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33670 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33671 wxPyEndAllowThreads(__tstate
);
33672 if (PyErr_Occurred()) SWIG_fail
;
33675 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33683 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33684 PyObject
*resultobj
= 0;
33685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33686 wxImageList
*result
= 0 ;
33689 PyObject
*swig_obj
[1] ;
33691 if (!args
) SWIG_fail
;
33692 swig_obj
[0] = args
;
33693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33694 if (!SWIG_IsOK(res1
)) {
33695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33697 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33701 wxPyEndAllowThreads(__tstate
);
33702 if (PyErr_Occurred()) SWIG_fail
;
33705 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33713 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33714 PyObject
*resultobj
= 0;
33715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33716 wxImageList
*arg2
= (wxImageList
*) 0 ;
33721 PyObject
* obj0
= 0 ;
33722 PyObject
* obj1
= 0 ;
33723 char * kwnames
[] = {
33724 (char *) "self",(char *) "imageList", NULL
33727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33729 if (!SWIG_IsOK(res1
)) {
33730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33732 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33734 if (!SWIG_IsOK(res2
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33737 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33740 (arg1
)->SetImageList(arg2
);
33741 wxPyEndAllowThreads(__tstate
);
33742 if (PyErr_Occurred()) SWIG_fail
;
33744 resultobj
= SWIG_Py_Void();
33751 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
= 0;
33753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33754 wxImageList
*arg2
= (wxImageList
*) 0 ;
33759 PyObject
* obj0
= 0 ;
33760 PyObject
* obj1
= 0 ;
33761 char * kwnames
[] = {
33762 (char *) "self",(char *) "imageList", NULL
33765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33767 if (!SWIG_IsOK(res1
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33772 if (!SWIG_IsOK(res2
)) {
33773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33775 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 (arg1
)->SetStateImageList(arg2
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33782 resultobj
= SWIG_Py_Void();
33789 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
= 0;
33791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33792 wxImageList
*arg2
= (wxImageList
*) 0 ;
33796 PyObject
* obj0
= 0 ;
33797 PyObject
* obj1
= 0 ;
33798 char * kwnames
[] = {
33799 (char *) "self",(char *) "imageList", NULL
33802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33804 if (!SWIG_IsOK(res1
)) {
33805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33807 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33808 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33809 if (!SWIG_IsOK(res2
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 (arg1
)->AssignImageList(arg2
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= SWIG_Py_Void();
33825 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
= 0;
33827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33828 wxImageList
*arg2
= (wxImageList
*) 0 ;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 char * kwnames
[] = {
33835 (char *) "self",(char *) "imageList", NULL
33838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33840 if (!SWIG_IsOK(res1
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33843 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33844 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33845 if (!SWIG_IsOK(res2
)) {
33846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 (arg1
)->AssignStateImageList(arg2
);
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= SWIG_Py_Void();
33861 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33862 PyObject
*resultobj
= 0;
33863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33864 wxTreeItemId
*arg2
= 0 ;
33870 PyObject
* obj0
= 0 ;
33871 PyObject
* obj1
= 0 ;
33872 char * kwnames
[] = {
33873 (char *) "self",(char *) "item", NULL
33876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33878 if (!SWIG_IsOK(res1
)) {
33879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33881 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33883 if (!SWIG_IsOK(res2
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33889 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33892 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33909 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
= 0;
33911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33912 wxTreeItemId
*arg2
= 0 ;
33913 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 PyObject
* obj2
= 0 ;
33924 char * kwnames
[] = {
33925 (char *) "self",(char *) "item",(char *) "which", NULL
33928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33930 if (!SWIG_IsOK(res1
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33933 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33935 if (!SWIG_IsOK(res2
)) {
33936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33941 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33944 if (!SWIG_IsOK(ecode3
)) {
33945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33947 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= SWIG_From_int(static_cast< int >(result
));
33962 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33963 PyObject
*resultobj
= 0;
33964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33965 wxTreeItemId
*arg2
= 0 ;
33966 wxPyTreeItemData
*result
= 0 ;
33971 PyObject
* obj0
= 0 ;
33972 PyObject
* obj1
= 0 ;
33973 char * kwnames
[] = {
33974 (char *) "self",(char *) "item", NULL
33977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33979 if (!SWIG_IsOK(res1
)) {
33980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33984 if (!SWIG_IsOK(res2
)) {
33985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34004 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
= 0;
34006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34007 wxTreeItemId
*arg2
= 0 ;
34008 PyObject
*result
= 0 ;
34013 PyObject
* obj0
= 0 ;
34014 PyObject
* obj1
= 0 ;
34015 char * kwnames
[] = {
34016 (char *) "self",(char *) "item", NULL
34019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34021 if (!SWIG_IsOK(res1
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34026 if (!SWIG_IsOK(res2
)) {
34027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= result
;
34046 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
= 0;
34048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34049 wxTreeItemId
*arg2
= 0 ;
34055 PyObject
* obj0
= 0 ;
34056 PyObject
* obj1
= 0 ;
34057 char * kwnames
[] = {
34058 (char *) "self",(char *) "item", NULL
34061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34063 if (!SWIG_IsOK(res1
)) {
34064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34066 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34068 if (!SWIG_IsOK(res2
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34074 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34077 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34078 wxPyEndAllowThreads(__tstate
);
34079 if (PyErr_Occurred()) SWIG_fail
;
34081 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34088 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34089 PyObject
*resultobj
= 0;
34090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34091 wxTreeItemId
*arg2
= 0 ;
34097 PyObject
* obj0
= 0 ;
34098 PyObject
* obj1
= 0 ;
34099 char * kwnames
[] = {
34100 (char *) "self",(char *) "item", NULL
34103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34105 if (!SWIG_IsOK(res1
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34108 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34110 if (!SWIG_IsOK(res2
)) {
34111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34116 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34120 wxPyEndAllowThreads(__tstate
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34123 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34130 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34131 PyObject
*resultobj
= 0;
34132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34133 wxTreeItemId
*arg2
= 0 ;
34139 PyObject
* obj0
= 0 ;
34140 PyObject
* obj1
= 0 ;
34141 char * kwnames
[] = {
34142 (char *) "self",(char *) "item", NULL
34145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34152 if (!SWIG_IsOK(res2
)) {
34153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34158 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34161 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34172 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
= 0;
34174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34175 wxTreeItemId
*arg2
= 0 ;
34176 wxString
*arg3
= 0 ;
34181 bool temp3
= false ;
34182 PyObject
* obj0
= 0 ;
34183 PyObject
* obj1
= 0 ;
34184 PyObject
* obj2
= 0 ;
34185 char * kwnames
[] = {
34186 (char *) "self",(char *) "item",(char *) "text", NULL
34189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34191 if (!SWIG_IsOK(res1
)) {
34192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34194 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34196 if (!SWIG_IsOK(res2
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34202 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34204 arg3
= wxString_in_helper(obj2
);
34205 if (arg3
== NULL
) SWIG_fail
;
34209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34210 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34214 resultobj
= SWIG_Py_Void();
34229 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
= 0;
34231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34232 wxTreeItemId
*arg2
= 0 ;
34234 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34243 PyObject
* obj0
= 0 ;
34244 PyObject
* obj1
= 0 ;
34245 PyObject
* obj2
= 0 ;
34246 PyObject
* obj3
= 0 ;
34247 char * kwnames
[] = {
34248 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34253 if (!SWIG_IsOK(res1
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34256 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34258 if (!SWIG_IsOK(res2
)) {
34259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34264 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34266 if (!SWIG_IsOK(ecode3
)) {
34267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34269 arg3
= static_cast< int >(val3
);
34271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34272 if (!SWIG_IsOK(ecode4
)) {
34273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34275 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34283 resultobj
= SWIG_Py_Void();
34290 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34291 PyObject
*resultobj
= 0;
34292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34293 wxTreeItemId
*arg2
= 0 ;
34294 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34300 PyObject
* obj0
= 0 ;
34301 PyObject
* obj1
= 0 ;
34302 PyObject
* obj2
= 0 ;
34303 char * kwnames
[] = {
34304 (char *) "self",(char *) "item",(char *) "data", NULL
34307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34309 if (!SWIG_IsOK(res1
)) {
34310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34314 if (!SWIG_IsOK(res2
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34320 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34321 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34322 if (!SWIG_IsOK(res3
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34328 wxPyEndAllowThreads(__tstate
);
34329 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= SWIG_Py_Void();
34338 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34339 PyObject
*resultobj
= 0;
34340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34341 wxTreeItemId
*arg2
= 0 ;
34342 PyObject
*arg3
= (PyObject
*) 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 PyObject
* obj2
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "item",(char *) "obj", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34356 if (!SWIG_IsOK(res1
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34361 if (!SWIG_IsOK(res2
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34375 resultobj
= SWIG_Py_Void();
34382 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
= 0;
34384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34385 wxTreeItemId
*arg2
= 0 ;
34386 bool arg3
= (bool) true ;
34393 PyObject
* obj0
= 0 ;
34394 PyObject
* obj1
= 0 ;
34395 PyObject
* obj2
= 0 ;
34396 char * kwnames
[] = {
34397 (char *) "self",(char *) "item",(char *) "has", NULL
34400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34402 if (!SWIG_IsOK(res1
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34407 if (!SWIG_IsOK(res2
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34415 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34416 if (!SWIG_IsOK(ecode3
)) {
34417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34419 arg3
= static_cast< bool >(val3
);
34422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34423 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34427 resultobj
= SWIG_Py_Void();
34434 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34435 PyObject
*resultobj
= 0;
34436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34437 wxTreeItemId
*arg2
= 0 ;
34438 bool arg3
= (bool) true ;
34445 PyObject
* obj0
= 0 ;
34446 PyObject
* obj1
= 0 ;
34447 PyObject
* obj2
= 0 ;
34448 char * kwnames
[] = {
34449 (char *) "self",(char *) "item",(char *) "bold", NULL
34452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34454 if (!SWIG_IsOK(res1
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34457 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34459 if (!SWIG_IsOK(res2
)) {
34460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34465 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34467 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34468 if (!SWIG_IsOK(ecode3
)) {
34469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34471 arg3
= static_cast< bool >(val3
);
34474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34475 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34476 wxPyEndAllowThreads(__tstate
);
34477 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= SWIG_Py_Void();
34486 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
= 0;
34488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34489 wxTreeItemId
*arg2
= 0 ;
34490 bool arg3
= (bool) true ;
34497 PyObject
* obj0
= 0 ;
34498 PyObject
* obj1
= 0 ;
34499 PyObject
* obj2
= 0 ;
34500 char * kwnames
[] = {
34501 (char *) "self",(char *) "item",(char *) "highlight", NULL
34504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34511 if (!SWIG_IsOK(res2
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34517 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34519 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34520 if (!SWIG_IsOK(ecode3
)) {
34521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34523 arg3
= static_cast< bool >(val3
);
34526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34527 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34528 wxPyEndAllowThreads(__tstate
);
34529 if (PyErr_Occurred()) SWIG_fail
;
34531 resultobj
= SWIG_Py_Void();
34538 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34539 PyObject
*resultobj
= 0;
34540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34541 wxTreeItemId
*arg2
= 0 ;
34542 wxColour
*arg3
= 0 ;
34548 PyObject
* obj0
= 0 ;
34549 PyObject
* obj1
= 0 ;
34550 PyObject
* obj2
= 0 ;
34551 char * kwnames
[] = {
34552 (char *) "self",(char *) "item",(char *) "col", NULL
34555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34557 if (!SWIG_IsOK(res1
)) {
34558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34560 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34562 if (!SWIG_IsOK(res2
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34568 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34571 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= SWIG_Py_Void();
34586 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
= 0;
34588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34589 wxTreeItemId
*arg2
= 0 ;
34590 wxColour
*arg3
= 0 ;
34596 PyObject
* obj0
= 0 ;
34597 PyObject
* obj1
= 0 ;
34598 PyObject
* obj2
= 0 ;
34599 char * kwnames
[] = {
34600 (char *) "self",(char *) "item",(char *) "col", NULL
34603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34605 if (!SWIG_IsOK(res1
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34608 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34610 if (!SWIG_IsOK(res2
)) {
34611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34616 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34619 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 resultobj
= SWIG_Py_Void();
34634 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
= 0;
34636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34637 wxTreeItemId
*arg2
= 0 ;
34645 PyObject
* obj0
= 0 ;
34646 PyObject
* obj1
= 0 ;
34647 PyObject
* obj2
= 0 ;
34648 char * kwnames
[] = {
34649 (char *) "self",(char *) "item",(char *) "font", NULL
34652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34654 if (!SWIG_IsOK(res1
)) {
34655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34657 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34659 if (!SWIG_IsOK(res2
)) {
34660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34665 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34667 if (!SWIG_IsOK(res3
)) {
34668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34673 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34676 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 resultobj
= SWIG_Py_Void();
34687 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34688 PyObject
*resultobj
= 0;
34689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34690 wxTreeItemId
*arg2
= 0 ;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 char * kwnames
[] = {
34699 (char *) "self",(char *) "item", NULL
34702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34704 if (!SWIG_IsOK(res1
)) {
34705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34707 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34709 if (!SWIG_IsOK(res2
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34715 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34731 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
= 0;
34733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34734 wxTreeItemId
*arg2
= 0 ;
34740 PyObject
* obj0
= 0 ;
34741 PyObject
* obj1
= 0 ;
34742 char * kwnames
[] = {
34743 (char *) "self",(char *) "item", NULL
34746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34748 if (!SWIG_IsOK(res1
)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34751 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34753 if (!SWIG_IsOK(res2
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34759 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34775 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
= 0;
34777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34778 wxTreeItemId
*arg2
= 0 ;
34784 PyObject
* obj0
= 0 ;
34785 PyObject
* obj1
= 0 ;
34786 char * kwnames
[] = {
34787 (char *) "self",(char *) "item", NULL
34790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34792 if (!SWIG_IsOK(res1
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34795 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34797 if (!SWIG_IsOK(res2
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34803 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34806 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34807 wxPyEndAllowThreads(__tstate
);
34808 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34819 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34820 PyObject
*resultobj
= 0;
34821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34822 wxTreeItemId
*arg2
= 0 ;
34828 PyObject
* obj0
= 0 ;
34829 PyObject
* obj1
= 0 ;
34830 char * kwnames
[] = {
34831 (char *) "self",(char *) "item", NULL
34834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34836 if (!SWIG_IsOK(res1
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34839 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34841 if (!SWIG_IsOK(res2
)) {
34842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34847 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34863 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
= 0;
34865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34866 wxTreeItemId
*arg2
= 0 ;
34872 PyObject
* obj0
= 0 ;
34873 PyObject
* obj1
= 0 ;
34874 char * kwnames
[] = {
34875 (char *) "self",(char *) "item", NULL
34878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34885 if (!SWIG_IsOK(res2
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34894 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34895 wxPyEndAllowThreads(__tstate
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34907 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34908 PyObject
*resultobj
= 0;
34909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34910 wxTreeItemId
*arg2
= 0 ;
34911 bool arg3
= (bool) true ;
34919 PyObject
* obj0
= 0 ;
34920 PyObject
* obj1
= 0 ;
34921 PyObject
* obj2
= 0 ;
34922 char * kwnames
[] = {
34923 (char *) "self",(char *) "item",(char *) "recursively", NULL
34926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34928 if (!SWIG_IsOK(res1
)) {
34929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34931 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34933 if (!SWIG_IsOK(res2
)) {
34934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34939 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34941 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34942 if (!SWIG_IsOK(ecode3
)) {
34943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34945 arg3
= static_cast< bool >(val3
);
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34960 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34961 PyObject
*resultobj
= 0;
34962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34963 wxTreeItemId result
;
34966 PyObject
*swig_obj
[1] ;
34968 if (!args
) SWIG_fail
;
34969 swig_obj
[0] = args
;
34970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34971 if (!SWIG_IsOK(res1
)) {
34972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34974 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34977 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34981 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34988 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34989 PyObject
*resultobj
= 0;
34990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34991 wxTreeItemId result
;
34994 PyObject
*swig_obj
[1] ;
34996 if (!args
) SWIG_fail
;
34997 swig_obj
[0] = args
;
34998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34999 if (!SWIG_IsOK(res1
)) {
35000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35002 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35005 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35009 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35016 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35017 PyObject
*resultobj
= 0;
35018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35019 PyObject
*result
= 0 ;
35022 PyObject
*swig_obj
[1] ;
35024 if (!args
) SWIG_fail
;
35025 swig_obj
[0] = args
;
35026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35027 if (!SWIG_IsOK(res1
)) {
35028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35030 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35037 resultobj
= result
;
35044 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35045 PyObject
*resultobj
= 0;
35046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35047 wxTreeItemId
*arg2
= 0 ;
35048 wxTreeItemId result
;
35053 PyObject
* obj0
= 0 ;
35054 PyObject
* obj1
= 0 ;
35055 char * kwnames
[] = {
35056 (char *) "self",(char *) "item", NULL
35059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35061 if (!SWIG_IsOK(res1
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35066 if (!SWIG_IsOK(res2
)) {
35067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35076 wxPyEndAllowThreads(__tstate
);
35077 if (PyErr_Occurred()) SWIG_fail
;
35079 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35086 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35087 PyObject
*resultobj
= 0;
35088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35089 wxTreeItemId
*arg2
= 0 ;
35090 PyObject
*result
= 0 ;
35095 PyObject
* obj0
= 0 ;
35096 PyObject
* obj1
= 0 ;
35097 char * kwnames
[] = {
35098 (char *) "self",(char *) "item", NULL
35101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35103 if (!SWIG_IsOK(res1
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35106 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35108 if (!SWIG_IsOK(res2
)) {
35109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35114 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 resultobj
= result
;
35128 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
= 0;
35130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35131 wxTreeItemId
*arg2
= 0 ;
35132 void *arg3
= (void *) 0 ;
35133 PyObject
*result
= 0 ;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 PyObject
* obj2
= 0 ;
35142 char * kwnames
[] = {
35143 (char *) "self",(char *) "item",(char *) "cookie", NULL
35146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35148 if (!SWIG_IsOK(res1
)) {
35149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35151 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35153 if (!SWIG_IsOK(res2
)) {
35154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35159 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35160 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35161 if (!SWIG_IsOK(res3
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35166 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= result
;
35177 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35178 PyObject
*resultobj
= 0;
35179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35180 wxTreeItemId
*arg2
= 0 ;
35181 wxTreeItemId result
;
35186 PyObject
* obj0
= 0 ;
35187 PyObject
* obj1
= 0 ;
35188 char * kwnames
[] = {
35189 (char *) "self",(char *) "item", NULL
35192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35194 if (!SWIG_IsOK(res1
)) {
35195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35199 if (!SWIG_IsOK(res2
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35219 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
= 0;
35221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35222 wxTreeItemId
*arg2
= 0 ;
35223 wxTreeItemId result
;
35228 PyObject
* obj0
= 0 ;
35229 PyObject
* obj1
= 0 ;
35230 char * kwnames
[] = {
35231 (char *) "self",(char *) "item", NULL
35234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35236 if (!SWIG_IsOK(res1
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35241 if (!SWIG_IsOK(res2
)) {
35242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35247 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35261 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
= 0;
35263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35264 wxTreeItemId
*arg2
= 0 ;
35265 wxTreeItemId result
;
35270 PyObject
* obj0
= 0 ;
35271 PyObject
* obj1
= 0 ;
35272 char * kwnames
[] = {
35273 (char *) "self",(char *) "item", NULL
35276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35278 if (!SWIG_IsOK(res1
)) {
35279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35281 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35283 if (!SWIG_IsOK(res2
)) {
35284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35289 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35303 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35304 PyObject
*resultobj
= 0;
35305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35306 wxTreeItemId result
;
35309 PyObject
*swig_obj
[1] ;
35311 if (!args
) SWIG_fail
;
35312 swig_obj
[0] = args
;
35313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35314 if (!SWIG_IsOK(res1
)) {
35315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35321 wxPyEndAllowThreads(__tstate
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35324 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35331 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35332 PyObject
*resultobj
= 0;
35333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35334 wxTreeItemId
*arg2
= 0 ;
35335 wxTreeItemId result
;
35340 PyObject
* obj0
= 0 ;
35341 PyObject
* obj1
= 0 ;
35342 char * kwnames
[] = {
35343 (char *) "self",(char *) "item", NULL
35346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35348 if (!SWIG_IsOK(res1
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35351 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35353 if (!SWIG_IsOK(res2
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35359 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35373 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35376 wxTreeItemId
*arg2
= 0 ;
35377 wxTreeItemId result
;
35382 PyObject
* obj0
= 0 ;
35383 PyObject
* obj1
= 0 ;
35384 char * kwnames
[] = {
35385 (char *) "self",(char *) "item", NULL
35388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35390 if (!SWIG_IsOK(res1
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35395 if (!SWIG_IsOK(res2
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35408 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35415 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35416 PyObject
*resultobj
= 0;
35417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35418 wxString
*arg2
= 0 ;
35419 int arg3
= (int) -1 ;
35420 int arg4
= (int) -1 ;
35421 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35422 wxTreeItemId result
;
35425 bool temp2
= false ;
35431 PyObject
* obj0
= 0 ;
35432 PyObject
* obj1
= 0 ;
35433 PyObject
* obj2
= 0 ;
35434 PyObject
* obj3
= 0 ;
35435 PyObject
* obj4
= 0 ;
35436 char * kwnames
[] = {
35437 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35442 if (!SWIG_IsOK(res1
)) {
35443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35445 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35447 arg2
= wxString_in_helper(obj1
);
35448 if (arg2
== NULL
) SWIG_fail
;
35452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35453 if (!SWIG_IsOK(ecode3
)) {
35454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35456 arg3
= static_cast< int >(val3
);
35459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35460 if (!SWIG_IsOK(ecode4
)) {
35461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35463 arg4
= static_cast< int >(val4
);
35466 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35467 if (!SWIG_IsOK(res5
)) {
35468 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35474 wxPyEndAllowThreads(__tstate
);
35475 if (PyErr_Occurred()) SWIG_fail
;
35477 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35492 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35493 PyObject
*resultobj
= 0;
35494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35495 wxTreeItemId
*arg2
= 0 ;
35496 wxString
*arg3
= 0 ;
35497 int arg4
= (int) -1 ;
35498 int arg5
= (int) -1 ;
35499 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35500 wxTreeItemId result
;
35505 bool temp3
= false ;
35511 PyObject
* obj0
= 0 ;
35512 PyObject
* obj1
= 0 ;
35513 PyObject
* obj2
= 0 ;
35514 PyObject
* obj3
= 0 ;
35515 PyObject
* obj4
= 0 ;
35516 PyObject
* obj5
= 0 ;
35517 char * kwnames
[] = {
35518 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35523 if (!SWIG_IsOK(res1
)) {
35524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35528 if (!SWIG_IsOK(res2
)) {
35529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35534 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35536 arg3
= wxString_in_helper(obj2
);
35537 if (arg3
== NULL
) SWIG_fail
;
35541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35542 if (!SWIG_IsOK(ecode4
)) {
35543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35545 arg4
= static_cast< int >(val4
);
35548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35549 if (!SWIG_IsOK(ecode5
)) {
35550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35552 arg5
= static_cast< int >(val5
);
35555 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35556 if (!SWIG_IsOK(res6
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35562 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35563 wxPyEndAllowThreads(__tstate
);
35564 if (PyErr_Occurred()) SWIG_fail
;
35566 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35581 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35582 PyObject
*resultobj
= 0;
35583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35584 wxTreeItemId
*arg2
= 0 ;
35585 wxTreeItemId
*arg3
= 0 ;
35586 wxString
*arg4
= 0 ;
35587 int arg5
= (int) -1 ;
35588 int arg6
= (int) -1 ;
35589 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35590 wxTreeItemId result
;
35597 bool temp4
= false ;
35603 PyObject
* obj0
= 0 ;
35604 PyObject
* obj1
= 0 ;
35605 PyObject
* obj2
= 0 ;
35606 PyObject
* obj3
= 0 ;
35607 PyObject
* obj4
= 0 ;
35608 PyObject
* obj5
= 0 ;
35609 PyObject
* obj6
= 0 ;
35610 char * kwnames
[] = {
35611 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35616 if (!SWIG_IsOK(res1
)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35619 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35621 if (!SWIG_IsOK(res2
)) {
35622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35627 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35628 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35629 if (!SWIG_IsOK(res3
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35635 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35637 arg4
= wxString_in_helper(obj3
);
35638 if (arg4
== NULL
) SWIG_fail
;
35642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35643 if (!SWIG_IsOK(ecode5
)) {
35644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35646 arg5
= static_cast< int >(val5
);
35649 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35650 if (!SWIG_IsOK(ecode6
)) {
35651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35653 arg6
= static_cast< int >(val6
);
35656 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35657 if (!SWIG_IsOK(res7
)) {
35658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35663 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35664 wxPyEndAllowThreads(__tstate
);
35665 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35682 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35683 PyObject
*resultobj
= 0;
35684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35685 wxTreeItemId
*arg2
= 0 ;
35687 wxString
*arg4
= 0 ;
35688 int arg5
= (int) -1 ;
35689 int arg6
= (int) -1 ;
35690 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35691 wxTreeItemId result
;
35698 bool temp4
= false ;
35704 PyObject
* obj0
= 0 ;
35705 PyObject
* obj1
= 0 ;
35706 PyObject
* obj2
= 0 ;
35707 PyObject
* obj3
= 0 ;
35708 PyObject
* obj4
= 0 ;
35709 PyObject
* obj5
= 0 ;
35710 PyObject
* obj6
= 0 ;
35711 char * kwnames
[] = {
35712 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35717 if (!SWIG_IsOK(res1
)) {
35718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35722 if (!SWIG_IsOK(res2
)) {
35723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35729 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35730 if (!SWIG_IsOK(ecode3
)) {
35731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35733 arg3
= static_cast< size_t >(val3
);
35735 arg4
= wxString_in_helper(obj3
);
35736 if (arg4
== NULL
) SWIG_fail
;
35740 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35741 if (!SWIG_IsOK(ecode5
)) {
35742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35744 arg5
= static_cast< int >(val5
);
35747 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35748 if (!SWIG_IsOK(ecode6
)) {
35749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35751 arg6
= static_cast< int >(val6
);
35754 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35755 if (!SWIG_IsOK(res7
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35761 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35762 wxPyEndAllowThreads(__tstate
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35765 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35780 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
= 0;
35782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35783 wxTreeItemId
*arg2
= 0 ;
35784 wxString
*arg3
= 0 ;
35785 int arg4
= (int) -1 ;
35786 int arg5
= (int) -1 ;
35787 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35788 wxTreeItemId result
;
35793 bool temp3
= false ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 PyObject
* obj2
= 0 ;
35802 PyObject
* obj3
= 0 ;
35803 PyObject
* obj4
= 0 ;
35804 PyObject
* obj5
= 0 ;
35805 char * kwnames
[] = {
35806 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35811 if (!SWIG_IsOK(res1
)) {
35812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35814 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35816 if (!SWIG_IsOK(res2
)) {
35817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35824 arg3
= wxString_in_helper(obj2
);
35825 if (arg3
== NULL
) SWIG_fail
;
35829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35830 if (!SWIG_IsOK(ecode4
)) {
35831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35833 arg4
= static_cast< int >(val4
);
35836 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35837 if (!SWIG_IsOK(ecode5
)) {
35838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35840 arg5
= static_cast< int >(val5
);
35843 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35844 if (!SWIG_IsOK(res6
)) {
35845 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35850 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35869 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
= 0;
35871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35872 wxTreeItemId
*arg2
= 0 ;
35877 PyObject
* obj0
= 0 ;
35878 PyObject
* obj1
= 0 ;
35879 char * kwnames
[] = {
35880 (char *) "self",(char *) "item", NULL
35883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35885 if (!SWIG_IsOK(res1
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35888 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35890 if (!SWIG_IsOK(res2
)) {
35891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35896 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35899 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35900 wxPyEndAllowThreads(__tstate
);
35901 if (PyErr_Occurred()) SWIG_fail
;
35903 resultobj
= SWIG_Py_Void();
35910 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35911 PyObject
*resultobj
= 0;
35912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35913 wxTreeItemId
*arg2
= 0 ;
35918 PyObject
* obj0
= 0 ;
35919 PyObject
* obj1
= 0 ;
35920 char * kwnames
[] = {
35921 (char *) "self",(char *) "item", NULL
35924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35926 if (!SWIG_IsOK(res1
)) {
35927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35929 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35931 if (!SWIG_IsOK(res2
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35937 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 resultobj
= SWIG_Py_Void();
35951 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35952 PyObject
*resultobj
= 0;
35953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35956 PyObject
*swig_obj
[1] ;
35958 if (!args
) SWIG_fail
;
35959 swig_obj
[0] = args
;
35960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35961 if (!SWIG_IsOK(res1
)) {
35962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 (arg1
)->DeleteAllItems();
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= SWIG_Py_Void();
35978 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
= 0;
35980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35981 wxTreeItemId
*arg2
= 0 ;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 char * kwnames
[] = {
35989 (char *) "self",(char *) "item", NULL
35992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35994 if (!SWIG_IsOK(res1
)) {
35995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35997 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35999 if (!SWIG_IsOK(res2
)) {
36000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36005 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36008 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36012 resultobj
= SWIG_Py_Void();
36019 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36020 PyObject
*resultobj
= 0;
36021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36022 wxTreeItemId
*arg2
= 0 ;
36027 PyObject
* obj0
= 0 ;
36028 PyObject
* obj1
= 0 ;
36029 char * kwnames
[] = {
36030 (char *) "self",(char *) "item", NULL
36033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36035 if (!SWIG_IsOK(res1
)) {
36036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36038 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36040 if (!SWIG_IsOK(res2
)) {
36041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36046 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36049 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36050 wxPyEndAllowThreads(__tstate
);
36051 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= SWIG_Py_Void();
36060 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36061 PyObject
*resultobj
= 0;
36062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36063 wxTreeItemId
*arg2
= 0 ;
36068 PyObject
* obj0
= 0 ;
36069 PyObject
* obj1
= 0 ;
36070 char * kwnames
[] = {
36071 (char *) "self",(char *) "item", NULL
36074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36076 if (!SWIG_IsOK(res1
)) {
36077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36081 if (!SWIG_IsOK(res2
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36091 wxPyEndAllowThreads(__tstate
);
36092 if (PyErr_Occurred()) SWIG_fail
;
36094 resultobj
= SWIG_Py_Void();
36101 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
= 0;
36103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36104 wxTreeItemId
*arg2
= 0 ;
36109 PyObject
* obj0
= 0 ;
36110 PyObject
* obj1
= 0 ;
36111 char * kwnames
[] = {
36112 (char *) "self",(char *) "item", NULL
36115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36117 if (!SWIG_IsOK(res1
)) {
36118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36120 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36122 if (!SWIG_IsOK(res2
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36128 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36131 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36132 wxPyEndAllowThreads(__tstate
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 resultobj
= SWIG_Py_Void();
36142 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36143 PyObject
*resultobj
= 0;
36144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36147 PyObject
*swig_obj
[1] ;
36149 if (!args
) SWIG_fail
;
36150 swig_obj
[0] = args
;
36151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36152 if (!SWIG_IsOK(res1
)) {
36153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36155 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36158 (arg1
)->Unselect();
36159 wxPyEndAllowThreads(__tstate
);
36160 if (PyErr_Occurred()) SWIG_fail
;
36162 resultobj
= SWIG_Py_Void();
36169 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36170 PyObject
*resultobj
= 0;
36171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36172 wxTreeItemId
*arg2
= 0 ;
36177 PyObject
* obj0
= 0 ;
36178 PyObject
* obj1
= 0 ;
36179 char * kwnames
[] = {
36180 (char *) "self",(char *) "item", NULL
36183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36185 if (!SWIG_IsOK(res1
)) {
36186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36188 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36190 if (!SWIG_IsOK(res2
)) {
36191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36196 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36199 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36200 wxPyEndAllowThreads(__tstate
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36203 resultobj
= SWIG_Py_Void();
36210 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36211 PyObject
*resultobj
= 0;
36212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36215 PyObject
*swig_obj
[1] ;
36217 if (!args
) SWIG_fail
;
36218 swig_obj
[0] = args
;
36219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36226 (arg1
)->UnselectAll();
36227 wxPyEndAllowThreads(__tstate
);
36228 if (PyErr_Occurred()) SWIG_fail
;
36230 resultobj
= SWIG_Py_Void();
36237 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36238 PyObject
*resultobj
= 0;
36239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36240 wxTreeItemId
*arg2
= 0 ;
36241 bool arg3
= (bool) true ;
36248 PyObject
* obj0
= 0 ;
36249 PyObject
* obj1
= 0 ;
36250 PyObject
* obj2
= 0 ;
36251 char * kwnames
[] = {
36252 (char *) "self",(char *) "item",(char *) "select", NULL
36255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36257 if (!SWIG_IsOK(res1
)) {
36258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36260 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36262 if (!SWIG_IsOK(res2
)) {
36263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36268 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36270 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36271 if (!SWIG_IsOK(ecode3
)) {
36272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36274 arg3
= static_cast< bool >(val3
);
36277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36278 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 resultobj
= SWIG_Py_Void();
36289 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36290 PyObject
*resultobj
= 0;
36291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36292 wxTreeItemId
*arg2
= 0 ;
36297 PyObject
* obj0
= 0 ;
36298 PyObject
* obj1
= 0 ;
36299 char * kwnames
[] = {
36300 (char *) "self",(char *) "item", NULL
36303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36305 if (!SWIG_IsOK(res1
)) {
36306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36308 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36310 if (!SWIG_IsOK(res2
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36316 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36319 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36320 wxPyEndAllowThreads(__tstate
);
36321 if (PyErr_Occurred()) SWIG_fail
;
36323 resultobj
= SWIG_Py_Void();
36330 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36331 PyObject
*resultobj
= 0;
36332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36333 wxTreeItemId
*arg2
= 0 ;
36338 PyObject
* obj0
= 0 ;
36339 PyObject
* obj1
= 0 ;
36340 char * kwnames
[] = {
36341 (char *) "self",(char *) "item", NULL
36344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36346 if (!SWIG_IsOK(res1
)) {
36347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36349 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36351 if (!SWIG_IsOK(res2
)) {
36352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36357 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36360 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36361 wxPyEndAllowThreads(__tstate
);
36362 if (PyErr_Occurred()) SWIG_fail
;
36364 resultobj
= SWIG_Py_Void();
36371 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36372 PyObject
*resultobj
= 0;
36373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36374 wxTreeItemId
*arg2
= 0 ;
36379 PyObject
* obj0
= 0 ;
36380 PyObject
* obj1
= 0 ;
36381 char * kwnames
[] = {
36382 (char *) "self",(char *) "item", NULL
36385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36387 if (!SWIG_IsOK(res1
)) {
36388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36392 if (!SWIG_IsOK(res2
)) {
36393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36398 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36401 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36402 wxPyEndAllowThreads(__tstate
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36405 resultobj
= SWIG_Py_Void();
36412 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36413 PyObject
*resultobj
= 0;
36414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36415 wxTreeItemId
*arg2
= 0 ;
36420 PyObject
* obj0
= 0 ;
36421 PyObject
* obj1
= 0 ;
36422 char * kwnames
[] = {
36423 (char *) "self",(char *) "item", NULL
36426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36428 if (!SWIG_IsOK(res1
)) {
36429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36431 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36433 if (!SWIG_IsOK(res2
)) {
36434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36439 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36442 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 resultobj
= SWIG_Py_Void();
36453 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36454 PyObject
*resultobj
= 0;
36455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36456 wxTextCtrl
*result
= 0 ;
36459 PyObject
*swig_obj
[1] ;
36461 if (!args
) SWIG_fail
;
36462 swig_obj
[0] = args
;
36463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36464 if (!SWIG_IsOK(res1
)) {
36465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36467 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36471 wxPyEndAllowThreads(__tstate
);
36472 if (PyErr_Occurred()) SWIG_fail
;
36475 resultobj
= wxPyMake_wxObject(result
, 0);
36483 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36484 PyObject
*resultobj
= 0;
36485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36486 wxTreeItemId
*arg2
= 0 ;
36491 PyObject
* obj0
= 0 ;
36492 PyObject
* obj1
= 0 ;
36493 char * kwnames
[] = {
36494 (char *) "self",(char *) "item", NULL
36497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36499 if (!SWIG_IsOK(res1
)) {
36500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36502 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36504 if (!SWIG_IsOK(res2
)) {
36505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36510 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36513 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36514 wxPyEndAllowThreads(__tstate
);
36515 if (PyErr_Occurred()) SWIG_fail
;
36517 resultobj
= SWIG_Py_Void();
36524 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36525 PyObject
*resultobj
= 0;
36526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36527 wxPoint
*arg2
= 0 ;
36529 wxTreeItemId result
;
36534 int res3
= SWIG_TMPOBJ
;
36535 PyObject
* obj0
= 0 ;
36536 PyObject
* obj1
= 0 ;
36537 char * kwnames
[] = {
36538 (char *) "self",(char *) "point", NULL
36542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36544 if (!SWIG_IsOK(res1
)) {
36545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36547 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36554 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36555 wxPyEndAllowThreads(__tstate
);
36556 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36559 if (SWIG_IsTmpObj(res3
)) {
36560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36562 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36571 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36572 PyObject
*resultobj
= 0;
36573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36574 wxTreeItemId
*arg2
= 0 ;
36575 bool arg3
= (bool) false ;
36576 PyObject
*result
= 0 ;
36583 PyObject
* obj0
= 0 ;
36584 PyObject
* obj1
= 0 ;
36585 PyObject
* obj2
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36597 if (!SWIG_IsOK(res2
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36603 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36605 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36606 if (!SWIG_IsOK(ecode3
)) {
36607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36609 arg3
= static_cast< bool >(val3
);
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36613 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= result
;
36624 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36625 PyObject
*resultobj
= 0;
36626 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36627 SwigValueWrapper
<wxVisualAttributes
> result
;
36630 PyObject
* obj0
= 0 ;
36631 char * kwnames
[] = {
36632 (char *) "variant", NULL
36635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36637 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36638 if (!SWIG_IsOK(ecode1
)) {
36639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36641 arg1
= static_cast< wxWindowVariant
>(val1
);
36644 if (!wxPyCheckForApp()) SWIG_fail
;
36645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36646 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36647 wxPyEndAllowThreads(__tstate
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36650 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36657 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36658 PyObject
*resultobj
= 0;
36659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36665 PyObject
* obj0
= 0 ;
36666 PyObject
* obj1
= 0 ;
36667 char * kwnames
[] = {
36668 (char *) "self",(char *) "q", NULL
36671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36673 if (!SWIG_IsOK(res1
)) {
36674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36676 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36677 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36678 if (!SWIG_IsOK(ecode2
)) {
36679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36681 arg2
= static_cast< bool >(val2
);
36683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36684 (arg1
)->SetQuickBestSize(arg2
);
36685 wxPyEndAllowThreads(__tstate
);
36686 if (PyErr_Occurred()) SWIG_fail
;
36688 resultobj
= SWIG_Py_Void();
36695 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36696 PyObject
*resultobj
= 0;
36697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36701 PyObject
*swig_obj
[1] ;
36703 if (!args
) SWIG_fail
;
36704 swig_obj
[0] = args
;
36705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36706 if (!SWIG_IsOK(res1
)) {
36707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36709 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36712 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36725 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36728 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36729 return SWIG_Py_Void();
36732 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36733 return SWIG_Python_InitShadowInstance(args
);
36736 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36737 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36742 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36743 PyObject
*pyobj
= 0;
36747 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36749 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36756 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36757 PyObject
*resultobj
= 0;
36758 wxWindow
*arg1
= (wxWindow
*) 0 ;
36759 int arg2
= (int) (int)-1 ;
36760 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36761 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36766 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36767 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36768 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36769 int arg8
= (int) 0 ;
36770 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36771 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36772 wxGenericDirCtrl
*result
= 0 ;
36777 bool temp3
= false ;
36782 bool temp7
= false ;
36785 bool temp9
= false ;
36786 PyObject
* obj0
= 0 ;
36787 PyObject
* obj1
= 0 ;
36788 PyObject
* obj2
= 0 ;
36789 PyObject
* obj3
= 0 ;
36790 PyObject
* obj4
= 0 ;
36791 PyObject
* obj5
= 0 ;
36792 PyObject
* obj6
= 0 ;
36793 PyObject
* obj7
= 0 ;
36794 PyObject
* obj8
= 0 ;
36795 char * kwnames
[] = {
36796 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36801 if (!SWIG_IsOK(res1
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36807 if (!SWIG_IsOK(ecode2
)) {
36808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36810 arg2
= static_cast< int >(val2
);
36814 arg3
= wxString_in_helper(obj2
);
36815 if (arg3
== NULL
) SWIG_fail
;
36822 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36828 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36832 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36833 if (!SWIG_IsOK(ecode6
)) {
36834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36836 arg6
= static_cast< long >(val6
);
36840 arg7
= wxString_in_helper(obj6
);
36841 if (arg7
== NULL
) SWIG_fail
;
36846 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36847 if (!SWIG_IsOK(ecode8
)) {
36848 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36850 arg8
= static_cast< int >(val8
);
36854 arg9
= wxString_in_helper(obj8
);
36855 if (arg9
== NULL
) SWIG_fail
;
36860 if (!wxPyCheckForApp()) SWIG_fail
;
36861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36862 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36863 wxPyEndAllowThreads(__tstate
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36897 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36898 PyObject
*resultobj
= 0;
36899 wxGenericDirCtrl
*result
= 0 ;
36901 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36903 if (!wxPyCheckForApp()) SWIG_fail
;
36904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36905 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36906 wxPyEndAllowThreads(__tstate
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36916 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36917 PyObject
*resultobj
= 0;
36918 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36919 wxWindow
*arg2
= (wxWindow
*) 0 ;
36920 int arg3
= (int) (int)-1 ;
36921 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36922 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36923 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36924 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36925 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36926 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36927 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36928 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36929 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36930 int arg9
= (int) 0 ;
36931 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36932 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36940 bool temp4
= false ;
36945 bool temp8
= false ;
36948 bool temp10
= false ;
36949 PyObject
* obj0
= 0 ;
36950 PyObject
* obj1
= 0 ;
36951 PyObject
* obj2
= 0 ;
36952 PyObject
* obj3
= 0 ;
36953 PyObject
* obj4
= 0 ;
36954 PyObject
* obj5
= 0 ;
36955 PyObject
* obj6
= 0 ;
36956 PyObject
* obj7
= 0 ;
36957 PyObject
* obj8
= 0 ;
36958 PyObject
* obj9
= 0 ;
36959 char * kwnames
[] = {
36960 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36965 if (!SWIG_IsOK(res1
)) {
36966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36968 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36970 if (!SWIG_IsOK(res2
)) {
36971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36976 if (!SWIG_IsOK(ecode3
)) {
36977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36979 arg3
= static_cast< int >(val3
);
36983 arg4
= wxString_in_helper(obj3
);
36984 if (arg4
== NULL
) SWIG_fail
;
36991 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36997 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37001 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37002 if (!SWIG_IsOK(ecode7
)) {
37003 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37005 arg7
= static_cast< long >(val7
);
37009 arg8
= wxString_in_helper(obj7
);
37010 if (arg8
== NULL
) SWIG_fail
;
37015 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37016 if (!SWIG_IsOK(ecode9
)) {
37017 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37019 arg9
= static_cast< int >(val9
);
37023 arg10
= wxString_in_helper(obj9
);
37024 if (arg10
== NULL
) SWIG_fail
;
37029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37031 wxPyEndAllowThreads(__tstate
);
37032 if (PyErr_Occurred()) SWIG_fail
;
37035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37067 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37068 PyObject
*resultobj
= 0;
37069 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37070 wxString
*arg2
= 0 ;
37074 bool temp2
= false ;
37075 PyObject
* obj0
= 0 ;
37076 PyObject
* obj1
= 0 ;
37077 char * kwnames
[] = {
37078 (char *) "self",(char *) "path", NULL
37081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37083 if (!SWIG_IsOK(res1
)) {
37084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37086 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37088 arg2
= wxString_in_helper(obj1
);
37089 if (arg2
== NULL
) SWIG_fail
;
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37094 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37095 wxPyEndAllowThreads(__tstate
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37115 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37116 PyObject
*resultobj
= 0;
37117 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37118 wxString
*arg2
= 0 ;
37122 bool temp2
= false ;
37123 PyObject
* obj0
= 0 ;
37124 PyObject
* obj1
= 0 ;
37125 char * kwnames
[] = {
37126 (char *) "self",(char *) "path", NULL
37129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37131 if (!SWIG_IsOK(res1
)) {
37132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37134 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37136 arg2
= wxString_in_helper(obj1
);
37137 if (arg2
== NULL
) SWIG_fail
;
37141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37142 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37143 wxPyEndAllowThreads(__tstate
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37163 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37164 PyObject
*resultobj
= 0;
37165 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37169 PyObject
*swig_obj
[1] ;
37171 if (!args
) SWIG_fail
;
37172 swig_obj
[0] = args
;
37173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37174 if (!SWIG_IsOK(res1
)) {
37175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37177 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37197 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37198 PyObject
*resultobj
= 0;
37199 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37200 wxString
*arg2
= 0 ;
37203 bool temp2
= false ;
37204 PyObject
* obj0
= 0 ;
37205 PyObject
* obj1
= 0 ;
37206 char * kwnames
[] = {
37207 (char *) "self",(char *) "path", NULL
37210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37212 if (!SWIG_IsOK(res1
)) {
37213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37215 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37217 arg2
= wxString_in_helper(obj1
);
37218 if (arg2
== NULL
) SWIG_fail
;
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= SWIG_Py_Void();
37242 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37243 PyObject
*resultobj
= 0;
37244 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37248 PyObject
*swig_obj
[1] ;
37250 if (!args
) SWIG_fail
;
37251 swig_obj
[0] = args
;
37252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37253 if (!SWIG_IsOK(res1
)) {
37254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37256 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37260 wxPyEndAllowThreads(__tstate
);
37261 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37276 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37277 PyObject
*resultobj
= 0;
37278 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37282 PyObject
*swig_obj
[1] ;
37284 if (!args
) SWIG_fail
;
37285 swig_obj
[0] = args
;
37286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37287 if (!SWIG_IsOK(res1
)) {
37288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37290 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37293 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37310 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37311 PyObject
*resultobj
= 0;
37312 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37313 wxString
*arg2
= 0 ;
37316 bool temp2
= false ;
37317 PyObject
* obj0
= 0 ;
37318 PyObject
* obj1
= 0 ;
37319 char * kwnames
[] = {
37320 (char *) "self",(char *) "path", NULL
37323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37325 if (!SWIG_IsOK(res1
)) {
37326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37328 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37330 arg2
= wxString_in_helper(obj1
);
37331 if (arg2
== NULL
) SWIG_fail
;
37335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37336 (arg1
)->SetPath((wxString
const &)*arg2
);
37337 wxPyEndAllowThreads(__tstate
);
37338 if (PyErr_Occurred()) SWIG_fail
;
37340 resultobj
= SWIG_Py_Void();
37355 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
= 0;
37357 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37363 PyObject
* obj0
= 0 ;
37364 PyObject
* obj1
= 0 ;
37365 char * kwnames
[] = {
37366 (char *) "self",(char *) "show", NULL
37369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37371 if (!SWIG_IsOK(res1
)) {
37372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37374 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37375 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37376 if (!SWIG_IsOK(ecode2
)) {
37377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37379 arg2
= static_cast< bool >(val2
);
37381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37382 (arg1
)->ShowHidden(arg2
);
37383 wxPyEndAllowThreads(__tstate
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37386 resultobj
= SWIG_Py_Void();
37393 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37394 PyObject
*resultobj
= 0;
37395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37399 PyObject
*swig_obj
[1] ;
37401 if (!args
) SWIG_fail
;
37402 swig_obj
[0] = args
;
37403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37404 if (!SWIG_IsOK(res1
)) {
37405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37407 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 result
= (bool)(arg1
)->GetShowHidden();
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37423 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37424 PyObject
*resultobj
= 0;
37425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37429 PyObject
*swig_obj
[1] ;
37431 if (!args
) SWIG_fail
;
37432 swig_obj
[0] = args
;
37433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37434 if (!SWIG_IsOK(res1
)) {
37435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37437 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37440 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37441 wxPyEndAllowThreads(__tstate
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37457 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
= 0;
37459 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37460 wxString
*arg2
= 0 ;
37463 bool temp2
= false ;
37464 PyObject
* obj0
= 0 ;
37465 PyObject
* obj1
= 0 ;
37466 char * kwnames
[] = {
37467 (char *) "self",(char *) "filter", NULL
37470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37472 if (!SWIG_IsOK(res1
)) {
37473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37475 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37477 arg2
= wxString_in_helper(obj1
);
37478 if (arg2
== NULL
) SWIG_fail
;
37482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37483 (arg1
)->SetFilter((wxString
const &)*arg2
);
37484 wxPyEndAllowThreads(__tstate
);
37485 if (PyErr_Occurred()) SWIG_fail
;
37487 resultobj
= SWIG_Py_Void();
37502 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37503 PyObject
*resultobj
= 0;
37504 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37508 PyObject
*swig_obj
[1] ;
37510 if (!args
) SWIG_fail
;
37511 swig_obj
[0] = args
;
37512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37513 if (!SWIG_IsOK(res1
)) {
37514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37516 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37519 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37520 wxPyEndAllowThreads(__tstate
);
37521 if (PyErr_Occurred()) SWIG_fail
;
37523 resultobj
= SWIG_From_int(static_cast< int >(result
));
37530 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37531 PyObject
*resultobj
= 0;
37532 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37538 PyObject
* obj0
= 0 ;
37539 PyObject
* obj1
= 0 ;
37540 char * kwnames
[] = {
37541 (char *) "self",(char *) "n", NULL
37544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37546 if (!SWIG_IsOK(res1
)) {
37547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37549 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37551 if (!SWIG_IsOK(ecode2
)) {
37552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37554 arg2
= static_cast< int >(val2
);
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 (arg1
)->SetFilterIndex(arg2
);
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= SWIG_Py_Void();
37568 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37569 PyObject
*resultobj
= 0;
37570 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37571 wxTreeItemId result
;
37574 PyObject
*swig_obj
[1] ;
37576 if (!args
) SWIG_fail
;
37577 swig_obj
[0] = args
;
37578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37579 if (!SWIG_IsOK(res1
)) {
37580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37582 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37585 result
= (arg1
)->GetRootId();
37586 wxPyEndAllowThreads(__tstate
);
37587 if (PyErr_Occurred()) SWIG_fail
;
37589 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37596 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37597 PyObject
*resultobj
= 0;
37598 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37599 wxPyTreeCtrl
*result
= 0 ;
37602 PyObject
*swig_obj
[1] ;
37604 if (!args
) SWIG_fail
;
37605 swig_obj
[0] = args
;
37606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37607 if (!SWIG_IsOK(res1
)) {
37608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37610 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37613 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37614 wxPyEndAllowThreads(__tstate
);
37615 if (PyErr_Occurred()) SWIG_fail
;
37618 resultobj
= wxPyMake_wxObject(result
, 0);
37626 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37627 PyObject
*resultobj
= 0;
37628 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37629 wxDirFilterListCtrl
*result
= 0 ;
37632 PyObject
*swig_obj
[1] ;
37634 if (!args
) SWIG_fail
;
37635 swig_obj
[0] = args
;
37636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37637 if (!SWIG_IsOK(res1
)) {
37638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37640 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37644 wxPyEndAllowThreads(__tstate
);
37645 if (PyErr_Occurred()) SWIG_fail
;
37647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37654 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37655 PyObject
*resultobj
= 0;
37656 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37657 wxTreeItemId arg2
;
37658 wxString
*arg3
= 0 ;
37660 wxTreeItemId result
;
37665 bool temp3
= false ;
37667 int res4
= SWIG_TMPOBJ
;
37668 PyObject
* obj0
= 0 ;
37669 PyObject
* obj1
= 0 ;
37670 PyObject
* obj2
= 0 ;
37671 char * kwnames
[] = {
37672 (char *) "self",(char *) "parentId",(char *) "path", NULL
37676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37678 if (!SWIG_IsOK(res1
)) {
37679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37681 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37684 if (!SWIG_IsOK(res2
)) {
37685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37690 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37692 if (SWIG_IsNewObj(res2
)) delete temp
;
37696 arg3
= wxString_in_helper(obj2
);
37697 if (arg3
== NULL
) SWIG_fail
;
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37706 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37707 if (SWIG_IsTmpObj(res4
)) {
37708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37710 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37727 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37728 PyObject
*resultobj
= 0;
37729 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37732 PyObject
*swig_obj
[1] ;
37734 if (!args
) SWIG_fail
;
37735 swig_obj
[0] = args
;
37736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37737 if (!SWIG_IsOK(res1
)) {
37738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37740 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 (arg1
)->DoResize();
37744 wxPyEndAllowThreads(__tstate
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= SWIG_Py_Void();
37754 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37755 PyObject
*resultobj
= 0;
37756 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37759 PyObject
*swig_obj
[1] ;
37761 if (!args
) SWIG_fail
;
37762 swig_obj
[0] = args
;
37763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37764 if (!SWIG_IsOK(res1
)) {
37765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37767 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37770 (arg1
)->ReCreateTree();
37771 wxPyEndAllowThreads(__tstate
);
37772 if (PyErr_Occurred()) SWIG_fail
;
37774 resultobj
= SWIG_Py_Void();
37781 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37784 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37785 return SWIG_Py_Void();
37788 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37789 return SWIG_Python_InitShadowInstance(args
);
37792 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37793 PyObject
*resultobj
= 0;
37794 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37795 int arg2
= (int) (int)-1 ;
37796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37800 long arg5
= (long) 0 ;
37801 wxDirFilterListCtrl
*result
= 0 ;
37810 PyObject
* obj0
= 0 ;
37811 PyObject
* obj1
= 0 ;
37812 PyObject
* obj2
= 0 ;
37813 PyObject
* obj3
= 0 ;
37814 PyObject
* obj4
= 0 ;
37815 char * kwnames
[] = {
37816 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37821 if (!SWIG_IsOK(res1
)) {
37822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37824 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37827 if (!SWIG_IsOK(ecode2
)) {
37828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37830 arg2
= static_cast< int >(val2
);
37835 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37841 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37845 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37846 if (!SWIG_IsOK(ecode5
)) {
37847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37849 arg5
= static_cast< long >(val5
);
37852 if (!wxPyCheckForApp()) SWIG_fail
;
37853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37854 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37855 wxPyEndAllowThreads(__tstate
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37865 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37866 PyObject
*resultobj
= 0;
37867 wxDirFilterListCtrl
*result
= 0 ;
37869 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37871 if (!wxPyCheckForApp()) SWIG_fail
;
37872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37873 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37874 wxPyEndAllowThreads(__tstate
);
37875 if (PyErr_Occurred()) SWIG_fail
;
37877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37884 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37885 PyObject
*resultobj
= 0;
37886 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37887 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37888 int arg3
= (int) (int)-1 ;
37889 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37890 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37891 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37892 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37893 long arg6
= (long) 0 ;
37905 PyObject
* obj0
= 0 ;
37906 PyObject
* obj1
= 0 ;
37907 PyObject
* obj2
= 0 ;
37908 PyObject
* obj3
= 0 ;
37909 PyObject
* obj4
= 0 ;
37910 PyObject
* obj5
= 0 ;
37911 char * kwnames
[] = {
37912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37917 if (!SWIG_IsOK(res1
)) {
37918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37920 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37922 if (!SWIG_IsOK(res2
)) {
37923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37925 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37928 if (!SWIG_IsOK(ecode3
)) {
37929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37931 arg3
= static_cast< int >(val3
);
37936 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37942 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37946 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37947 if (!SWIG_IsOK(ecode6
)) {
37948 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37950 arg6
= static_cast< long >(val6
);
37953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37954 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37955 wxPyEndAllowThreads(__tstate
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37967 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
= 0;
37969 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37970 wxString
*arg2
= 0 ;
37974 bool temp2
= false ;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37979 PyObject
* obj2
= 0 ;
37980 char * kwnames
[] = {
37981 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37986 if (!SWIG_IsOK(res1
)) {
37987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37989 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37991 arg2
= wxString_in_helper(obj1
);
37992 if (arg2
== NULL
) SWIG_fail
;
37995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37996 if (!SWIG_IsOK(ecode3
)) {
37997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37999 arg3
= static_cast< int >(val3
);
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= SWIG_Py_Void();
38021 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38024 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38025 return SWIG_Py_Void();
38028 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38029 return SWIG_Python_InitShadowInstance(args
);
38032 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38033 PyObject
*resultobj
= 0;
38034 wxWindow
*arg1
= (wxWindow
*) 0 ;
38035 int arg2
= (int) (int)-1 ;
38036 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38037 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38038 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38039 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38040 long arg5
= (long) 0 ;
38041 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38042 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38043 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38044 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38045 wxPyControl
*result
= 0 ;
38056 bool temp7
= false ;
38057 PyObject
* obj0
= 0 ;
38058 PyObject
* obj1
= 0 ;
38059 PyObject
* obj2
= 0 ;
38060 PyObject
* obj3
= 0 ;
38061 PyObject
* obj4
= 0 ;
38062 PyObject
* obj5
= 0 ;
38063 PyObject
* obj6
= 0 ;
38064 char * kwnames
[] = {
38065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38070 if (!SWIG_IsOK(res1
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38076 if (!SWIG_IsOK(ecode2
)) {
38077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38079 arg2
= static_cast< int >(val2
);
38084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38094 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38095 if (!SWIG_IsOK(ecode5
)) {
38096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38098 arg5
= static_cast< long >(val5
);
38101 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38102 if (!SWIG_IsOK(res6
)) {
38103 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38108 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38112 arg7
= wxString_in_helper(obj6
);
38113 if (arg7
== NULL
) SWIG_fail
;
38118 if (!wxPyCheckForApp()) SWIG_fail
;
38119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38120 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38121 wxPyEndAllowThreads(__tstate
);
38122 if (PyErr_Occurred()) SWIG_fail
;
38124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38139 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38140 PyObject
*resultobj
= 0;
38141 wxPyControl
*result
= 0 ;
38143 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38145 if (!wxPyCheckForApp()) SWIG_fail
;
38146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38147 result
= (wxPyControl
*)new wxPyControl();
38148 wxPyEndAllowThreads(__tstate
);
38149 if (PyErr_Occurred()) SWIG_fail
;
38151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38158 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38159 PyObject
*resultobj
= 0;
38160 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38161 PyObject
*arg2
= (PyObject
*) 0 ;
38162 PyObject
*arg3
= (PyObject
*) 0 ;
38165 PyObject
* obj0
= 0 ;
38166 PyObject
* obj1
= 0 ;
38167 PyObject
* obj2
= 0 ;
38168 char * kwnames
[] = {
38169 (char *) "self",(char *) "self",(char *) "_class", NULL
38172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38174 if (!SWIG_IsOK(res1
)) {
38175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38177 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38183 wxPyEndAllowThreads(__tstate
);
38184 if (PyErr_Occurred()) SWIG_fail
;
38186 resultobj
= SWIG_Py_Void();
38193 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38194 PyObject
*resultobj
= 0;
38195 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38200 PyObject
* obj0
= 0 ;
38201 PyObject
* obj1
= 0 ;
38202 char * kwnames
[] = {
38203 (char *) "self",(char *) "size", NULL
38206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38208 if (!SWIG_IsOK(res1
)) {
38209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38211 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38218 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38219 wxPyEndAllowThreads(__tstate
);
38220 if (PyErr_Occurred()) SWIG_fail
;
38222 resultobj
= SWIG_Py_Void();
38229 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38230 PyObject
*resultobj
= 0;
38231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38232 wxDC
*arg2
= (wxDC
*) 0 ;
38238 PyObject
* obj0
= 0 ;
38239 PyObject
* obj1
= 0 ;
38240 char * kwnames
[] = {
38241 (char *) "self",(char *) "dc", NULL
38244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38246 if (!SWIG_IsOK(res1
)) {
38247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38249 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38251 if (!SWIG_IsOK(res2
)) {
38252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38254 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38257 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38258 wxPyEndAllowThreads(__tstate
);
38259 if (PyErr_Occurred()) SWIG_fail
;
38262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38270 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38271 PyObject
*resultobj
= 0;
38272 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38287 PyObject
* obj0
= 0 ;
38288 PyObject
* obj1
= 0 ;
38289 PyObject
* obj2
= 0 ;
38290 PyObject
* obj3
= 0 ;
38291 PyObject
* obj4
= 0 ;
38292 char * kwnames
[] = {
38293 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38298 if (!SWIG_IsOK(res1
)) {
38299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38301 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38303 if (!SWIG_IsOK(ecode2
)) {
38304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38306 arg2
= static_cast< int >(val2
);
38307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38308 if (!SWIG_IsOK(ecode3
)) {
38309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38311 arg3
= static_cast< int >(val3
);
38312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38313 if (!SWIG_IsOK(ecode4
)) {
38314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38316 arg4
= static_cast< int >(val4
);
38317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38318 if (!SWIG_IsOK(ecode5
)) {
38319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38321 arg5
= static_cast< int >(val5
);
38323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38324 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38325 wxPyEndAllowThreads(__tstate
);
38326 if (PyErr_Occurred()) SWIG_fail
;
38328 resultobj
= SWIG_Py_Void();
38335 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38336 PyObject
*resultobj
= 0;
38337 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38342 int arg6
= (int) wxSIZE_AUTO
;
38355 PyObject
* obj0
= 0 ;
38356 PyObject
* obj1
= 0 ;
38357 PyObject
* obj2
= 0 ;
38358 PyObject
* obj3
= 0 ;
38359 PyObject
* obj4
= 0 ;
38360 PyObject
* obj5
= 0 ;
38361 char * kwnames
[] = {
38362 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38367 if (!SWIG_IsOK(res1
)) {
38368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38370 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38372 if (!SWIG_IsOK(ecode2
)) {
38373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38375 arg2
= static_cast< int >(val2
);
38376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38377 if (!SWIG_IsOK(ecode3
)) {
38378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38380 arg3
= static_cast< int >(val3
);
38381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38382 if (!SWIG_IsOK(ecode4
)) {
38383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38385 arg4
= static_cast< int >(val4
);
38386 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38387 if (!SWIG_IsOK(ecode5
)) {
38388 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38390 arg5
= static_cast< int >(val5
);
38392 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38393 if (!SWIG_IsOK(ecode6
)) {
38394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38396 arg6
= static_cast< int >(val6
);
38399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38401 wxPyEndAllowThreads(__tstate
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38404 resultobj
= SWIG_Py_Void();
38411 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38412 PyObject
*resultobj
= 0;
38413 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38422 PyObject
* obj0
= 0 ;
38423 PyObject
* obj1
= 0 ;
38424 PyObject
* obj2
= 0 ;
38425 char * kwnames
[] = {
38426 (char *) "self",(char *) "width",(char *) "height", NULL
38429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38431 if (!SWIG_IsOK(res1
)) {
38432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38434 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38436 if (!SWIG_IsOK(ecode2
)) {
38437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38439 arg2
= static_cast< int >(val2
);
38440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38441 if (!SWIG_IsOK(ecode3
)) {
38442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38444 arg3
= static_cast< int >(val3
);
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 (arg1
)->DoSetClientSize(arg2
,arg3
);
38448 wxPyEndAllowThreads(__tstate
);
38449 if (PyErr_Occurred()) SWIG_fail
;
38451 resultobj
= SWIG_Py_Void();
38458 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38459 PyObject
*resultobj
= 0;
38460 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38469 PyObject
* obj0
= 0 ;
38470 PyObject
* obj1
= 0 ;
38471 PyObject
* obj2
= 0 ;
38472 char * kwnames
[] = {
38473 (char *) "self",(char *) "x",(char *) "y", NULL
38476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38478 if (!SWIG_IsOK(res1
)) {
38479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38481 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38483 if (!SWIG_IsOK(ecode2
)) {
38484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38486 arg2
= static_cast< int >(val2
);
38487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38488 if (!SWIG_IsOK(ecode3
)) {
38489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38491 arg3
= static_cast< int >(val3
);
38493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38494 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38495 wxPyEndAllowThreads(__tstate
);
38496 if (PyErr_Occurred()) SWIG_fail
;
38498 resultobj
= SWIG_Py_Void();
38505 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38506 PyObject
*resultobj
= 0;
38507 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38508 int *arg2
= (int *) 0 ;
38509 int *arg3
= (int *) 0 ;
38513 int res2
= SWIG_TMPOBJ
;
38515 int res3
= SWIG_TMPOBJ
;
38516 PyObject
*swig_obj
[1] ;
38520 if (!args
) SWIG_fail
;
38521 swig_obj
[0] = args
;
38522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38523 if (!SWIG_IsOK(res1
)) {
38524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38526 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38529 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38530 wxPyEndAllowThreads(__tstate
);
38531 if (PyErr_Occurred()) SWIG_fail
;
38533 resultobj
= SWIG_Py_Void();
38534 if (SWIG_IsTmpObj(res2
)) {
38535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38537 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38540 if (SWIG_IsTmpObj(res3
)) {
38541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38543 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38552 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38553 PyObject
*resultobj
= 0;
38554 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38555 int *arg2
= (int *) 0 ;
38556 int *arg3
= (int *) 0 ;
38560 int res2
= SWIG_TMPOBJ
;
38562 int res3
= SWIG_TMPOBJ
;
38563 PyObject
*swig_obj
[1] ;
38567 if (!args
) SWIG_fail
;
38568 swig_obj
[0] = args
;
38569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38570 if (!SWIG_IsOK(res1
)) {
38571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38573 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38576 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38577 wxPyEndAllowThreads(__tstate
);
38578 if (PyErr_Occurred()) SWIG_fail
;
38580 resultobj
= SWIG_Py_Void();
38581 if (SWIG_IsTmpObj(res2
)) {
38582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38584 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38587 if (SWIG_IsTmpObj(res3
)) {
38588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38590 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38599 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38600 PyObject
*resultobj
= 0;
38601 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38602 int *arg2
= (int *) 0 ;
38603 int *arg3
= (int *) 0 ;
38607 int res2
= SWIG_TMPOBJ
;
38609 int res3
= SWIG_TMPOBJ
;
38610 PyObject
*swig_obj
[1] ;
38614 if (!args
) SWIG_fail
;
38615 swig_obj
[0] = args
;
38616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38617 if (!SWIG_IsOK(res1
)) {
38618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38620 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38623 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38624 wxPyEndAllowThreads(__tstate
);
38625 if (PyErr_Occurred()) SWIG_fail
;
38627 resultobj
= SWIG_Py_Void();
38628 if (SWIG_IsTmpObj(res2
)) {
38629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38631 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38634 if (SWIG_IsTmpObj(res3
)) {
38635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38637 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38646 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38647 PyObject
*resultobj
= 0;
38648 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38652 PyObject
*swig_obj
[1] ;
38654 if (!args
) SWIG_fail
;
38655 swig_obj
[0] = args
;
38656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38657 if (!SWIG_IsOK(res1
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38660 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38663 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38664 wxPyEndAllowThreads(__tstate
);
38665 if (PyErr_Occurred()) SWIG_fail
;
38667 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38674 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38675 PyObject
*resultobj
= 0;
38676 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38680 PyObject
*swig_obj
[1] ;
38682 if (!args
) SWIG_fail
;
38683 swig_obj
[0] = args
;
38684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38685 if (!SWIG_IsOK(res1
)) {
38686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38688 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38691 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38692 wxPyEndAllowThreads(__tstate
);
38693 if (PyErr_Occurred()) SWIG_fail
;
38695 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38702 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38703 PyObject
*resultobj
= 0;
38704 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38705 SwigValueWrapper
<wxVisualAttributes
> result
;
38708 PyObject
*swig_obj
[1] ;
38710 if (!args
) SWIG_fail
;
38711 swig_obj
[0] = args
;
38712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38713 if (!SWIG_IsOK(res1
)) {
38714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38716 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38719 result
= (arg1
)->GetDefaultAttributes();
38720 wxPyEndAllowThreads(__tstate
);
38721 if (PyErr_Occurred()) SWIG_fail
;
38723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38730 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38731 PyObject
*resultobj
= 0;
38732 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38735 PyObject
*swig_obj
[1] ;
38737 if (!args
) SWIG_fail
;
38738 swig_obj
[0] = args
;
38739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38740 if (!SWIG_IsOK(res1
)) {
38741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38743 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38746 (arg1
)->OnInternalIdle();
38747 wxPyEndAllowThreads(__tstate
);
38748 if (PyErr_Occurred()) SWIG_fail
;
38750 resultobj
= SWIG_Py_Void();
38757 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38760 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38761 return SWIG_Py_Void();
38764 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38765 return SWIG_Python_InitShadowInstance(args
);
38768 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38769 PyObject
*resultobj
= 0;
38770 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38771 int arg2
= (int) 0 ;
38772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38774 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
38775 wxHelpEvent
*result
= 0 ;
38783 PyObject
* obj0
= 0 ;
38784 PyObject
* obj1
= 0 ;
38785 PyObject
* obj2
= 0 ;
38786 PyObject
* obj3
= 0 ;
38787 char * kwnames
[] = {
38788 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
38791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38794 if (!SWIG_IsOK(ecode1
)) {
38795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38797 arg1
= static_cast< wxEventType
>(val1
);
38800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38801 if (!SWIG_IsOK(ecode2
)) {
38802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38804 arg2
= static_cast< int >(val2
);
38809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38814 if (!SWIG_IsOK(ecode4
)) {
38815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
38817 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
38820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38821 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
38822 wxPyEndAllowThreads(__tstate
);
38823 if (PyErr_Occurred()) SWIG_fail
;
38825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38832 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38833 PyObject
*resultobj
= 0;
38834 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38838 PyObject
*swig_obj
[1] ;
38840 if (!args
) SWIG_fail
;
38841 swig_obj
[0] = args
;
38842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38843 if (!SWIG_IsOK(res1
)) {
38844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38846 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38849 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38850 wxPyEndAllowThreads(__tstate
);
38851 if (PyErr_Occurred()) SWIG_fail
;
38853 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38860 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38861 PyObject
*resultobj
= 0;
38862 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38863 wxPoint
*arg2
= 0 ;
38867 PyObject
* obj0
= 0 ;
38868 PyObject
* obj1
= 0 ;
38869 char * kwnames
[] = {
38870 (char *) "self",(char *) "pos", NULL
38873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38875 if (!SWIG_IsOK(res1
)) {
38876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38878 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38885 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38886 wxPyEndAllowThreads(__tstate
);
38887 if (PyErr_Occurred()) SWIG_fail
;
38889 resultobj
= SWIG_Py_Void();
38896 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38897 PyObject
*resultobj
= 0;
38898 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38899 wxString
*result
= 0 ;
38902 PyObject
*swig_obj
[1] ;
38904 if (!args
) SWIG_fail
;
38905 swig_obj
[0] = args
;
38906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38907 if (!SWIG_IsOK(res1
)) {
38908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38910 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38914 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38915 result
= (wxString
*) &_result_ref
;
38917 wxPyEndAllowThreads(__tstate
);
38918 if (PyErr_Occurred()) SWIG_fail
;
38922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38933 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38934 PyObject
*resultobj
= 0;
38935 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38936 wxString
*arg2
= 0 ;
38939 bool temp2
= false ;
38940 PyObject
* obj0
= 0 ;
38941 PyObject
* obj1
= 0 ;
38942 char * kwnames
[] = {
38943 (char *) "self",(char *) "link", NULL
38946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38948 if (!SWIG_IsOK(res1
)) {
38949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38951 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38953 arg2
= wxString_in_helper(obj1
);
38954 if (arg2
== NULL
) SWIG_fail
;
38958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38959 (arg1
)->SetLink((wxString
const &)*arg2
);
38960 wxPyEndAllowThreads(__tstate
);
38961 if (PyErr_Occurred()) SWIG_fail
;
38963 resultobj
= SWIG_Py_Void();
38978 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38979 PyObject
*resultobj
= 0;
38980 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38981 wxString
*result
= 0 ;
38984 PyObject
*swig_obj
[1] ;
38986 if (!args
) SWIG_fail
;
38987 swig_obj
[0] = args
;
38988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38989 if (!SWIG_IsOK(res1
)) {
38990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38992 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38996 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38997 result
= (wxString
*) &_result_ref
;
38999 wxPyEndAllowThreads(__tstate
);
39000 if (PyErr_Occurred()) SWIG_fail
;
39004 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39006 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39015 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39016 PyObject
*resultobj
= 0;
39017 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39018 wxString
*arg2
= 0 ;
39021 bool temp2
= false ;
39022 PyObject
* obj0
= 0 ;
39023 PyObject
* obj1
= 0 ;
39024 char * kwnames
[] = {
39025 (char *) "self",(char *) "target", NULL
39028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39030 if (!SWIG_IsOK(res1
)) {
39031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39033 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39035 arg2
= wxString_in_helper(obj1
);
39036 if (arg2
== NULL
) SWIG_fail
;
39040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39041 (arg1
)->SetTarget((wxString
const &)*arg2
);
39042 wxPyEndAllowThreads(__tstate
);
39043 if (PyErr_Occurred()) SWIG_fail
;
39045 resultobj
= SWIG_Py_Void();
39060 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39061 PyObject
*resultobj
= 0;
39062 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39063 wxHelpEvent::Origin result
;
39066 PyObject
*swig_obj
[1] ;
39068 if (!args
) SWIG_fail
;
39069 swig_obj
[0] = args
;
39070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39071 if (!SWIG_IsOK(res1
)) {
39072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39074 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39077 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39078 wxPyEndAllowThreads(__tstate
);
39079 if (PyErr_Occurred()) SWIG_fail
;
39081 resultobj
= SWIG_From_int(static_cast< int >(result
));
39088 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39089 PyObject
*resultobj
= 0;
39090 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39091 wxHelpEvent::Origin arg2
;
39096 PyObject
* obj0
= 0 ;
39097 PyObject
* obj1
= 0 ;
39098 char * kwnames
[] = {
39099 (char *) "self",(char *) "origin", NULL
39102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39104 if (!SWIG_IsOK(res1
)) {
39105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39107 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39109 if (!SWIG_IsOK(ecode2
)) {
39110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39112 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39115 (arg1
)->SetOrigin(arg2
);
39116 wxPyEndAllowThreads(__tstate
);
39117 if (PyErr_Occurred()) SWIG_fail
;
39119 resultobj
= SWIG_Py_Void();
39126 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39129 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39130 return SWIG_Py_Void();
39133 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39134 return SWIG_Python_InitShadowInstance(args
);
39137 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39138 PyObject
*resultobj
= 0;
39139 wxWindow
*arg1
= (wxWindow
*) NULL
;
39140 bool arg2
= (bool) true ;
39141 wxContextHelp
*result
= 0 ;
39146 PyObject
* obj0
= 0 ;
39147 PyObject
* obj1
= 0 ;
39148 char * kwnames
[] = {
39149 (char *) "window",(char *) "doNow", NULL
39152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39155 if (!SWIG_IsOK(res1
)) {
39156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39161 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39162 if (!SWIG_IsOK(ecode2
)) {
39163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39165 arg2
= static_cast< bool >(val2
);
39168 if (!wxPyCheckForApp()) SWIG_fail
;
39169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39170 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39171 wxPyEndAllowThreads(__tstate
);
39172 if (PyErr_Occurred()) SWIG_fail
;
39174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39181 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39182 PyObject
*resultobj
= 0;
39183 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39186 PyObject
*swig_obj
[1] ;
39188 if (!args
) SWIG_fail
;
39189 swig_obj
[0] = args
;
39190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39191 if (!SWIG_IsOK(res1
)) {
39192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39194 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39199 wxPyEndAllowThreads(__tstate
);
39200 if (PyErr_Occurred()) SWIG_fail
;
39202 resultobj
= SWIG_Py_Void();
39209 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39210 PyObject
*resultobj
= 0;
39211 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39212 wxWindow
*arg2
= (wxWindow
*) NULL
;
39218 PyObject
* obj0
= 0 ;
39219 PyObject
* obj1
= 0 ;
39220 char * kwnames
[] = {
39221 (char *) "self",(char *) "window", NULL
39224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39226 if (!SWIG_IsOK(res1
)) {
39227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39229 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39232 if (!SWIG_IsOK(res2
)) {
39233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39239 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39240 wxPyEndAllowThreads(__tstate
);
39241 if (PyErr_Occurred()) SWIG_fail
;
39244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39252 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39253 PyObject
*resultobj
= 0;
39254 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39258 PyObject
*swig_obj
[1] ;
39260 if (!args
) SWIG_fail
;
39261 swig_obj
[0] = args
;
39262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39263 if (!SWIG_IsOK(res1
)) {
39264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39266 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 result
= (bool)(arg1
)->EndContextHelp();
39270 wxPyEndAllowThreads(__tstate
);
39271 if (PyErr_Occurred()) SWIG_fail
;
39274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39282 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39285 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39286 return SWIG_Py_Void();
39289 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39290 return SWIG_Python_InitShadowInstance(args
);
39293 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39294 PyObject
*resultobj
= 0;
39295 wxWindow
*arg1
= (wxWindow
*) 0 ;
39296 int arg2
= (int) wxID_CONTEXT_HELP
;
39297 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39298 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39299 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39300 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39301 long arg5
= (long) wxBU_AUTODRAW
;
39302 wxContextHelpButton
*result
= 0 ;
39311 PyObject
* obj0
= 0 ;
39312 PyObject
* obj1
= 0 ;
39313 PyObject
* obj2
= 0 ;
39314 PyObject
* obj3
= 0 ;
39315 PyObject
* obj4
= 0 ;
39316 char * kwnames
[] = {
39317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39322 if (!SWIG_IsOK(res1
)) {
39323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39325 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39328 if (!SWIG_IsOK(ecode2
)) {
39329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39331 arg2
= static_cast< int >(val2
);
39336 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39342 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39346 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39347 if (!SWIG_IsOK(ecode5
)) {
39348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39350 arg5
= static_cast< long >(val5
);
39353 if (!wxPyCheckForApp()) SWIG_fail
;
39354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39356 wxPyEndAllowThreads(__tstate
);
39357 if (PyErr_Occurred()) SWIG_fail
;
39359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39366 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39369 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39370 return SWIG_Py_Void();
39373 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39374 return SWIG_Python_InitShadowInstance(args
);
39377 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39378 PyObject
*resultobj
= 0;
39379 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39382 PyObject
*swig_obj
[1] ;
39384 if (!args
) SWIG_fail
;
39385 swig_obj
[0] = args
;
39386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39387 if (!SWIG_IsOK(res1
)) {
39388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39390 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_Py_Void();
39405 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
= 0;
39407 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39408 wxHelpProvider
*result
= 0 ;
39410 PyObject
* obj0
= 0 ;
39411 char * kwnames
[] = {
39412 (char *) "helpProvider", NULL
39415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39416 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39417 if (!SWIG_IsOK(res1
)) {
39418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39422 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39433 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39434 PyObject
*resultobj
= 0;
39435 wxHelpProvider
*result
= 0 ;
39437 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39440 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39441 wxPyEndAllowThreads(__tstate
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39451 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39452 PyObject
*resultobj
= 0;
39453 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39454 wxWindow
*arg2
= (wxWindow
*) 0 ;
39460 PyObject
* obj0
= 0 ;
39461 PyObject
* obj1
= 0 ;
39462 char * kwnames
[] = {
39463 (char *) "self",(char *) "window", NULL
39466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39468 if (!SWIG_IsOK(res1
)) {
39469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39471 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39473 if (!SWIG_IsOK(res2
)) {
39474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39496 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39497 PyObject
*resultobj
= 0;
39498 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39499 wxWindow
*arg2
= (wxWindow
*) 0 ;
39505 PyObject
* obj0
= 0 ;
39506 PyObject
* obj1
= 0 ;
39507 char * kwnames
[] = {
39508 (char *) "self",(char *) "window", NULL
39511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39513 if (!SWIG_IsOK(res1
)) {
39514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39516 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39518 if (!SWIG_IsOK(res2
)) {
39519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39521 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39524 result
= (bool)(arg1
)->ShowHelp(arg2
);
39525 wxPyEndAllowThreads(__tstate
);
39526 if (PyErr_Occurred()) SWIG_fail
;
39529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39537 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39538 PyObject
*resultobj
= 0;
39539 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39540 wxWindow
*arg2
= (wxWindow
*) 0 ;
39541 wxString
*arg3
= 0 ;
39546 bool temp3
= false ;
39547 PyObject
* obj0
= 0 ;
39548 PyObject
* obj1
= 0 ;
39549 PyObject
* obj2
= 0 ;
39550 char * kwnames
[] = {
39551 (char *) "self",(char *) "window",(char *) "text", NULL
39554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39556 if (!SWIG_IsOK(res1
)) {
39557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39559 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39561 if (!SWIG_IsOK(res2
)) {
39562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39564 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39566 arg3
= wxString_in_helper(obj2
);
39567 if (arg3
== NULL
) SWIG_fail
;
39571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39572 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39573 wxPyEndAllowThreads(__tstate
);
39574 if (PyErr_Occurred()) SWIG_fail
;
39576 resultobj
= SWIG_Py_Void();
39591 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39592 PyObject
*resultobj
= 0;
39593 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39595 wxString
*arg3
= 0 ;
39600 bool temp3
= false ;
39601 PyObject
* obj0
= 0 ;
39602 PyObject
* obj1
= 0 ;
39603 PyObject
* obj2
= 0 ;
39604 char * kwnames
[] = {
39605 (char *) "self",(char *) "id",(char *) "text", NULL
39608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39610 if (!SWIG_IsOK(res1
)) {
39611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39613 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39615 if (!SWIG_IsOK(ecode2
)) {
39616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39618 arg2
= static_cast< int >(val2
);
39620 arg3
= wxString_in_helper(obj2
);
39621 if (arg3
== NULL
) SWIG_fail
;
39625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39626 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39627 wxPyEndAllowThreads(__tstate
);
39628 if (PyErr_Occurred()) SWIG_fail
;
39630 resultobj
= SWIG_Py_Void();
39645 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39646 PyObject
*resultobj
= 0;
39647 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39648 wxWindow
*arg2
= (wxWindow
*) 0 ;
39653 PyObject
* obj0
= 0 ;
39654 PyObject
* obj1
= 0 ;
39655 char * kwnames
[] = {
39656 (char *) "self",(char *) "window", NULL
39659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39661 if (!SWIG_IsOK(res1
)) {
39662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39664 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39666 if (!SWIG_IsOK(res2
)) {
39667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39672 (arg1
)->RemoveHelp(arg2
);
39673 wxPyEndAllowThreads(__tstate
);
39674 if (PyErr_Occurred()) SWIG_fail
;
39676 resultobj
= SWIG_Py_Void();
39683 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39684 PyObject
*resultobj
= 0;
39685 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39688 PyObject
*swig_obj
[1] ;
39690 if (!args
) SWIG_fail
;
39691 swig_obj
[0] = args
;
39692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39693 if (!SWIG_IsOK(res1
)) {
39694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39696 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39699 wxHelpProvider_Destroy(arg1
);
39700 wxPyEndAllowThreads(__tstate
);
39701 if (PyErr_Occurred()) SWIG_fail
;
39703 resultobj
= SWIG_Py_Void();
39710 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39713 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39714 return SWIG_Py_Void();
39717 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39718 PyObject
*resultobj
= 0;
39719 wxSimpleHelpProvider
*result
= 0 ;
39721 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39724 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39725 wxPyEndAllowThreads(__tstate
);
39726 if (PyErr_Occurred()) SWIG_fail
;
39728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39735 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39738 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39739 return SWIG_Py_Void();
39742 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39743 return SWIG_Python_InitShadowInstance(args
);
39746 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39747 PyObject
*resultobj
= 0;
39748 wxBitmap
*arg1
= 0 ;
39749 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39750 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39751 wxGenericDragImage
*result
= 0 ;
39756 PyObject
* obj0
= 0 ;
39757 PyObject
* obj1
= 0 ;
39758 char * kwnames
[] = {
39759 (char *) "image",(char *) "cursor", NULL
39762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39763 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39764 if (!SWIG_IsOK(res1
)) {
39765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39770 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39773 if (!SWIG_IsOK(res2
)) {
39774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39779 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39782 if (!wxPyCheckForApp()) SWIG_fail
;
39783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39784 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39785 wxPyEndAllowThreads(__tstate
);
39786 if (PyErr_Occurred()) SWIG_fail
;
39788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39795 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39796 PyObject
*resultobj
= 0;
39798 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39799 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39800 wxGenericDragImage
*result
= 0 ;
39805 PyObject
* obj0
= 0 ;
39806 PyObject
* obj1
= 0 ;
39807 char * kwnames
[] = {
39808 (char *) "image",(char *) "cursor", NULL
39811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39812 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39813 if (!SWIG_IsOK(res1
)) {
39814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39819 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39822 if (!SWIG_IsOK(res2
)) {
39823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39828 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39831 if (!wxPyCheckForApp()) SWIG_fail
;
39832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39833 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39834 wxPyEndAllowThreads(__tstate
);
39835 if (PyErr_Occurred()) SWIG_fail
;
39837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39844 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39845 PyObject
*resultobj
= 0;
39846 wxString
*arg1
= 0 ;
39847 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39848 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39849 wxGenericDragImage
*result
= 0 ;
39850 bool temp1
= false ;
39853 PyObject
* obj0
= 0 ;
39854 PyObject
* obj1
= 0 ;
39855 char * kwnames
[] = {
39856 (char *) "str",(char *) "cursor", NULL
39859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39861 arg1
= wxString_in_helper(obj0
);
39862 if (arg1
== NULL
) SWIG_fail
;
39866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39867 if (!SWIG_IsOK(res2
)) {
39868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39873 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39876 if (!wxPyCheckForApp()) SWIG_fail
;
39877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39878 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39879 wxPyEndAllowThreads(__tstate
);
39880 if (PyErr_Occurred()) SWIG_fail
;
39882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39897 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39898 PyObject
*resultobj
= 0;
39899 wxPyTreeCtrl
*arg1
= 0 ;
39900 wxTreeItemId
*arg2
= 0 ;
39901 wxGenericDragImage
*result
= 0 ;
39906 PyObject
* obj0
= 0 ;
39907 PyObject
* obj1
= 0 ;
39908 char * kwnames
[] = {
39909 (char *) "treeCtrl",(char *) "id", NULL
39912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39913 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39914 if (!SWIG_IsOK(res1
)) {
39915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39920 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39922 if (!SWIG_IsOK(res2
)) {
39923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39928 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39930 if (!wxPyCheckForApp()) SWIG_fail
;
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39933 wxPyEndAllowThreads(__tstate
);
39934 if (PyErr_Occurred()) SWIG_fail
;
39936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39943 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39944 PyObject
*resultobj
= 0;
39945 wxPyListCtrl
*arg1
= 0 ;
39947 wxGenericDragImage
*result
= 0 ;
39952 PyObject
* obj0
= 0 ;
39953 PyObject
* obj1
= 0 ;
39954 char * kwnames
[] = {
39955 (char *) "listCtrl",(char *) "id", NULL
39958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39959 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39960 if (!SWIG_IsOK(res1
)) {
39961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39966 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39968 if (!SWIG_IsOK(ecode2
)) {
39969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39971 arg2
= static_cast< long >(val2
);
39973 if (!wxPyCheckForApp()) SWIG_fail
;
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39975 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39976 wxPyEndAllowThreads(__tstate
);
39977 if (PyErr_Occurred()) SWIG_fail
;
39979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39986 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39987 PyObject
*resultobj
= 0;
39988 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39991 PyObject
*swig_obj
[1] ;
39993 if (!args
) SWIG_fail
;
39994 swig_obj
[0] = args
;
39995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39996 if (!SWIG_IsOK(res1
)) {
39997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39999 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40004 wxPyEndAllowThreads(__tstate
);
40005 if (PyErr_Occurred()) SWIG_fail
;
40007 resultobj
= SWIG_Py_Void();
40014 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40015 PyObject
*resultobj
= 0;
40016 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40017 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40022 PyObject
* obj0
= 0 ;
40023 PyObject
* obj1
= 0 ;
40024 char * kwnames
[] = {
40025 (char *) "self",(char *) "bitmap", NULL
40028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40030 if (!SWIG_IsOK(res1
)) {
40031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40033 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40035 if (!SWIG_IsOK(res2
)) {
40036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40038 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40041 (arg1
)->SetBackingBitmap(arg2
);
40042 wxPyEndAllowThreads(__tstate
);
40043 if (PyErr_Occurred()) SWIG_fail
;
40045 resultobj
= SWIG_Py_Void();
40052 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40053 PyObject
*resultobj
= 0;
40054 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40055 wxPoint
*arg2
= 0 ;
40056 wxWindow
*arg3
= (wxWindow
*) 0 ;
40057 bool arg4
= (bool) false ;
40058 wxRect
*arg5
= (wxRect
*) NULL
;
40069 PyObject
* obj0
= 0 ;
40070 PyObject
* obj1
= 0 ;
40071 PyObject
* obj2
= 0 ;
40072 PyObject
* obj3
= 0 ;
40073 PyObject
* obj4
= 0 ;
40074 char * kwnames
[] = {
40075 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40080 if (!SWIG_IsOK(res1
)) {
40081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40083 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40088 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40089 if (!SWIG_IsOK(res3
)) {
40090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40092 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40094 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40095 if (!SWIG_IsOK(ecode4
)) {
40096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40098 arg4
= static_cast< bool >(val4
);
40101 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40102 if (!SWIG_IsOK(res5
)) {
40103 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40105 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40109 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40122 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40123 PyObject
*resultobj
= 0;
40124 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40125 wxPoint
*arg2
= 0 ;
40126 wxWindow
*arg3
= (wxWindow
*) 0 ;
40127 wxWindow
*arg4
= (wxWindow
*) 0 ;
40136 PyObject
* obj0
= 0 ;
40137 PyObject
* obj1
= 0 ;
40138 PyObject
* obj2
= 0 ;
40139 PyObject
* obj3
= 0 ;
40140 char * kwnames
[] = {
40141 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40146 if (!SWIG_IsOK(res1
)) {
40147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40149 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40154 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40155 if (!SWIG_IsOK(res3
)) {
40156 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40158 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40159 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40160 if (!SWIG_IsOK(res4
)) {
40161 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40163 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40166 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40167 wxPyEndAllowThreads(__tstate
);
40168 if (PyErr_Occurred()) SWIG_fail
;
40171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40179 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40180 PyObject
*resultobj
= 0;
40181 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40185 PyObject
*swig_obj
[1] ;
40187 if (!args
) SWIG_fail
;
40188 swig_obj
[0] = args
;
40189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40190 if (!SWIG_IsOK(res1
)) {
40191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40193 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40196 result
= (bool)(arg1
)->EndDrag();
40197 wxPyEndAllowThreads(__tstate
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40209 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40210 PyObject
*resultobj
= 0;
40211 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40212 wxPoint
*arg2
= 0 ;
40217 PyObject
* obj0
= 0 ;
40218 PyObject
* obj1
= 0 ;
40219 char * kwnames
[] = {
40220 (char *) "self",(char *) "pt", NULL
40223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40225 if (!SWIG_IsOK(res1
)) {
40226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40228 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40231 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40235 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40236 wxPyEndAllowThreads(__tstate
);
40237 if (PyErr_Occurred()) SWIG_fail
;
40240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40248 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40249 PyObject
*resultobj
= 0;
40250 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40254 PyObject
*swig_obj
[1] ;
40256 if (!args
) SWIG_fail
;
40257 swig_obj
[0] = args
;
40258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40259 if (!SWIG_IsOK(res1
)) {
40260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40262 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40265 result
= (bool)(arg1
)->Show();
40266 wxPyEndAllowThreads(__tstate
);
40267 if (PyErr_Occurred()) SWIG_fail
;
40270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40278 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40279 PyObject
*resultobj
= 0;
40280 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40284 PyObject
*swig_obj
[1] ;
40286 if (!args
) SWIG_fail
;
40287 swig_obj
[0] = args
;
40288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40289 if (!SWIG_IsOK(res1
)) {
40290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40292 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40295 result
= (bool)(arg1
)->Hide();
40296 wxPyEndAllowThreads(__tstate
);
40297 if (PyErr_Occurred()) SWIG_fail
;
40300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40308 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40309 PyObject
*resultobj
= 0;
40310 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40311 wxPoint
*arg2
= 0 ;
40316 PyObject
* obj0
= 0 ;
40317 PyObject
* obj1
= 0 ;
40318 char * kwnames
[] = {
40319 (char *) "self",(char *) "pos", NULL
40322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40324 if (!SWIG_IsOK(res1
)) {
40325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40327 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40334 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40335 wxPyEndAllowThreads(__tstate
);
40336 if (PyErr_Occurred()) SWIG_fail
;
40338 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40345 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40346 PyObject
*resultobj
= 0;
40347 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40349 wxPoint
*arg3
= 0 ;
40356 PyObject
* obj0
= 0 ;
40357 PyObject
* obj1
= 0 ;
40358 PyObject
* obj2
= 0 ;
40359 char * kwnames
[] = {
40360 (char *) "self",(char *) "dc",(char *) "pos", NULL
40363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40365 if (!SWIG_IsOK(res1
)) {
40366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40368 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40370 if (!SWIG_IsOK(res2
)) {
40371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40376 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40383 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40384 wxPyEndAllowThreads(__tstate
);
40385 if (PyErr_Occurred()) SWIG_fail
;
40388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40396 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40397 PyObject
*resultobj
= 0;
40398 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40400 wxMemoryDC
*arg3
= 0 ;
40412 PyObject
* obj0
= 0 ;
40413 PyObject
* obj1
= 0 ;
40414 PyObject
* obj2
= 0 ;
40415 PyObject
* obj3
= 0 ;
40416 PyObject
* obj4
= 0 ;
40417 char * kwnames
[] = {
40418 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40423 if (!SWIG_IsOK(res1
)) {
40424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40426 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40428 if (!SWIG_IsOK(res2
)) {
40429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40434 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40435 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40436 if (!SWIG_IsOK(res3
)) {
40437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40442 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40445 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40449 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40454 wxPyEndAllowThreads(__tstate
);
40455 if (PyErr_Occurred()) SWIG_fail
;
40458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40466 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
= 0;
40468 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40469 wxPoint
*arg2
= 0 ;
40470 wxPoint
*arg3
= 0 ;
40482 PyObject
* obj0
= 0 ;
40483 PyObject
* obj1
= 0 ;
40484 PyObject
* obj2
= 0 ;
40485 PyObject
* obj3
= 0 ;
40486 PyObject
* obj4
= 0 ;
40487 char * kwnames
[] = {
40488 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40493 if (!SWIG_IsOK(res1
)) {
40494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40496 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40505 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40506 if (!SWIG_IsOK(ecode4
)) {
40507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40509 arg4
= static_cast< bool >(val4
);
40510 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40511 if (!SWIG_IsOK(ecode5
)) {
40512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40514 arg5
= static_cast< bool >(val5
);
40516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40517 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40518 wxPyEndAllowThreads(__tstate
);
40519 if (PyErr_Occurred()) SWIG_fail
;
40522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40530 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40533 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40534 return SWIG_Py_Void();
40537 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40538 return SWIG_Python_InitShadowInstance(args
);
40541 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40542 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40547 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40548 PyObject
*pyobj
= 0;
40552 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40554 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40561 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
= 0;
40563 wxWindow
*arg1
= (wxWindow
*) 0 ;
40564 int arg2
= (int) -1 ;
40565 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40566 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40571 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40572 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40573 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40574 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40575 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40576 wxDatePickerCtrl
*result
= 0 ;
40589 bool temp8
= false ;
40590 PyObject
* obj0
= 0 ;
40591 PyObject
* obj1
= 0 ;
40592 PyObject
* obj2
= 0 ;
40593 PyObject
* obj3
= 0 ;
40594 PyObject
* obj4
= 0 ;
40595 PyObject
* obj5
= 0 ;
40596 PyObject
* obj6
= 0 ;
40597 PyObject
* obj7
= 0 ;
40598 char * kwnames
[] = {
40599 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40604 if (!SWIG_IsOK(res1
)) {
40605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40607 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40610 if (!SWIG_IsOK(ecode2
)) {
40611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40613 arg2
= static_cast< int >(val2
);
40616 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40617 if (!SWIG_IsOK(res3
)) {
40618 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40623 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40638 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40639 if (!SWIG_IsOK(ecode6
)) {
40640 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40642 arg6
= static_cast< long >(val6
);
40645 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40646 if (!SWIG_IsOK(res7
)) {
40647 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40652 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40656 arg8
= wxString_in_helper(obj7
);
40657 if (arg8
== NULL
) SWIG_fail
;
40662 if (!wxPyCheckForApp()) SWIG_fail
;
40663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40664 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40665 wxPyEndAllowThreads(__tstate
);
40666 if (PyErr_Occurred()) SWIG_fail
;
40668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40683 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40684 PyObject
*resultobj
= 0;
40685 wxDatePickerCtrl
*result
= 0 ;
40687 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40689 if (!wxPyCheckForApp()) SWIG_fail
;
40690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40691 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40692 wxPyEndAllowThreads(__tstate
);
40693 if (PyErr_Occurred()) SWIG_fail
;
40695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40702 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40703 PyObject
*resultobj
= 0;
40704 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40705 wxWindow
*arg2
= (wxWindow
*) 0 ;
40706 int arg3
= (int) -1 ;
40707 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40708 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40709 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40710 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40711 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40712 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40713 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40714 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40715 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40716 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40717 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40733 bool temp9
= false ;
40734 PyObject
* obj0
= 0 ;
40735 PyObject
* obj1
= 0 ;
40736 PyObject
* obj2
= 0 ;
40737 PyObject
* obj3
= 0 ;
40738 PyObject
* obj4
= 0 ;
40739 PyObject
* obj5
= 0 ;
40740 PyObject
* obj6
= 0 ;
40741 PyObject
* obj7
= 0 ;
40742 PyObject
* obj8
= 0 ;
40743 char * kwnames
[] = {
40744 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40749 if (!SWIG_IsOK(res1
)) {
40750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40752 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40753 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40754 if (!SWIG_IsOK(res2
)) {
40755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40757 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40760 if (!SWIG_IsOK(ecode3
)) {
40761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40763 arg3
= static_cast< int >(val3
);
40766 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40767 if (!SWIG_IsOK(res4
)) {
40768 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40773 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40778 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40784 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40788 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40789 if (!SWIG_IsOK(ecode7
)) {
40790 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40792 arg7
= static_cast< long >(val7
);
40795 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40796 if (!SWIG_IsOK(res8
)) {
40797 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40802 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40806 arg9
= wxString_in_helper(obj8
);
40807 if (arg9
== NULL
) SWIG_fail
;
40812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40814 wxPyEndAllowThreads(__tstate
);
40815 if (PyErr_Occurred()) SWIG_fail
;
40818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40834 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40835 PyObject
*resultobj
= 0;
40836 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40837 wxDateTime
*arg2
= 0 ;
40842 PyObject
* obj0
= 0 ;
40843 PyObject
* obj1
= 0 ;
40844 char * kwnames
[] = {
40845 (char *) "self",(char *) "dt", NULL
40848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40850 if (!SWIG_IsOK(res1
)) {
40851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40853 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40855 if (!SWIG_IsOK(res2
)) {
40856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40861 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40864 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40865 wxPyEndAllowThreads(__tstate
);
40866 if (PyErr_Occurred()) SWIG_fail
;
40868 resultobj
= SWIG_Py_Void();
40875 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40876 PyObject
*resultobj
= 0;
40877 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40881 PyObject
*swig_obj
[1] ;
40883 if (!args
) SWIG_fail
;
40884 swig_obj
[0] = args
;
40885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40886 if (!SWIG_IsOK(res1
)) {
40887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40889 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40892 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40893 wxPyEndAllowThreads(__tstate
);
40894 if (PyErr_Occurred()) SWIG_fail
;
40896 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40903 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40904 PyObject
*resultobj
= 0;
40905 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40906 wxDateTime
*arg2
= 0 ;
40907 wxDateTime
*arg3
= 0 ;
40914 PyObject
* obj0
= 0 ;
40915 PyObject
* obj1
= 0 ;
40916 PyObject
* obj2
= 0 ;
40917 char * kwnames
[] = {
40918 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40923 if (!SWIG_IsOK(res1
)) {
40924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40926 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40928 if (!SWIG_IsOK(res2
)) {
40929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40934 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40935 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40936 if (!SWIG_IsOK(res3
)) {
40937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40942 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40945 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40946 wxPyEndAllowThreads(__tstate
);
40947 if (PyErr_Occurred()) SWIG_fail
;
40949 resultobj
= SWIG_Py_Void();
40956 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40957 PyObject
*resultobj
= 0;
40958 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40962 PyObject
*swig_obj
[1] ;
40964 if (!args
) SWIG_fail
;
40965 swig_obj
[0] = args
;
40966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40967 if (!SWIG_IsOK(res1
)) {
40968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40970 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40973 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40974 wxPyEndAllowThreads(__tstate
);
40975 if (PyErr_Occurred()) SWIG_fail
;
40977 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40984 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40985 PyObject
*resultobj
= 0;
40986 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40990 PyObject
*swig_obj
[1] ;
40992 if (!args
) SWIG_fail
;
40993 swig_obj
[0] = args
;
40994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40995 if (!SWIG_IsOK(res1
)) {
40996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40998 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41001 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41002 wxPyEndAllowThreads(__tstate
);
41003 if (PyErr_Occurred()) SWIG_fail
;
41005 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41012 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41015 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41016 return SWIG_Py_Void();
41019 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41020 return SWIG_Python_InitShadowInstance(args
);
41023 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41024 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41029 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41030 PyObject
*pyobj
= 0;
41034 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41036 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41043 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41044 PyObject
*resultobj
= 0;
41045 wxWindow
*arg1
= (wxWindow
*) 0 ;
41047 wxString
*arg3
= 0 ;
41048 wxString
*arg4
= 0 ;
41049 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41050 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41051 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41052 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41053 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41054 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41055 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41056 wxHyperlinkCtrl
*result
= 0 ;
41061 bool temp3
= false ;
41062 bool temp4
= false ;
41067 bool temp8
= false ;
41068 PyObject
* obj0
= 0 ;
41069 PyObject
* obj1
= 0 ;
41070 PyObject
* obj2
= 0 ;
41071 PyObject
* obj3
= 0 ;
41072 PyObject
* obj4
= 0 ;
41073 PyObject
* obj5
= 0 ;
41074 PyObject
* obj6
= 0 ;
41075 PyObject
* obj7
= 0 ;
41076 char * kwnames
[] = {
41077 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41082 if (!SWIG_IsOK(res1
)) {
41083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41087 if (!SWIG_IsOK(ecode2
)) {
41088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41090 arg2
= static_cast< int >(val2
);
41092 arg3
= wxString_in_helper(obj2
);
41093 if (arg3
== NULL
) SWIG_fail
;
41097 arg4
= wxString_in_helper(obj3
);
41098 if (arg4
== NULL
) SWIG_fail
;
41104 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41110 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41114 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41115 if (!SWIG_IsOK(ecode7
)) {
41116 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41118 arg7
= static_cast< long >(val7
);
41122 arg8
= wxString_in_helper(obj7
);
41123 if (arg8
== NULL
) SWIG_fail
;
41128 if (!wxPyCheckForApp()) SWIG_fail
;
41129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41130 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41131 wxPyEndAllowThreads(__tstate
);
41132 if (PyErr_Occurred()) SWIG_fail
;
41134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41165 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41166 PyObject
*resultobj
= 0;
41167 wxHyperlinkCtrl
*result
= 0 ;
41169 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41171 if (!wxPyCheckForApp()) SWIG_fail
;
41172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41173 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41174 wxPyEndAllowThreads(__tstate
);
41175 if (PyErr_Occurred()) SWIG_fail
;
41177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41184 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41185 PyObject
*resultobj
= 0;
41186 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41187 wxWindow
*arg2
= (wxWindow
*) 0 ;
41189 wxString
*arg4
= 0 ;
41190 wxString
*arg5
= 0 ;
41191 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41192 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41193 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41194 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41195 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41196 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41197 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41205 bool temp4
= false ;
41206 bool temp5
= false ;
41211 bool temp9
= false ;
41212 PyObject
* obj0
= 0 ;
41213 PyObject
* obj1
= 0 ;
41214 PyObject
* obj2
= 0 ;
41215 PyObject
* obj3
= 0 ;
41216 PyObject
* obj4
= 0 ;
41217 PyObject
* obj5
= 0 ;
41218 PyObject
* obj6
= 0 ;
41219 PyObject
* obj7
= 0 ;
41220 PyObject
* obj8
= 0 ;
41221 char * kwnames
[] = {
41222 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41227 if (!SWIG_IsOK(res1
)) {
41228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41230 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41232 if (!SWIG_IsOK(res2
)) {
41233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41237 if (!SWIG_IsOK(ecode3
)) {
41238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41240 arg3
= static_cast< int >(val3
);
41242 arg4
= wxString_in_helper(obj3
);
41243 if (arg4
== NULL
) SWIG_fail
;
41247 arg5
= wxString_in_helper(obj4
);
41248 if (arg5
== NULL
) SWIG_fail
;
41254 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41260 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41264 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41265 if (!SWIG_IsOK(ecode8
)) {
41266 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41268 arg8
= static_cast< long >(val8
);
41272 arg9
= wxString_in_helper(obj8
);
41273 if (arg9
== NULL
) SWIG_fail
;
41278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41280 wxPyEndAllowThreads(__tstate
);
41281 if (PyErr_Occurred()) SWIG_fail
;
41284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41316 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41317 PyObject
*resultobj
= 0;
41318 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41322 PyObject
*swig_obj
[1] ;
41324 if (!args
) SWIG_fail
;
41325 swig_obj
[0] = args
;
41326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41327 if (!SWIG_IsOK(res1
)) {
41328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41330 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41333 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41334 wxPyEndAllowThreads(__tstate
);
41335 if (PyErr_Occurred()) SWIG_fail
;
41337 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41344 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41345 PyObject
*resultobj
= 0;
41346 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41347 wxColour
*arg2
= 0 ;
41351 PyObject
* obj0
= 0 ;
41352 PyObject
* obj1
= 0 ;
41353 char * kwnames
[] = {
41354 (char *) "self",(char *) "colour", NULL
41357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41359 if (!SWIG_IsOK(res1
)) {
41360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41362 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41369 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41370 wxPyEndAllowThreads(__tstate
);
41371 if (PyErr_Occurred()) SWIG_fail
;
41373 resultobj
= SWIG_Py_Void();
41380 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41381 PyObject
*resultobj
= 0;
41382 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41386 PyObject
*swig_obj
[1] ;
41388 if (!args
) SWIG_fail
;
41389 swig_obj
[0] = args
;
41390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41391 if (!SWIG_IsOK(res1
)) {
41392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41394 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41397 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41398 wxPyEndAllowThreads(__tstate
);
41399 if (PyErr_Occurred()) SWIG_fail
;
41401 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41408 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41409 PyObject
*resultobj
= 0;
41410 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41411 wxColour
*arg2
= 0 ;
41415 PyObject
* obj0
= 0 ;
41416 PyObject
* obj1
= 0 ;
41417 char * kwnames
[] = {
41418 (char *) "self",(char *) "colour", NULL
41421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41423 if (!SWIG_IsOK(res1
)) {
41424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41426 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41433 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41434 wxPyEndAllowThreads(__tstate
);
41435 if (PyErr_Occurred()) SWIG_fail
;
41437 resultobj
= SWIG_Py_Void();
41444 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41445 PyObject
*resultobj
= 0;
41446 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41450 PyObject
*swig_obj
[1] ;
41452 if (!args
) SWIG_fail
;
41453 swig_obj
[0] = args
;
41454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41455 if (!SWIG_IsOK(res1
)) {
41456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41458 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41461 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41462 wxPyEndAllowThreads(__tstate
);
41463 if (PyErr_Occurred()) SWIG_fail
;
41465 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41472 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41473 PyObject
*resultobj
= 0;
41474 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41475 wxColour
*arg2
= 0 ;
41479 PyObject
* obj0
= 0 ;
41480 PyObject
* obj1
= 0 ;
41481 char * kwnames
[] = {
41482 (char *) "self",(char *) "colour", NULL
41485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41487 if (!SWIG_IsOK(res1
)) {
41488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41490 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41493 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41497 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41498 wxPyEndAllowThreads(__tstate
);
41499 if (PyErr_Occurred()) SWIG_fail
;
41501 resultobj
= SWIG_Py_Void();
41508 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41509 PyObject
*resultobj
= 0;
41510 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41514 PyObject
*swig_obj
[1] ;
41516 if (!args
) SWIG_fail
;
41517 swig_obj
[0] = args
;
41518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41519 if (!SWIG_IsOK(res1
)) {
41520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41522 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41525 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41526 wxPyEndAllowThreads(__tstate
);
41527 if (PyErr_Occurred()) SWIG_fail
;
41531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41542 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41543 PyObject
*resultobj
= 0;
41544 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41545 wxString
*arg2
= 0 ;
41548 bool temp2
= false ;
41549 PyObject
* obj0
= 0 ;
41550 PyObject
* obj1
= 0 ;
41551 char * kwnames
[] = {
41552 (char *) "self",(char *) "url", NULL
41555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41557 if (!SWIG_IsOK(res1
)) {
41558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41560 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41562 arg2
= wxString_in_helper(obj1
);
41563 if (arg2
== NULL
) SWIG_fail
;
41567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41568 (arg1
)->SetURL((wxString
const &)*arg2
);
41569 wxPyEndAllowThreads(__tstate
);
41570 if (PyErr_Occurred()) SWIG_fail
;
41572 resultobj
= SWIG_Py_Void();
41587 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41588 PyObject
*resultobj
= 0;
41589 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41590 bool arg2
= (bool) true ;
41595 PyObject
* obj0
= 0 ;
41596 PyObject
* obj1
= 0 ;
41597 char * kwnames
[] = {
41598 (char *) "self",(char *) "visited", NULL
41601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41603 if (!SWIG_IsOK(res1
)) {
41604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41606 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41609 if (!SWIG_IsOK(ecode2
)) {
41610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41612 arg2
= static_cast< bool >(val2
);
41615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41616 (arg1
)->SetVisited(arg2
);
41617 wxPyEndAllowThreads(__tstate
);
41618 if (PyErr_Occurred()) SWIG_fail
;
41620 resultobj
= SWIG_Py_Void();
41627 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41628 PyObject
*resultobj
= 0;
41629 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41633 PyObject
*swig_obj
[1] ;
41635 if (!args
) SWIG_fail
;
41636 swig_obj
[0] = args
;
41637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41638 if (!SWIG_IsOK(res1
)) {
41639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41641 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41644 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
41645 wxPyEndAllowThreads(__tstate
);
41646 if (PyErr_Occurred()) SWIG_fail
;
41649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41657 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41660 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
41661 return SWIG_Py_Void();
41664 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41665 return SWIG_Python_InitShadowInstance(args
);
41668 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41669 PyObject
*resultobj
= 0;
41670 wxObject
*arg1
= (wxObject
*) 0 ;
41672 wxString
*arg3
= 0 ;
41673 wxHyperlinkEvent
*result
= 0 ;
41678 bool temp3
= false ;
41679 PyObject
* obj0
= 0 ;
41680 PyObject
* obj1
= 0 ;
41681 PyObject
* obj2
= 0 ;
41682 char * kwnames
[] = {
41683 (char *) "generator",(char *) "id",(char *) "url", NULL
41686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
41688 if (!SWIG_IsOK(res1
)) {
41689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41691 arg1
= reinterpret_cast< wxObject
* >(argp1
);
41692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41693 if (!SWIG_IsOK(ecode2
)) {
41694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41696 arg2
= static_cast< int >(val2
);
41698 arg3
= wxString_in_helper(obj2
);
41699 if (arg3
== NULL
) SWIG_fail
;
41703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41704 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
41705 wxPyEndAllowThreads(__tstate
);
41706 if (PyErr_Occurred()) SWIG_fail
;
41708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
41723 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41724 PyObject
*resultobj
= 0;
41725 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41729 PyObject
*swig_obj
[1] ;
41731 if (!args
) SWIG_fail
;
41732 swig_obj
[0] = args
;
41733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41734 if (!SWIG_IsOK(res1
)) {
41735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
41737 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41740 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
41741 wxPyEndAllowThreads(__tstate
);
41742 if (PyErr_Occurred()) SWIG_fail
;
41746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41757 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41758 PyObject
*resultobj
= 0;
41759 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41760 wxString
*arg2
= 0 ;
41763 bool temp2
= false ;
41764 PyObject
* obj0
= 0 ;
41765 PyObject
* obj1
= 0 ;
41766 char * kwnames
[] = {
41767 (char *) "self",(char *) "url", NULL
41770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41772 if (!SWIG_IsOK(res1
)) {
41773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
41775 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41777 arg2
= wxString_in_helper(obj1
);
41778 if (arg2
== NULL
) SWIG_fail
;
41782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41783 (arg1
)->SetURL((wxString
const &)*arg2
);
41784 wxPyEndAllowThreads(__tstate
);
41785 if (PyErr_Occurred()) SWIG_fail
;
41787 resultobj
= SWIG_Py_Void();
41802 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41805 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
41806 return SWIG_Py_Void();
41809 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41810 return SWIG_Python_InitShadowInstance(args
);
41813 static PyMethodDef SwigMethods
[] = {
41814 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
41816 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
41818 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
41819 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
41821 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
41822 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
41824 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
41826 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
41827 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
41828 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
41829 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
41830 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
41837 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
41838 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
41839 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
41840 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
41842 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
41844 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
41845 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
41847 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
41849 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
41850 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
41852 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
41853 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
41855 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
41857 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
41859 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
41860 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
41862 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
41864 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
41866 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
41867 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
41868 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
41870 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
41871 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
41874 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
41878 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
41880 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
41881 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
41882 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
41883 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
41884 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
41885 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
41886 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
41887 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
41888 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
41890 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
41891 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
41893 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
41896 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
41898 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
41899 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
41901 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
41903 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
41905 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
41906 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
41908 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
41911 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
41912 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
41914 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
41916 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
41917 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
41919 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
41920 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
41922 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
41926 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
41927 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
41929 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
41931 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
41935 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
41936 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
41938 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
41949 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
41954 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
41960 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
41961 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
41963 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41967 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41968 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41970 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41971 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41981 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41982 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41983 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41984 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41985 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41986 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41987 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41989 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41990 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41991 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41992 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41993 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41994 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41995 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41996 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41997 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41998 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
42000 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
42001 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
42003 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
42005 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
42010 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
42011 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
42012 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
42013 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
42014 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
42015 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
42016 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
42017 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
42022 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
42023 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
42031 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
42037 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
42038 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
42039 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
42040 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
42041 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
42042 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
42043 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
42044 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
42045 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
42046 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
42048 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
42049 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
42050 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
42052 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
42057 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
42058 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
42060 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
42061 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
42062 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
42063 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
42064 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
42066 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
42068 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
42069 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
42070 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
42071 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
42072 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
42075 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
42076 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
42078 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
42080 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
42081 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
42082 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
42087 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
42089 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
42090 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
42092 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
42094 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
42098 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
42099 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
42102 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
42103 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
42105 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
42107 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
42108 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
42110 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
42113 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
42114 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
42116 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
42124 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
42125 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
42130 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
42131 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
42133 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
42135 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
42138 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
42139 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
42141 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
42143 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
42146 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
42147 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
42152 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
42153 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
42155 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
42157 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
42158 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
42160 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
42161 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
42162 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
42165 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
42166 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
42168 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
42171 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
42173 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
42174 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
42175 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
42177 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
42178 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
42183 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
42188 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
42190 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
42192 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
42194 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
42195 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
42198 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
42205 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
42207 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
42209 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
42211 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
42212 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
42214 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
42216 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
42219 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
42221 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
42222 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
42224 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
42225 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
42227 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
42229 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
42230 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
42231 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
42233 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
42234 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
42236 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
42238 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
42239 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
42240 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
42242 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
42243 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
42245 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
42253 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
42254 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
42255 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
42257 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
42258 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
42260 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
42262 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
42263 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
42264 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
42265 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
42267 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
42268 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
42269 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
42270 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
42271 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
42272 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
42273 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
42274 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
42275 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
42276 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
42277 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
42278 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
42279 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
42280 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
42281 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
42282 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
42283 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
42284 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
42285 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
42287 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
42294 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
42296 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
42298 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
42306 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
42311 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
42312 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
42329 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
42330 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
42331 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
42332 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42333 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42334 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
42335 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
42336 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
42338 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
42339 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
42342 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
42343 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
42344 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
42346 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
42349 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
42350 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
42352 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
42356 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
42357 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
42358 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
42359 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
42360 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
42361 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
42363 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
42364 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
42365 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
42366 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
42367 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
42368 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
42369 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
42383 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
42384 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
42385 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
42386 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
42387 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
42388 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
42389 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
42390 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
42391 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
42392 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
42393 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
42394 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
42395 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
42396 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
42397 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
42398 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
42399 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
42400 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
42401 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
42402 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
42403 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
42404 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
42405 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
42406 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
42407 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
42408 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
42409 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
42410 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
42411 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
42412 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
42413 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
42414 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
42415 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
42416 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
42417 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
42418 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
42420 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
42421 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
42422 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
42423 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
42424 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
42425 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
42426 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
42427 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
42428 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
42429 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
42430 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
42431 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
42432 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
42433 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
42434 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
42435 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
42436 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
42437 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
42438 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
42439 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
42440 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
42441 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
42442 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
42443 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42444 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
42445 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
42446 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
42448 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42449 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42451 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
42455 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
42456 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
42457 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42459 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42464 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42465 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42466 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42468 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42469 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42471 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
42472 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
42473 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
42474 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
42476 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
42477 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
42479 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42482 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
42485 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
42486 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42488 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42489 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
42491 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
42493 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
42494 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42496 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42500 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42501 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42503 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42505 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42507 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42508 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42510 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42511 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42513 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42515 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42516 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
42517 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42518 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
42519 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
42520 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42521 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
42522 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42523 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42525 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
42526 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42527 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
42528 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42529 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
42532 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
42533 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
42534 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
42535 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
42536 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42537 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
42539 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
42540 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
42541 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
42542 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42543 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
42544 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
42545 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
42547 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42548 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
42549 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
42550 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
42551 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42552 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
42553 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42554 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
42555 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42556 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
42557 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42558 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
42559 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
42560 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42561 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
42562 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42563 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
42564 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42565 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42566 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
42567 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
42568 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
42569 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42570 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
42571 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42572 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42573 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
42574 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
42575 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42576 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
42577 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42578 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
42579 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
42580 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42583 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42587 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42589 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42597 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42599 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42600 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42602 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42603 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42606 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
42608 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
42609 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
42610 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42612 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42613 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42616 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
42617 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42620 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42621 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42622 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42623 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42624 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42625 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42626 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
42627 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42628 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42629 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42630 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42631 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
42632 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42633 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
42634 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42635 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42636 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42637 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42638 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42639 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
42640 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42641 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42642 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42643 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42644 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
42646 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
42647 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
42648 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42649 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
42650 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42651 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42652 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42653 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
42654 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42655 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
42656 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
42657 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42658 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42659 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
42660 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
42661 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42662 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
42663 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42664 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
42665 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
42666 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
42667 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42668 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
42669 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
42670 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
42671 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
42672 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42673 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
42674 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42675 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42676 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
42677 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
42678 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42679 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
42680 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42681 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42682 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42683 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42684 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42685 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42686 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42687 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
42688 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
42689 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
42690 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
42691 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
42692 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
42693 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
42694 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
42695 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
42696 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42697 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
42698 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42699 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
42700 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42701 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
42702 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42703 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
42704 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42705 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
42706 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
42707 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42708 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
42709 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42710 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
42711 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
42712 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
42713 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42714 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
42715 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
42716 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
42717 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42718 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
42719 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42720 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42721 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42722 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42723 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42724 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
42725 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
42726 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
42727 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
42728 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
42729 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42730 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42731 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42732 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42733 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42734 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
42735 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42736 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42737 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42738 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
42739 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42740 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
42741 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
42742 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42743 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42744 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42745 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42746 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
42747 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
42748 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42749 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
42750 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42751 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42752 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
42753 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42754 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
42755 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
42756 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
42757 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
42758 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42759 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
42760 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42761 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
42762 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42763 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
42764 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42765 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
42766 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42767 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
42768 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42769 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42770 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
42771 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
42772 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
42773 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42774 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
42775 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42776 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
42777 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
42778 { NULL
, NULL
, 0, NULL
}
42782 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42784 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42785 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42787 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42788 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42790 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42791 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42793 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42794 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42796 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42797 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42799 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
42800 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42802 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
42803 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42805 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42806 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42808 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42809 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42811 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42814 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
42815 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42817 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42820 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42821 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42823 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
42824 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42826 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
42827 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42829 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
42830 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42832 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
42833 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42835 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
42836 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42838 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
42839 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42841 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
42842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
42844 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42845 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42847 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42848 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42850 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42851 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42853 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42854 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42856 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42857 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42859 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42860 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42862 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42863 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42865 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42866 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42868 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
42869 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
42871 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
42872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42874 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42875 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42877 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42878 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42880 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42881 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42883 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42884 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42886 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42887 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42889 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42890 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42892 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42893 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42895 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
42896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
42898 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42899 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42901 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42902 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42904 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42905 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42907 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42908 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42910 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42911 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42913 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42914 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42916 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42917 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42919 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42920 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42922 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42923 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42925 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42926 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42928 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
42929 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42931 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
42932 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
42934 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
42935 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42937 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
42938 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42940 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42941 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42943 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
42944 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42946 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
42947 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42949 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
42950 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
42952 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
42953 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
42955 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
42956 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
42958 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
42959 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
42961 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
42962 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
42964 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
42965 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
42967 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
42968 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
42970 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
42971 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42973 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
42974 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
42976 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
42977 return (void *)((wxControl
*) ((wxComboBox
*) x
));
42979 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
42980 return (void *)((wxControl
*) ((wxPyControl
*) x
));
42982 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
42983 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
42985 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
42986 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
42988 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42989 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42991 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
42992 return (void *)((wxControl
*) ((wxGauge
*) x
));
42994 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
42995 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
42997 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
42998 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43000 static void *_p_wxListbookTo_p_wxControl(void *x
) {
43001 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
43003 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
43004 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
43006 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
43007 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
43009 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
43010 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
43012 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
43013 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
43015 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
43016 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43018 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
43019 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43021 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
43022 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43024 static void *_p_wxListViewTo_p_wxControl(void *x
) {
43025 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
43027 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
43028 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
43030 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
43031 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
43033 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
43034 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
43036 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
43037 return (void *)((wxControl
*) ((wxStaticText
*) x
));
43039 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
43040 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
43042 static void *_p_wxSliderTo_p_wxControl(void *x
) {
43043 return (void *)((wxControl
*) ((wxSlider
*) x
));
43045 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
43046 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
43048 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
43049 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
43051 static void *_p_wxButtonTo_p_wxControl(void *x
) {
43052 return (void *)((wxControl
*) ((wxButton
*) x
));
43054 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
43055 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
43057 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
43058 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43060 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
43061 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
43063 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
43064 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
43066 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
43067 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
43069 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
43070 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43072 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
43073 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43075 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
43076 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43078 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
43079 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
43081 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
43082 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43084 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
43085 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43087 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
43088 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43090 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
43091 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43093 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
43094 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43096 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
43097 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43099 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
43100 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43102 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
43103 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
43105 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
43106 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
43108 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
43109 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
43111 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
43112 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
43114 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
43115 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
43117 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
43118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43120 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
43121 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
43123 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
43124 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
43126 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
43127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43129 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
43130 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
43132 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
43133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43135 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
43136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43138 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
43139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43141 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
43142 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
43144 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
43145 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
43147 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
43148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
43150 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
43151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43153 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
43154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43156 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
43157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43159 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
43160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43162 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
43163 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
43165 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
43166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43168 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
43169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43171 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
43172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43174 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
43175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43177 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
43178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43180 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
43181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43183 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
43184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43186 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
43187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43189 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
43190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43192 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
43193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43195 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
43196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43198 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
43199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43201 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
43202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43204 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
43205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43207 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
43208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43210 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
43211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43213 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
43214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43216 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
43217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43219 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
43220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43222 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
43223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43225 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
43226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43228 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
43229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43231 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
43232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43234 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
43235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43237 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
43238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43240 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
43241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43243 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
43244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43246 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
43247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43249 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
43250 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
43252 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
43253 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
43255 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
43256 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43258 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
43259 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43261 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
43262 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
43264 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43265 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43267 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
43268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43270 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43271 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43273 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43274 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43276 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
43277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
43279 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
43280 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
43282 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
43283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43285 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
43286 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
43288 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
43289 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
43291 static void *_p_wxSizerTo_p_wxObject(void *x
) {
43292 return (void *)((wxObject
*) ((wxSizer
*) x
));
43294 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43295 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43297 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
43298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43300 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
43301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43303 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43306 static void *_p_wxEventTo_p_wxObject(void *x
) {
43307 return (void *)((wxObject
*) ((wxEvent
*) x
));
43309 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
43310 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
43312 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
43313 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
43315 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
43316 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
43318 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
43319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43321 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
43322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43324 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
43325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43327 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
43328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43330 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43331 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43333 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43334 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43336 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43337 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43339 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43340 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43342 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43343 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43345 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43346 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43348 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
43349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43351 static void *_p_wxControlTo_p_wxObject(void *x
) {
43352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
43354 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
43355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43357 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
43358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43360 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
43361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43363 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
43364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43366 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
43367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43369 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
43370 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
43372 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
43373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43375 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43376 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43378 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43379 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43381 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
43382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43384 static void *_p_wxListViewTo_p_wxObject(void *x
) {
43385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43387 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
43388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43390 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
43391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43393 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
43394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43396 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
43397 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
43399 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
43400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43402 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
43403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43405 static void *_p_wxListbookTo_p_wxObject(void *x
) {
43406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43408 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43409 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43411 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
43412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43414 static void *_p_wxSliderTo_p_wxObject(void *x
) {
43415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43417 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43418 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43420 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
43421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
43423 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43424 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43426 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43429 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43430 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43432 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43433 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43435 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43436 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43438 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43439 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43441 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
43442 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
43444 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
43445 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
43447 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
43448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43450 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
43451 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
43453 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
43454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43456 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43459 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43462 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43465 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43468 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43471 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43472 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43474 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43475 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43477 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43478 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43480 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43483 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
43484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
43486 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43487 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43489 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43492 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43495 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43496 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43498 static void *_p_wxListEventTo_p_wxObject(void *x
) {
43499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
43501 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
43502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43504 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
43505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43507 static void *_p_wxButtonTo_p_wxObject(void *x
) {
43508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43510 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
43511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43513 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
43514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43516 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
43517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43519 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
43520 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
43522 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
43523 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
43525 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
43526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43528 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
43529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43531 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
43532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
43534 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
43535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
43537 static void *_p_wxListItemTo_p_wxObject(void *x
) {
43538 return (void *)((wxObject
*) ((wxListItem
*) x
));
43540 static void *_p_wxImageTo_p_wxObject(void *x
) {
43541 return (void *)((wxObject
*) ((wxImage
*) x
));
43543 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43544 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43546 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
43547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43549 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
43550 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
43552 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
43553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43555 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
43556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43558 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
43559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43561 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
43562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43564 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
43565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43567 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
43568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43570 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43573 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43574 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43576 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43577 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43579 static void *_p_wxWindowTo_p_wxObject(void *x
) {
43580 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
43582 static void *_p_wxMenuTo_p_wxObject(void *x
) {
43583 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
43585 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
43586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
43588 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43589 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43591 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
43592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43594 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
43595 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
43597 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
43598 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
43600 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
43601 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
43603 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
43604 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
43606 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
43607 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
43609 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
43610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43612 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
43613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43615 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43618 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43619 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43621 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
43622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43624 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43625 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43627 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43628 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43630 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43633 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
43634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43636 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43639 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
43640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43642 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
43643 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
43645 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
43646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43648 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
43649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
43651 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
43652 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
43654 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43655 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43657 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
43658 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
43660 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
43661 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43663 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
43664 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
43666 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
43667 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
43669 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
43670 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43672 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43673 return (void *)((wxWindow
*) ((wxControl
*) x
));
43675 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
43676 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
43678 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
43679 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
43681 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
43682 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
43684 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
43685 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43687 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
43688 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
43690 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
43691 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
43693 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
43694 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
43696 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43697 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43699 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
43700 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
43702 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
43703 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
43705 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
43706 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43708 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
43709 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43711 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
43712 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
43714 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
43715 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
43717 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
43718 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
43720 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
43721 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
43723 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
43724 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43726 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
43727 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43729 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
43730 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43732 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
43733 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43735 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
43736 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43738 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
43739 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
43741 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
43742 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
43744 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
43745 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
43747 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
43748 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
43750 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
43751 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
43753 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
43754 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43756 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
43757 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
43759 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
43760 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
43762 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
43763 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43765 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
43766 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43768 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
43769 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
43771 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
43772 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
43774 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43775 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43777 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43778 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43780 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43781 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43783 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43784 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43786 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43787 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43789 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43790 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43792 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
43793 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43795 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
43796 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43798 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
43799 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43801 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43802 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43804 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43805 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43807 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43808 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43810 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43811 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43813 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
43814 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43816 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
43817 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43819 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
43820 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43822 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
43823 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43825 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
43826 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43828 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
43829 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
43831 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43832 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43834 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
43835 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
43837 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
43838 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43840 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
43841 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43843 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
43844 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43846 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
43847 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
43849 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43850 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43852 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43853 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43855 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
43856 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43858 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
43859 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
43861 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
43862 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
43864 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
43865 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
43867 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43868 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43870 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
43871 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
43872 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};
43873 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
43874 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
43875 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
43876 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
43877 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
43878 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
43879 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
43880 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
43881 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
43882 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
43883 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
43884 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
43885 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
43886 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
43887 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
43888 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
43889 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
43890 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
43891 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
43892 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
43893 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
43894 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
43895 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
43896 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
43897 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
43898 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
43899 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
43900 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
43901 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
43902 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
43903 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
43904 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
43905 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
43906 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
43907 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
43908 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
43909 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
43910 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
43911 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
43912 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
43913 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
43914 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
43915 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
43916 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
43917 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
43918 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
43919 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
43920 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
43921 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
43922 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
43923 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
43924 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
43925 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
43926 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
43927 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
43928 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
43929 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
43930 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
43931 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
43932 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
43933 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
43934 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
43935 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
43936 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
43937 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
43938 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
43939 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
43940 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
43941 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
43942 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
43943 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
43944 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
43945 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
43946 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
43947 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
43948 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
43949 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
43950 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
43951 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
43952 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
43953 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
43954 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
43955 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
43956 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
43957 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
43958 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
43959 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
43960 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
43961 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
43962 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
43963 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
43964 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
43965 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
43966 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
43967 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
43968 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
43969 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
43970 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
43971 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
43972 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
43973 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
43974 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
43975 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
43976 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
43977 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
43978 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
43979 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
43980 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
43981 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
43982 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
43983 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
43984 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
43985 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
43986 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
43987 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
43988 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
43989 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
43990 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
43991 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
43992 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
43993 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
43994 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
43995 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
43996 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
43997 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
43998 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
43999 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
44000 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
44001 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
44002 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
44003 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
44004 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
44005 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
44006 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
44007 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
44008 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
44009 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
44010 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
44011 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
44012 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
44013 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
44014 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
44015 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
44016 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
44017 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
44018 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
44019 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
44020 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
44021 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
44022 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
44023 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
44024 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
44025 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
44026 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
44027 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
44028 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
44029 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
44030 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
44031 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
44032 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
44033 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
44034 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
44035 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
44037 static swig_type_info
*swig_type_initial
[] = {
44040 &_swigt__p_form_ops_t
,
44043 &_swigt__p_unsigned_char
,
44044 &_swigt__p_unsigned_int
,
44045 &_swigt__p_unsigned_long
,
44047 &_swigt__p_wxANIHandler
,
44048 &_swigt__p_wxAcceleratorTable
,
44049 &_swigt__p_wxActivateEvent
,
44050 &_swigt__p_wxArrayInt
,
44051 &_swigt__p_wxArrayString
,
44052 &_swigt__p_wxBMPHandler
,
44053 &_swigt__p_wxBitmap
,
44054 &_swigt__p_wxBitmapButton
,
44055 &_swigt__p_wxBookCtrlBase
,
44056 &_swigt__p_wxBookCtrlBaseEvent
,
44057 &_swigt__p_wxBoxSizer
,
44058 &_swigt__p_wxButton
,
44059 &_swigt__p_wxCURHandler
,
44060 &_swigt__p_wxCheckBox
,
44061 &_swigt__p_wxCheckListBox
,
44062 &_swigt__p_wxChildFocusEvent
,
44063 &_swigt__p_wxChoice
,
44064 &_swigt__p_wxChoicebook
,
44065 &_swigt__p_wxChoicebookEvent
,
44066 &_swigt__p_wxClipboardTextEvent
,
44067 &_swigt__p_wxCloseEvent
,
44068 &_swigt__p_wxColour
,
44069 &_swigt__p_wxComboBox
,
44070 &_swigt__p_wxCommandEvent
,
44071 &_swigt__p_wxContextHelp
,
44072 &_swigt__p_wxContextHelpButton
,
44073 &_swigt__p_wxContextMenuEvent
,
44074 &_swigt__p_wxControl
,
44075 &_swigt__p_wxControlWithItems
,
44076 &_swigt__p_wxCursor
,
44078 &_swigt__p_wxDateEvent
,
44079 &_swigt__p_wxDatePickerCtrl
,
44080 &_swigt__p_wxDateTime
,
44081 &_swigt__p_wxDirFilterListCtrl
,
44082 &_swigt__p_wxDisplayChangedEvent
,
44083 &_swigt__p_wxDropFilesEvent
,
44084 &_swigt__p_wxDuplexMode
,
44085 &_swigt__p_wxEraseEvent
,
44086 &_swigt__p_wxEvent
,
44087 &_swigt__p_wxEvtHandler
,
44088 &_swigt__p_wxFSFile
,
44089 &_swigt__p_wxFileSystem
,
44090 &_swigt__p_wxFlexGridSizer
,
44091 &_swigt__p_wxFocusEvent
,
44093 &_swigt__p_wxGBSizerItem
,
44094 &_swigt__p_wxGIFHandler
,
44095 &_swigt__p_wxGauge
,
44096 &_swigt__p_wxGenericDirCtrl
,
44097 &_swigt__p_wxGenericDragImage
,
44098 &_swigt__p_wxGridBagSizer
,
44099 &_swigt__p_wxGridSizer
,
44100 &_swigt__p_wxHelpEvent
,
44101 &_swigt__p_wxHelpProvider
,
44102 &_swigt__p_wxHyperlinkCtrl
,
44103 &_swigt__p_wxHyperlinkEvent
,
44104 &_swigt__p_wxICOHandler
,
44106 &_swigt__p_wxIconizeEvent
,
44107 &_swigt__p_wxIdleEvent
,
44108 &_swigt__p_wxImage
,
44109 &_swigt__p_wxImageHandler
,
44110 &_swigt__p_wxImageList
,
44111 &_swigt__p_wxIndividualLayoutConstraint
,
44112 &_swigt__p_wxInitDialogEvent
,
44113 &_swigt__p_wxItemContainer
,
44114 &_swigt__p_wxJPEGHandler
,
44115 &_swigt__p_wxKeyEvent
,
44116 &_swigt__p_wxLayoutConstraints
,
44117 &_swigt__p_wxListBox
,
44118 &_swigt__p_wxListEvent
,
44119 &_swigt__p_wxListItem
,
44120 &_swigt__p_wxListItemAttr
,
44121 &_swigt__p_wxListView
,
44122 &_swigt__p_wxListbook
,
44123 &_swigt__p_wxListbookEvent
,
44124 &_swigt__p_wxMaximizeEvent
,
44125 &_swigt__p_wxMemoryDC
,
44127 &_swigt__p_wxMenuBar
,
44128 &_swigt__p_wxMenuEvent
,
44129 &_swigt__p_wxMenuItem
,
44130 &_swigt__p_wxMouseCaptureChangedEvent
,
44131 &_swigt__p_wxMouseEvent
,
44132 &_swigt__p_wxMoveEvent
,
44133 &_swigt__p_wxNavigationKeyEvent
,
44134 &_swigt__p_wxNcPaintEvent
,
44135 &_swigt__p_wxNotebook
,
44136 &_swigt__p_wxNotebookEvent
,
44137 &_swigt__p_wxNotifyEvent
,
44138 &_swigt__p_wxObject
,
44139 &_swigt__p_wxPCXHandler
,
44140 &_swigt__p_wxPNGHandler
,
44141 &_swigt__p_wxPNMHandler
,
44142 &_swigt__p_wxPaintEvent
,
44143 &_swigt__p_wxPaletteChangedEvent
,
44144 &_swigt__p_wxPaperSize
,
44145 &_swigt__p_wxPoint
,
44146 &_swigt__p_wxPyApp
,
44147 &_swigt__p_wxPyCommandEvent
,
44148 &_swigt__p_wxPyControl
,
44149 &_swigt__p_wxPyEvent
,
44150 &_swigt__p_wxPyImageHandler
,
44151 &_swigt__p_wxPyListCtrl
,
44152 &_swigt__p_wxPySizer
,
44153 &_swigt__p_wxPyTreeCtrl
,
44154 &_swigt__p_wxPyTreeItemData
,
44155 &_swigt__p_wxPyValidator
,
44156 &_swigt__p_wxQueryNewPaletteEvent
,
44157 &_swigt__p_wxRadioBox
,
44158 &_swigt__p_wxRadioButton
,
44160 &_swigt__p_wxScrollBar
,
44161 &_swigt__p_wxScrollEvent
,
44162 &_swigt__p_wxScrollWinEvent
,
44163 &_swigt__p_wxSetCursorEvent
,
44164 &_swigt__p_wxShowEvent
,
44165 &_swigt__p_wxSimpleHelpProvider
,
44167 &_swigt__p_wxSizeEvent
,
44168 &_swigt__p_wxSizer
,
44169 &_swigt__p_wxSizerItem
,
44170 &_swigt__p_wxSlider
,
44171 &_swigt__p_wxSpinButton
,
44172 &_swigt__p_wxSpinCtrl
,
44173 &_swigt__p_wxSpinEvent
,
44174 &_swigt__p_wxStaticBitmap
,
44175 &_swigt__p_wxStaticBox
,
44176 &_swigt__p_wxStaticBoxSizer
,
44177 &_swigt__p_wxStaticLine
,
44178 &_swigt__p_wxStaticText
,
44179 &_swigt__p_wxStdDialogButtonSizer
,
44180 &_swigt__p_wxString
,
44181 &_swigt__p_wxSysColourChangedEvent
,
44182 &_swigt__p_wxTIFFHandler
,
44183 &_swigt__p_wxTextAttr
,
44184 &_swigt__p_wxTextCtrl
,
44185 &_swigt__p_wxTextUrlEvent
,
44186 &_swigt__p_wxToggleButton
,
44187 &_swigt__p_wxToolBar
,
44188 &_swigt__p_wxToolBarBase
,
44189 &_swigt__p_wxToolBarToolBase
,
44190 &_swigt__p_wxToolbook
,
44191 &_swigt__p_wxToolbookEvent
,
44192 &_swigt__p_wxTreeCtrl
,
44193 &_swigt__p_wxTreeEvent
,
44194 &_swigt__p_wxTreeItemId
,
44195 &_swigt__p_wxTreebook
,
44196 &_swigt__p_wxTreebookEvent
,
44197 &_swigt__p_wxUpdateUIEvent
,
44198 &_swigt__p_wxValidator
,
44199 &_swigt__p_wxVisualAttributes
,
44200 &_swigt__p_wxWindow
,
44201 &_swigt__p_wxWindowCreateEvent
,
44202 &_swigt__p_wxWindowDestroyEvent
,
44203 &_swigt__p_wxXPMHandler
,
44206 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
44207 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
44208 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
44209 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
44210 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
44211 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
44212 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
44213 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
44214 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
44215 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
44216 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
44217 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44218 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}};
44219 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}};
44220 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}};
44221 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}};
44222 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
44223 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
44224 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}};
44225 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
44226 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44227 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
44228 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
44229 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44230 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
44231 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
44232 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
44233 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44234 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44235 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44236 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44237 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
44238 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
44239 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
44240 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
44241 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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
44242 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}};
44243 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
44244 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
44245 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44246 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
44247 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44248 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
44249 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44250 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44251 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44252 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
44253 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
44254 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44255 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
44256 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
44257 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44258 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44259 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44260 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44261 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
44262 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44263 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44264 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44265 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44266 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44267 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44268 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
44269 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44270 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
44271 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44272 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44273 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
44274 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
44275 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
44276 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
44277 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
44278 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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
44279 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
44280 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
44281 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44282 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
44283 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
44284 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}};
44285 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44286 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
44287 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
44288 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
44289 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}};
44290 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44291 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}};
44292 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
44293 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
44294 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
44295 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
44296 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
44297 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44298 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
44299 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44300 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
44301 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44302 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}};
44303 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
44304 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44305 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44306 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
44307 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44308 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44309 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44310 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
44311 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44312 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44313 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
44314 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
44315 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
44316 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
44317 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
44318 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
44319 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
44320 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44321 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44322 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
44323 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44324 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44325 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44326 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44327 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44328 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44329 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
44330 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
44331 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
44332 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
44333 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
44334 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
44335 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
44336 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
44337 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}};
44338 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44339 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
44340 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
44341 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
44342 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
44343 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
44344 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
44345 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
44346 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
44347 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
44348 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44349 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44350 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44351 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
44352 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
44353 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
44354 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
44355 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
44356 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44357 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
44358 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
44359 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
44360 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}};
44361 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
44362 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
44363 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44364 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44365 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44366 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
44367 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
44368 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44369 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}};
44370 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
44371 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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
44373 static swig_cast_info
*swig_cast_initial
[] = {
44376 _swigc__p_form_ops_t
,
44379 _swigc__p_unsigned_char
,
44380 _swigc__p_unsigned_int
,
44381 _swigc__p_unsigned_long
,
44383 _swigc__p_wxANIHandler
,
44384 _swigc__p_wxAcceleratorTable
,
44385 _swigc__p_wxActivateEvent
,
44386 _swigc__p_wxArrayInt
,
44387 _swigc__p_wxArrayString
,
44388 _swigc__p_wxBMPHandler
,
44389 _swigc__p_wxBitmap
,
44390 _swigc__p_wxBitmapButton
,
44391 _swigc__p_wxBookCtrlBase
,
44392 _swigc__p_wxBookCtrlBaseEvent
,
44393 _swigc__p_wxBoxSizer
,
44394 _swigc__p_wxButton
,
44395 _swigc__p_wxCURHandler
,
44396 _swigc__p_wxCheckBox
,
44397 _swigc__p_wxCheckListBox
,
44398 _swigc__p_wxChildFocusEvent
,
44399 _swigc__p_wxChoice
,
44400 _swigc__p_wxChoicebook
,
44401 _swigc__p_wxChoicebookEvent
,
44402 _swigc__p_wxClipboardTextEvent
,
44403 _swigc__p_wxCloseEvent
,
44404 _swigc__p_wxColour
,
44405 _swigc__p_wxComboBox
,
44406 _swigc__p_wxCommandEvent
,
44407 _swigc__p_wxContextHelp
,
44408 _swigc__p_wxContextHelpButton
,
44409 _swigc__p_wxContextMenuEvent
,
44410 _swigc__p_wxControl
,
44411 _swigc__p_wxControlWithItems
,
44412 _swigc__p_wxCursor
,
44414 _swigc__p_wxDateEvent
,
44415 _swigc__p_wxDatePickerCtrl
,
44416 _swigc__p_wxDateTime
,
44417 _swigc__p_wxDirFilterListCtrl
,
44418 _swigc__p_wxDisplayChangedEvent
,
44419 _swigc__p_wxDropFilesEvent
,
44420 _swigc__p_wxDuplexMode
,
44421 _swigc__p_wxEraseEvent
,
44423 _swigc__p_wxEvtHandler
,
44424 _swigc__p_wxFSFile
,
44425 _swigc__p_wxFileSystem
,
44426 _swigc__p_wxFlexGridSizer
,
44427 _swigc__p_wxFocusEvent
,
44429 _swigc__p_wxGBSizerItem
,
44430 _swigc__p_wxGIFHandler
,
44432 _swigc__p_wxGenericDirCtrl
,
44433 _swigc__p_wxGenericDragImage
,
44434 _swigc__p_wxGridBagSizer
,
44435 _swigc__p_wxGridSizer
,
44436 _swigc__p_wxHelpEvent
,
44437 _swigc__p_wxHelpProvider
,
44438 _swigc__p_wxHyperlinkCtrl
,
44439 _swigc__p_wxHyperlinkEvent
,
44440 _swigc__p_wxICOHandler
,
44442 _swigc__p_wxIconizeEvent
,
44443 _swigc__p_wxIdleEvent
,
44445 _swigc__p_wxImageHandler
,
44446 _swigc__p_wxImageList
,
44447 _swigc__p_wxIndividualLayoutConstraint
,
44448 _swigc__p_wxInitDialogEvent
,
44449 _swigc__p_wxItemContainer
,
44450 _swigc__p_wxJPEGHandler
,
44451 _swigc__p_wxKeyEvent
,
44452 _swigc__p_wxLayoutConstraints
,
44453 _swigc__p_wxListBox
,
44454 _swigc__p_wxListEvent
,
44455 _swigc__p_wxListItem
,
44456 _swigc__p_wxListItemAttr
,
44457 _swigc__p_wxListView
,
44458 _swigc__p_wxListbook
,
44459 _swigc__p_wxListbookEvent
,
44460 _swigc__p_wxMaximizeEvent
,
44461 _swigc__p_wxMemoryDC
,
44463 _swigc__p_wxMenuBar
,
44464 _swigc__p_wxMenuEvent
,
44465 _swigc__p_wxMenuItem
,
44466 _swigc__p_wxMouseCaptureChangedEvent
,
44467 _swigc__p_wxMouseEvent
,
44468 _swigc__p_wxMoveEvent
,
44469 _swigc__p_wxNavigationKeyEvent
,
44470 _swigc__p_wxNcPaintEvent
,
44471 _swigc__p_wxNotebook
,
44472 _swigc__p_wxNotebookEvent
,
44473 _swigc__p_wxNotifyEvent
,
44474 _swigc__p_wxObject
,
44475 _swigc__p_wxPCXHandler
,
44476 _swigc__p_wxPNGHandler
,
44477 _swigc__p_wxPNMHandler
,
44478 _swigc__p_wxPaintEvent
,
44479 _swigc__p_wxPaletteChangedEvent
,
44480 _swigc__p_wxPaperSize
,
44483 _swigc__p_wxPyCommandEvent
,
44484 _swigc__p_wxPyControl
,
44485 _swigc__p_wxPyEvent
,
44486 _swigc__p_wxPyImageHandler
,
44487 _swigc__p_wxPyListCtrl
,
44488 _swigc__p_wxPySizer
,
44489 _swigc__p_wxPyTreeCtrl
,
44490 _swigc__p_wxPyTreeItemData
,
44491 _swigc__p_wxPyValidator
,
44492 _swigc__p_wxQueryNewPaletteEvent
,
44493 _swigc__p_wxRadioBox
,
44494 _swigc__p_wxRadioButton
,
44496 _swigc__p_wxScrollBar
,
44497 _swigc__p_wxScrollEvent
,
44498 _swigc__p_wxScrollWinEvent
,
44499 _swigc__p_wxSetCursorEvent
,
44500 _swigc__p_wxShowEvent
,
44501 _swigc__p_wxSimpleHelpProvider
,
44503 _swigc__p_wxSizeEvent
,
44505 _swigc__p_wxSizerItem
,
44506 _swigc__p_wxSlider
,
44507 _swigc__p_wxSpinButton
,
44508 _swigc__p_wxSpinCtrl
,
44509 _swigc__p_wxSpinEvent
,
44510 _swigc__p_wxStaticBitmap
,
44511 _swigc__p_wxStaticBox
,
44512 _swigc__p_wxStaticBoxSizer
,
44513 _swigc__p_wxStaticLine
,
44514 _swigc__p_wxStaticText
,
44515 _swigc__p_wxStdDialogButtonSizer
,
44516 _swigc__p_wxString
,
44517 _swigc__p_wxSysColourChangedEvent
,
44518 _swigc__p_wxTIFFHandler
,
44519 _swigc__p_wxTextAttr
,
44520 _swigc__p_wxTextCtrl
,
44521 _swigc__p_wxTextUrlEvent
,
44522 _swigc__p_wxToggleButton
,
44523 _swigc__p_wxToolBar
,
44524 _swigc__p_wxToolBarBase
,
44525 _swigc__p_wxToolBarToolBase
,
44526 _swigc__p_wxToolbook
,
44527 _swigc__p_wxToolbookEvent
,
44528 _swigc__p_wxTreeCtrl
,
44529 _swigc__p_wxTreeEvent
,
44530 _swigc__p_wxTreeItemId
,
44531 _swigc__p_wxTreebook
,
44532 _swigc__p_wxTreebookEvent
,
44533 _swigc__p_wxUpdateUIEvent
,
44534 _swigc__p_wxValidator
,
44535 _swigc__p_wxVisualAttributes
,
44536 _swigc__p_wxWindow
,
44537 _swigc__p_wxWindowCreateEvent
,
44538 _swigc__p_wxWindowDestroyEvent
,
44539 _swigc__p_wxXPMHandler
,
44543 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
44545 static swig_const_info swig_const_table
[] = {
44546 {0, 0, 0, 0.0, 0, 0}};
44551 /* -----------------------------------------------------------------------------
44552 * Type initialization:
44553 * This problem is tough by the requirement that no dynamic
44554 * memory is used. Also, since swig_type_info structures store pointers to
44555 * swig_cast_info structures and swig_cast_info structures store pointers back
44556 * to swig_type_info structures, we need some lookup code at initialization.
44557 * The idea is that swig generates all the structures that are needed.
44558 * The runtime then collects these partially filled structures.
44559 * The SWIG_InitializeModule function takes these initial arrays out of
44560 * swig_module, and does all the lookup, filling in the swig_module.types
44561 * array with the correct data and linking the correct swig_cast_info
44562 * structures together.
44564 * The generated swig_type_info structures are assigned staticly to an initial
44565 * array. We just loop though that array, and handle each type individually.
44566 * First we lookup if this type has been already loaded, and if so, use the
44567 * loaded structure instead of the generated one. Then we have to fill in the
44568 * cast linked list. The cast data is initially stored in something like a
44569 * two-dimensional array. Each row corresponds to a type (there are the same
44570 * number of rows as there are in the swig_type_initial array). Each entry in
44571 * a column is one of the swig_cast_info structures for that type.
44572 * The cast_initial array is actually an array of arrays, because each row has
44573 * a variable number of columns. So to actually build the cast linked list,
44574 * we find the array of casts associated with the type, and loop through it
44575 * adding the casts to the list. The one last trick we need to do is making
44576 * sure the type pointer in the swig_cast_info struct is correct.
44578 * First off, we lookup the cast->type name to see if it is already loaded.
44579 * There are three cases to handle:
44580 * 1) If the cast->type has already been loaded AND the type we are adding
44581 * casting info to has not been loaded (it is in this module), THEN we
44582 * replace the cast->type pointer with the type pointer that has already
44584 * 2) If BOTH types (the one we are adding casting info to, and the
44585 * cast->type) are loaded, THEN the cast info has already been loaded by
44586 * the previous module so we just ignore it.
44587 * 3) Finally, if cast->type has not already been loaded, then we add that
44588 * swig_cast_info to the linked list (because the cast->type) pointer will
44590 * ----------------------------------------------------------------------------- */
44600 #define SWIGRUNTIME_DEBUG
44604 SWIG_InitializeModule(void *clientdata
) {
44606 swig_module_info
*module_head
;
44607 static int init_run
= 0;
44609 clientdata
= clientdata
;
44611 if (init_run
) return;
44614 /* Initialize the swig_module */
44615 swig_module
.type_initial
= swig_type_initial
;
44616 swig_module
.cast_initial
= swig_cast_initial
;
44618 /* Try and load any already created modules */
44619 module_head
= SWIG_GetModule(clientdata
);
44621 swig_module
.next
= module_head
->next
;
44622 module_head
->next
= &swig_module
;
44624 /* This is the first module loaded */
44625 swig_module
.next
= &swig_module
;
44626 SWIG_SetModule(clientdata
, &swig_module
);
44629 /* Now work on filling in swig_module.types */
44630 #ifdef SWIGRUNTIME_DEBUG
44631 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
44633 for (i
= 0; i
< swig_module
.size
; ++i
) {
44634 swig_type_info
*type
= 0;
44635 swig_type_info
*ret
;
44636 swig_cast_info
*cast
;
44638 #ifdef SWIGRUNTIME_DEBUG
44639 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44642 /* if there is another module already loaded */
44643 if (swig_module
.next
!= &swig_module
) {
44644 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
44647 /* Overwrite clientdata field */
44648 #ifdef SWIGRUNTIME_DEBUG
44649 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
44651 if (swig_module
.type_initial
[i
]->clientdata
) {
44652 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
44653 #ifdef SWIGRUNTIME_DEBUG
44654 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
44658 type
= swig_module
.type_initial
[i
];
44661 /* Insert casting types */
44662 cast
= swig_module
.cast_initial
[i
];
44663 while (cast
->type
) {
44664 /* Don't need to add information already in the list */
44666 #ifdef SWIGRUNTIME_DEBUG
44667 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
44669 if (swig_module
.next
!= &swig_module
) {
44670 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
44671 #ifdef SWIGRUNTIME_DEBUG
44672 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
44676 if (type
== swig_module
.type_initial
[i
]) {
44677 #ifdef SWIGRUNTIME_DEBUG
44678 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
44683 /* Check for casting already in the list */
44684 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
44685 #ifdef SWIGRUNTIME_DEBUG
44686 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
44688 if (!ocast
) ret
= 0;
44693 #ifdef SWIGRUNTIME_DEBUG
44694 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
44697 type
->cast
->prev
= cast
;
44698 cast
->next
= type
->cast
;
44704 /* Set entry in modules->types array equal to the type */
44705 swig_module
.types
[i
] = type
;
44707 swig_module
.types
[i
] = 0;
44709 #ifdef SWIGRUNTIME_DEBUG
44710 printf("**** SWIG_InitializeModule: Cast List ******\n");
44711 for (i
= 0; i
< swig_module
.size
; ++i
) {
44713 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
44714 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44715 while (cast
->type
) {
44716 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
44720 printf("---- Total casts: %d\n",j
);
44722 printf("**** SWIG_InitializeModule: Cast List ******\n");
44726 /* This function will propagate the clientdata field of type to
44727 * any new swig_type_info structures that have been added into the list
44728 * of equivalent types. It is like calling
44729 * SWIG_TypeClientData(type, clientdata) a second time.
44732 SWIG_PropagateClientData(void) {
44734 swig_cast_info
*equiv
;
44735 static int init_run
= 0;
44737 if (init_run
) return;
44740 for (i
= 0; i
< swig_module
.size
; i
++) {
44741 if (swig_module
.types
[i
]->clientdata
) {
44742 equiv
= swig_module
.types
[i
]->cast
;
44744 if (!equiv
->converter
) {
44745 if (equiv
->type
&& !equiv
->type
->clientdata
)
44746 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
44748 equiv
= equiv
->next
;
44768 /* Python-specific SWIG API */
44769 #define SWIG_newvarlink() SWIG_Python_newvarlink()
44770 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
44771 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
44773 /* -----------------------------------------------------------------------------
44774 * global variable support code.
44775 * ----------------------------------------------------------------------------- */
44777 typedef struct swig_globalvar
{
44778 char *name
; /* Name of global variable */
44779 PyObject
*(*get_attr
)(void); /* Return the current value */
44780 int (*set_attr
)(PyObject
*); /* Set the value */
44781 struct swig_globalvar
*next
;
44784 typedef struct swig_varlinkobject
{
44786 swig_globalvar
*vars
;
44787 } swig_varlinkobject
;
44789 SWIGINTERN PyObject
*
44790 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
44791 return PyString_FromString("<Swig global variables>");
44794 SWIGINTERN PyObject
*
44795 swig_varlink_str(swig_varlinkobject
*v
) {
44796 PyObject
*str
= PyString_FromString("(");
44797 swig_globalvar
*var
;
44798 for (var
= v
->vars
; var
; var
=var
->next
) {
44799 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
44800 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
44802 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
44807 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
44808 PyObject
*str
= swig_varlink_str(v
);
44809 fprintf(fp
,"Swig global variables ");
44810 fprintf(fp
,"%s\n", PyString_AsString(str
));
44816 swig_varlink_dealloc(swig_varlinkobject
*v
) {
44817 swig_globalvar
*var
= v
->vars
;
44819 swig_globalvar
*n
= var
->next
;
44826 SWIGINTERN PyObject
*
44827 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
44828 PyObject
*res
= NULL
;
44829 swig_globalvar
*var
= v
->vars
;
44831 if (strcmp(var
->name
,n
) == 0) {
44832 res
= (*var
->get_attr
)();
44837 if (res
== NULL
&& !PyErr_Occurred()) {
44838 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44844 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
44846 swig_globalvar
*var
= v
->vars
;
44848 if (strcmp(var
->name
,n
) == 0) {
44849 res
= (*var
->set_attr
)(p
);
44854 if (res
== 1 && !PyErr_Occurred()) {
44855 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44860 SWIGINTERN PyTypeObject
*
44861 swig_varlink_type(void) {
44862 static char varlink__doc__
[] = "Swig var link object";
44863 static PyTypeObject varlink_type
;
44864 static int type_init
= 0;
44866 const PyTypeObject tmp
44868 PyObject_HEAD_INIT(NULL
)
44869 0, /* Number of items in variable part (ob_size) */
44870 (char *)"swigvarlink", /* Type name (tp_name) */
44871 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
44872 0, /* Itemsize (tp_itemsize) */
44873 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
44874 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
44875 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
44876 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
44877 0, /* tp_compare */
44878 (reprfunc
) swig_varlink_repr
, /* tp_repr */
44879 0, /* tp_as_number */
44880 0, /* tp_as_sequence */
44881 0, /* tp_as_mapping */
44884 (reprfunc
)swig_varlink_str
, /* tp_str */
44885 0, /* tp_getattro */
44886 0, /* tp_setattro */
44887 0, /* tp_as_buffer */
44889 varlink__doc__
, /* tp_doc */
44890 0, /* tp_traverse */
44892 0, /* tp_richcompare */
44893 0, /* tp_weaklistoffset */
44894 #if PY_VERSION_HEX >= 0x02020000
44895 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
44897 #if PY_VERSION_HEX >= 0x02030000
44900 #ifdef COUNT_ALLOCS
44901 0,0,0,0 /* tp_alloc -> tp_next */
44904 varlink_type
= tmp
;
44905 varlink_type
.ob_type
= &PyType_Type
;
44908 return &varlink_type
;
44911 /* Create a variable linking object for use later */
44912 SWIGINTERN PyObject
*
44913 SWIG_Python_newvarlink(void) {
44914 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
44918 return ((PyObject
*) result
);
44922 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
44923 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
44924 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
44926 size_t size
= strlen(name
)+1;
44927 gv
->name
= (char *)malloc(size
);
44929 strncpy(gv
->name
,name
,size
);
44930 gv
->get_attr
= get_attr
;
44931 gv
->set_attr
= set_attr
;
44932 gv
->next
= v
->vars
;
44938 SWIGINTERN PyObject
*
44940 static PyObject
*_SWIG_globals
= 0;
44941 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
44942 return _SWIG_globals
;
44945 /* -----------------------------------------------------------------------------
44946 * constants/methods manipulation
44947 * ----------------------------------------------------------------------------- */
44949 /* Install Constants */
44951 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
44954 for (i
= 0; constants
[i
].type
; ++i
) {
44955 switch(constants
[i
].type
) {
44956 case SWIG_PY_POINTER
:
44957 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
44959 case SWIG_PY_BINARY
:
44960 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
44967 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
44973 /* -----------------------------------------------------------------------------*/
44974 /* Fix SwigMethods to carry the callback ptrs when needed */
44975 /* -----------------------------------------------------------------------------*/
44978 SWIG_Python_FixMethods(PyMethodDef
*methods
,
44979 swig_const_info
*const_table
,
44980 swig_type_info
**types
,
44981 swig_type_info
**types_initial
) {
44983 for (i
= 0; methods
[i
].ml_name
; ++i
) {
44984 char *c
= methods
[i
].ml_doc
;
44985 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
44987 swig_const_info
*ci
= 0;
44988 char *name
= c
+ 10;
44989 for (j
= 0; const_table
[j
].type
; ++j
) {
44990 if (strncmp(const_table
[j
].name
, name
,
44991 strlen(const_table
[j
].name
)) == 0) {
44992 ci
= &(const_table
[j
]);
44997 size_t shift
= (ci
->ptype
) - types
;
44998 swig_type_info
*ty
= types_initial
[shift
];
44999 size_t ldoc
= (c
- methods
[i
].ml_doc
);
45000 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
45001 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
45004 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
45006 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
45008 strncpy(buff
, "swig_ptr: ", 10);
45010 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
45011 methods
[i
].ml_doc
= ndoc
;
45023 /* -----------------------------------------------------------------------------*
45024 * Partial Init method
45025 * -----------------------------------------------------------------------------*/
45030 SWIGEXPORT
void SWIG_init(void) {
45033 /* Fix SwigMethods to carry the callback ptrs when needed */
45034 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
45036 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
45037 d
= PyModule_GetDict(m
);
45039 SWIG_InitializeModule(0);
45040 SWIG_InstallConstants(d
,swig_const_table
);
45043 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
45044 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
45045 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
45046 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
45047 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
45048 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
45049 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
45050 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
45051 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
45052 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
45053 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
45054 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
45055 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
45056 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
45057 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
45058 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
45059 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
45060 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
45061 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
45062 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
45063 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
45064 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
45065 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
45066 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
45067 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
45068 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
45069 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
45070 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
45071 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
45072 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
45073 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
45074 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
45075 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
45076 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
45077 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
45078 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
45079 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
45080 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
45081 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
45082 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
45083 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
45084 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
45085 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
45086 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
45087 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
45088 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
45089 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
45090 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
45091 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
45092 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
45093 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
45094 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
45095 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
45096 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
45097 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
45098 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
45099 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
45100 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
45101 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
45102 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
45103 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
45104 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
45105 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
45106 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
45107 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
45108 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
45109 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
45110 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
45111 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
45112 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
45113 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
45114 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
45115 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
45116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
45117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
45118 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
45119 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
45120 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
45121 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
45122 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
45123 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
45124 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
45125 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
45126 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
45127 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
45128 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
45129 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
45130 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
45131 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
45132 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
45133 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
45134 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
45135 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
45136 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
45137 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
45138 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
45139 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
45140 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
45141 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
45142 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
45143 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
45144 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
45145 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
45146 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
45147 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
45148 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
45149 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
45150 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
45151 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
45152 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
45153 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
45154 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
45155 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
45156 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
45157 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
45158 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
45159 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
45160 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
45161 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
45162 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
45163 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
45164 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
45165 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
45166 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
45167 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
45168 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
45169 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
45170 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
45171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
45172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
45173 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
45174 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
45175 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
45176 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
45177 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
45178 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
45179 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
45180 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
45181 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
45182 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
45183 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
45184 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
45185 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
45186 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
45187 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
45188 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
45189 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
45190 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
45191 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
45192 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
45193 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
45194 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
45195 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
45196 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
45197 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
45198 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
45199 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
45200 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
45201 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
45202 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
45203 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
45204 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
45205 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
45206 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
45207 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
45208 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
45209 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
45210 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
45211 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
45212 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
45213 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
45214 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
45215 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
45216 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
45217 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
45218 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
45219 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
45220 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
45221 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
45222 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
45223 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
45224 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
45225 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
45226 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
45227 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
45228 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
45229 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
45230 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
45231 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
45232 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
45233 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
45234 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
45235 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
45236 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
45237 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
45238 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
45239 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
45240 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
45241 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
45242 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
45243 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
45244 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
45245 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
45246 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
45247 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
45248 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
45249 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
45250 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
45251 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
45252 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
45253 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
45254 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
45255 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
45256 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
45257 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
45258 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
45259 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
45260 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
45261 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
45262 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
45263 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
45264 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
45265 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
45266 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
45267 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
45268 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
45269 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
45270 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
45271 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
45272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
45273 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
45274 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
45275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
45276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
45277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
45278 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
45279 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
45280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
45281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
45282 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
45283 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
45284 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
45285 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
45286 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
45287 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
45288 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
45289 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
45290 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
45291 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
45293 // Map renamed classes back to their common name for OOR
45294 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
45296 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
45297 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
45298 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
45299 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
45300 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
45301 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
45302 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
45303 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
45304 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
45305 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
45306 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
45307 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
45308 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
45309 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
45310 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
45311 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
45312 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
45313 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
45314 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
45315 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
45316 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
45317 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
45318 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
45319 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
45320 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
45321 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
45322 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
45323 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
45324 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
45325 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
45326 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
45327 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
45328 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
45329 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
45330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
45331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
45332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
45333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
45334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
45335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
45336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
45337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
45338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
45339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
45340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
45341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
45342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
45343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
45344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
45345 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
45346 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
45347 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
45348 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
45349 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
45350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
45352 // Map renamed classes back to their common name for OOR
45353 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
45354 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
45356 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
45357 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
45358 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
45359 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
45360 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
45361 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
45362 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
45363 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
45364 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
45365 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
45366 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
45367 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
45368 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
45370 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
45372 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
45373 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
45374 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
45375 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
45376 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
45377 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
45378 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
45379 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
45380 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
45381 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));