1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2811 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2812 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2819 self
->Insert(item
, pos
);
2823 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2826 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2827 return SWIG_TypeError
;
2830 *val
= (unsigned long)v
;
2836 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2839 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2840 if (SWIG_IsOK(res
)) {
2841 if ((v
> UINT_MAX
)) {
2842 return SWIG_OverflowError
;
2844 if (val
) *val
= static_cast< unsigned int >(v
);
2850 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 self
->GetSelections(lst
);
2854 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2855 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2857 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2859 wxPyEndBlockThreads(blocked
);
2862 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2864 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2865 self
->GetItem(item
)->SetTextColour(c
);
2868 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2870 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2871 self
->GetItem(item
)->SetBackgroundColour(c
);
2874 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetFont(f
);
2880 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2881 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2882 self
->AppendText(text
);
2884 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2885 return self
->GetValue().Mid(from
, to
- from
);
2887 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2888 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2889 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2890 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2891 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2893 SWIGINTERNINLINE PyObject
*
2894 SWIG_From_unsigned_SS_long (unsigned long value
)
2896 return (value
> LONG_MAX
) ?
2897 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2901 SWIGINTERNINLINE PyObject
*
2902 SWIG_From_size_t (size_t value
)
2904 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2908 SWIGINTERNINLINE PyObject
*
2909 SWIG_From_unsigned_SS_int (unsigned int value
)
2911 return SWIG_From_unsigned_SS_long (value
);
2915 #include <wx/slider.h>
2918 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2919 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2921 #if !wxUSE_TOGGLEBTN
2922 // implement dummy items for platforms that don't have this class
2924 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2926 class wxToggleButton
: public wxControl
2929 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2930 const wxPoint
&, const wxSize
&, long,
2931 const wxValidator
&, const wxString
&)
2932 { wxPyRaiseNotImplemented(); }
2935 { wxPyRaiseNotImplemented(); }
2939 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2941 SWIGINTERNINLINE
int
2942 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2945 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2946 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2950 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2951 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2952 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2954 Py_INCREF(udata
->m_obj
);
2955 return udata
->m_obj
;
2961 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2962 self
->SetClientData(new wxPyUserData(clientData
));
2964 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2965 wxPyUserData
* udata
= NULL
;
2966 if (clientData
&& clientData
!= Py_None
)
2967 udata
= new wxPyUserData(clientData
);
2968 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2969 shortHelp
, longHelp
, udata
);
2971 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2972 wxPyUserData
* udata
= NULL
;
2973 if (clientData
&& clientData
!= Py_None
)
2974 udata
= new wxPyUserData(clientData
);
2975 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2976 shortHelp
, longHelp
, udata
);
2978 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2979 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2981 Py_INCREF(udata
->m_obj
);
2982 return udata
->m_obj
;
2988 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2989 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2992 #include <wx/listctrl.h>
2994 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2995 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2996 // Python aware sorting function for wxPyListCtrl
2997 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2999 PyObject
* func
= (PyObject
*)funcPtr
;
3000 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3002 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3003 PyObject
* result
= PyEval_CallObject(func
, args
);
3006 retval
= PyInt_AsLong(result
);
3010 wxPyEndBlockThreads(blocked
);
3014 // C++ Version of a Python aware class
3015 class wxPyListCtrl
: public wxListCtrl
{
3016 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3018 wxPyListCtrl() : wxListCtrl() {}
3019 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3023 const wxValidator
& validator
,
3024 const wxString
& name
) :
3025 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3027 bool Create(wxWindow
* parent
, wxWindowID id
,
3031 const wxValidator
& validator
,
3032 const wxString
& name
) {
3033 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3036 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3037 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3039 // use the virtual version to avoid a confusing assert in the base class
3040 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3041 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3048 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3049 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3050 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3051 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3054 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3056 item
.SetMask( wxLIST_MASK_STATE
|
3064 if (self
->GetColumn(col
, item
))
3065 return new wxListItem(item
);
3069 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3070 wxListItem
* info
= new wxListItem
;
3071 info
->m_itemId
= itemId
;
3073 info
->m_mask
= 0xFFFF;
3074 self
->GetItem(*info
);
3077 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3079 self
->GetItemPosition(item
, pos
);
3082 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3084 self
->GetItemRect(item
, rect
, code
);
3087 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3088 if (!PyCallable_Check(func
))
3090 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3092 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3096 return (wxWindow
*)self
->m_mainWin
;
3100 #include <wx/treectrl.h>
3101 #include "wx/wxPython/pytree.h"
3103 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3104 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3105 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3106 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3107 // C++ version of Python aware wxTreeCtrl
3108 class wxPyTreeCtrl
: public wxTreeCtrl
{
3109 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3111 wxPyTreeCtrl() : wxTreeCtrl() {}
3112 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3116 const wxValidator
& validator
,
3117 const wxString
& name
) :
3118 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3120 bool Create(wxWindow
*parent
, wxWindowID id
,
3124 const wxValidator
& validator
,
3125 const wxString
& name
) {
3126 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3130 int OnCompareItems(const wxTreeItemId
& item1
,
3131 const wxTreeItemId
& item2
) {
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3136 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3137 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3138 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3142 wxPyEndBlockThreads(blocked
);
3144 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3150 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3153 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3154 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3156 data
= new wxPyTreeItemData();
3157 data
->SetId(item
); // set the id
3158 self
->SetItemData(item
, data
);
3162 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3163 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3165 data
= new wxPyTreeItemData();
3166 data
->SetId(item
); // set the id
3167 self
->SetItemData(item
, data
);
3169 return data
->GetData();
3171 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3175 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData(obj
);
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3185 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3186 PyObject
* rval
= PyList_New(0);
3187 wxArrayTreeItemIds array
;
3189 num
= self
->GetSelections(array
);
3190 for (x
=0; x
< num
; x
++) {
3191 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3192 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3193 PyList_Append(rval
, item
);
3196 wxPyEndBlockThreads(blocked
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3201 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3202 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3203 PyObject
* tup
= PyTuple_New(2);
3204 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3205 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3206 wxPyEndBlockThreads(blocked
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3210 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* tup
= PyTuple_New(2);
3213 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3214 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3220 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 wxRect
* r
= new wxRect(rect
);
3223 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3224 wxPyEndBlockThreads(blocked
);
3230 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3232 SWIGINTERNINLINE PyObject
*
3233 SWIG_From_bool (bool value
)
3235 return PyBool_FromLong(value
? 1 : 0);
3238 // C++ version of Python aware wxControl
3239 class wxPyControl
: public wxControl
3241 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3243 wxPyControl() : wxControl() {}
3244 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3245 const wxPoint
& pos
= wxDefaultPosition
,
3246 const wxSize
& size
= wxDefaultSize
,
3248 const wxValidator
& validator
=wxDefaultValidator
,
3249 const wxString
& name
= wxPyControlNameStr
)
3250 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3252 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3254 bool DoEraseBackground(wxDC
* dc
) {
3256 return wxWindow::DoEraseBackground(dc
->GetHDC());
3258 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3265 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3276 DEC_PYCALLBACK__(InitDialog
);
3277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3279 DEC_PYCALLBACK_BOOL_(Validate
);
3281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3283 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3289 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3291 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3293 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3298 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3300 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3301 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3309 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3312 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3313 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3317 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3319 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3324 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3325 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3327 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3329 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3333 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3335 #include <wx/generic/dragimgg.h>
3337 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3338 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3340 self
->GetRange(&rv
, NULL
);
3343 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3345 self
->GetRange(NULL
, &rv
);
3351 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3352 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3357 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3358 PyObject
*pyobj
= 0;
3362 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3364 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3371 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
= 0;
3373 wxWindow
*arg1
= (wxWindow
*) 0 ;
3374 int arg2
= (int) -1 ;
3375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3381 long arg6
= (long) 0 ;
3382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3384 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3386 wxButton
*result
= 0 ;
3391 bool temp3
= false ;
3398 bool temp8
= false ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3401 PyObject
* obj2
= 0 ;
3402 PyObject
* obj3
= 0 ;
3403 PyObject
* obj4
= 0 ;
3404 PyObject
* obj5
= 0 ;
3405 PyObject
* obj6
= 0 ;
3406 PyObject
* obj7
= 0 ;
3407 char * kwnames
[] = {
3408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3413 if (!SWIG_IsOK(res1
)) {
3414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3419 if (!SWIG_IsOK(ecode2
)) {
3420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3422 arg2
= static_cast< int >(val2
);
3426 arg3
= wxString_in_helper(obj2
);
3427 if (arg3
== NULL
) SWIG_fail
;
3434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3445 if (!SWIG_IsOK(ecode6
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3448 arg6
= static_cast< long >(val6
);
3451 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3452 if (!SWIG_IsOK(res7
)) {
3453 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3458 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3462 arg8
= wxString_in_helper(obj7
);
3463 if (arg8
== NULL
) SWIG_fail
;
3468 if (!wxPyCheckForApp()) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3497 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3498 PyObject
*resultobj
= 0;
3499 wxButton
*result
= 0 ;
3501 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3503 if (!wxPyCheckForApp()) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (wxButton
*)new wxButton();
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3516 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
= 0;
3518 wxButton
*arg1
= (wxButton
*) 0 ;
3519 wxWindow
*arg2
= (wxWindow
*) 0 ;
3520 int arg3
= (int) -1 ;
3521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3527 long arg7
= (long) 0 ;
3528 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3529 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3530 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3531 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3539 bool temp4
= false ;
3546 bool temp9
= false ;
3547 PyObject
* obj0
= 0 ;
3548 PyObject
* obj1
= 0 ;
3549 PyObject
* obj2
= 0 ;
3550 PyObject
* obj3
= 0 ;
3551 PyObject
* obj4
= 0 ;
3552 PyObject
* obj5
= 0 ;
3553 PyObject
* obj6
= 0 ;
3554 PyObject
* obj7
= 0 ;
3555 PyObject
* obj8
= 0 ;
3556 char * kwnames
[] = {
3557 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3562 if (!SWIG_IsOK(res1
)) {
3563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3565 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3567 if (!SWIG_IsOK(res2
)) {
3568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3573 if (!SWIG_IsOK(ecode3
)) {
3574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3576 arg3
= static_cast< int >(val3
);
3580 arg4
= wxString_in_helper(obj3
);
3581 if (arg4
== NULL
) SWIG_fail
;
3588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3599 if (!SWIG_IsOK(ecode7
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3602 arg7
= static_cast< long >(val7
);
3605 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3606 if (!SWIG_IsOK(res8
)) {
3607 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3612 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3616 arg9
= wxString_in_helper(obj8
);
3617 if (arg9
== NULL
) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3652 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3653 PyObject
*resultobj
= 0;
3654 wxButton
*arg1
= (wxButton
*) 0 ;
3657 PyObject
*swig_obj
[1] ;
3659 if (!args
) SWIG_fail
;
3661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3662 if (!SWIG_IsOK(res1
)) {
3663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3665 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 (arg1
)->SetDefault();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_Py_Void();
3679 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3683 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= wxButton::GetDefaultSize();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3697 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
= 0;
3699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3700 SwigValueWrapper
<wxVisualAttributes
> result
;
3703 PyObject
* obj0
= 0 ;
3704 char * kwnames
[] = {
3705 (char *) "variant", NULL
3708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3711 if (!SWIG_IsOK(ecode1
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3714 arg1
= static_cast< wxWindowVariant
>(val1
);
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxButton::GetClassDefaultAttributes(arg1
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3730 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3733 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3734 return SWIG_Py_Void();
3737 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3738 return SWIG_Python_InitShadowInstance(args
);
3741 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
= 0;
3743 wxWindow
*arg1
= (wxWindow
*) 0 ;
3744 int arg2
= (int) -1 ;
3745 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3746 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3751 long arg6
= (long) wxBU_AUTODRAW
;
3752 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3753 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3754 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3756 wxBitmapButton
*result
= 0 ;
3769 bool temp8
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 PyObject
* obj6
= 0 ;
3777 PyObject
* obj7
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3796 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3797 if (!SWIG_IsOK(res3
)) {
3798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3803 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3818 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3819 if (!SWIG_IsOK(ecode6
)) {
3820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3822 arg6
= static_cast< long >(val6
);
3825 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3826 if (!SWIG_IsOK(res7
)) {
3827 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3832 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3836 arg8
= wxString_in_helper(obj7
);
3837 if (arg8
== NULL
) SWIG_fail
;
3842 if (!wxPyCheckForApp()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3863 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3864 PyObject
*resultobj
= 0;
3865 wxBitmapButton
*result
= 0 ;
3867 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton();
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3882 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3885 wxWindow
*arg2
= (wxWindow
*) 0 ;
3886 int arg3
= (int) -1 ;
3887 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3888 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3889 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3890 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3891 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3892 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3893 long arg7
= (long) wxBU_AUTODRAW
;
3894 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3895 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3896 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3897 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3913 bool temp9
= false ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3916 PyObject
* obj2
= 0 ;
3917 PyObject
* obj3
= 0 ;
3918 PyObject
* obj4
= 0 ;
3919 PyObject
* obj5
= 0 ;
3920 PyObject
* obj6
= 0 ;
3921 PyObject
* obj7
= 0 ;
3922 PyObject
* obj8
= 0 ;
3923 char * kwnames
[] = {
3924 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3929 if (!SWIG_IsOK(res1
)) {
3930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3932 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3934 if (!SWIG_IsOK(res2
)) {
3935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3937 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3940 if (!SWIG_IsOK(ecode3
)) {
3941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3943 arg3
= static_cast< int >(val3
);
3946 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3947 if (!SWIG_IsOK(res4
)) {
3948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3953 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3968 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3969 if (!SWIG_IsOK(ecode7
)) {
3970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3972 arg7
= static_cast< long >(val7
);
3975 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3976 if (!SWIG_IsOK(res8
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3982 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3986 arg9
= wxString_in_helper(obj8
);
3987 if (arg9
== NULL
) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4014 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4028 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (arg1
)->GetBitmapLabel();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4042 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 PyObject
*resultobj
= 0;
4044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4048 PyObject
*swig_obj
[1] ;
4050 if (!args
) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4056 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (arg1
)->GetBitmapDisabled();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4070 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4071 PyObject
*resultobj
= 0;
4072 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4076 PyObject
*swig_obj
[1] ;
4078 if (!args
) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4084 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (arg1
)->GetBitmapFocus();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4098 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 PyObject
*resultobj
= 0;
4100 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4104 PyObject
*swig_obj
[1] ;
4106 if (!args
) SWIG_fail
;
4108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4109 if (!SWIG_IsOK(res1
)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4112 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (arg1
)->GetBitmapSelected();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4132 PyObject
*swig_obj
[1] ;
4134 if (!args
) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4140 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (arg1
)->GetBitmapHover();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4157 wxBitmap
*arg2
= 0 ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4164 char * kwnames
[] = {
4165 (char *) "self",(char *) "bitmap", NULL
4168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4170 if (!SWIG_IsOK(res1
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4173 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4175 if (!SWIG_IsOK(res2
)) {
4176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4181 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_Py_Void();
4195 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
= 0;
4197 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4198 wxBitmap
*arg2
= 0 ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4205 char * kwnames
[] = {
4206 (char *) "self",(char *) "bitmap", NULL
4209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4211 if (!SWIG_IsOK(res1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4214 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4216 if (!SWIG_IsOK(res2
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4222 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_Py_Void();
4236 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4239 wxBitmap
*arg2
= 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 char * kwnames
[] = {
4247 (char *) "self",(char *) "bitmap", NULL
4250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4255 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4257 if (!SWIG_IsOK(res2
)) {
4258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_Py_Void();
4277 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
= 0;
4279 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4280 wxBitmap
*arg2
= 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4287 char * kwnames
[] = {
4288 (char *) "self",(char *) "bitmap", NULL
4291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4293 if (!SWIG_IsOK(res1
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4296 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4298 if (!SWIG_IsOK(res2
)) {
4299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_Py_Void();
4318 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
= 0;
4320 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4321 wxBitmap
*arg2
= 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4328 char * kwnames
[] = {
4329 (char *) "self",(char *) "hover", NULL
4332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4334 if (!SWIG_IsOK(res1
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4337 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4339 if (!SWIG_IsOK(res2
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_Py_Void();
4359 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
= 0;
4361 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4372 PyObject
* obj2
= 0 ;
4373 char * kwnames
[] = {
4374 (char *) "self",(char *) "x",(char *) "y", NULL
4377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4379 if (!SWIG_IsOK(res1
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4382 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4384 if (!SWIG_IsOK(ecode2
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4387 arg2
= static_cast< int >(val2
);
4388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4389 if (!SWIG_IsOK(ecode3
)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4392 arg3
= static_cast< int >(val3
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 (arg1
)->SetMargins(arg2
,arg3
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_Py_Void();
4406 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 PyObject
*resultobj
= 0;
4408 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4412 PyObject
*swig_obj
[1] ;
4414 if (!args
) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4420 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_From_int(static_cast< int >(result
));
4434 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4435 PyObject
*resultobj
= 0;
4436 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4440 PyObject
*swig_obj
[1] ;
4442 if (!args
) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4448 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_From_int(static_cast< int >(result
));
4462 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4465 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4466 return SWIG_Py_Void();
4469 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4470 return SWIG_Python_InitShadowInstance(args
);
4473 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4474 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4479 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4480 PyObject
*pyobj
= 0;
4484 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4486 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4493 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxWindow
*arg1
= (wxWindow
*) 0 ;
4496 int arg2
= (int) -1 ;
4497 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4498 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4503 long arg6
= (long) 0 ;
4504 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4505 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4506 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4508 wxCheckBox
*result
= 0 ;
4513 bool temp3
= false ;
4520 bool temp8
= false ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4523 PyObject
* obj2
= 0 ;
4524 PyObject
* obj3
= 0 ;
4525 PyObject
* obj4
= 0 ;
4526 PyObject
* obj5
= 0 ;
4527 PyObject
* obj6
= 0 ;
4528 PyObject
* obj7
= 0 ;
4529 char * kwnames
[] = {
4530 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4535 if (!SWIG_IsOK(res1
)) {
4536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4541 if (!SWIG_IsOK(ecode2
)) {
4542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4544 arg2
= static_cast< int >(val2
);
4548 arg3
= wxString_in_helper(obj2
);
4549 if (arg3
== NULL
) SWIG_fail
;
4556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4566 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4567 if (!SWIG_IsOK(ecode6
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4570 arg6
= static_cast< long >(val6
);
4573 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4574 if (!SWIG_IsOK(res7
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4580 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4584 arg8
= wxString_in_helper(obj7
);
4585 if (arg8
== NULL
) SWIG_fail
;
4590 if (!wxPyCheckForApp()) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4619 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxCheckBox
*result
= 0 ;
4623 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4625 if (!wxPyCheckForApp()) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (wxCheckBox
*)new wxCheckBox();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4638 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4640 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4641 wxWindow
*arg2
= (wxWindow
*) 0 ;
4642 int arg3
= (int) -1 ;
4643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4649 long arg7
= (long) 0 ;
4650 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4651 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4652 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4653 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4661 bool temp4
= false ;
4668 bool temp9
= false ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 PyObject
* obj3
= 0 ;
4673 PyObject
* obj4
= 0 ;
4674 PyObject
* obj5
= 0 ;
4675 PyObject
* obj6
= 0 ;
4676 PyObject
* obj7
= 0 ;
4677 PyObject
* obj8
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4687 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4689 if (!SWIG_IsOK(res2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4695 if (!SWIG_IsOK(ecode3
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4698 arg3
= static_cast< int >(val3
);
4702 arg4
= wxString_in_helper(obj3
);
4703 if (arg4
== NULL
) SWIG_fail
;
4710 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4716 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4720 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4721 if (!SWIG_IsOK(ecode7
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4724 arg7
= static_cast< long >(val7
);
4727 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4728 if (!SWIG_IsOK(res8
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4734 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4738 arg9
= wxString_in_helper(obj8
);
4739 if (arg9
== NULL
) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 PyObject
*resultobj
= 0;
4776 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4780 PyObject
*swig_obj
[1] ;
4782 if (!args
) SWIG_fail
;
4784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4785 if (!SWIG_IsOK(res1
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4788 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (bool)(arg1
)->GetValue();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->IsChecked();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 char * kwnames
[] = {
4845 (char *) "self",(char *) "state", NULL
4848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4850 if (!SWIG_IsOK(res1
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4853 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4855 if (!SWIG_IsOK(ecode2
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4858 arg2
= static_cast< bool >(val2
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->SetValue(arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_Py_Void();
4872 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4873 PyObject
*resultobj
= 0;
4874 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4875 wxCheckBoxState result
;
4878 PyObject
*swig_obj
[1] ;
4880 if (!args
) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4886 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_From_int(static_cast< int >(result
));
4900 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= 0;
4902 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4903 wxCheckBoxState arg2
;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4910 char * kwnames
[] = {
4911 (char *) "self",(char *) "state", NULL
4914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4919 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4921 if (!SWIG_IsOK(ecode2
)) {
4922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4924 arg2
= static_cast< wxCheckBoxState
>(val2
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 (arg1
)->Set3StateValue(arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_Py_Void();
4938 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4939 PyObject
*resultobj
= 0;
4940 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4944 PyObject
*swig_obj
[1] ;
4946 if (!args
) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4952 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= 0;
5000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5001 SwigValueWrapper
<wxVisualAttributes
> result
;
5004 PyObject
* obj0
= 0 ;
5005 char * kwnames
[] = {
5006 (char *) "variant", NULL
5009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5012 if (!SWIG_IsOK(ecode1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5015 arg1
= static_cast< wxWindowVariant
>(val1
);
5018 if (!wxPyCheckForApp()) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5031 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5034 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5035 return SWIG_Py_Void();
5038 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5039 return SWIG_Python_InitShadowInstance(args
);
5042 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5043 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5048 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5049 PyObject
*pyobj
= 0;
5053 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5055 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5062 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxWindow
*arg1
= (wxWindow
*) 0 ;
5065 int arg2
= (int) -1 ;
5066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5070 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5071 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5072 long arg6
= (long) 0 ;
5073 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5074 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5075 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5077 wxChoice
*result
= 0 ;
5084 bool temp5
= false ;
5089 bool temp8
= false ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5092 PyObject
* obj2
= 0 ;
5093 PyObject
* obj3
= 0 ;
5094 PyObject
* obj4
= 0 ;
5095 PyObject
* obj5
= 0 ;
5096 PyObject
* obj6
= 0 ;
5097 PyObject
* obj7
= 0 ;
5098 char * kwnames
[] = {
5099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5104 if (!SWIG_IsOK(res1
)) {
5105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5110 if (!SWIG_IsOK(ecode2
)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5113 arg2
= static_cast< int >(val2
);
5118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5129 if (! PySequence_Check(obj4
)) {
5130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5133 arg5
= new wxArrayString
;
5135 int i
, len
=PySequence_Length(obj4
);
5136 for (i
=0; i
<len
; i
++) {
5137 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5138 wxString
* s
= wxString_in_helper(item
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5147 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5148 if (!SWIG_IsOK(ecode6
)) {
5149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5151 arg6
= static_cast< long >(val6
);
5154 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5155 if (!SWIG_IsOK(res7
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5161 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5165 arg8
= wxString_in_helper(obj7
);
5166 if (arg8
== NULL
) SWIG_fail
;
5171 if (!wxPyCheckForApp()) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5179 if (temp5
) delete arg5
;
5188 if (temp5
) delete arg5
;
5198 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5199 PyObject
*resultobj
= 0;
5200 wxChoice
*result
= 0 ;
5202 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxChoice
*)new wxChoice();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5217 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
= 0;
5219 wxChoice
*arg1
= (wxChoice
*) 0 ;
5220 wxWindow
*arg2
= (wxWindow
*) 0 ;
5221 int arg3
= (int) -1 ;
5222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5226 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5227 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5228 long arg7
= (long) 0 ;
5229 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5230 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5231 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5232 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5242 bool temp6
= false ;
5247 bool temp9
= false ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5251 PyObject
* obj3
= 0 ;
5252 PyObject
* obj4
= 0 ;
5253 PyObject
* obj5
= 0 ;
5254 PyObject
* obj6
= 0 ;
5255 PyObject
* obj7
= 0 ;
5256 PyObject
* obj8
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5266 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5268 if (!SWIG_IsOK(res2
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5274 if (!SWIG_IsOK(ecode3
)) {
5275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5277 arg3
= static_cast< int >(val3
);
5282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5293 if (! PySequence_Check(obj5
)) {
5294 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5297 arg6
= new wxArrayString
;
5299 int i
, len
=PySequence_Length(obj5
);
5300 for (i
=0; i
<len
; i
++) {
5301 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5302 wxString
* s
= wxString_in_helper(item
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5312 if (!SWIG_IsOK(ecode7
)) {
5313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5315 arg7
= static_cast< long >(val7
);
5318 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5319 if (!SWIG_IsOK(res8
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5325 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5329 arg9
= wxString_in_helper(obj8
);
5330 if (arg9
== NULL
) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5344 if (temp6
) delete arg6
;
5353 if (temp6
) delete arg6
;
5363 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5364 PyObject
*resultobj
= 0;
5365 wxChoice
*arg1
= (wxChoice
*) 0 ;
5369 PyObject
*swig_obj
[1] ;
5371 if (!args
) SWIG_fail
;
5373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5374 if (!SWIG_IsOK(res1
)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5377 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_From_int(static_cast< int >(result
));
5391 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
= 0;
5393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5394 SwigValueWrapper
<wxVisualAttributes
> result
;
5397 PyObject
* obj0
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "variant", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5405 if (!SWIG_IsOK(ecode1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5408 arg1
= static_cast< wxWindowVariant
>(val1
);
5411 if (!wxPyCheckForApp()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5424 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5427 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5428 return SWIG_Py_Void();
5431 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5432 return SWIG_Python_InitShadowInstance(args
);
5435 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5436 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5441 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5442 PyObject
*pyobj
= 0;
5446 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5448 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5455 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5457 wxWindow
*arg1
= (wxWindow
*) 0 ;
5458 int arg2
= (int) -1 ;
5459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5465 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5466 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5467 long arg7
= (long) 0 ;
5468 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5469 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5470 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5471 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5472 wxComboBox
*result
= 0 ;
5477 bool temp3
= false ;
5480 bool temp6
= false ;
5485 bool temp9
= false ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5488 PyObject
* obj2
= 0 ;
5489 PyObject
* obj3
= 0 ;
5490 PyObject
* obj4
= 0 ;
5491 PyObject
* obj5
= 0 ;
5492 PyObject
* obj6
= 0 ;
5493 PyObject
* obj7
= 0 ;
5494 PyObject
* obj8
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5507 if (!SWIG_IsOK(ecode2
)) {
5508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5510 arg2
= static_cast< int >(val2
);
5514 arg3
= wxString_in_helper(obj2
);
5515 if (arg3
== NULL
) SWIG_fail
;
5522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5533 if (! PySequence_Check(obj5
)) {
5534 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5537 arg6
= new wxArrayString
;
5539 int i
, len
=PySequence_Length(obj5
);
5540 for (i
=0; i
<len
; i
++) {
5541 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5542 wxString
* s
= wxString_in_helper(item
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5551 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5552 if (!SWIG_IsOK(ecode7
)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5555 arg7
= static_cast< long >(val7
);
5558 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5559 if (!SWIG_IsOK(res8
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5565 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5569 arg9
= wxString_in_helper(obj8
);
5570 if (arg9
== NULL
) SWIG_fail
;
5575 if (!wxPyCheckForApp()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5587 if (temp6
) delete arg6
;
5600 if (temp6
) delete arg6
;
5610 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5611 PyObject
*resultobj
= 0;
5612 wxComboBox
*result
= 0 ;
5614 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5616 if (!wxPyCheckForApp()) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (wxComboBox
*)new wxComboBox();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5629 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5632 wxWindow
*arg2
= (wxWindow
*) 0 ;
5633 int arg3
= (int) -1 ;
5634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5636 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5637 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5638 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5639 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5640 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5641 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5642 long arg8
= (long) 0 ;
5643 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5644 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5645 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5646 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5654 bool temp4
= false ;
5657 bool temp7
= false ;
5662 bool temp10
= false ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5666 PyObject
* obj3
= 0 ;
5667 PyObject
* obj4
= 0 ;
5668 PyObject
* obj5
= 0 ;
5669 PyObject
* obj6
= 0 ;
5670 PyObject
* obj7
= 0 ;
5671 PyObject
* obj8
= 0 ;
5672 PyObject
* obj9
= 0 ;
5673 char * kwnames
[] = {
5674 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5679 if (!SWIG_IsOK(res1
)) {
5680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5682 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5684 if (!SWIG_IsOK(res2
)) {
5685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5690 if (!SWIG_IsOK(ecode3
)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5693 arg3
= static_cast< int >(val3
);
5697 arg4
= wxString_in_helper(obj3
);
5698 if (arg4
== NULL
) SWIG_fail
;
5705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5716 if (! PySequence_Check(obj6
)) {
5717 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5720 arg7
= new wxArrayString
;
5722 int i
, len
=PySequence_Length(obj6
);
5723 for (i
=0; i
<len
; i
++) {
5724 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5725 wxString
* s
= wxString_in_helper(item
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5734 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5735 if (!SWIG_IsOK(ecode8
)) {
5736 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5738 arg8
= static_cast< long >(val8
);
5741 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5742 if (!SWIG_IsOK(res9
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5748 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5752 arg10
= wxString_in_helper(obj9
);
5753 if (arg10
== NULL
) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 if (temp7
) delete arg7
;
5784 if (temp7
) delete arg7
;
5794 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5795 PyObject
*resultobj
= 0;
5796 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5800 PyObject
*swig_obj
[1] ;
5802 if (!args
) SWIG_fail
;
5804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5805 if (!SWIG_IsOK(res1
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5808 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= ((wxComboBox
const *)arg1
)->GetValue();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5828 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5831 wxString
*arg2
= 0 ;
5834 bool temp2
= false ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 char * kwnames
[] = {
5838 (char *) "self",(char *) "value", NULL
5841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5846 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5848 arg2
= wxString_in_helper(obj1
);
5849 if (arg2
== NULL
) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->SetValue((wxString
const &)*arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5878 PyObject
*swig_obj
[1] ;
5880 if (!args
) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5886 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 char * kwnames
[] = {
5965 (char *) "self",(char *) "pos", NULL
5968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5970 if (!SWIG_IsOK(res1
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5973 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5975 if (!SWIG_IsOK(ecode2
)) {
5976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5978 arg2
= static_cast< long >(val2
);
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->SetInsertionPoint(arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_Py_Void();
5992 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5993 PyObject
*resultobj
= 0;
5994 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5998 PyObject
*swig_obj
[1] ;
6000 if (!args
) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6006 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_From_long(static_cast< long >(result
));
6020 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6021 PyObject
*resultobj
= 0;
6022 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6026 PyObject
*swig_obj
[1] ;
6028 if (!args
) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6034 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_From_long(static_cast< long >(result
));
6048 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 wxString
*arg4
= 0 ;
6060 bool temp4
= false ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 PyObject
* obj2
= 0 ;
6064 PyObject
* obj3
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6074 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6076 if (!SWIG_IsOK(ecode2
)) {
6077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6079 arg2
= static_cast< long >(val2
);
6080 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6081 if (!SWIG_IsOK(ecode3
)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6084 arg3
= static_cast< long >(val3
);
6086 arg4
= wxString_in_helper(obj3
);
6087 if (arg4
== NULL
) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_Py_Void();
6111 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6124 PyObject
* obj2
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "self",(char *) "_from",(char *) "to", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6134 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6136 if (!SWIG_IsOK(ecode2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6139 arg2
= static_cast< long >(val2
);
6140 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6141 if (!SWIG_IsOK(ecode3
)) {
6142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6144 arg3
= static_cast< long >(val3
);
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 (arg1
)->SetSelection(arg2
,arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_Py_Void();
6158 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6159 PyObject
*resultobj
= 0;
6160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6161 long *arg2
= (long *) 0 ;
6162 long *arg3
= (long *) 0 ;
6166 int res2
= SWIG_TMPOBJ
;
6168 int res3
= SWIG_TMPOBJ
;
6169 PyObject
*swig_obj
[1] ;
6173 if (!args
) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6179 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->GetSelection(arg2
,arg3
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_Py_Void();
6187 if (SWIG_IsTmpObj(res2
)) {
6188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6190 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6193 if (SWIG_IsTmpObj(res3
)) {
6194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6196 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6205 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6206 PyObject
*resultobj
= 0;
6207 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6211 PyObject
*swig_obj
[1] ;
6213 if (!args
) SWIG_fail
;
6215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6216 if (!SWIG_IsOK(res1
)) {
6217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6219 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_From_int(static_cast< int >(result
));
6233 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= 0;
6235 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6236 wxString
*arg2
= 0 ;
6240 bool temp2
= false ;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6243 char * kwnames
[] = {
6244 (char *) "self",(char *) "string", NULL
6247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6249 if (!SWIG_IsOK(res1
)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6252 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6254 arg2
= wxString_in_helper(obj1
);
6255 if (arg2
== NULL
) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6281 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
= 0;
6283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6285 wxString
*arg3
= 0 ;
6290 bool temp3
= false ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 PyObject
* obj2
= 0 ;
6294 char * kwnames
[] = {
6295 (char *) "self",(char *) "n",(char *) "string", NULL
6298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6300 if (!SWIG_IsOK(res1
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6303 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6305 if (!SWIG_IsOK(ecode2
)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6308 arg2
= static_cast< int >(val2
);
6310 arg3
= wxString_in_helper(obj2
);
6311 if (arg3
== NULL
) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_Py_Void();
6335 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
= 0;
6337 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "self",(char *) "editable", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6351 if (!SWIG_IsOK(res1
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6354 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6356 if (!SWIG_IsOK(ecode2
)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6359 arg2
= static_cast< bool >(val2
);
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 (arg1
)->SetEditable(arg2
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_Py_Void();
6373 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6378 PyObject
*swig_obj
[1] ;
6380 if (!args
) SWIG_fail
;
6382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6383 if (!SWIG_IsOK(res1
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6386 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetInsertionPointEnd();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 PyObject
* obj2
= 0 ;
6414 char * kwnames
[] = {
6415 (char *) "self",(char *) "_from",(char *) "to", NULL
6418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6420 if (!SWIG_IsOK(res1
)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6423 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6425 if (!SWIG_IsOK(ecode2
)) {
6426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6428 arg2
= static_cast< long >(val2
);
6429 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6430 if (!SWIG_IsOK(ecode3
)) {
6431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6433 arg3
= static_cast< long >(val3
);
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 (arg1
)->Remove(arg2
,arg3
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= SWIG_Py_Void();
6447 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6448 PyObject
*resultobj
= 0;
6449 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6453 PyObject
*swig_obj
[1] ;
6455 if (!args
) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6461 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6477 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6482 PyObject
*swig_obj
[1] ;
6484 if (!args
) SWIG_fail
;
6486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6487 if (!SWIG_IsOK(res1
)) {
6488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6490 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_Py_Void();
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 (arg1
)->SelectAll();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6564 PyObject
*swig_obj
[1] ;
6566 if (!args
) SWIG_fail
;
6568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6569 if (!SWIG_IsOK(res1
)) {
6570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6572 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6588 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6594 PyObject
*swig_obj
[1] ;
6596 if (!args
) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6602 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6624 PyObject
*swig_obj
[1] ;
6626 if (!args
) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6632 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6662 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6679 PyObject
*resultobj
= 0;
6680 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6692 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
= 0;
6710 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6711 SwigValueWrapper
<wxVisualAttributes
> result
;
6714 PyObject
* obj0
= 0 ;
6715 char * kwnames
[] = {
6716 (char *) "variant", NULL
6719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6722 if (!SWIG_IsOK(ecode1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6725 arg1
= static_cast< wxWindowVariant
>(val1
);
6728 if (!wxPyCheckForApp()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6741 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6744 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6745 return SWIG_Py_Void();
6748 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6749 return SWIG_Python_InitShadowInstance(args
);
6752 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6753 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6758 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6759 PyObject
*pyobj
= 0;
6763 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6765 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6772 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
= 0;
6774 wxWindow
*arg1
= (wxWindow
*) 0 ;
6775 int arg2
= (int) -1 ;
6776 int arg3
= (int) 100 ;
6777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6781 long arg6
= (long) wxGA_HORIZONTAL
;
6782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6784 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6786 wxGauge
*result
= 0 ;
6799 bool temp8
= false ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6802 PyObject
* obj2
= 0 ;
6803 PyObject
* obj3
= 0 ;
6804 PyObject
* obj4
= 0 ;
6805 PyObject
* obj5
= 0 ;
6806 PyObject
* obj6
= 0 ;
6807 PyObject
* obj7
= 0 ;
6808 char * kwnames
[] = {
6809 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6814 if (!SWIG_IsOK(res1
)) {
6815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6820 if (!SWIG_IsOK(ecode2
)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6823 arg2
= static_cast< int >(val2
);
6826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6827 if (!SWIG_IsOK(ecode3
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6830 arg3
= static_cast< int >(val3
);
6835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6846 if (!SWIG_IsOK(ecode6
)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6849 arg6
= static_cast< long >(val6
);
6852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6853 if (!SWIG_IsOK(res7
)) {
6854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6863 arg8
= wxString_in_helper(obj7
);
6864 if (arg8
== NULL
) SWIG_fail
;
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6890 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6891 PyObject
*resultobj
= 0;
6892 wxGauge
*result
= 0 ;
6894 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6909 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
= 0;
6911 wxGauge
*arg1
= (wxGauge
*) 0 ;
6912 wxWindow
*arg2
= (wxWindow
*) 0 ;
6913 int arg3
= (int) -1 ;
6914 int arg4
= (int) 100 ;
6915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6919 long arg7
= (long) wxGA_HORIZONTAL
;
6920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6922 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6939 bool temp9
= false ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 PyObject
* obj2
= 0 ;
6943 PyObject
* obj3
= 0 ;
6944 PyObject
* obj4
= 0 ;
6945 PyObject
* obj5
= 0 ;
6946 PyObject
* obj6
= 0 ;
6947 PyObject
* obj7
= 0 ;
6948 PyObject
* obj8
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6955 if (!SWIG_IsOK(res1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6958 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6960 if (!SWIG_IsOK(res2
)) {
6961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6966 if (!SWIG_IsOK(ecode3
)) {
6967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6969 arg3
= static_cast< int >(val3
);
6972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6973 if (!SWIG_IsOK(ecode4
)) {
6974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6976 arg4
= static_cast< int >(val4
);
6981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6992 if (!SWIG_IsOK(ecode7
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6995 arg7
= static_cast< long >(val7
);
6998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6999 if (!SWIG_IsOK(res8
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7009 arg9
= wxString_in_helper(obj8
);
7010 if (arg9
== NULL
) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7037 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxGauge
*arg1
= (wxGauge
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "range", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7056 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7058 if (!SWIG_IsOK(ecode2
)) {
7059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7061 arg2
= static_cast< int >(val2
);
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 (arg1
)->SetRange(arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_Py_Void();
7075 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7076 PyObject
*resultobj
= 0;
7077 wxGauge
*arg1
= (wxGauge
*) 0 ;
7081 PyObject
*swig_obj
[1] ;
7083 if (!args
) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7089 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_From_int(static_cast< int >(result
));
7103 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= 0;
7105 wxGauge
*arg1
= (wxGauge
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7113 char * kwnames
[] = {
7114 (char *) "self",(char *) "pos", NULL
7117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7122 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7124 if (!SWIG_IsOK(ecode2
)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7127 arg2
= static_cast< int >(val2
);
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->SetValue(arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= SWIG_Py_Void();
7141 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7142 PyObject
*resultobj
= 0;
7143 wxGauge
*arg1
= (wxGauge
*) 0 ;
7147 PyObject
*swig_obj
[1] ;
7149 if (!args
) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7155 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_From_int(static_cast< int >(result
));
7169 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7170 PyObject
*resultobj
= 0;
7171 wxGauge
*arg1
= (wxGauge
*) 0 ;
7175 PyObject
*swig_obj
[1] ;
7177 if (!args
) SWIG_fail
;
7179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7180 if (!SWIG_IsOK(res1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7183 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7199 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7209 char * kwnames
[] = {
7210 (char *) "self",(char *) "w", NULL
7213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7215 if (!SWIG_IsOK(res1
)) {
7216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7218 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7220 if (!SWIG_IsOK(ecode2
)) {
7221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7223 arg2
= static_cast< int >(val2
);
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 (arg1
)->SetShadowWidth(arg2
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= SWIG_Py_Void();
7237 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxGauge
*arg1
= (wxGauge
*) 0 ;
7243 PyObject
*swig_obj
[1] ;
7245 if (!args
) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7251 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_From_int(static_cast< int >(result
));
7265 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= 0;
7267 wxGauge
*arg1
= (wxGauge
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7275 char * kwnames
[] = {
7276 (char *) "self",(char *) "w", NULL
7279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7281 if (!SWIG_IsOK(res1
)) {
7282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7284 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7286 if (!SWIG_IsOK(ecode2
)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7289 arg2
= static_cast< int >(val2
);
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 (arg1
)->SetBezelFace(arg2
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_Py_Void();
7303 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7304 PyObject
*resultobj
= 0;
7305 wxGauge
*arg1
= (wxGauge
*) 0 ;
7309 PyObject
*swig_obj
[1] ;
7311 if (!args
) SWIG_fail
;
7313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7314 if (!SWIG_IsOK(res1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7317 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_From_int(static_cast< int >(result
));
7331 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
= 0;
7333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7334 SwigValueWrapper
<wxVisualAttributes
> result
;
7337 PyObject
* obj0
= 0 ;
7338 char * kwnames
[] = {
7339 (char *) "variant", NULL
7342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7345 if (!SWIG_IsOK(ecode1
)) {
7346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7348 arg1
= static_cast< wxWindowVariant
>(val1
);
7351 if (!wxPyCheckForApp()) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7364 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7367 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7368 return SWIG_Py_Void();
7371 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7372 return SWIG_Python_InitShadowInstance(args
);
7375 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7376 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7381 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7382 PyObject
*pyobj
= 0;
7386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7388 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7396 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7401 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7402 PyObject
*pyobj
= 0;
7406 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7408 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7416 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7421 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7422 PyObject
*pyobj
= 0;
7426 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7428 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
= 0;
7437 wxWindow
*arg1
= (wxWindow
*) 0 ;
7438 int arg2
= (int) -1 ;
7439 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7445 long arg6
= (long) 0 ;
7446 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7448 wxStaticBox
*result
= 0 ;
7453 bool temp3
= false ;
7458 bool temp7
= false ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 PyObject
* obj3
= 0 ;
7463 PyObject
* obj4
= 0 ;
7464 PyObject
* obj5
= 0 ;
7465 PyObject
* obj6
= 0 ;
7466 char * kwnames
[] = {
7467 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7472 if (!SWIG_IsOK(res1
)) {
7473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7478 if (!SWIG_IsOK(ecode2
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7481 arg2
= static_cast< int >(val2
);
7485 arg3
= wxString_in_helper(obj2
);
7486 if (arg3
== NULL
) SWIG_fail
;
7493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7503 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7504 if (!SWIG_IsOK(ecode6
)) {
7505 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7507 arg6
= static_cast< long >(val6
);
7511 arg7
= wxString_in_helper(obj6
);
7512 if (arg7
== NULL
) SWIG_fail
;
7517 if (!wxPyCheckForApp()) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7546 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7547 PyObject
*resultobj
= 0;
7548 wxStaticBox
*result
= 0 ;
7550 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7552 if (!wxPyCheckForApp()) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxStaticBox
*)new wxStaticBox();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7565 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
= 0;
7567 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7568 wxWindow
*arg2
= (wxWindow
*) 0 ;
7569 int arg3
= (int) -1 ;
7570 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7572 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7573 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7574 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7575 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7576 long arg7
= (long) 0 ;
7577 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7578 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7586 bool temp4
= false ;
7591 bool temp8
= false ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 PyObject
* obj2
= 0 ;
7595 PyObject
* obj3
= 0 ;
7596 PyObject
* obj4
= 0 ;
7597 PyObject
* obj5
= 0 ;
7598 PyObject
* obj6
= 0 ;
7599 PyObject
* obj7
= 0 ;
7600 char * kwnames
[] = {
7601 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7609 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7611 if (!SWIG_IsOK(res2
)) {
7612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7614 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7617 if (!SWIG_IsOK(ecode3
)) {
7618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7620 arg3
= static_cast< int >(val3
);
7624 arg4
= wxString_in_helper(obj3
);
7625 if (arg4
== NULL
) SWIG_fail
;
7632 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7638 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7642 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7643 if (!SWIG_IsOK(ecode7
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7646 arg7
= static_cast< long >(val7
);
7650 arg8
= wxString_in_helper(obj7
);
7651 if (arg8
== NULL
) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7686 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7689 SwigValueWrapper
<wxVisualAttributes
> result
;
7692 PyObject
* obj0
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "variant", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7700 if (!SWIG_IsOK(ecode1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7703 arg1
= static_cast< wxWindowVariant
>(val1
);
7706 if (!wxPyCheckForApp()) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7719 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7722 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7723 return SWIG_Py_Void();
7726 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7727 return SWIG_Python_InitShadowInstance(args
);
7730 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
= 0;
7732 wxWindow
*arg1
= (wxWindow
*) 0 ;
7733 int arg2
= (int) -1 ;
7734 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7735 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7736 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7737 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7738 long arg5
= (long) wxLI_HORIZONTAL
;
7739 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7740 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7741 wxStaticLine
*result
= 0 ;
7750 bool temp6
= false ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7754 PyObject
* obj3
= 0 ;
7755 PyObject
* obj4
= 0 ;
7756 PyObject
* obj5
= 0 ;
7757 char * kwnames
[] = {
7758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7769 if (!SWIG_IsOK(ecode2
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7772 arg2
= static_cast< int >(val2
);
7777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7787 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7788 if (!SWIG_IsOK(ecode5
)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7791 arg5
= static_cast< long >(val5
);
7795 arg6
= wxString_in_helper(obj5
);
7796 if (arg6
== NULL
) SWIG_fail
;
7801 if (!wxPyCheckForApp()) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7822 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7823 PyObject
*resultobj
= 0;
7824 wxStaticLine
*result
= 0 ;
7826 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxStaticLine
*)new wxStaticLine();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7841 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
= 0;
7843 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7844 wxWindow
*arg2
= (wxWindow
*) 0 ;
7845 int arg3
= (int) -1 ;
7846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7848 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7849 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7850 long arg6
= (long) wxLI_HORIZONTAL
;
7851 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7852 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7864 bool temp7
= false ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 PyObject
* obj2
= 0 ;
7868 PyObject
* obj3
= 0 ;
7869 PyObject
* obj4
= 0 ;
7870 PyObject
* obj5
= 0 ;
7871 PyObject
* obj6
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7881 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7883 if (!SWIG_IsOK(res2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7889 if (!SWIG_IsOK(ecode3
)) {
7890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7892 arg3
= static_cast< int >(val3
);
7897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7907 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7908 if (!SWIG_IsOK(ecode6
)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7911 arg6
= static_cast< long >(val6
);
7915 arg7
= wxString_in_helper(obj6
);
7916 if (arg7
== NULL
) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7944 PyObject
*resultobj
= 0;
7945 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7949 PyObject
*swig_obj
[1] ;
7951 if (!args
) SWIG_fail
;
7953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7954 if (!SWIG_IsOK(res1
)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7957 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 PyObject
*resultobj
= 0;
7977 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (int)wxStaticLine::GetDefaultSize();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_From_int(static_cast< int >(result
));
7991 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7994 SwigValueWrapper
<wxVisualAttributes
> result
;
7997 PyObject
* obj0
= 0 ;
7998 char * kwnames
[] = {
7999 (char *) "variant", NULL
8002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8005 if (!SWIG_IsOK(ecode1
)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8008 arg1
= static_cast< wxWindowVariant
>(val1
);
8011 if (!wxPyCheckForApp()) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8024 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8027 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8028 return SWIG_Py_Void();
8031 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 return SWIG_Python_InitShadowInstance(args
);
8035 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
= 0;
8037 wxWindow
*arg1
= (wxWindow
*) 0 ;
8038 int arg2
= (int) -1 ;
8039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8045 long arg6
= (long) 0 ;
8046 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8048 wxStaticText
*result
= 0 ;
8053 bool temp3
= false ;
8058 bool temp7
= false ;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8062 PyObject
* obj3
= 0 ;
8063 PyObject
* obj4
= 0 ;
8064 PyObject
* obj5
= 0 ;
8065 PyObject
* obj6
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8078 if (!SWIG_IsOK(ecode2
)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8081 arg2
= static_cast< int >(val2
);
8085 arg3
= wxString_in_helper(obj2
);
8086 if (arg3
== NULL
) SWIG_fail
;
8093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8104 if (!SWIG_IsOK(ecode6
)) {
8105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8107 arg6
= static_cast< long >(val6
);
8111 arg7
= wxString_in_helper(obj6
);
8112 if (arg7
== NULL
) SWIG_fail
;
8117 if (!wxPyCheckForApp()) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8146 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8147 PyObject
*resultobj
= 0;
8148 wxStaticText
*result
= 0 ;
8150 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8152 if (!wxPyCheckForApp()) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (wxStaticText
*)new wxStaticText();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8165 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8168 wxWindow
*arg2
= (wxWindow
*) 0 ;
8169 int arg3
= (int) -1 ;
8170 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8171 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8176 long arg7
= (long) 0 ;
8177 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8178 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8186 bool temp4
= false ;
8191 bool temp8
= false ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8194 PyObject
* obj2
= 0 ;
8195 PyObject
* obj3
= 0 ;
8196 PyObject
* obj4
= 0 ;
8197 PyObject
* obj5
= 0 ;
8198 PyObject
* obj6
= 0 ;
8199 PyObject
* obj7
= 0 ;
8200 char * kwnames
[] = {
8201 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8206 if (!SWIG_IsOK(res1
)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8209 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8211 if (!SWIG_IsOK(res2
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8217 if (!SWIG_IsOK(ecode3
)) {
8218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8220 arg3
= static_cast< int >(val3
);
8224 arg4
= wxString_in_helper(obj3
);
8225 if (arg4
== NULL
) SWIG_fail
;
8232 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8238 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8242 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8243 if (!SWIG_IsOK(ecode7
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8246 arg7
= static_cast< long >(val7
);
8250 arg8
= wxString_in_helper(obj7
);
8251 if (arg8
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8286 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
= 0;
8288 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "self",(char *) "width", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8305 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8307 if (!SWIG_IsOK(ecode2
)) {
8308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8310 arg2
= static_cast< int >(val2
);
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_Py_Void();
8324 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
= 0;
8326 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8327 SwigValueWrapper
<wxVisualAttributes
> result
;
8330 PyObject
* obj0
= 0 ;
8331 char * kwnames
[] = {
8332 (char *) "variant", NULL
8335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8338 if (!SWIG_IsOK(ecode1
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8341 arg1
= static_cast< wxWindowVariant
>(val1
);
8344 if (!wxPyCheckForApp()) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8357 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8360 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8361 return SWIG_Py_Void();
8364 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8365 return SWIG_Python_InitShadowInstance(args
);
8368 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
= 0;
8370 wxWindow
*arg1
= (wxWindow
*) 0 ;
8371 int arg2
= (int) -1 ;
8372 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8373 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8374 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8375 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8376 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8377 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8378 long arg6
= (long) 0 ;
8379 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8380 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8381 wxStaticBitmap
*result
= 0 ;
8392 bool temp7
= false ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8395 PyObject
* obj2
= 0 ;
8396 PyObject
* obj3
= 0 ;
8397 PyObject
* obj4
= 0 ;
8398 PyObject
* obj5
= 0 ;
8399 PyObject
* obj6
= 0 ;
8400 char * kwnames
[] = {
8401 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8412 if (!SWIG_IsOK(ecode2
)) {
8413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8415 arg2
= static_cast< int >(val2
);
8418 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8419 if (!SWIG_IsOK(res3
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8425 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8441 if (!SWIG_IsOK(ecode6
)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8444 arg6
= static_cast< long >(val6
);
8448 arg7
= wxString_in_helper(obj6
);
8449 if (arg7
== NULL
) SWIG_fail
;
8454 if (!wxPyCheckForApp()) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8475 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8476 PyObject
*resultobj
= 0;
8477 wxStaticBitmap
*result
= 0 ;
8479 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8494 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
= 0;
8496 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8497 wxWindow
*arg2
= (wxWindow
*) 0 ;
8498 int arg3
= (int) -1 ;
8499 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8500 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8501 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8502 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8503 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8504 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8505 long arg7
= (long) 0 ;
8506 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8521 bool temp8
= false ;
8522 PyObject
* obj0
= 0 ;
8523 PyObject
* obj1
= 0 ;
8524 PyObject
* obj2
= 0 ;
8525 PyObject
* obj3
= 0 ;
8526 PyObject
* obj4
= 0 ;
8527 PyObject
* obj5
= 0 ;
8528 PyObject
* obj6
= 0 ;
8529 PyObject
* obj7
= 0 ;
8530 char * kwnames
[] = {
8531 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8536 if (!SWIG_IsOK(res1
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8539 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8541 if (!SWIG_IsOK(res2
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8547 if (!SWIG_IsOK(ecode3
)) {
8548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8550 arg3
= static_cast< int >(val3
);
8553 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8554 if (!SWIG_IsOK(res4
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8560 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8565 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8571 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8575 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8576 if (!SWIG_IsOK(ecode7
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8579 arg7
= static_cast< long >(val7
);
8583 arg8
= wxString_in_helper(obj7
);
8584 if (arg8
== NULL
) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8611 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8612 PyObject
*resultobj
= 0;
8613 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8617 PyObject
*swig_obj
[1] ;
8619 if (!args
) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8625 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (arg1
)->GetBitmap();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8639 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8642 wxBitmap
*arg2
= 0 ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8649 char * kwnames
[] = {
8650 (char *) "self",(char *) "bitmap", NULL
8653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8658 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8660 if (!SWIG_IsOK(res2
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_Py_Void();
8680 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
= 0;
8682 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 char * kwnames
[] = {
8691 (char *) "self",(char *) "icon", NULL
8694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8699 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8701 if (!SWIG_IsOK(res2
)) {
8702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8707 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_Py_Void();
8721 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
= 0;
8723 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8724 SwigValueWrapper
<wxVisualAttributes
> result
;
8727 PyObject
* obj0
= 0 ;
8728 char * kwnames
[] = {
8729 (char *) "variant", NULL
8732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8735 if (!SWIG_IsOK(ecode1
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8738 arg1
= static_cast< wxWindowVariant
>(val1
);
8741 if (!wxPyCheckForApp()) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8754 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8757 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8758 return SWIG_Py_Void();
8761 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8762 return SWIG_Python_InitShadowInstance(args
);
8765 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8766 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8771 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8772 PyObject
*pyobj
= 0;
8776 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8778 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
= 0;
8787 wxWindow
*arg1
= (wxWindow
*) 0 ;
8788 int arg2
= (int) -1 ;
8789 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8790 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8791 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8792 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8793 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8794 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8795 long arg6
= (long) 0 ;
8796 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8797 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8798 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8800 wxListBox
*result
= 0 ;
8807 bool temp5
= false ;
8812 bool temp8
= false ;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8816 PyObject
* obj3
= 0 ;
8817 PyObject
* obj4
= 0 ;
8818 PyObject
* obj5
= 0 ;
8819 PyObject
* obj6
= 0 ;
8820 PyObject
* obj7
= 0 ;
8821 char * kwnames
[] = {
8822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8827 if (!SWIG_IsOK(res1
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8833 if (!SWIG_IsOK(ecode2
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8836 arg2
= static_cast< int >(val2
);
8841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8852 if (! PySequence_Check(obj4
)) {
8853 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8856 arg5
= new wxArrayString
;
8858 int i
, len
=PySequence_Length(obj4
);
8859 for (i
=0; i
<len
; i
++) {
8860 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8861 wxString
* s
= wxString_in_helper(item
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8870 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8871 if (!SWIG_IsOK(ecode6
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8874 arg6
= static_cast< long >(val6
);
8877 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8878 if (!SWIG_IsOK(res7
)) {
8879 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8884 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8888 arg8
= wxString_in_helper(obj7
);
8889 if (arg8
== NULL
) SWIG_fail
;
8894 if (!wxPyCheckForApp()) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8902 if (temp5
) delete arg5
;
8911 if (temp5
) delete arg5
;
8921 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8922 PyObject
*resultobj
= 0;
8923 wxListBox
*result
= 0 ;
8925 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8927 if (!wxPyCheckForApp()) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (wxListBox
*)new wxListBox();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8940 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
= 0;
8942 wxListBox
*arg1
= (wxListBox
*) 0 ;
8943 wxWindow
*arg2
= (wxWindow
*) 0 ;
8944 int arg3
= (int) -1 ;
8945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8951 long arg7
= (long) 0 ;
8952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8954 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8965 bool temp6
= false ;
8970 bool temp9
= false ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8973 PyObject
* obj2
= 0 ;
8974 PyObject
* obj3
= 0 ;
8975 PyObject
* obj4
= 0 ;
8976 PyObject
* obj5
= 0 ;
8977 PyObject
* obj6
= 0 ;
8978 PyObject
* obj7
= 0 ;
8979 PyObject
* obj8
= 0 ;
8980 char * kwnames
[] = {
8981 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8986 if (!SWIG_IsOK(res1
)) {
8987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8989 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8991 if (!SWIG_IsOK(res2
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8994 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8997 if (!SWIG_IsOK(ecode3
)) {
8998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9000 arg3
= static_cast< int >(val3
);
9005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9016 if (! PySequence_Check(obj5
)) {
9017 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9020 arg6
= new wxArrayString
;
9022 int i
, len
=PySequence_Length(obj5
);
9023 for (i
=0; i
<len
; i
++) {
9024 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9025 wxString
* s
= wxString_in_helper(item
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9034 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9035 if (!SWIG_IsOK(ecode7
)) {
9036 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9038 arg7
= static_cast< long >(val7
);
9041 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9042 if (!SWIG_IsOK(res8
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9048 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9052 arg9
= wxString_in_helper(obj8
);
9053 if (arg9
== NULL
) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9067 if (temp6
) delete arg6
;
9076 if (temp6
) delete arg6
;
9086 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxListBox
*arg1
= (wxListBox
*) 0 ;
9089 wxString
*arg2
= 0 ;
9091 PyObject
*arg4
= (PyObject
*) NULL
;
9094 bool temp2
= false ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9101 char * kwnames
[] = {
9102 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9110 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9112 arg2
= wxString_in_helper(obj1
);
9113 if (arg2
== NULL
) SWIG_fail
;
9116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9117 if (!SWIG_IsOK(ecode3
)) {
9118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9120 arg3
= static_cast< int >(val3
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_Py_Void();
9145 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
= 0;
9147 wxListBox
*arg1
= (wxListBox
*) 0 ;
9148 wxArrayString
*arg2
= 0 ;
9152 bool temp2
= false ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "self",(char *) "items",(char *) "pos", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9167 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9169 if (! PySequence_Check(obj1
)) {
9170 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9173 arg2
= new wxArrayString
;
9175 int i
, len
=PySequence_Length(obj1
);
9176 for (i
=0; i
<len
; i
++) {
9177 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9178 wxString
* s
= wxString_in_helper(item
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9185 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9186 if (!SWIG_IsOK(ecode3
)) {
9187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9189 arg3
= static_cast< unsigned int >(val3
);
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_Py_Void();
9198 if (temp2
) delete arg2
;
9203 if (temp2
) delete arg2
;
9209 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
= 0;
9211 wxListBox
*arg1
= (wxListBox
*) 0 ;
9212 wxArrayString
*arg2
= 0 ;
9215 bool temp2
= false ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 char * kwnames
[] = {
9219 (char *) "self",(char *) "items", NULL
9222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9224 if (!SWIG_IsOK(res1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9227 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9229 if (! PySequence_Check(obj1
)) {
9230 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9233 arg2
= new wxArrayString
;
9235 int i
, len
=PySequence_Length(obj1
);
9236 for (i
=0; i
<len
; i
++) {
9237 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9238 wxString
* s
= wxString_in_helper(item
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->Set((wxArrayString
const &)*arg2
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_Py_Void();
9253 if (temp2
) delete arg2
;
9258 if (temp2
) delete arg2
;
9264 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
= 0;
9266 wxListBox
*arg1
= (wxListBox
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "n", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9284 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9286 if (!SWIG_IsOK(ecode2
)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9289 arg2
= static_cast< int >(val2
);
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9305 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= 0;
9307 wxListBox
*arg1
= (wxListBox
*) 0 ;
9309 bool arg3
= (bool) true ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9318 PyObject
* obj2
= 0 ;
9319 char * kwnames
[] = {
9320 (char *) "self",(char *) "n",(char *) "select", NULL
9323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9328 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9330 if (!SWIG_IsOK(ecode2
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9333 arg2
= static_cast< int >(val2
);
9335 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9336 if (!SWIG_IsOK(ecode3
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9339 arg3
= static_cast< bool >(val3
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->SetSelection(arg2
,arg3
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_Py_Void();
9354 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxListBox
*arg1
= (wxListBox
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 char * kwnames
[] = {
9365 (char *) "self",(char *) "n", NULL
9368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9370 if (!SWIG_IsOK(res1
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9373 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9375 if (!SWIG_IsOK(ecode2
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9378 arg2
= static_cast< int >(val2
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 (arg1
)->Select(arg2
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_Py_Void();
9392 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
= 0;
9394 wxListBox
*arg1
= (wxListBox
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 char * kwnames
[] = {
9403 (char *) "self",(char *) "n", NULL
9406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9411 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9413 if (!SWIG_IsOK(ecode2
)) {
9414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9416 arg2
= static_cast< int >(val2
);
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->Deselect(arg2
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_Py_Void();
9430 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
= 0;
9432 wxListBox
*arg1
= (wxListBox
*) 0 ;
9433 int arg2
= (int) -1 ;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 char * kwnames
[] = {
9441 (char *) "self",(char *) "itemToLeaveSelected", NULL
9444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9449 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9452 if (!SWIG_IsOK(ecode2
)) {
9453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9455 arg2
= static_cast< int >(val2
);
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->DeselectAll(arg2
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_Py_Void();
9470 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
= 0;
9472 wxListBox
*arg1
= (wxListBox
*) 0 ;
9473 wxString
*arg2
= 0 ;
9474 bool arg3
= (bool) true ;
9478 bool temp2
= false ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 PyObject
* obj2
= 0 ;
9484 char * kwnames
[] = {
9485 (char *) "self",(char *) "s",(char *) "select", NULL
9488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9490 if (!SWIG_IsOK(res1
)) {
9491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9493 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9495 arg2
= wxString_in_helper(obj1
);
9496 if (arg2
== NULL
) SWIG_fail
;
9500 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9501 if (!SWIG_IsOK(ecode3
)) {
9502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9504 arg3
= static_cast< bool >(val3
);
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9529 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9530 PyObject
*resultobj
= 0;
9531 wxListBox
*arg1
= (wxListBox
*) 0 ;
9532 PyObject
*result
= 0 ;
9535 PyObject
*swig_obj
[1] ;
9537 if (!args
) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9543 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9557 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
= 0;
9559 wxListBox
*arg1
= (wxListBox
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9567 char * kwnames
[] = {
9568 (char *) "self",(char *) "n", NULL
9571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9576 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9578 if (!SWIG_IsOK(ecode2
)) {
9579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9581 arg2
= static_cast< int >(val2
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->SetFirstItem(arg2
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_Py_Void();
9595 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxListBox
*arg1
= (wxListBox
*) 0 ;
9598 wxString
*arg2
= 0 ;
9601 bool temp2
= false ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9604 char * kwnames
[] = {
9605 (char *) "self",(char *) "s", NULL
9608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9610 if (!SWIG_IsOK(res1
)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9613 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9615 arg2
= wxString_in_helper(obj1
);
9616 if (arg2
== NULL
) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_Py_Void();
9640 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
= 0;
9642 wxListBox
*arg1
= (wxListBox
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9650 char * kwnames
[] = {
9651 (char *) "self",(char *) "n", NULL
9654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9656 if (!SWIG_IsOK(res1
)) {
9657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9659 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9661 if (!SWIG_IsOK(ecode2
)) {
9662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9664 arg2
= static_cast< int >(val2
);
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->EnsureVisible(arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_Py_Void();
9678 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
= 0;
9680 wxListBox
*arg1
= (wxListBox
*) 0 ;
9681 wxString
*arg2
= 0 ;
9684 bool temp2
= false ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 char * kwnames
[] = {
9688 (char *) "self",(char *) "s", NULL
9691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9693 if (!SWIG_IsOK(res1
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9696 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9698 arg2
= wxString_in_helper(obj1
);
9699 if (arg2
== NULL
) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_Py_Void();
9723 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9724 PyObject
*resultobj
= 0;
9725 wxListBox
*arg1
= (wxListBox
*) 0 ;
9729 PyObject
*swig_obj
[1] ;
9731 if (!args
) SWIG_fail
;
9733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9734 if (!SWIG_IsOK(res1
)) {
9735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9737 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9753 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
= 0;
9755 wxListBox
*arg1
= (wxListBox
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9763 char * kwnames
[] = {
9764 (char *) "self",(char *) "pt", NULL
9767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9769 if (!SWIG_IsOK(res1
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9772 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_From_int(static_cast< int >(result
));
9790 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
= 0;
9792 wxListBox
*arg1
= (wxListBox
*) 0 ;
9794 wxColour
*arg3
= 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 PyObject
* obj2
= 0 ;
9803 char * kwnames
[] = {
9804 (char *) "self",(char *) "item",(char *) "c", NULL
9807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9809 if (!SWIG_IsOK(res1
)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9812 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9814 if (!SWIG_IsOK(ecode2
)) {
9815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9817 arg2
= static_cast< int >(val2
);
9820 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxListBox
*arg1
= (wxListBox
*) 0 ;
9839 wxColour
*arg3
= 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9848 char * kwnames
[] = {
9849 (char *) "self",(char *) "item",(char *) "c", NULL
9852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9854 if (!SWIG_IsOK(res1
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9857 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9859 if (!SWIG_IsOK(ecode2
)) {
9860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9862 arg2
= static_cast< int >(val2
);
9865 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_Py_Void();
9880 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
= 0;
9882 wxListBox
*arg1
= (wxListBox
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "self",(char *) "item",(char *) "f", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9903 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9905 if (!SWIG_IsOK(ecode2
)) {
9906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9908 arg2
= static_cast< int >(val2
);
9909 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9910 if (!SWIG_IsOK(res3
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9916 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_Py_Void();
9930 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
= 0;
9932 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9933 SwigValueWrapper
<wxVisualAttributes
> result
;
9936 PyObject
* obj0
= 0 ;
9937 char * kwnames
[] = {
9938 (char *) "variant", NULL
9941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9944 if (!SWIG_IsOK(ecode1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9947 arg1
= static_cast< wxWindowVariant
>(val1
);
9950 if (!wxPyCheckForApp()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9963 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9966 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9967 return SWIG_Py_Void();
9970 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 return SWIG_Python_InitShadowInstance(args
);
9974 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
= 0;
9976 wxWindow
*arg1
= (wxWindow
*) 0 ;
9977 int arg2
= (int) -1 ;
9978 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9979 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9980 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9981 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9982 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9983 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9984 long arg6
= (long) 0 ;
9985 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9986 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9987 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9989 wxCheckListBox
*result
= 0 ;
9996 bool temp5
= false ;
10001 bool temp8
= false ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 PyObject
* obj2
= 0 ;
10005 PyObject
* obj3
= 0 ;
10006 PyObject
* obj4
= 0 ;
10007 PyObject
* obj5
= 0 ;
10008 PyObject
* obj6
= 0 ;
10009 PyObject
* obj7
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10016 if (!SWIG_IsOK(res1
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10022 if (!SWIG_IsOK(ecode2
)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10025 arg2
= static_cast< int >(val2
);
10030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10041 if (! PySequence_Check(obj4
)) {
10042 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10045 arg5
= new wxArrayString
;
10047 int i
, len
=PySequence_Length(obj4
);
10048 for (i
=0; i
<len
; i
++) {
10049 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10050 wxString
* s
= wxString_in_helper(item
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10059 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10060 if (!SWIG_IsOK(ecode6
)) {
10061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10063 arg6
= static_cast< long >(val6
);
10066 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10067 if (!SWIG_IsOK(res7
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10073 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10077 arg8
= wxString_in_helper(obj7
);
10078 if (arg8
== NULL
) SWIG_fail
;
10083 if (!wxPyCheckForApp()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10091 if (temp5
) delete arg5
;
10100 if (temp5
) delete arg5
;
10110 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10111 PyObject
*resultobj
= 0;
10112 wxCheckListBox
*result
= 0 ;
10114 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10116 if (!wxPyCheckForApp()) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (wxCheckListBox
*)new wxCheckListBox();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10129 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= 0;
10131 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10132 wxWindow
*arg2
= (wxWindow
*) 0 ;
10133 int arg3
= (int) -1 ;
10134 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10135 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10136 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10137 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10138 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10139 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10140 long arg7
= (long) 0 ;
10141 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10142 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10143 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10144 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10154 bool temp6
= false ;
10159 bool temp9
= false ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 PyObject
* obj2
= 0 ;
10163 PyObject
* obj3
= 0 ;
10164 PyObject
* obj4
= 0 ;
10165 PyObject
* obj5
= 0 ;
10166 PyObject
* obj6
= 0 ;
10167 PyObject
* obj7
= 0 ;
10168 PyObject
* obj8
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10178 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10180 if (!SWIG_IsOK(res2
)) {
10181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10186 if (!SWIG_IsOK(ecode3
)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10189 arg3
= static_cast< int >(val3
);
10194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10205 if (! PySequence_Check(obj5
)) {
10206 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10209 arg6
= new wxArrayString
;
10211 int i
, len
=PySequence_Length(obj5
);
10212 for (i
=0; i
<len
; i
++) {
10213 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10214 wxString
* s
= wxString_in_helper(item
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10223 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10224 if (!SWIG_IsOK(ecode7
)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10227 arg7
= static_cast< long >(val7
);
10230 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10231 if (!SWIG_IsOK(res8
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10237 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10241 arg9
= wxString_in_helper(obj8
);
10242 if (arg9
== NULL
) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10256 if (temp6
) delete arg6
;
10265 if (temp6
) delete arg6
;
10275 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10278 unsigned int arg2
;
10282 unsigned int val2
;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 char * kwnames
[] = {
10287 (char *) "self",(char *) "index", NULL
10290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10292 if (!SWIG_IsOK(res1
)) {
10293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10295 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10296 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10297 if (!SWIG_IsOK(ecode2
)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10300 arg2
= static_cast< unsigned int >(val2
);
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (bool)(arg1
)->IsChecked(arg2
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10316 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10319 unsigned int arg2
;
10320 int arg3
= (int) true ;
10323 unsigned int val2
;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "index",(char *) "check", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10339 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10340 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10341 if (!SWIG_IsOK(ecode2
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10344 arg2
= static_cast< unsigned int >(val2
);
10346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10347 if (!SWIG_IsOK(ecode3
)) {
10348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10350 arg3
= static_cast< int >(val3
);
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->Check(arg2
,arg3
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_Py_Void();
10365 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10366 PyObject
*resultobj
= 0;
10367 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10371 PyObject
*swig_obj
[1] ;
10373 if (!args
) SWIG_fail
;
10374 swig_obj
[0] = args
;
10375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10376 if (!SWIG_IsOK(res1
)) {
10377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10379 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)(arg1
)->GetItemHeight();
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_From_int(static_cast< int >(result
));
10393 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10396 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10397 return SWIG_Py_Void();
10400 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10401 return SWIG_Python_InitShadowInstance(args
);
10404 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10405 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10410 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10411 PyObject
*pyobj
= 0;
10415 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10417 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10424 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxColour
const &arg1_defvalue
= wxNullColour
;
10427 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10428 wxColour
const &arg2_defvalue
= wxNullColour
;
10429 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10430 wxFont
const &arg3_defvalue
= wxNullFont
;
10431 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10432 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10433 wxTextAttr
*result
= 0 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 PyObject
* obj3
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10452 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10462 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10463 if (!SWIG_IsOK(res3
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10469 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10473 if (!SWIG_IsOK(ecode4
)) {
10474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10476 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10491 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10496 PyObject
*swig_obj
[1] ;
10498 if (!args
) SWIG_fail
;
10499 swig_obj
[0] = args
;
10500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10504 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_Py_Void();
10519 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10524 PyObject
*swig_obj
[1] ;
10526 if (!args
) SWIG_fail
;
10527 swig_obj
[0] = args
;
10528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10532 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10549 wxColour
*arg2
= 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char * kwnames
[] = {
10556 (char *) "self",(char *) "colText", NULL
10559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10564 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10567 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_Py_Void();
10582 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10585 wxColour
*arg2
= 0 ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 char * kwnames
[] = {
10592 (char *) "self",(char *) "colBack", NULL
10595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10597 if (!SWIG_IsOK(res1
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10600 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10603 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_Py_Void();
10618 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10622 long arg3
= (long) wxTEXT_ATTR_FONT
;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 char * kwnames
[] = {
10633 (char *) "self",(char *) "font",(char *) "flags", NULL
10636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10638 if (!SWIG_IsOK(res1
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10641 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10643 if (!SWIG_IsOK(res2
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10649 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10651 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10652 if (!SWIG_IsOK(ecode3
)) {
10653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10655 arg3
= static_cast< long >(val3
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_Py_Void();
10670 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
= 0;
10672 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10673 wxTextAttrAlignment arg2
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "self",(char *) "alignment", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10689 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10691 if (!SWIG_IsOK(ecode2
)) {
10692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10694 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->SetAlignment(arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_Py_Void();
10708 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
= 0;
10710 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10711 wxArrayInt
*arg2
= 0 ;
10714 bool temp2
= false ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char * kwnames
[] = {
10718 (char *) "self",(char *) "tabs", NULL
10721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10723 if (!SWIG_IsOK(res1
)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10726 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10728 if (! PySequence_Check(obj1
)) {
10729 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10732 arg2
= new wxArrayInt
;
10734 int i
, len
=PySequence_Length(obj1
);
10735 for (i
=0; i
<len
; i
++) {
10736 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10737 PyObject
* number
= PyNumber_Int(item
);
10738 arg2
->Add(PyInt_AS_LONG(number
));
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_Py_Void();
10751 if (temp2
) delete arg2
;
10756 if (temp2
) delete arg2
;
10762 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
= 0;
10764 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10766 int arg3
= (int) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 PyObject
* obj2
= 0 ;
10776 char * kwnames
[] = {
10777 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10782 if (!SWIG_IsOK(res1
)) {
10783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10785 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10787 if (!SWIG_IsOK(ecode2
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10790 arg2
= static_cast< int >(val2
);
10792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10793 if (!SWIG_IsOK(ecode3
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10796 arg3
= static_cast< int >(val3
);
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 (arg1
)->SetLeftIndent(arg2
,arg3
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_Py_Void();
10811 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
= 0;
10813 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "indent", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10827 if (!SWIG_IsOK(res1
)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10830 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetRightIndent(arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_Py_Void();
10849 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= 0;
10851 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char * kwnames
[] = {
10860 (char *) "self",(char *) "flags", NULL
10863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10868 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10869 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10870 if (!SWIG_IsOK(ecode2
)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10873 arg2
= static_cast< long >(val2
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 (arg1
)->SetFlags(arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_Py_Void();
10887 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10888 PyObject
*resultobj
= 0;
10889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10893 PyObject
*swig_obj
[1] ;
10895 if (!args
) SWIG_fail
;
10896 swig_obj
[0] = args
;
10897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10901 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10917 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10918 PyObject
*resultobj
= 0;
10919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10923 PyObject
*swig_obj
[1] ;
10925 if (!args
) SWIG_fail
;
10926 swig_obj
[0] = args
;
10927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10928 if (!SWIG_IsOK(res1
)) {
10929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10931 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10947 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10948 PyObject
*resultobj
= 0;
10949 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10953 PyObject
*swig_obj
[1] ;
10955 if (!args
) SWIG_fail
;
10956 swig_obj
[0] = args
;
10957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10958 if (!SWIG_IsOK(res1
)) {
10959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10961 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10977 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10978 PyObject
*resultobj
= 0;
10979 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10983 PyObject
*swig_obj
[1] ;
10985 if (!args
) SWIG_fail
;
10986 swig_obj
[0] = args
;
10987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10991 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11007 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11008 PyObject
*resultobj
= 0;
11009 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11013 PyObject
*swig_obj
[1] ;
11015 if (!args
) SWIG_fail
;
11016 swig_obj
[0] = args
;
11017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11018 if (!SWIG_IsOK(res1
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11021 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11037 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11038 PyObject
*resultobj
= 0;
11039 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11043 PyObject
*swig_obj
[1] ;
11045 if (!args
) SWIG_fail
;
11046 swig_obj
[0] = args
;
11047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11051 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11067 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11068 PyObject
*resultobj
= 0;
11069 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11073 PyObject
*swig_obj
[1] ;
11075 if (!args
) SWIG_fail
;
11076 swig_obj
[0] = args
;
11077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11078 if (!SWIG_IsOK(res1
)) {
11079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11081 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11097 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
= 0;
11099 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 char * kwnames
[] = {
11109 (char *) "self",(char *) "flag", NULL
11112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11114 if (!SWIG_IsOK(res1
)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11117 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11119 if (!SWIG_IsOK(ecode2
)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11122 arg2
= static_cast< long >(val2
);
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11139 PyObject
*resultobj
= 0;
11140 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11141 wxColour
*result
= 0 ;
11144 PyObject
*swig_obj
[1] ;
11146 if (!args
) SWIG_fail
;
11147 swig_obj
[0] = args
;
11148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11149 if (!SWIG_IsOK(res1
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11152 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11157 result
= (wxColour
*) &_result_ref
;
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11169 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11172 wxColour
*result
= 0 ;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11183 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11188 result
= (wxColour
*) &_result_ref
;
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11200 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11201 PyObject
*resultobj
= 0;
11202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11203 wxFont
*result
= 0 ;
11206 PyObject
*swig_obj
[1] ;
11208 if (!args
) SWIG_fail
;
11209 swig_obj
[0] = args
;
11210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11214 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11219 result
= (wxFont
*) &_result_ref
;
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 wxFont
* resultptr
= new wxFont(*result
);
11226 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11234 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11235 PyObject
*resultobj
= 0;
11236 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11237 wxTextAttrAlignment result
;
11240 PyObject
*swig_obj
[1] ;
11242 if (!args
) SWIG_fail
;
11243 swig_obj
[0] = args
;
11244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11245 if (!SWIG_IsOK(res1
)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11248 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= SWIG_From_int(static_cast< int >(result
));
11262 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11263 PyObject
*resultobj
= 0;
11264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11265 wxArrayInt
*result
= 0 ;
11268 PyObject
*swig_obj
[1] ;
11270 if (!args
) SWIG_fail
;
11271 swig_obj
[0] = args
;
11272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11273 if (!SWIG_IsOK(res1
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11276 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11281 result
= (wxArrayInt
*) &_result_ref
;
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= PyList_New(0);
11289 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11290 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11291 PyList_Append(resultobj
, val
);
11301 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11302 PyObject
*resultobj
= 0;
11303 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11307 PyObject
*swig_obj
[1] ;
11309 if (!args
) SWIG_fail
;
11310 swig_obj
[0] = args
;
11311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11315 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= SWIG_From_long(static_cast< long >(result
));
11329 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11330 PyObject
*resultobj
= 0;
11331 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11335 PyObject
*swig_obj
[1] ;
11337 if (!args
) SWIG_fail
;
11338 swig_obj
[0] = args
;
11339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11340 if (!SWIG_IsOK(res1
)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11343 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_From_long(static_cast< long >(result
));
11357 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11358 PyObject
*resultobj
= 0;
11359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11363 PyObject
*swig_obj
[1] ;
11365 if (!args
) SWIG_fail
;
11366 swig_obj
[0] = args
;
11367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11371 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= SWIG_From_long(static_cast< long >(result
));
11385 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11386 PyObject
*resultobj
= 0;
11387 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11391 PyObject
*swig_obj
[1] ;
11393 if (!args
) SWIG_fail
;
11394 swig_obj
[0] = args
;
11395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11399 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_From_long(static_cast< long >(result
));
11413 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11414 PyObject
*resultobj
= 0;
11415 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11419 PyObject
*swig_obj
[1] ;
11421 if (!args
) SWIG_fail
;
11422 swig_obj
[0] = args
;
11423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11427 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11443 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
= 0;
11445 wxTextAttr
*arg1
= 0 ;
11446 wxTextAttr
*arg2
= 0 ;
11447 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 PyObject
* obj2
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11470 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11472 if (!SWIG_IsOK(res2
)) {
11473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11478 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11480 if (!SWIG_IsOK(res3
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11483 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11497 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11500 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11501 return SWIG_Py_Void();
11504 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11505 return SWIG_Python_InitShadowInstance(args
);
11508 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
= 0;
11510 wxWindow
*arg1
= (wxWindow
*) 0 ;
11511 int arg2
= (int) -1 ;
11512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11518 long arg6
= (long) 0 ;
11519 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11520 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11521 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11522 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11523 wxTextCtrl
*result
= 0 ;
11528 bool temp3
= false ;
11535 bool temp8
= false ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 PyObject
* obj2
= 0 ;
11539 PyObject
* obj3
= 0 ;
11540 PyObject
* obj4
= 0 ;
11541 PyObject
* obj5
= 0 ;
11542 PyObject
* obj6
= 0 ;
11543 PyObject
* obj7
= 0 ;
11544 char * kwnames
[] = {
11545 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11553 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11556 if (!SWIG_IsOK(ecode2
)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11559 arg2
= static_cast< int >(val2
);
11563 arg3
= wxString_in_helper(obj2
);
11564 if (arg3
== NULL
) SWIG_fail
;
11571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11581 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11582 if (!SWIG_IsOK(ecode6
)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11585 arg6
= static_cast< long >(val6
);
11588 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11589 if (!SWIG_IsOK(res7
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11595 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11599 arg8
= wxString_in_helper(obj7
);
11600 if (arg8
== NULL
) SWIG_fail
;
11605 if (!wxPyCheckForApp()) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11634 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxTextCtrl
*result
= 0 ;
11638 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11640 if (!wxPyCheckForApp()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (wxTextCtrl
*)new wxTextCtrl();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11653 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
= 0;
11655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11656 wxWindow
*arg2
= (wxWindow
*) 0 ;
11657 int arg3
= (int) -1 ;
11658 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11659 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11660 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11661 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11662 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11663 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11664 long arg7
= (long) 0 ;
11665 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11666 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11667 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11668 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11676 bool temp4
= false ;
11683 bool temp9
= false ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 PyObject
* obj3
= 0 ;
11688 PyObject
* obj4
= 0 ;
11689 PyObject
* obj5
= 0 ;
11690 PyObject
* obj6
= 0 ;
11691 PyObject
* obj7
= 0 ;
11692 PyObject
* obj8
= 0 ;
11693 char * kwnames
[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11699 if (!SWIG_IsOK(res1
)) {
11700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11704 if (!SWIG_IsOK(res2
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11710 if (!SWIG_IsOK(ecode3
)) {
11711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11713 arg3
= static_cast< int >(val3
);
11717 arg4
= wxString_in_helper(obj3
);
11718 if (arg4
== NULL
) SWIG_fail
;
11725 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11731 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11735 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11736 if (!SWIG_IsOK(ecode7
)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11739 arg7
= static_cast< long >(val7
);
11742 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11743 if (!SWIG_IsOK(res8
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11749 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11753 arg9
= wxString_in_helper(obj8
);
11754 if (arg9
== NULL
) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11790 PyObject
*resultobj
= 0;
11791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11795 PyObject
*swig_obj
[1] ;
11797 if (!args
) SWIG_fail
;
11798 swig_obj
[0] = args
;
11799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11800 if (!SWIG_IsOK(res1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11803 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11823 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11826 wxString
*arg2
= 0 ;
11829 bool temp2
= false ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char * kwnames
[] = {
11833 (char *) "self",(char *) "value", NULL
11836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11838 if (!SWIG_IsOK(res1
)) {
11839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11841 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11843 arg2
= wxString_in_helper(obj1
);
11844 if (arg2
== NULL
) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->SetValue((wxString
const &)*arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_Py_Void();
11868 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
= 0;
11870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 char * kwnames
[] = {
11884 (char *) "self",(char *) "_from",(char *) "to", NULL
11887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11889 if (!SWIG_IsOK(res1
)) {
11890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11892 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11894 if (!SWIG_IsOK(ecode2
)) {
11895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11897 arg2
= static_cast< long >(val2
);
11898 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11899 if (!SWIG_IsOK(ecode3
)) {
11900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11902 arg3
= static_cast< long >(val3
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11922 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 char * kwnames
[] = {
11934 (char *) "self",(char *) "lineNo", NULL
11937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11939 if (!SWIG_IsOK(res1
)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11942 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11944 if (!SWIG_IsOK(ecode2
)) {
11945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11947 arg2
= static_cast< long >(val2
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_From_int(static_cast< int >(result
));
11961 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
= 0;
11963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char * kwnames
[] = {
11973 (char *) "self",(char *) "lineNo", NULL
11976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11978 if (!SWIG_IsOK(res1
)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11981 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11982 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11983 if (!SWIG_IsOK(ecode2
)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11986 arg2
= static_cast< long >(val2
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12006 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12007 PyObject
*resultobj
= 0;
12008 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12012 PyObject
*swig_obj
[1] ;
12014 if (!args
) SWIG_fail
;
12015 swig_obj
[0] = args
;
12016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12020 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_From_int(static_cast< int >(result
));
12034 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 PyObject
*resultobj
= 0;
12036 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12040 PyObject
*swig_obj
[1] ;
12042 if (!args
) SWIG_fail
;
12043 swig_obj
[0] = args
;
12044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12045 if (!SWIG_IsOK(res1
)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12048 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12064 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12065 PyObject
*resultobj
= 0;
12066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12070 PyObject
*swig_obj
[1] ;
12072 if (!args
) SWIG_fail
;
12073 swig_obj
[0] = args
;
12074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12078 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12094 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12095 PyObject
*resultobj
= 0;
12096 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12100 PyObject
*swig_obj
[1] ;
12102 if (!args
) SWIG_fail
;
12103 swig_obj
[0] = args
;
12104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12108 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12124 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12125 PyObject
*resultobj
= 0;
12126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12130 PyObject
*swig_obj
[1] ;
12132 if (!args
) SWIG_fail
;
12133 swig_obj
[0] = args
;
12134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12138 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12154 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12155 PyObject
*resultobj
= 0;
12156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12157 long *arg2
= (long *) 0 ;
12158 long *arg3
= (long *) 0 ;
12162 int res2
= SWIG_TMPOBJ
;
12164 int res3
= SWIG_TMPOBJ
;
12165 PyObject
*swig_obj
[1] ;
12169 if (!args
) SWIG_fail
;
12170 swig_obj
[0] = args
;
12171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12175 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_Py_Void();
12183 if (SWIG_IsTmpObj(res2
)) {
12184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12186 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12189 if (SWIG_IsTmpObj(res3
)) {
12190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12192 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12201 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12202 PyObject
*resultobj
= 0;
12203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12207 PyObject
*swig_obj
[1] ;
12209 if (!args
) SWIG_fail
;
12210 swig_obj
[0] = args
;
12211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12215 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12235 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12236 PyObject
*resultobj
= 0;
12237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12240 PyObject
*swig_obj
[1] ;
12242 if (!args
) SWIG_fail
;
12243 swig_obj
[0] = args
;
12244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12245 if (!SWIG_IsOK(res1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12248 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_Py_Void();
12262 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12267 wxString
*arg4
= 0 ;
12274 bool temp4
= false ;
12275 PyObject
* obj0
= 0 ;
12276 PyObject
* obj1
= 0 ;
12277 PyObject
* obj2
= 0 ;
12278 PyObject
* obj3
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12288 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12289 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12290 if (!SWIG_IsOK(ecode2
)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12293 arg2
= static_cast< long >(val2
);
12294 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12295 if (!SWIG_IsOK(ecode3
)) {
12296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12298 arg3
= static_cast< long >(val3
);
12300 arg4
= wxString_in_helper(obj3
);
12301 if (arg4
== NULL
) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_Py_Void();
12325 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
= 0;
12327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 PyObject
* obj1
= 0 ;
12338 PyObject
* obj2
= 0 ;
12339 char * kwnames
[] = {
12340 (char *) "self",(char *) "_from",(char *) "to", NULL
12343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12348 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12349 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12350 if (!SWIG_IsOK(ecode2
)) {
12351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12353 arg2
= static_cast< long >(val2
);
12354 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12355 if (!SWIG_IsOK(ecode3
)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12358 arg3
= static_cast< long >(val3
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 (arg1
)->Remove(arg2
,arg3
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_Py_Void();
12372 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12375 wxString
*arg2
= 0 ;
12379 bool temp2
= false ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "file", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12391 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12393 arg2
= wxString_in_helper(obj1
);
12394 if (arg2
== NULL
) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12420 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
= 0;
12422 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12423 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12424 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12428 bool temp2
= false ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 char * kwnames
[] = {
12432 (char *) "self",(char *) "file", NULL
12435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12440 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12443 arg2
= wxString_in_helper(obj1
);
12444 if (arg2
== NULL
) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12471 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12476 PyObject
*swig_obj
[1] ;
12478 if (!args
) SWIG_fail
;
12479 swig_obj
[0] = args
;
12480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12481 if (!SWIG_IsOK(res1
)) {
12482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12484 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->MarkDirty();
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_Py_Void();
12498 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12499 PyObject
*resultobj
= 0;
12500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12503 PyObject
*swig_obj
[1] ;
12505 if (!args
) SWIG_fail
;
12506 swig_obj
[0] = args
;
12507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12511 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->DiscardEdits();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_Py_Void();
12525 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
= 0;
12527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12528 unsigned long arg2
;
12531 unsigned long val2
;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char * kwnames
[] = {
12536 (char *) "self",(char *) "len", NULL
12539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12544 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12545 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12546 if (!SWIG_IsOK(ecode2
)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12549 arg2
= static_cast< unsigned long >(val2
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->SetMaxLength(arg2
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12566 wxString
*arg2
= 0 ;
12569 bool temp2
= false ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 char * kwnames
[] = {
12573 (char *) "self",(char *) "text", NULL
12576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12578 if (!SWIG_IsOK(res1
)) {
12579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12581 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12583 arg2
= wxString_in_helper(obj1
);
12584 if (arg2
== NULL
) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 (arg1
)->WriteText((wxString
const &)*arg2
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
= 0;
12610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12611 wxString
*arg2
= 0 ;
12614 bool temp2
= false ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char * kwnames
[] = {
12618 (char *) "self",(char *) "text", NULL
12621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12626 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12628 arg2
= wxString_in_helper(obj1
);
12629 if (arg2
== NULL
) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->AppendText((wxString
const &)*arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12653 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
= 0;
12655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12656 wxKeyEvent
*arg2
= 0 ;
12662 PyObject
* obj0
= 0 ;
12663 PyObject
* obj1
= 0 ;
12664 char * kwnames
[] = {
12665 (char *) "self",(char *) "event", NULL
12668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12670 if (!SWIG_IsOK(res1
)) {
12671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12673 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12675 if (!SWIG_IsOK(res2
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12681 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12697 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
= 0;
12699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12702 wxTextAttr
*arg4
= 0 ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 PyObject
* obj2
= 0 ;
12715 PyObject
* obj3
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12727 if (!SWIG_IsOK(ecode2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12730 arg2
= static_cast< long >(val2
);
12731 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12732 if (!SWIG_IsOK(ecode3
)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12735 arg3
= static_cast< long >(val3
);
12736 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12737 if (!SWIG_IsOK(res4
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12743 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12759 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12763 wxTextAttr
*arg3
= 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 PyObject
* obj2
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "self",(char *) "position",(char *) "style", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12784 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12785 if (!SWIG_IsOK(ecode2
)) {
12786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12788 arg2
= static_cast< long >(val2
);
12789 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12790 if (!SWIG_IsOK(res3
)) {
12791 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12796 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= 0;
12814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12815 wxTextAttr
*arg2
= 0 ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char * kwnames
[] = {
12824 (char *) "self",(char *) "style", NULL
12827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12832 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12834 if (!SWIG_IsOK(res2
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12840 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12856 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12857 PyObject
*resultobj
= 0;
12858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12859 wxTextAttr
*result
= 0 ;
12862 PyObject
*swig_obj
[1] ;
12864 if (!args
) SWIG_fail
;
12865 swig_obj
[0] = args
;
12866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12867 if (!SWIG_IsOK(res1
)) {
12868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12870 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12875 result
= (wxTextAttr
*) &_result_ref
;
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12887 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
= 0;
12889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12899 PyObject
* obj0
= 0 ;
12900 PyObject
* obj1
= 0 ;
12901 PyObject
* obj2
= 0 ;
12902 char * kwnames
[] = {
12903 (char *) "self",(char *) "x",(char *) "y", NULL
12906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12908 if (!SWIG_IsOK(res1
)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12911 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12912 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12913 if (!SWIG_IsOK(ecode2
)) {
12914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12916 arg2
= static_cast< long >(val2
);
12917 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12918 if (!SWIG_IsOK(ecode3
)) {
12919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12921 arg3
= static_cast< long >(val3
);
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_From_long(static_cast< long >(result
));
12935 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= 0;
12937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12939 long *arg3
= (long *) 0 ;
12940 long *arg4
= (long *) 0 ;
12946 int res3
= SWIG_TMPOBJ
;
12948 int res4
= SWIG_TMPOBJ
;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "self",(char *) "pos", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12964 if (!SWIG_IsOK(ecode2
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12967 arg2
= static_cast< long >(val2
);
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_Py_Void();
12975 if (SWIG_IsTmpObj(res3
)) {
12976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12978 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12981 if (SWIG_IsTmpObj(res4
)) {
12982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12984 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 char * kwnames
[] = {
13004 (char *) "self",(char *) "pos", NULL
13007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13009 if (!SWIG_IsOK(res1
)) {
13010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13012 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13014 if (!SWIG_IsOK(ecode2
)) {
13015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13017 arg2
= static_cast< long >(val2
);
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->ShowPosition(arg2
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= SWIG_Py_Void();
13031 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
= 0;
13033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13034 wxPoint
*arg2
= 0 ;
13035 long *arg3
= (long *) 0 ;
13036 long *arg4
= (long *) 0 ;
13037 wxTextCtrlHitTestResult result
;
13042 int res3
= SWIG_TMPOBJ
;
13044 int res4
= SWIG_TMPOBJ
;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char * kwnames
[] = {
13048 (char *) "self",(char *) "pt", NULL
13053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13058 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_From_int(static_cast< int >(result
));
13070 if (SWIG_IsTmpObj(res3
)) {
13071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13073 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13076 if (SWIG_IsTmpObj(res4
)) {
13077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13079 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13088 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
= 0;
13090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13091 wxPoint
*arg2
= 0 ;
13092 long *arg3
= (long *) 0 ;
13093 wxTextCtrlHitTestResult result
;
13098 int res3
= SWIG_TMPOBJ
;
13099 PyObject
* obj0
= 0 ;
13100 PyObject
* obj1
= 0 ;
13101 char * kwnames
[] = {
13102 (char *) "self",(char *) "pt", NULL
13106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13108 if (!SWIG_IsOK(res1
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13111 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_From_int(static_cast< int >(result
));
13123 if (SWIG_IsTmpObj(res3
)) {
13124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13126 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13135 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13136 PyObject
*resultobj
= 0;
13137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13140 PyObject
*swig_obj
[1] ;
13142 if (!args
) SWIG_fail
;
13143 swig_obj
[0] = args
;
13144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13148 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_Py_Void();
13162 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 PyObject
*resultobj
= 0;
13164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13167 PyObject
*swig_obj
[1] ;
13169 if (!args
) SWIG_fail
;
13170 swig_obj
[0] = args
;
13171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13172 if (!SWIG_IsOK(res1
)) {
13173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13175 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_Py_Void();
13189 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13190 PyObject
*resultobj
= 0;
13191 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13194 PyObject
*swig_obj
[1] ;
13196 if (!args
) SWIG_fail
;
13197 swig_obj
[0] = args
;
13198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13202 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_Py_Void();
13216 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13217 PyObject
*resultobj
= 0;
13218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13222 PyObject
*swig_obj
[1] ;
13224 if (!args
) SWIG_fail
;
13225 swig_obj
[0] = args
;
13226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13227 if (!SWIG_IsOK(res1
)) {
13228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13230 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13246 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 PyObject
*resultobj
= 0;
13248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13252 PyObject
*swig_obj
[1] ;
13254 if (!args
) SWIG_fail
;
13255 swig_obj
[0] = args
;
13256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13257 if (!SWIG_IsOK(res1
)) {
13258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13276 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13277 PyObject
*resultobj
= 0;
13278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13282 PyObject
*swig_obj
[1] ;
13284 if (!args
) SWIG_fail
;
13285 swig_obj
[0] = args
;
13286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13307 PyObject
*resultobj
= 0;
13308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13311 PyObject
*swig_obj
[1] ;
13313 if (!args
) SWIG_fail
;
13314 swig_obj
[0] = args
;
13315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13319 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_Py_Void();
13333 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13334 PyObject
*resultobj
= 0;
13335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13338 PyObject
*swig_obj
[1] ;
13340 if (!args
) SWIG_fail
;
13341 swig_obj
[0] = args
;
13342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13343 if (!SWIG_IsOK(res1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13346 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_Py_Void();
13360 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13361 PyObject
*resultobj
= 0;
13362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13366 PyObject
*swig_obj
[1] ;
13368 if (!args
) SWIG_fail
;
13369 swig_obj
[0] = args
;
13370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13371 if (!SWIG_IsOK(res1
)) {
13372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13374 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13390 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13396 PyObject
*swig_obj
[1] ;
13398 if (!args
) SWIG_fail
;
13399 swig_obj
[0] = args
;
13400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13401 if (!SWIG_IsOK(res1
)) {
13402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13404 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13420 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= 0;
13422 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char * kwnames
[] = {
13431 (char *) "self",(char *) "pos", NULL
13434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13440 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13441 if (!SWIG_IsOK(ecode2
)) {
13442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13444 arg2
= static_cast< long >(val2
);
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 (arg1
)->SetInsertionPoint(arg2
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_Py_Void();
13458 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 PyObject
*resultobj
= 0;
13460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13463 PyObject
*swig_obj
[1] ;
13465 if (!args
) SWIG_fail
;
13466 swig_obj
[0] = args
;
13467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13471 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 (arg1
)->SetInsertionPointEnd();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_Py_Void();
13485 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13486 PyObject
*resultobj
= 0;
13487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13491 PyObject
*swig_obj
[1] ;
13493 if (!args
) SWIG_fail
;
13494 swig_obj
[0] = args
;
13495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13496 if (!SWIG_IsOK(res1
)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13499 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_From_long(static_cast< long >(result
));
13513 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 PyObject
*resultobj
= 0;
13515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13519 PyObject
*swig_obj
[1] ;
13521 if (!args
) SWIG_fail
;
13522 swig_obj
[0] = args
;
13523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13527 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= SWIG_From_long(static_cast< long >(result
));
13541 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
= 0;
13543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 PyObject
* obj1
= 0 ;
13554 PyObject
* obj2
= 0 ;
13555 char * kwnames
[] = {
13556 (char *) "self",(char *) "_from",(char *) "to", NULL
13559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13561 if (!SWIG_IsOK(res1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13564 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13565 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13566 if (!SWIG_IsOK(ecode2
)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13569 arg2
= static_cast< long >(val2
);
13570 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13571 if (!SWIG_IsOK(ecode3
)) {
13572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13574 arg3
= static_cast< long >(val3
);
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->SetSelection(arg2
,arg3
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13589 PyObject
*resultobj
= 0;
13590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13593 PyObject
*swig_obj
[1] ;
13595 if (!args
) SWIG_fail
;
13596 swig_obj
[0] = args
;
13597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13598 if (!SWIG_IsOK(res1
)) {
13599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13601 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 (arg1
)->SelectAll();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_Py_Void();
13615 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
= 0;
13617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char * kwnames
[] = {
13626 (char *) "self",(char *) "editable", NULL
13629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13631 if (!SWIG_IsOK(res1
)) {
13632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13634 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13636 if (!SWIG_IsOK(ecode2
)) {
13637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13639 arg2
= static_cast< bool >(val2
);
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->SetEditable(arg2
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_Py_Void();
13653 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
= 0;
13655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13656 wxString
*arg2
= 0 ;
13659 bool temp2
= false ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 char * kwnames
[] = {
13663 (char *) "self",(char *) "text", NULL
13666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13668 if (!SWIG_IsOK(res1
)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13671 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13673 arg2
= wxString_in_helper(obj1
);
13674 if (arg2
== NULL
) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= 0;
13700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 PyObject
* obj2
= 0 ;
13713 char * kwnames
[] = {
13714 (char *) "self",(char *) "_from",(char *) "to", NULL
13717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13719 if (!SWIG_IsOK(res1
)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13722 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13723 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13724 if (!SWIG_IsOK(ecode2
)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13727 arg2
= static_cast< long >(val2
);
13728 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13729 if (!SWIG_IsOK(ecode3
)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13732 arg3
= static_cast< long >(val3
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13752 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
= 0;
13754 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13755 SwigValueWrapper
<wxVisualAttributes
> result
;
13758 PyObject
* obj0
= 0 ;
13759 char * kwnames
[] = {
13760 (char *) "variant", NULL
13763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13766 if (!SWIG_IsOK(ecode1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13769 arg1
= static_cast< wxWindowVariant
>(val1
);
13772 if (!wxPyCheckForApp()) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13785 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13788 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13789 return SWIG_Py_Void();
13792 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13793 return SWIG_Python_InitShadowInstance(args
);
13796 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
= 0;
13799 wxMouseEvent
*arg2
= 0 ;
13802 wxTextUrlEvent
*result
= 0 ;
13811 PyObject
* obj0
= 0 ;
13812 PyObject
* obj1
= 0 ;
13813 PyObject
* obj2
= 0 ;
13814 PyObject
* obj3
= 0 ;
13815 char * kwnames
[] = {
13816 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13820 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13821 if (!SWIG_IsOK(ecode1
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13824 arg1
= static_cast< int >(val1
);
13825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13826 if (!SWIG_IsOK(res2
)) {
13827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13832 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13833 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13834 if (!SWIG_IsOK(ecode3
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13837 arg3
= static_cast< long >(val3
);
13838 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13839 if (!SWIG_IsOK(ecode4
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13842 arg4
= static_cast< long >(val4
);
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13856 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13857 PyObject
*resultobj
= 0;
13858 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13859 wxMouseEvent
*result
= 0 ;
13862 PyObject
*swig_obj
[1] ;
13864 if (!args
) SWIG_fail
;
13865 swig_obj
[0] = args
;
13866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13870 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13875 result
= (wxMouseEvent
*) &_result_ref
;
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13887 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13888 PyObject
*resultobj
= 0;
13889 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13893 PyObject
*swig_obj
[1] ;
13895 if (!args
) SWIG_fail
;
13896 swig_obj
[0] = args
;
13897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13898 if (!SWIG_IsOK(res1
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13901 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_From_long(static_cast< long >(result
));
13915 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13916 PyObject
*resultobj
= 0;
13917 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13921 PyObject
*swig_obj
[1] ;
13923 if (!args
) SWIG_fail
;
13924 swig_obj
[0] = args
;
13925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13926 if (!SWIG_IsOK(res1
)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13929 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= SWIG_From_long(static_cast< long >(result
));
13943 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13946 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13947 return SWIG_Py_Void();
13950 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13951 return SWIG_Python_InitShadowInstance(args
);
13954 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13955 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13960 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13961 PyObject
*pyobj
= 0;
13965 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13967 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13974 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
= 0;
13976 wxWindow
*arg1
= (wxWindow
*) 0 ;
13977 int arg2
= (int) -1 ;
13978 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13979 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13980 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13981 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13982 long arg5
= (long) wxSB_HORIZONTAL
;
13983 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13984 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13985 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13987 wxScrollBar
*result
= 0 ;
13998 bool temp7
= false ;
13999 PyObject
* obj0
= 0 ;
14000 PyObject
* obj1
= 0 ;
14001 PyObject
* obj2
= 0 ;
14002 PyObject
* obj3
= 0 ;
14003 PyObject
* obj4
= 0 ;
14004 PyObject
* obj5
= 0 ;
14005 PyObject
* obj6
= 0 ;
14006 char * kwnames
[] = {
14007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14012 if (!SWIG_IsOK(res1
)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14018 if (!SWIG_IsOK(ecode2
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14021 arg2
= static_cast< int >(val2
);
14026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14036 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14037 if (!SWIG_IsOK(ecode5
)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14040 arg5
= static_cast< long >(val5
);
14043 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14044 if (!SWIG_IsOK(res6
)) {
14045 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14050 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14054 arg7
= wxString_in_helper(obj6
);
14055 if (arg7
== NULL
) SWIG_fail
;
14060 if (!wxPyCheckForApp()) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14081 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14082 PyObject
*resultobj
= 0;
14083 wxScrollBar
*result
= 0 ;
14085 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14087 if (!wxPyCheckForApp()) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (wxScrollBar
*)new wxScrollBar();
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14100 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
= 0;
14102 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14103 wxWindow
*arg2
= (wxWindow
*) 0 ;
14104 int arg3
= (int) -1 ;
14105 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14106 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14107 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14108 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14109 long arg6
= (long) wxSB_HORIZONTAL
;
14110 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14111 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14112 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14113 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14127 bool temp8
= false ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 PyObject
* obj2
= 0 ;
14131 PyObject
* obj3
= 0 ;
14132 PyObject
* obj4
= 0 ;
14133 PyObject
* obj5
= 0 ;
14134 PyObject
* obj6
= 0 ;
14135 PyObject
* obj7
= 0 ;
14136 char * kwnames
[] = {
14137 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14142 if (!SWIG_IsOK(res1
)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14145 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14147 if (!SWIG_IsOK(res2
)) {
14148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14150 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14153 if (!SWIG_IsOK(ecode3
)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14156 arg3
= static_cast< int >(val3
);
14161 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14167 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14171 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14172 if (!SWIG_IsOK(ecode6
)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14175 arg6
= static_cast< long >(val6
);
14178 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14179 if (!SWIG_IsOK(res7
)) {
14180 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14185 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14189 arg8
= wxString_in_helper(obj7
);
14190 if (arg8
== NULL
) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14217 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14218 PyObject
*resultobj
= 0;
14219 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14223 PyObject
*swig_obj
[1] ;
14225 if (!args
) SWIG_fail
;
14226 swig_obj
[0] = args
;
14227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14228 if (!SWIG_IsOK(res1
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14231 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_From_int(static_cast< int >(result
));
14245 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14246 PyObject
*resultobj
= 0;
14247 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14251 PyObject
*swig_obj
[1] ;
14253 if (!args
) SWIG_fail
;
14254 swig_obj
[0] = args
;
14255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14259 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_From_int(static_cast< int >(result
));
14273 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14274 PyObject
*resultobj
= 0;
14275 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14279 PyObject
*swig_obj
[1] ;
14281 if (!args
) SWIG_fail
;
14282 swig_obj
[0] = args
;
14283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14284 if (!SWIG_IsOK(res1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14287 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_From_int(static_cast< int >(result
));
14301 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14302 PyObject
*resultobj
= 0;
14303 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14307 PyObject
*swig_obj
[1] ;
14309 if (!args
) SWIG_fail
;
14310 swig_obj
[0] = args
;
14311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14315 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= SWIG_From_int(static_cast< int >(result
));
14329 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14330 PyObject
*resultobj
= 0;
14331 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14335 PyObject
*swig_obj
[1] ;
14337 if (!args
) SWIG_fail
;
14338 swig_obj
[0] = args
;
14339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14340 if (!SWIG_IsOK(res1
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14343 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14359 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
= 0;
14361 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 char * kwnames
[] = {
14370 (char *) "self",(char *) "viewStart", NULL
14373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14378 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14380 if (!SWIG_IsOK(ecode2
)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14383 arg2
= static_cast< int >(val2
);
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 (arg1
)->SetThumbPosition(arg2
);
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 resultobj
= SWIG_Py_Void();
14397 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
= 0;
14399 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14400 SwigValueWrapper
<wxVisualAttributes
> result
;
14403 PyObject
* obj0
= 0 ;
14404 char * kwnames
[] = {
14405 (char *) "variant", NULL
14408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14410 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14411 if (!SWIG_IsOK(ecode1
)) {
14412 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14414 arg1
= static_cast< wxWindowVariant
>(val1
);
14417 if (!wxPyCheckForApp()) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14430 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14433 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14434 return SWIG_Py_Void();
14437 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14438 return SWIG_Python_InitShadowInstance(args
);
14441 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14442 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14447 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14448 PyObject
*pyobj
= 0;
14452 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14454 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14461 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14462 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14467 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14468 PyObject
*pyobj
= 0;
14472 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14474 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14481 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
= 0;
14483 wxWindow
*arg1
= (wxWindow
*) 0 ;
14484 int arg2
= (int) -1 ;
14485 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14486 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14487 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14488 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14489 long arg5
= (long) wxSP_HORIZONTAL
;
14490 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14491 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14492 wxSpinButton
*result
= 0 ;
14501 bool temp6
= false ;
14502 PyObject
* obj0
= 0 ;
14503 PyObject
* obj1
= 0 ;
14504 PyObject
* obj2
= 0 ;
14505 PyObject
* obj3
= 0 ;
14506 PyObject
* obj4
= 0 ;
14507 PyObject
* obj5
= 0 ;
14508 char * kwnames
[] = {
14509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14514 if (!SWIG_IsOK(res1
)) {
14515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14517 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14520 if (!SWIG_IsOK(ecode2
)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14523 arg2
= static_cast< int >(val2
);
14528 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14534 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14538 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14539 if (!SWIG_IsOK(ecode5
)) {
14540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14542 arg5
= static_cast< long >(val5
);
14546 arg6
= wxString_in_helper(obj5
);
14547 if (arg6
== NULL
) SWIG_fail
;
14552 if (!wxPyCheckForApp()) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14573 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14574 PyObject
*resultobj
= 0;
14575 wxSpinButton
*result
= 0 ;
14577 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14579 if (!wxPyCheckForApp()) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxSpinButton
*)new wxSpinButton();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14592 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
= 0;
14594 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14595 wxWindow
*arg2
= (wxWindow
*) 0 ;
14596 int arg3
= (int) -1 ;
14597 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14598 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14599 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14600 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14601 long arg6
= (long) wxSP_HORIZONTAL
;
14602 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14603 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14615 bool temp7
= false ;
14616 PyObject
* obj0
= 0 ;
14617 PyObject
* obj1
= 0 ;
14618 PyObject
* obj2
= 0 ;
14619 PyObject
* obj3
= 0 ;
14620 PyObject
* obj4
= 0 ;
14621 PyObject
* obj5
= 0 ;
14622 PyObject
* obj6
= 0 ;
14623 char * kwnames
[] = {
14624 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14629 if (!SWIG_IsOK(res1
)) {
14630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14632 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14634 if (!SWIG_IsOK(res2
)) {
14635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14640 if (!SWIG_IsOK(ecode3
)) {
14641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14643 arg3
= static_cast< int >(val3
);
14648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14658 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14659 if (!SWIG_IsOK(ecode6
)) {
14660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14662 arg6
= static_cast< long >(val6
);
14666 arg7
= wxString_in_helper(obj6
);
14667 if (arg7
== NULL
) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14694 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14695 PyObject
*resultobj
= 0;
14696 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14700 PyObject
*swig_obj
[1] ;
14702 if (!args
) SWIG_fail
;
14703 swig_obj
[0] = args
;
14704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14705 if (!SWIG_IsOK(res1
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14708 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= SWIG_From_int(static_cast< int >(result
));
14722 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14723 PyObject
*resultobj
= 0;
14724 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14728 PyObject
*swig_obj
[1] ;
14730 if (!args
) SWIG_fail
;
14731 swig_obj
[0] = args
;
14732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14733 if (!SWIG_IsOK(res1
)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14736 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= SWIG_From_int(static_cast< int >(result
));
14750 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14751 PyObject
*resultobj
= 0;
14752 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14756 PyObject
*swig_obj
[1] ;
14758 if (!args
) SWIG_fail
;
14759 swig_obj
[0] = args
;
14760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14761 if (!SWIG_IsOK(res1
)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14764 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= SWIG_From_int(static_cast< int >(result
));
14778 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
= 0;
14780 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 char * kwnames
[] = {
14789 (char *) "self",(char *) "val", NULL
14792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14794 if (!SWIG_IsOK(res1
)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14797 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14799 if (!SWIG_IsOK(ecode2
)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14802 arg2
= static_cast< int >(val2
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->SetValue(arg2
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_Py_Void();
14816 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
= 0;
14818 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 char * kwnames
[] = {
14827 (char *) "self",(char *) "minVal", NULL
14830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14832 if (!SWIG_IsOK(res1
)) {
14833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14835 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14837 if (!SWIG_IsOK(ecode2
)) {
14838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14840 arg2
= static_cast< int >(val2
);
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 (arg1
)->SetMin(arg2
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_Py_Void();
14854 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
= 0;
14856 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 char * kwnames
[] = {
14865 (char *) "self",(char *) "maxVal", NULL
14868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14870 if (!SWIG_IsOK(res1
)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14873 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14875 if (!SWIG_IsOK(ecode2
)) {
14876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14878 arg2
= static_cast< int >(val2
);
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 (arg1
)->SetMax(arg2
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_Py_Void();
14892 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
= 0;
14894 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 char * kwnames
[] = {
14907 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14912 if (!SWIG_IsOK(res1
)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14915 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14917 if (!SWIG_IsOK(ecode2
)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14920 arg2
= static_cast< int >(val2
);
14921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14922 if (!SWIG_IsOK(ecode3
)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14925 arg3
= static_cast< int >(val3
);
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 (arg1
)->SetRange(arg2
,arg3
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_Py_Void();
14939 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14940 PyObject
*resultobj
= 0;
14941 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14945 PyObject
*swig_obj
[1] ;
14947 if (!args
) SWIG_fail
;
14948 swig_obj
[0] = args
;
14949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14953 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14969 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
= 0;
14971 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14972 SwigValueWrapper
<wxVisualAttributes
> result
;
14975 PyObject
* obj0
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "variant", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14983 if (!SWIG_IsOK(ecode1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14986 arg1
= static_cast< wxWindowVariant
>(val1
);
14989 if (!wxPyCheckForApp()) SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15002 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15005 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15006 return SWIG_Py_Void();
15009 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15010 return SWIG_Python_InitShadowInstance(args
);
15013 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
= 0;
15015 wxWindow
*arg1
= (wxWindow
*) 0 ;
15016 int arg2
= (int) -1 ;
15017 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15023 long arg6
= (long) wxSP_ARROW_KEYS
;
15024 int arg7
= (int) 0 ;
15025 int arg8
= (int) 100 ;
15026 int arg9
= (int) 0 ;
15027 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15028 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15029 wxSpinCtrl
*result
= 0 ;
15034 bool temp3
= false ;
15045 bool temp10
= false ;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 PyObject
* obj2
= 0 ;
15049 PyObject
* obj3
= 0 ;
15050 PyObject
* obj4
= 0 ;
15051 PyObject
* obj5
= 0 ;
15052 PyObject
* obj6
= 0 ;
15053 PyObject
* obj7
= 0 ;
15054 PyObject
* obj8
= 0 ;
15055 PyObject
* obj9
= 0 ;
15056 char * kwnames
[] = {
15057 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15065 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15068 if (!SWIG_IsOK(ecode2
)) {
15069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15071 arg2
= static_cast< int >(val2
);
15075 arg3
= wxString_in_helper(obj2
);
15076 if (arg3
== NULL
) SWIG_fail
;
15083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15093 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15094 if (!SWIG_IsOK(ecode6
)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15097 arg6
= static_cast< long >(val6
);
15100 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15101 if (!SWIG_IsOK(ecode7
)) {
15102 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15104 arg7
= static_cast< int >(val7
);
15107 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15108 if (!SWIG_IsOK(ecode8
)) {
15109 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15111 arg8
= static_cast< int >(val8
);
15114 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15115 if (!SWIG_IsOK(ecode9
)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15118 arg9
= static_cast< int >(val9
);
15122 arg10
= wxString_in_helper(obj9
);
15123 if (arg10
== NULL
) SWIG_fail
;
15128 if (!wxPyCheckForApp()) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15157 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15158 PyObject
*resultobj
= 0;
15159 wxSpinCtrl
*result
= 0 ;
15161 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15163 if (!wxPyCheckForApp()) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15176 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
= 0;
15178 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15179 wxWindow
*arg2
= (wxWindow
*) 0 ;
15180 int arg3
= (int) -1 ;
15181 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15187 long arg7
= (long) wxSP_ARROW_KEYS
;
15188 int arg8
= (int) 0 ;
15189 int arg9
= (int) 100 ;
15190 int arg10
= (int) 0 ;
15191 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15192 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15200 bool temp4
= false ;
15211 bool temp11
= false ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 PyObject
* obj2
= 0 ;
15215 PyObject
* obj3
= 0 ;
15216 PyObject
* obj4
= 0 ;
15217 PyObject
* obj5
= 0 ;
15218 PyObject
* obj6
= 0 ;
15219 PyObject
* obj7
= 0 ;
15220 PyObject
* obj8
= 0 ;
15221 PyObject
* obj9
= 0 ;
15222 PyObject
* obj10
= 0 ;
15223 char * kwnames
[] = {
15224 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15229 if (!SWIG_IsOK(res1
)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15232 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15234 if (!SWIG_IsOK(res2
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15240 if (!SWIG_IsOK(ecode3
)) {
15241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15243 arg3
= static_cast< int >(val3
);
15247 arg4
= wxString_in_helper(obj3
);
15248 if (arg4
== NULL
) SWIG_fail
;
15255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15265 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15266 if (!SWIG_IsOK(ecode7
)) {
15267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15269 arg7
= static_cast< long >(val7
);
15272 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15273 if (!SWIG_IsOK(ecode8
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15276 arg8
= static_cast< int >(val8
);
15279 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15280 if (!SWIG_IsOK(ecode9
)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15283 arg9
= static_cast< int >(val9
);
15286 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15287 if (!SWIG_IsOK(ecode10
)) {
15288 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15290 arg10
= static_cast< int >(val10
);
15294 arg11
= wxString_in_helper(obj10
);
15295 if (arg11
== NULL
) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15331 PyObject
*resultobj
= 0;
15332 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15336 PyObject
*swig_obj
[1] ;
15338 if (!args
) SWIG_fail
;
15339 swig_obj
[0] = args
;
15340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15344 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_From_int(static_cast< int >(result
));
15358 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
= 0;
15360 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char * kwnames
[] = {
15369 (char *) "self",(char *) "value", NULL
15372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15374 if (!SWIG_IsOK(res1
)) {
15375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15377 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15379 if (!SWIG_IsOK(ecode2
)) {
15380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15382 arg2
= static_cast< int >(val2
);
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 (arg1
)->SetValue(arg2
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_Py_Void();
15396 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
= 0;
15398 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15399 wxString
*arg2
= 0 ;
15402 bool temp2
= false ;
15403 PyObject
* obj0
= 0 ;
15404 PyObject
* obj1
= 0 ;
15405 char * kwnames
[] = {
15406 (char *) "self",(char *) "text", NULL
15409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15411 if (!SWIG_IsOK(res1
)) {
15412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15414 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15416 arg2
= wxString_in_helper(obj1
);
15417 if (arg2
== NULL
) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->SetValue((wxString
const &)*arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_Py_Void();
15441 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 char * kwnames
[] = {
15456 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15461 if (!SWIG_IsOK(res1
)) {
15462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15464 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15466 if (!SWIG_IsOK(ecode2
)) {
15467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15469 arg2
= static_cast< int >(val2
);
15470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15471 if (!SWIG_IsOK(ecode3
)) {
15472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15474 arg3
= static_cast< int >(val3
);
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 (arg1
)->SetRange(arg2
,arg3
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= SWIG_Py_Void();
15488 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15489 PyObject
*resultobj
= 0;
15490 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15494 PyObject
*swig_obj
[1] ;
15496 if (!args
) SWIG_fail
;
15497 swig_obj
[0] = args
;
15498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15499 if (!SWIG_IsOK(res1
)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15502 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_From_int(static_cast< int >(result
));
15516 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15517 PyObject
*resultobj
= 0;
15518 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15522 PyObject
*swig_obj
[1] ;
15524 if (!args
) SWIG_fail
;
15525 swig_obj
[0] = args
;
15526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15527 if (!SWIG_IsOK(res1
)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15530 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_From_int(static_cast< int >(result
));
15544 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
= 0;
15546 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 PyObject
* obj2
= 0 ;
15558 char * kwnames
[] = {
15559 (char *) "self",(char *) "_from",(char *) "to", NULL
15562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15564 if (!SWIG_IsOK(res1
)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15567 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15568 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15569 if (!SWIG_IsOK(ecode2
)) {
15570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15572 arg2
= static_cast< long >(val2
);
15573 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15574 if (!SWIG_IsOK(ecode3
)) {
15575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15577 arg3
= static_cast< long >(val3
);
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->SetSelection(arg2
,arg3
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_Py_Void();
15591 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= 0;
15593 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15594 SwigValueWrapper
<wxVisualAttributes
> result
;
15597 PyObject
* obj0
= 0 ;
15598 char * kwnames
[] = {
15599 (char *) "variant", NULL
15602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15604 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15605 if (!SWIG_IsOK(ecode1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15608 arg1
= static_cast< wxWindowVariant
>(val1
);
15611 if (!wxPyCheckForApp()) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15624 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15627 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15628 return SWIG_Py_Void();
15631 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15632 return SWIG_Python_InitShadowInstance(args
);
15635 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
= 0;
15637 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15638 int arg2
= (int) 0 ;
15639 wxSpinEvent
*result
= 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 char * kwnames
[] = {
15647 (char *) "commandType",(char *) "winid", NULL
15650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15652 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15653 if (!SWIG_IsOK(ecode1
)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15656 arg1
= static_cast< wxEventType
>(val1
);
15659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15660 if (!SWIG_IsOK(ecode2
)) {
15661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15663 arg2
= static_cast< int >(val2
);
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15678 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15679 PyObject
*resultobj
= 0;
15680 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15684 PyObject
*swig_obj
[1] ;
15686 if (!args
) SWIG_fail
;
15687 swig_obj
[0] = args
;
15688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15692 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_From_int(static_cast< int >(result
));
15706 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 char * kwnames
[] = {
15717 (char *) "self",(char *) "pos", NULL
15720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15725 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15727 if (!SWIG_IsOK(ecode2
)) {
15728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15730 arg2
= static_cast< int >(val2
);
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->SetPosition(arg2
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_Py_Void();
15744 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15747 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15748 return SWIG_Py_Void();
15751 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15752 return SWIG_Python_InitShadowInstance(args
);
15755 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15756 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15761 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15762 PyObject
*pyobj
= 0;
15766 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15768 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15775 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15776 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15781 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15782 PyObject
*pyobj
= 0;
15786 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15788 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15795 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
= 0;
15797 wxWindow
*arg1
= (wxWindow
*) 0 ;
15798 int arg2
= (int) -1 ;
15799 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15800 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15801 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15802 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15803 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15804 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15805 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15806 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15807 int arg7
= (int) 0 ;
15808 long arg8
= (long) wxRA_HORIZONTAL
;
15809 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15810 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15811 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15812 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15813 wxRadioBox
*result
= 0 ;
15818 bool temp3
= false ;
15821 bool temp6
= false ;
15828 bool temp10
= false ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 PyObject
* obj3
= 0 ;
15833 PyObject
* obj4
= 0 ;
15834 PyObject
* obj5
= 0 ;
15835 PyObject
* obj6
= 0 ;
15836 PyObject
* obj7
= 0 ;
15837 PyObject
* obj8
= 0 ;
15838 PyObject
* obj9
= 0 ;
15839 char * kwnames
[] = {
15840 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15851 if (!SWIG_IsOK(ecode2
)) {
15852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15854 arg2
= static_cast< int >(val2
);
15858 arg3
= wxString_in_helper(obj2
);
15859 if (arg3
== NULL
) SWIG_fail
;
15866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15877 if (! PySequence_Check(obj5
)) {
15878 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15881 arg6
= new wxArrayString
;
15883 int i
, len
=PySequence_Length(obj5
);
15884 for (i
=0; i
<len
; i
++) {
15885 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15886 wxString
* s
= wxString_in_helper(item
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15895 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15896 if (!SWIG_IsOK(ecode7
)) {
15897 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15899 arg7
= static_cast< int >(val7
);
15902 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15903 if (!SWIG_IsOK(ecode8
)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15906 arg8
= static_cast< long >(val8
);
15909 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15910 if (!SWIG_IsOK(res9
)) {
15911 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15916 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15920 arg10
= wxString_in_helper(obj9
);
15921 if (arg10
== NULL
) SWIG_fail
;
15926 if (!wxPyCheckForApp()) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 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
);
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15938 if (temp6
) delete arg6
;
15951 if (temp6
) delete arg6
;
15961 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15962 PyObject
*resultobj
= 0;
15963 wxRadioBox
*result
= 0 ;
15965 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15967 if (!wxPyCheckForApp()) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (wxRadioBox
*)new wxRadioBox();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15980 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
= 0;
15982 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15983 wxWindow
*arg2
= (wxWindow
*) 0 ;
15984 int arg3
= (int) -1 ;
15985 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15986 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15987 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15988 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15989 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15990 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15991 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15992 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15993 int arg8
= (int) 0 ;
15994 long arg9
= (long) wxRA_HORIZONTAL
;
15995 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15996 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15997 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15998 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16006 bool temp4
= false ;
16009 bool temp7
= false ;
16016 bool temp11
= false ;
16017 PyObject
* obj0
= 0 ;
16018 PyObject
* obj1
= 0 ;
16019 PyObject
* obj2
= 0 ;
16020 PyObject
* obj3
= 0 ;
16021 PyObject
* obj4
= 0 ;
16022 PyObject
* obj5
= 0 ;
16023 PyObject
* obj6
= 0 ;
16024 PyObject
* obj7
= 0 ;
16025 PyObject
* obj8
= 0 ;
16026 PyObject
* obj9
= 0 ;
16027 PyObject
* obj10
= 0 ;
16028 char * kwnames
[] = {
16029 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16034 if (!SWIG_IsOK(res1
)) {
16035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16037 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16039 if (!SWIG_IsOK(res2
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16042 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16045 if (!SWIG_IsOK(ecode3
)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16048 arg3
= static_cast< int >(val3
);
16052 arg4
= wxString_in_helper(obj3
);
16053 if (arg4
== NULL
) SWIG_fail
;
16060 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16066 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16071 if (! PySequence_Check(obj6
)) {
16072 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16075 arg7
= new wxArrayString
;
16077 int i
, len
=PySequence_Length(obj6
);
16078 for (i
=0; i
<len
; i
++) {
16079 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16080 wxString
* s
= wxString_in_helper(item
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16089 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16090 if (!SWIG_IsOK(ecode8
)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16093 arg8
= static_cast< int >(val8
);
16096 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16097 if (!SWIG_IsOK(ecode9
)) {
16098 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16100 arg9
= static_cast< long >(val9
);
16103 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16104 if (!SWIG_IsOK(res10
)) {
16105 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16110 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16114 arg11
= wxString_in_helper(obj10
);
16115 if (arg11
== NULL
) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 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
);
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16133 if (temp7
) delete arg7
;
16146 if (temp7
) delete arg7
;
16156 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
= 0;
16158 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 char * kwnames
[] = {
16167 (char *) "self",(char *) "n", NULL
16170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16172 if (!SWIG_IsOK(res1
)) {
16173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16175 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16177 if (!SWIG_IsOK(ecode2
)) {
16178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16180 arg2
= static_cast< int >(val2
);
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->SetSelection(arg2
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= SWIG_Py_Void();
16194 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16195 PyObject
*resultobj
= 0;
16196 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16200 PyObject
*swig_obj
[1] ;
16202 if (!args
) SWIG_fail
;
16203 swig_obj
[0] = args
;
16204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16205 if (!SWIG_IsOK(res1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16208 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_From_int(static_cast< int >(result
));
16222 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16223 PyObject
*resultobj
= 0;
16224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16228 PyObject
*swig_obj
[1] ;
16230 if (!args
) SWIG_fail
;
16231 swig_obj
[0] = args
;
16232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16233 if (!SWIG_IsOK(res1
)) {
16234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16236 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16256 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
= 0;
16258 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16259 wxString
*arg2
= 0 ;
16263 bool temp2
= false ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char * kwnames
[] = {
16267 (char *) "self",(char *) "s", NULL
16270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16272 if (!SWIG_IsOK(res1
)) {
16273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16275 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16277 arg2
= wxString_in_helper(obj1
);
16278 if (arg2
== NULL
) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16305 PyObject
*resultobj
= 0;
16306 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16310 PyObject
*swig_obj
[1] ;
16312 if (!args
) SWIG_fail
;
16313 swig_obj
[0] = args
;
16314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16315 if (!SWIG_IsOK(res1
)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16318 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16332 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
= 0;
16334 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16335 wxString
*arg2
= 0 ;
16339 bool temp2
= false ;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 char * kwnames
[] = {
16343 (char *) "self",(char *) "s", NULL
16346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16348 if (!SWIG_IsOK(res1
)) {
16349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16351 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16353 arg2
= wxString_in_helper(obj1
);
16354 if (arg2
== NULL
) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= SWIG_From_int(static_cast< int >(result
));
16378 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
= 0;
16380 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char * kwnames
[] = {
16390 (char *) "self",(char *) "n", NULL
16393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16395 if (!SWIG_IsOK(res1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16398 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16400 if (!SWIG_IsOK(ecode2
)) {
16401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16403 arg2
= static_cast< int >(val2
);
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16423 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
= 0;
16425 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16427 wxString
*arg3
= 0 ;
16432 bool temp3
= false ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 PyObject
* obj2
= 0 ;
16436 char * kwnames
[] = {
16437 (char *) "self",(char *) "n",(char *) "label", NULL
16440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16442 if (!SWIG_IsOK(res1
)) {
16443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16445 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16447 if (!SWIG_IsOK(ecode2
)) {
16448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16450 arg2
= static_cast< int >(val2
);
16452 arg3
= wxString_in_helper(obj2
);
16453 if (arg3
== NULL
) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_Py_Void();
16477 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
= 0;
16479 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16480 unsigned int arg2
;
16481 bool arg3
= (bool) true ;
16484 unsigned int val2
;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 PyObject
* obj2
= 0 ;
16491 char * kwnames
[] = {
16492 (char *) "self",(char *) "n",(char *) "enable", NULL
16495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16497 if (!SWIG_IsOK(res1
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16500 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16501 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16502 if (!SWIG_IsOK(ecode2
)) {
16503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16505 arg2
= static_cast< unsigned int >(val2
);
16507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16508 if (!SWIG_IsOK(ecode3
)) {
16509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16511 arg3
= static_cast< bool >(val3
);
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->Enable(arg2
,arg3
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= SWIG_Py_Void();
16526 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
= 0;
16528 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16529 unsigned int arg2
;
16530 bool arg3
= (bool) true ;
16533 unsigned int val2
;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 PyObject
* obj2
= 0 ;
16540 char * kwnames
[] = {
16541 (char *) "self",(char *) "n",(char *) "show", NULL
16544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16546 if (!SWIG_IsOK(res1
)) {
16547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16549 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16550 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16551 if (!SWIG_IsOK(ecode2
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16554 arg2
= static_cast< unsigned int >(val2
);
16556 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16557 if (!SWIG_IsOK(ecode3
)) {
16558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16560 arg3
= static_cast< bool >(val3
);
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 (arg1
)->Show(arg2
,arg3
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_Py_Void();
16575 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16578 unsigned int arg2
;
16582 unsigned int val2
;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "n", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16595 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16596 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16597 if (!SWIG_IsOK(ecode2
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16600 arg2
= static_cast< unsigned int >(val2
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
= 0;
16618 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16619 unsigned int arg2
;
16623 unsigned int val2
;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char * kwnames
[] = {
16628 (char *) "self",(char *) "n", NULL
16631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16633 if (!SWIG_IsOK(res1
)) {
16634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16636 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16637 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16638 if (!SWIG_IsOK(ecode2
)) {
16639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16641 arg2
= static_cast< unsigned int >(val2
);
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16657 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16658 PyObject
*resultobj
= 0;
16659 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16660 unsigned int result
;
16663 PyObject
*swig_obj
[1] ;
16665 if (!args
) SWIG_fail
;
16666 swig_obj
[0] = args
;
16667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16671 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16685 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16686 PyObject
*resultobj
= 0;
16687 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16688 unsigned int result
;
16691 PyObject
*swig_obj
[1] ;
16693 if (!args
) SWIG_fail
;
16694 swig_obj
[0] = args
;
16695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16696 if (!SWIG_IsOK(res1
)) {
16697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16699 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16713 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
= 0;
16715 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 PyObject
* obj2
= 0 ;
16731 PyObject
* obj3
= 0 ;
16732 char * kwnames
[] = {
16733 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16738 if (!SWIG_IsOK(res1
)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16741 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16743 if (!SWIG_IsOK(ecode2
)) {
16744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16746 arg2
= static_cast< int >(val2
);
16747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16748 if (!SWIG_IsOK(ecode3
)) {
16749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16751 arg3
= static_cast< wxDirection
>(val3
);
16752 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16753 if (!SWIG_IsOK(ecode4
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16756 arg4
= static_cast< long >(val4
);
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_From_int(static_cast< int >(result
));
16770 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
= 0;
16772 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16773 SwigValueWrapper
<wxVisualAttributes
> result
;
16776 PyObject
* obj0
= 0 ;
16777 char * kwnames
[] = {
16778 (char *) "variant", NULL
16781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16784 if (!SWIG_IsOK(ecode1
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16787 arg1
= static_cast< wxWindowVariant
>(val1
);
16790 if (!wxPyCheckForApp()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16803 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16806 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16807 return SWIG_Py_Void();
16810 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16811 return SWIG_Python_InitShadowInstance(args
);
16814 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
= 0;
16816 wxWindow
*arg1
= (wxWindow
*) 0 ;
16817 int arg2
= (int) -1 ;
16818 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16824 long arg6
= (long) 0 ;
16825 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16826 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16827 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16828 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16829 wxRadioButton
*result
= 0 ;
16834 bool temp3
= false ;
16841 bool temp8
= false ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 PyObject
* obj3
= 0 ;
16846 PyObject
* obj4
= 0 ;
16847 PyObject
* obj5
= 0 ;
16848 PyObject
* obj6
= 0 ;
16849 PyObject
* obj7
= 0 ;
16850 char * kwnames
[] = {
16851 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16856 if (!SWIG_IsOK(res1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16862 if (!SWIG_IsOK(ecode2
)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16865 arg2
= static_cast< int >(val2
);
16869 arg3
= wxString_in_helper(obj2
);
16870 if (arg3
== NULL
) SWIG_fail
;
16877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16887 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16888 if (!SWIG_IsOK(ecode6
)) {
16889 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16891 arg6
= static_cast< long >(val6
);
16894 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16895 if (!SWIG_IsOK(res7
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16901 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16905 arg8
= wxString_in_helper(obj7
);
16906 if (arg8
== NULL
) SWIG_fail
;
16911 if (!wxPyCheckForApp()) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
16940 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16941 PyObject
*resultobj
= 0;
16942 wxRadioButton
*result
= 0 ;
16944 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
16946 if (!wxPyCheckForApp()) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (wxRadioButton
*)new wxRadioButton();
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
16959 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
= 0;
16961 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16962 wxWindow
*arg2
= (wxWindow
*) 0 ;
16963 int arg3
= (int) -1 ;
16964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16966 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16967 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16968 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16969 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16970 long arg7
= (long) 0 ;
16971 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16972 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16973 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
16974 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16982 bool temp4
= false ;
16989 bool temp9
= false ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 PyObject
* obj3
= 0 ;
16994 PyObject
* obj4
= 0 ;
16995 PyObject
* obj5
= 0 ;
16996 PyObject
* obj6
= 0 ;
16997 PyObject
* obj7
= 0 ;
16998 PyObject
* obj8
= 0 ;
16999 char * kwnames
[] = {
17000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17005 if (!SWIG_IsOK(res1
)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17008 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17010 if (!SWIG_IsOK(res2
)) {
17011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17013 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17016 if (!SWIG_IsOK(ecode3
)) {
17017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17019 arg3
= static_cast< int >(val3
);
17023 arg4
= wxString_in_helper(obj3
);
17024 if (arg4
== NULL
) SWIG_fail
;
17031 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17037 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17042 if (!SWIG_IsOK(ecode7
)) {
17043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17045 arg7
= static_cast< long >(val7
);
17048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17049 if (!SWIG_IsOK(res8
)) {
17050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17059 arg9
= wxString_in_helper(obj8
);
17060 if (arg9
== NULL
) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17095 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17096 PyObject
*resultobj
= 0;
17097 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17101 PyObject
*swig_obj
[1] ;
17103 if (!args
) SWIG_fail
;
17104 swig_obj
[0] = args
;
17105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17106 if (!SWIG_IsOK(res1
)) {
17107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17109 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (bool)(arg1
)->GetValue();
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17125 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
= 0;
17127 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 char * kwnames
[] = {
17136 (char *) "self",(char *) "value", NULL
17139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17141 if (!SWIG_IsOK(res1
)) {
17142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17144 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17145 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17146 if (!SWIG_IsOK(ecode2
)) {
17147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17149 arg2
= static_cast< bool >(val2
);
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 (arg1
)->SetValue(arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_Py_Void();
17163 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
= 0;
17165 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17166 SwigValueWrapper
<wxVisualAttributes
> result
;
17169 PyObject
* obj0
= 0 ;
17170 char * kwnames
[] = {
17171 (char *) "variant", NULL
17174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17176 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17177 if (!SWIG_IsOK(ecode1
)) {
17178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17180 arg1
= static_cast< wxWindowVariant
>(val1
);
17183 if (!wxPyCheckForApp()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17196 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17199 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17200 return SWIG_Py_Void();
17203 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17204 return SWIG_Python_InitShadowInstance(args
);
17207 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17208 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17213 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17214 PyObject
*pyobj
= 0;
17218 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17220 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17227 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
= 0;
17229 wxWindow
*arg1
= (wxWindow
*) 0 ;
17230 int arg2
= (int) -1 ;
17231 int arg3
= (int) 0 ;
17232 int arg4
= (int) 0 ;
17233 int arg5
= (int) 100 ;
17234 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17235 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17236 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17237 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17238 long arg8
= (long) wxSL_HORIZONTAL
;
17239 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17240 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17241 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17242 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17243 wxSlider
*result
= 0 ;
17260 bool temp10
= false ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 PyObject
* obj2
= 0 ;
17264 PyObject
* obj3
= 0 ;
17265 PyObject
* obj4
= 0 ;
17266 PyObject
* obj5
= 0 ;
17267 PyObject
* obj6
= 0 ;
17268 PyObject
* obj7
= 0 ;
17269 PyObject
* obj8
= 0 ;
17270 PyObject
* obj9
= 0 ;
17271 char * kwnames
[] = {
17272 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17277 if (!SWIG_IsOK(res1
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17283 if (!SWIG_IsOK(ecode2
)) {
17284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17286 arg2
= static_cast< int >(val2
);
17289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17290 if (!SWIG_IsOK(ecode3
)) {
17291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17293 arg3
= static_cast< int >(val3
);
17296 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17297 if (!SWIG_IsOK(ecode4
)) {
17298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17300 arg4
= static_cast< int >(val4
);
17303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17304 if (!SWIG_IsOK(ecode5
)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17307 arg5
= static_cast< int >(val5
);
17312 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17318 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17322 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17323 if (!SWIG_IsOK(ecode8
)) {
17324 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17326 arg8
= static_cast< long >(val8
);
17329 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17330 if (!SWIG_IsOK(res9
)) {
17331 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17336 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17340 arg10
= wxString_in_helper(obj9
);
17341 if (arg10
== NULL
) SWIG_fail
;
17346 if (!wxPyCheckForApp()) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17367 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17368 PyObject
*resultobj
= 0;
17369 wxSlider
*result
= 0 ;
17371 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17373 if (!wxPyCheckForApp()) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (wxSlider
*)new wxSlider();
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17386 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
= 0;
17388 wxSlider
*arg1
= (wxSlider
*) 0 ;
17389 wxWindow
*arg2
= (wxWindow
*) 0 ;
17390 int arg3
= (int) -1 ;
17391 int arg4
= (int) 0 ;
17392 int arg5
= (int) 0 ;
17393 int arg6
= (int) 100 ;
17394 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17395 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17396 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17397 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17398 long arg9
= (long) wxSL_HORIZONTAL
;
17399 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17400 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17401 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17402 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17422 bool temp11
= false ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 PyObject
* obj2
= 0 ;
17426 PyObject
* obj3
= 0 ;
17427 PyObject
* obj4
= 0 ;
17428 PyObject
* obj5
= 0 ;
17429 PyObject
* obj6
= 0 ;
17430 PyObject
* obj7
= 0 ;
17431 PyObject
* obj8
= 0 ;
17432 PyObject
* obj9
= 0 ;
17433 PyObject
* obj10
= 0 ;
17434 char * kwnames
[] = {
17435 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17440 if (!SWIG_IsOK(res1
)) {
17441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17443 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17445 if (!SWIG_IsOK(res2
)) {
17446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17448 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17451 if (!SWIG_IsOK(ecode3
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17454 arg3
= static_cast< int >(val3
);
17457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17458 if (!SWIG_IsOK(ecode4
)) {
17459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17461 arg4
= static_cast< int >(val4
);
17464 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17465 if (!SWIG_IsOK(ecode5
)) {
17466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17468 arg5
= static_cast< int >(val5
);
17471 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17472 if (!SWIG_IsOK(ecode6
)) {
17473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17475 arg6
= static_cast< int >(val6
);
17480 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17486 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17490 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17491 if (!SWIG_IsOK(ecode9
)) {
17492 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17494 arg9
= static_cast< long >(val9
);
17497 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17498 if (!SWIG_IsOK(res10
)) {
17499 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17504 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17508 arg11
= wxString_in_helper(obj10
);
17509 if (arg11
== NULL
) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17536 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17537 PyObject
*resultobj
= 0;
17538 wxSlider
*arg1
= (wxSlider
*) 0 ;
17542 PyObject
*swig_obj
[1] ;
17544 if (!args
) SWIG_fail
;
17545 swig_obj
[0] = args
;
17546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17547 if (!SWIG_IsOK(res1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17550 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= SWIG_From_int(static_cast< int >(result
));
17564 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
= 0;
17566 wxSlider
*arg1
= (wxSlider
*) 0 ;
17572 PyObject
* obj0
= 0 ;
17573 PyObject
* obj1
= 0 ;
17574 char * kwnames
[] = {
17575 (char *) "self",(char *) "value", NULL
17578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17580 if (!SWIG_IsOK(res1
)) {
17581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17583 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17585 if (!SWIG_IsOK(ecode2
)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17588 arg2
= static_cast< int >(val2
);
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 (arg1
)->SetValue(arg2
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= SWIG_Py_Void();
17602 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
= 0;
17604 wxSlider
*arg1
= (wxSlider
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 char * kwnames
[] = {
17617 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17622 if (!SWIG_IsOK(res1
)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17625 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17627 if (!SWIG_IsOK(ecode2
)) {
17628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17630 arg2
= static_cast< int >(val2
);
17631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17632 if (!SWIG_IsOK(ecode3
)) {
17633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17635 arg3
= static_cast< int >(val3
);
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 (arg1
)->SetRange(arg2
,arg3
);
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= SWIG_Py_Void();
17649 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17650 PyObject
*resultobj
= 0;
17651 wxSlider
*arg1
= (wxSlider
*) 0 ;
17655 PyObject
*swig_obj
[1] ;
17657 if (!args
) SWIG_fail
;
17658 swig_obj
[0] = args
;
17659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17660 if (!SWIG_IsOK(res1
)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17663 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_From_int(static_cast< int >(result
));
17677 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17678 PyObject
*resultobj
= 0;
17679 wxSlider
*arg1
= (wxSlider
*) 0 ;
17683 PyObject
*swig_obj
[1] ;
17685 if (!args
) SWIG_fail
;
17686 swig_obj
[0] = args
;
17687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17688 if (!SWIG_IsOK(res1
)) {
17689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17691 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_From_int(static_cast< int >(result
));
17705 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
= 0;
17707 wxSlider
*arg1
= (wxSlider
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char * kwnames
[] = {
17716 (char *) "self",(char *) "minValue", NULL
17719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17721 if (!SWIG_IsOK(res1
)) {
17722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17724 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17726 if (!SWIG_IsOK(ecode2
)) {
17727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17729 arg2
= static_cast< int >(val2
);
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->SetMin(arg2
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_Py_Void();
17743 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
= 0;
17745 wxSlider
*arg1
= (wxSlider
*) 0 ;
17751 PyObject
* obj0
= 0 ;
17752 PyObject
* obj1
= 0 ;
17753 char * kwnames
[] = {
17754 (char *) "self",(char *) "maxValue", NULL
17757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17759 if (!SWIG_IsOK(res1
)) {
17760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17762 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17764 if (!SWIG_IsOK(ecode2
)) {
17765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17767 arg2
= static_cast< int >(val2
);
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->SetMax(arg2
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_Py_Void();
17781 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
= 0;
17783 wxSlider
*arg1
= (wxSlider
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 char * kwnames
[] = {
17792 (char *) "self",(char *) "lineSize", NULL
17795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17800 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17802 if (!SWIG_IsOK(ecode2
)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17805 arg2
= static_cast< int >(val2
);
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 (arg1
)->SetLineSize(arg2
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= SWIG_Py_Void();
17819 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
= 0;
17821 wxSlider
*arg1
= (wxSlider
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char * kwnames
[] = {
17830 (char *) "self",(char *) "pageSize", NULL
17833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17835 if (!SWIG_IsOK(res1
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17838 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17840 if (!SWIG_IsOK(ecode2
)) {
17841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17843 arg2
= static_cast< int >(val2
);
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 (arg1
)->SetPageSize(arg2
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= SWIG_Py_Void();
17857 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17858 PyObject
*resultobj
= 0;
17859 wxSlider
*arg1
= (wxSlider
*) 0 ;
17863 PyObject
*swig_obj
[1] ;
17865 if (!args
) SWIG_fail
;
17866 swig_obj
[0] = args
;
17867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17868 if (!SWIG_IsOK(res1
)) {
17869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17871 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_From_int(static_cast< int >(result
));
17885 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17886 PyObject
*resultobj
= 0;
17887 wxSlider
*arg1
= (wxSlider
*) 0 ;
17891 PyObject
*swig_obj
[1] ;
17893 if (!args
) SWIG_fail
;
17894 swig_obj
[0] = args
;
17895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17896 if (!SWIG_IsOK(res1
)) {
17897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17899 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= SWIG_From_int(static_cast< int >(result
));
17913 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
= 0;
17915 wxSlider
*arg1
= (wxSlider
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 char * kwnames
[] = {
17924 (char *) "self",(char *) "lenPixels", NULL
17927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
17932 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17934 if (!SWIG_IsOK(ecode2
)) {
17935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
17937 arg2
= static_cast< int >(val2
);
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->SetThumbLength(arg2
);
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_Py_Void();
17951 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17952 PyObject
*resultobj
= 0;
17953 wxSlider
*arg1
= (wxSlider
*) 0 ;
17957 PyObject
*swig_obj
[1] ;
17959 if (!args
) SWIG_fail
;
17960 swig_obj
[0] = args
;
17961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17962 if (!SWIG_IsOK(res1
)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
17965 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_From_int(static_cast< int >(result
));
17979 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxSlider
*arg1
= (wxSlider
*) 0 ;
17983 int arg3
= (int) 1 ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 char * kwnames
[] = {
17994 (char *) "self",(char *) "n",(char *) "pos", NULL
17997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17999 if (!SWIG_IsOK(res1
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18002 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18004 if (!SWIG_IsOK(ecode2
)) {
18005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18007 arg2
= static_cast< int >(val2
);
18009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18010 if (!SWIG_IsOK(ecode3
)) {
18011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18013 arg3
= static_cast< int >(val3
);
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 (arg1
)->SetTickFreq(arg2
,arg3
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_Py_Void();
18028 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18029 PyObject
*resultobj
= 0;
18030 wxSlider
*arg1
= (wxSlider
*) 0 ;
18034 PyObject
*swig_obj
[1] ;
18036 if (!args
) SWIG_fail
;
18037 swig_obj
[0] = args
;
18038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18039 if (!SWIG_IsOK(res1
)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18042 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= SWIG_From_int(static_cast< int >(result
));
18056 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18057 PyObject
*resultobj
= 0;
18058 wxSlider
*arg1
= (wxSlider
*) 0 ;
18061 PyObject
*swig_obj
[1] ;
18063 if (!args
) SWIG_fail
;
18064 swig_obj
[0] = args
;
18065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18066 if (!SWIG_IsOK(res1
)) {
18067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18069 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->ClearTicks();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_Py_Void();
18083 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
= 0;
18085 wxSlider
*arg1
= (wxSlider
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 char * kwnames
[] = {
18094 (char *) "self",(char *) "tickPos", NULL
18097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18102 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18104 if (!SWIG_IsOK(ecode2
)) {
18105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18107 arg2
= static_cast< int >(val2
);
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 (arg1
)->SetTick(arg2
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= SWIG_Py_Void();
18121 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18122 PyObject
*resultobj
= 0;
18123 wxSlider
*arg1
= (wxSlider
*) 0 ;
18126 PyObject
*swig_obj
[1] ;
18128 if (!args
) SWIG_fail
;
18129 swig_obj
[0] = args
;
18130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18131 if (!SWIG_IsOK(res1
)) {
18132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18134 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->ClearSel();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_Py_Void();
18148 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18149 PyObject
*resultobj
= 0;
18150 wxSlider
*arg1
= (wxSlider
*) 0 ;
18154 PyObject
*swig_obj
[1] ;
18156 if (!args
) SWIG_fail
;
18157 swig_obj
[0] = args
;
18158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18159 if (!SWIG_IsOK(res1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18162 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_From_int(static_cast< int >(result
));
18176 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18177 PyObject
*resultobj
= 0;
18178 wxSlider
*arg1
= (wxSlider
*) 0 ;
18182 PyObject
*swig_obj
[1] ;
18184 if (!args
) SWIG_fail
;
18185 swig_obj
[0] = args
;
18186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18187 if (!SWIG_IsOK(res1
)) {
18188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18190 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_From_int(static_cast< int >(result
));
18204 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
= 0;
18206 wxSlider
*arg1
= (wxSlider
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18218 char * kwnames
[] = {
18219 (char *) "self",(char *) "min",(char *) "max", NULL
18222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18224 if (!SWIG_IsOK(res1
)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18227 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18229 if (!SWIG_IsOK(ecode2
)) {
18230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18232 arg2
= static_cast< int >(val2
);
18233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18234 if (!SWIG_IsOK(ecode3
)) {
18235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18237 arg3
= static_cast< int >(val3
);
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->SetSelection(arg2
,arg3
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= SWIG_Py_Void();
18251 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
= 0;
18253 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18254 SwigValueWrapper
<wxVisualAttributes
> result
;
18257 PyObject
* obj0
= 0 ;
18258 char * kwnames
[] = {
18259 (char *) "variant", NULL
18262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18264 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18265 if (!SWIG_IsOK(ecode1
)) {
18266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18268 arg1
= static_cast< wxWindowVariant
>(val1
);
18271 if (!wxPyCheckForApp()) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18284 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18287 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18288 return SWIG_Py_Void();
18291 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18292 return SWIG_Python_InitShadowInstance(args
);
18295 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18296 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18301 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18302 PyObject
*pyobj
= 0;
18306 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18308 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18315 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
= 0;
18317 wxWindow
*arg1
= (wxWindow
*) 0 ;
18318 int arg2
= (int) -1 ;
18319 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18325 long arg6
= (long) 0 ;
18326 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18327 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18328 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18329 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18330 wxToggleButton
*result
= 0 ;
18335 bool temp3
= false ;
18342 bool temp8
= false ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 PyObject
* obj2
= 0 ;
18346 PyObject
* obj3
= 0 ;
18347 PyObject
* obj4
= 0 ;
18348 PyObject
* obj5
= 0 ;
18349 PyObject
* obj6
= 0 ;
18350 PyObject
* obj7
= 0 ;
18351 char * kwnames
[] = {
18352 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18357 if (!SWIG_IsOK(res1
)) {
18358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18363 if (!SWIG_IsOK(ecode2
)) {
18364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18366 arg2
= static_cast< int >(val2
);
18370 arg3
= wxString_in_helper(obj2
);
18371 if (arg3
== NULL
) SWIG_fail
;
18378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18388 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18389 if (!SWIG_IsOK(ecode6
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18392 arg6
= static_cast< long >(val6
);
18395 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18396 if (!SWIG_IsOK(res7
)) {
18397 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18402 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18406 arg8
= wxString_in_helper(obj7
);
18407 if (arg8
== NULL
) SWIG_fail
;
18412 if (!wxPyCheckForApp()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18441 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18442 PyObject
*resultobj
= 0;
18443 wxToggleButton
*result
= 0 ;
18445 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18447 if (!wxPyCheckForApp()) SWIG_fail
;
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 result
= (wxToggleButton
*)new wxToggleButton();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18460 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
= 0;
18462 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18463 wxWindow
*arg2
= (wxWindow
*) 0 ;
18464 int arg3
= (int) -1 ;
18465 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18466 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18467 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18468 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18469 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18470 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18471 long arg7
= (long) 0 ;
18472 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18473 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18474 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18475 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18483 bool temp4
= false ;
18490 bool temp9
= false ;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 PyObject
* obj2
= 0 ;
18494 PyObject
* obj3
= 0 ;
18495 PyObject
* obj4
= 0 ;
18496 PyObject
* obj5
= 0 ;
18497 PyObject
* obj6
= 0 ;
18498 PyObject
* obj7
= 0 ;
18499 PyObject
* obj8
= 0 ;
18500 char * kwnames
[] = {
18501 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18506 if (!SWIG_IsOK(res1
)) {
18507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18509 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18511 if (!SWIG_IsOK(res2
)) {
18512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18517 if (!SWIG_IsOK(ecode3
)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18520 arg3
= static_cast< int >(val3
);
18524 arg4
= wxString_in_helper(obj3
);
18525 if (arg4
== NULL
) SWIG_fail
;
18532 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18538 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18542 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18543 if (!SWIG_IsOK(ecode7
)) {
18544 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18546 arg7
= static_cast< long >(val7
);
18549 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18550 if (!SWIG_IsOK(res8
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18556 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18560 arg9
= wxString_in_helper(obj8
);
18561 if (arg9
== NULL
) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18596 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
= 0;
18598 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 PyObject
* obj1
= 0 ;
18606 char * kwnames
[] = {
18607 (char *) "self",(char *) "value", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18615 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18617 if (!SWIG_IsOK(ecode2
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18620 arg2
= static_cast< bool >(val2
);
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->SetValue(arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_Py_Void();
18634 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18635 PyObject
*resultobj
= 0;
18636 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18640 PyObject
*swig_obj
[1] ;
18642 if (!args
) SWIG_fail
;
18643 swig_obj
[0] = args
;
18644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18645 if (!SWIG_IsOK(res1
)) {
18646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18648 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18664 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
= 0;
18666 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18667 SwigValueWrapper
<wxVisualAttributes
> result
;
18670 PyObject
* obj0
= 0 ;
18671 char * kwnames
[] = {
18672 (char *) "variant", NULL
18675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18677 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18678 if (!SWIG_IsOK(ecode1
)) {
18679 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18681 arg1
= static_cast< wxWindowVariant
>(val1
);
18684 if (!wxPyCheckForApp()) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18697 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18700 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18701 return SWIG_Py_Void();
18704 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18705 return SWIG_Python_InitShadowInstance(args
);
18708 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18709 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18714 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18715 PyObject
*pyobj
= 0;
18719 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18721 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18728 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18729 PyObject
*resultobj
= 0;
18730 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18734 PyObject
*swig_obj
[1] ;
18736 if (!args
) SWIG_fail
;
18737 swig_obj
[0] = args
;
18738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18739 if (!SWIG_IsOK(res1
)) {
18740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18742 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18756 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
= 0;
18758 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18760 wxWindow
*result
= 0 ;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18767 char * kwnames
[] = {
18768 (char *) "self",(char *) "n", NULL
18771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18773 if (!SWIG_IsOK(res1
)) {
18774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18776 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18777 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18778 if (!SWIG_IsOK(ecode2
)) {
18779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18781 arg2
= static_cast< size_t >(val2
);
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= wxPyMake_wxObject(result
, 0);
18797 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18798 PyObject
*resultobj
= 0;
18799 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18800 wxWindow
*result
= 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_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18811 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18819 resultobj
= wxPyMake_wxObject(result
, 0);
18827 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18828 PyObject
*resultobj
= 0;
18829 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18833 PyObject
*swig_obj
[1] ;
18835 if (!args
) SWIG_fail
;
18836 swig_obj
[0] = args
;
18837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18838 if (!SWIG_IsOK(res1
)) {
18839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18841 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 resultobj
= SWIG_From_int(static_cast< int >(result
));
18855 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
= 0;
18857 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18859 wxString
*arg3
= 0 ;
18865 bool temp3
= false ;
18866 PyObject
* obj0
= 0 ;
18867 PyObject
* obj1
= 0 ;
18868 PyObject
* obj2
= 0 ;
18869 char * kwnames
[] = {
18870 (char *) "self",(char *) "n",(char *) "strText", NULL
18873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18875 if (!SWIG_IsOK(res1
)) {
18876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18878 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18879 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18880 if (!SWIG_IsOK(ecode2
)) {
18881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18883 arg2
= static_cast< size_t >(val2
);
18885 arg3
= wxString_in_helper(obj2
);
18886 if (arg3
== NULL
) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18912 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
= 0;
18914 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 PyObject
* obj1
= 0 ;
18923 char * kwnames
[] = {
18924 (char *) "self",(char *) "n", NULL
18927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18929 if (!SWIG_IsOK(res1
)) {
18930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18932 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18933 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18934 if (!SWIG_IsOK(ecode2
)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
18937 arg2
= static_cast< size_t >(val2
);
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18957 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
= 0;
18959 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18960 wxImageList
*arg2
= (wxImageList
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char * kwnames
[] = {
18968 (char *) "self",(char *) "imageList", NULL
18971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18973 if (!SWIG_IsOK(res1
)) {
18974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18976 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
18978 if (!SWIG_IsOK(res2
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18981 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 (arg1
)->SetImageList(arg2
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= SWIG_Py_Void();
18995 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
= 0;
18997 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18998 wxImageList
*arg2
= (wxImageList
*) 0 ;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 char * kwnames
[] = {
19005 (char *) "self",(char *) "imageList", NULL
19008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19010 if (!SWIG_IsOK(res1
)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19013 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19014 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19015 if (!SWIG_IsOK(res2
)) {
19016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 (arg1
)->AssignImageList(arg2
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= SWIG_Py_Void();
19031 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19032 PyObject
*resultobj
= 0;
19033 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19034 wxImageList
*result
= 0 ;
19037 PyObject
*swig_obj
[1] ;
19039 if (!args
) SWIG_fail
;
19040 swig_obj
[0] = args
;
19041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19042 if (!SWIG_IsOK(res1
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19045 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19061 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
= 0;
19063 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 char * kwnames
[] = {
19073 (char *) "self",(char *) "n", NULL
19076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19078 if (!SWIG_IsOK(res1
)) {
19079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19081 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19082 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19083 if (!SWIG_IsOK(ecode2
)) {
19084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19086 arg2
= static_cast< size_t >(val2
);
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_From_int(static_cast< int >(result
));
19100 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
= 0;
19102 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 PyObject
* obj2
= 0 ;
19115 char * kwnames
[] = {
19116 (char *) "self",(char *) "n",(char *) "imageId", NULL
19119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19121 if (!SWIG_IsOK(res1
)) {
19122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19124 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19125 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19126 if (!SWIG_IsOK(ecode2
)) {
19127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19129 arg2
= static_cast< size_t >(val2
);
19130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19131 if (!SWIG_IsOK(ecode3
)) {
19132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19134 arg3
= static_cast< int >(val3
);
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19150 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= 0;
19152 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 char * kwnames
[] = {
19160 (char *) "self",(char *) "size", NULL
19163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19165 if (!SWIG_IsOK(res1
)) {
19166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19168 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19171 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= SWIG_Py_Void();
19186 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
= 0;
19188 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char * kwnames
[] = {
19197 (char *) "self",(char *) "sizePage", NULL
19200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19205 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19208 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19223 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19224 PyObject
*resultobj
= 0;
19225 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19226 unsigned int result
;
19229 PyObject
*swig_obj
[1] ;
19231 if (!args
) SWIG_fail
;
19232 swig_obj
[0] = args
;
19233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19234 if (!SWIG_IsOK(res1
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19237 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19251 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
= 0;
19253 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19254 unsigned int arg2
;
19257 unsigned int val2
;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 char * kwnames
[] = {
19262 (char *) "self",(char *) "internalBorder", NULL
19265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19270 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19271 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19272 if (!SWIG_IsOK(ecode2
)) {
19273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19275 arg2
= static_cast< unsigned int >(val2
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 (arg1
)->SetInternalBorder(arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_Py_Void();
19289 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19290 PyObject
*resultobj
= 0;
19291 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19295 PyObject
*swig_obj
[1] ;
19297 if (!args
) SWIG_fail
;
19298 swig_obj
[0] = args
;
19299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19303 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19319 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
= 0;
19321 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 char * kwnames
[] = {
19330 (char *) "self",(char *) "margin", NULL
19333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19335 if (!SWIG_IsOK(res1
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19338 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19340 if (!SWIG_IsOK(ecode2
)) {
19341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19343 arg2
= static_cast< int >(val2
);
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 (arg1
)->SetControlMargin(arg2
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_Py_Void();
19357 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19358 PyObject
*resultobj
= 0;
19359 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19363 PyObject
*swig_obj
[1] ;
19365 if (!args
) SWIG_fail
;
19366 swig_obj
[0] = args
;
19367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19371 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= SWIG_From_int(static_cast< int >(result
));
19385 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
= 0;
19387 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 char * kwnames
[] = {
19396 (char *) "self",(char *) "fit", NULL
19399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19401 if (!SWIG_IsOK(res1
)) {
19402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19404 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19405 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19406 if (!SWIG_IsOK(ecode2
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19409 arg2
= static_cast< bool >(val2
);
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 (arg1
)->SetFitToCurrentPage(arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_Py_Void();
19423 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19424 PyObject
*resultobj
= 0;
19425 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19429 PyObject
*swig_obj
[1] ;
19431 if (!args
) SWIG_fail
;
19432 swig_obj
[0] = args
;
19433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19437 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19453 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19454 PyObject
*resultobj
= 0;
19455 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19456 wxSizer
*result
= 0 ;
19459 PyObject
*swig_obj
[1] ;
19461 if (!args
) SWIG_fail
;
19462 swig_obj
[0] = args
;
19463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19464 if (!SWIG_IsOK(res1
)) {
19465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19467 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19483 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
= 0;
19485 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char * kwnames
[] = {
19495 (char *) "self",(char *) "n", NULL
19498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19500 if (!SWIG_IsOK(res1
)) {
19501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19503 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19504 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19505 if (!SWIG_IsOK(ecode2
)) {
19506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19508 arg2
= static_cast< size_t >(val2
);
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (bool)(arg1
)->DeletePage(arg2
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19524 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 char * kwnames
[] = {
19536 (char *) "self",(char *) "n", NULL
19539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19541 if (!SWIG_IsOK(res1
)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19544 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19545 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19546 if (!SWIG_IsOK(ecode2
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19549 arg2
= static_cast< size_t >(val2
);
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (bool)(arg1
)->RemovePage(arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19565 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19566 PyObject
*resultobj
= 0;
19567 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19571 PyObject
*swig_obj
[1] ;
19573 if (!args
) SWIG_fail
;
19574 swig_obj
[0] = args
;
19575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19576 if (!SWIG_IsOK(res1
)) {
19577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19579 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (bool)(arg1
)->DeleteAllPages();
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19595 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
= 0;
19597 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19598 wxWindow
*arg2
= (wxWindow
*) 0 ;
19599 wxString
*arg3
= 0 ;
19600 bool arg4
= (bool) false ;
19601 int arg5
= (int) -1 ;
19607 bool temp3
= false ;
19612 PyObject
* obj0
= 0 ;
19613 PyObject
* obj1
= 0 ;
19614 PyObject
* obj2
= 0 ;
19615 PyObject
* obj3
= 0 ;
19616 PyObject
* obj4
= 0 ;
19617 char * kwnames
[] = {
19618 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19623 if (!SWIG_IsOK(res1
)) {
19624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19626 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19628 if (!SWIG_IsOK(res2
)) {
19629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19633 arg3
= wxString_in_helper(obj2
);
19634 if (arg3
== NULL
) SWIG_fail
;
19638 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19639 if (!SWIG_IsOK(ecode4
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19642 arg4
= static_cast< bool >(val4
);
19645 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19646 if (!SWIG_IsOK(ecode5
)) {
19647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19649 arg5
= static_cast< int >(val5
);
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19674 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
= 0;
19676 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19678 wxWindow
*arg3
= (wxWindow
*) 0 ;
19679 wxString
*arg4
= 0 ;
19680 bool arg5
= (bool) false ;
19681 int arg6
= (int) -1 ;
19689 bool temp4
= false ;
19694 PyObject
* obj0
= 0 ;
19695 PyObject
* obj1
= 0 ;
19696 PyObject
* obj2
= 0 ;
19697 PyObject
* obj3
= 0 ;
19698 PyObject
* obj4
= 0 ;
19699 PyObject
* obj5
= 0 ;
19700 char * kwnames
[] = {
19701 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19706 if (!SWIG_IsOK(res1
)) {
19707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19709 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19710 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19711 if (!SWIG_IsOK(ecode2
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19714 arg2
= static_cast< size_t >(val2
);
19715 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19716 if (!SWIG_IsOK(res3
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19719 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19721 arg4
= wxString_in_helper(obj3
);
19722 if (arg4
== NULL
) SWIG_fail
;
19726 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19727 if (!SWIG_IsOK(ecode5
)) {
19728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19730 arg5
= static_cast< bool >(val5
);
19733 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19734 if (!SWIG_IsOK(ecode6
)) {
19735 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19737 arg6
= static_cast< int >(val6
);
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19762 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
= 0;
19764 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char * kwnames
[] = {
19774 (char *) "self",(char *) "n", NULL
19777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19779 if (!SWIG_IsOK(res1
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19782 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19783 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19784 if (!SWIG_IsOK(ecode2
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19787 arg2
= static_cast< size_t >(val2
);
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (int)(arg1
)->SetSelection(arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_From_int(static_cast< int >(result
));
19801 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
= 0;
19803 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19804 bool arg2
= (bool) true ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char * kwnames
[] = {
19812 (char *) "self",(char *) "forward", NULL
19815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19817 if (!SWIG_IsOK(res1
)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19820 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19822 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19823 if (!SWIG_IsOK(ecode2
)) {
19824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19826 arg2
= static_cast< bool >(val2
);
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 (arg1
)->AdvanceSelection(arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= SWIG_Py_Void();
19841 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
= 0;
19843 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19844 SwigValueWrapper
<wxVisualAttributes
> result
;
19847 PyObject
* obj0
= 0 ;
19848 char * kwnames
[] = {
19849 (char *) "variant", NULL
19852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19855 if (!SWIG_IsOK(ecode1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19858 arg1
= static_cast< wxWindowVariant
>(val1
);
19861 if (!wxPyCheckForApp()) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19874 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19877 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19878 return SWIG_Py_Void();
19881 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
= 0;
19883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19884 int arg2
= (int) 0 ;
19885 int arg3
= (int) -1 ;
19886 int arg4
= (int) -1 ;
19887 wxBookCtrlBaseEvent
*result
= 0 ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 PyObject
* obj2
= 0 ;
19899 PyObject
* obj3
= 0 ;
19900 char * kwnames
[] = {
19901 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19907 if (!SWIG_IsOK(ecode1
)) {
19908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19910 arg1
= static_cast< wxEventType
>(val1
);
19913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19914 if (!SWIG_IsOK(ecode2
)) {
19915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19917 arg2
= static_cast< int >(val2
);
19920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19921 if (!SWIG_IsOK(ecode3
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19924 arg3
= static_cast< int >(val3
);
19927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19928 if (!SWIG_IsOK(ecode4
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19931 arg4
= static_cast< int >(val4
);
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
19946 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19947 PyObject
*resultobj
= 0;
19948 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19952 PyObject
*swig_obj
[1] ;
19954 if (!args
) SWIG_fail
;
19955 swig_obj
[0] = args
;
19956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19957 if (!SWIG_IsOK(res1
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19960 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= SWIG_From_int(static_cast< int >(result
));
19974 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
= 0;
19976 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char * kwnames
[] = {
19985 (char *) "self",(char *) "nSel", NULL
19988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19990 if (!SWIG_IsOK(res1
)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19993 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19995 if (!SWIG_IsOK(ecode2
)) {
19996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
19998 arg2
= static_cast< int >(val2
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 (arg1
)->SetSelection(arg2
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_Py_Void();
20012 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20013 PyObject
*resultobj
= 0;
20014 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20018 PyObject
*swig_obj
[1] ;
20020 if (!args
) SWIG_fail
;
20021 swig_obj
[0] = args
;
20022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20023 if (!SWIG_IsOK(res1
)) {
20024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20026 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= SWIG_From_int(static_cast< int >(result
));
20040 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
= 0;
20042 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char * kwnames
[] = {
20051 (char *) "self",(char *) "nOldSel", NULL
20054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20056 if (!SWIG_IsOK(res1
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20059 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20061 if (!SWIG_IsOK(ecode2
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20064 arg2
= static_cast< int >(val2
);
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->SetOldSelection(arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_Py_Void();
20078 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20081 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20082 return SWIG_Py_Void();
20085 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20086 return SWIG_Python_InitShadowInstance(args
);
20089 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
= 0;
20091 wxWindow
*arg1
= (wxWindow
*) 0 ;
20092 int arg2
= (int) -1 ;
20093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20097 long arg5
= (long) 0 ;
20098 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20099 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20100 wxNotebook
*result
= 0 ;
20109 bool temp6
= false ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 PyObject
* obj2
= 0 ;
20113 PyObject
* obj3
= 0 ;
20114 PyObject
* obj4
= 0 ;
20115 PyObject
* obj5
= 0 ;
20116 char * kwnames
[] = {
20117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20122 if (!SWIG_IsOK(res1
)) {
20123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20125 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20128 if (!SWIG_IsOK(ecode2
)) {
20129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20131 arg2
= static_cast< int >(val2
);
20136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20146 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20147 if (!SWIG_IsOK(ecode5
)) {
20148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20150 arg5
= static_cast< long >(val5
);
20154 arg6
= wxString_in_helper(obj5
);
20155 if (arg6
== NULL
) SWIG_fail
;
20160 if (!wxPyCheckForApp()) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20181 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20182 PyObject
*resultobj
= 0;
20183 wxNotebook
*result
= 0 ;
20185 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20187 if (!wxPyCheckForApp()) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (wxNotebook
*)new wxNotebook();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20200 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
= 0;
20202 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20203 wxWindow
*arg2
= (wxWindow
*) 0 ;
20204 int arg3
= (int) -1 ;
20205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20209 long arg6
= (long) 0 ;
20210 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20211 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20223 bool temp7
= false ;
20224 PyObject
* obj0
= 0 ;
20225 PyObject
* obj1
= 0 ;
20226 PyObject
* obj2
= 0 ;
20227 PyObject
* obj3
= 0 ;
20228 PyObject
* obj4
= 0 ;
20229 PyObject
* obj5
= 0 ;
20230 PyObject
* obj6
= 0 ;
20231 char * kwnames
[] = {
20232 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20237 if (!SWIG_IsOK(res1
)) {
20238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20240 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20242 if (!SWIG_IsOK(res2
)) {
20243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20245 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20248 if (!SWIG_IsOK(ecode3
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20251 arg3
= static_cast< int >(val3
);
20256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20266 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20267 if (!SWIG_IsOK(ecode6
)) {
20268 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20270 arg6
= static_cast< long >(val6
);
20274 arg7
= wxString_in_helper(obj6
);
20275 if (arg7
== NULL
) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20302 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20303 PyObject
*resultobj
= 0;
20304 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20308 PyObject
*swig_obj
[1] ;
20310 if (!args
) SWIG_fail
;
20311 swig_obj
[0] = args
;
20312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20313 if (!SWIG_IsOK(res1
)) {
20314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20316 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_From_int(static_cast< int >(result
));
20330 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= 0;
20332 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 char * kwnames
[] = {
20340 (char *) "self",(char *) "padding", NULL
20343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20345 if (!SWIG_IsOK(res1
)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20348 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_Py_Void();
20366 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 char * kwnames
[] = {
20376 (char *) "self",(char *) "sz", NULL
20379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20381 if (!SWIG_IsOK(res1
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20384 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20387 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_Py_Void();
20402 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
= 0;
20404 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20405 wxPoint
*arg2
= 0 ;
20406 long *arg3
= (long *) 0 ;
20412 int res3
= SWIG_TMPOBJ
;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 char * kwnames
[] = {
20416 (char *) "self",(char *) "pt", NULL
20420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20422 if (!SWIG_IsOK(res1
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20425 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_From_int(static_cast< int >(result
));
20437 if (SWIG_IsTmpObj(res3
)) {
20438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20440 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20449 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20450 PyObject
*resultobj
= 0;
20451 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20455 PyObject
*swig_obj
[1] ;
20457 if (!args
) SWIG_fail
;
20458 swig_obj
[0] = args
;
20459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20463 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20477 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
= 0;
20479 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20480 SwigValueWrapper
<wxVisualAttributes
> result
;
20483 PyObject
* obj0
= 0 ;
20484 char * kwnames
[] = {
20485 (char *) "variant", NULL
20488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20490 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20491 if (!SWIG_IsOK(ecode1
)) {
20492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20494 arg1
= static_cast< wxWindowVariant
>(val1
);
20497 if (!wxPyCheckForApp()) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20510 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20513 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20514 return SWIG_Py_Void();
20517 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20518 return SWIG_Python_InitShadowInstance(args
);
20521 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
= 0;
20523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20524 int arg2
= (int) 0 ;
20525 int arg3
= (int) -1 ;
20526 int arg4
= (int) -1 ;
20527 wxNotebookEvent
*result
= 0 ;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 PyObject
* obj2
= 0 ;
20539 PyObject
* obj3
= 0 ;
20540 char * kwnames
[] = {
20541 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20547 if (!SWIG_IsOK(ecode1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20550 arg1
= static_cast< wxEventType
>(val1
);
20553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20554 if (!SWIG_IsOK(ecode2
)) {
20555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20557 arg2
= static_cast< int >(val2
);
20560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20561 if (!SWIG_IsOK(ecode3
)) {
20562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20564 arg3
= static_cast< int >(val3
);
20567 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20568 if (!SWIG_IsOK(ecode4
)) {
20569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20571 arg4
= static_cast< int >(val4
);
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20586 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20589 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20590 return SWIG_Py_Void();
20593 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20594 return SWIG_Python_InitShadowInstance(args
);
20597 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxWindow
*arg1
= (wxWindow
*) 0 ;
20600 int arg2
= (int) -1 ;
20601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20605 long arg5
= (long) 0 ;
20606 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20608 wxListbook
*result
= 0 ;
20617 bool temp6
= false ;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20620 PyObject
* obj2
= 0 ;
20621 PyObject
* obj3
= 0 ;
20622 PyObject
* obj4
= 0 ;
20623 PyObject
* obj5
= 0 ;
20624 char * kwnames
[] = {
20625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20630 if (!SWIG_IsOK(res1
)) {
20631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20633 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20636 if (!SWIG_IsOK(ecode2
)) {
20637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20639 arg2
= static_cast< int >(val2
);
20644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20650 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20654 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20655 if (!SWIG_IsOK(ecode5
)) {
20656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20658 arg5
= static_cast< long >(val5
);
20662 arg6
= wxString_in_helper(obj5
);
20663 if (arg6
== NULL
) SWIG_fail
;
20668 if (!wxPyCheckForApp()) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20689 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20690 PyObject
*resultobj
= 0;
20691 wxListbook
*result
= 0 ;
20693 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20695 if (!wxPyCheckForApp()) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (wxListbook
*)new wxListbook();
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20708 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
= 0;
20710 wxListbook
*arg1
= (wxListbook
*) 0 ;
20711 wxWindow
*arg2
= (wxWindow
*) 0 ;
20712 int arg3
= (int) -1 ;
20713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20717 long arg6
= (long) 0 ;
20718 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20731 bool temp7
= false ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 PyObject
* obj2
= 0 ;
20735 PyObject
* obj3
= 0 ;
20736 PyObject
* obj4
= 0 ;
20737 PyObject
* obj5
= 0 ;
20738 PyObject
* obj6
= 0 ;
20739 char * kwnames
[] = {
20740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20745 if (!SWIG_IsOK(res1
)) {
20746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20748 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20750 if (!SWIG_IsOK(res2
)) {
20751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20756 if (!SWIG_IsOK(ecode3
)) {
20757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20759 arg3
= static_cast< int >(val3
);
20764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20774 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20775 if (!SWIG_IsOK(ecode6
)) {
20776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20778 arg6
= static_cast< long >(val6
);
20782 arg7
= wxString_in_helper(obj6
);
20783 if (arg7
== NULL
) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20810 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20811 PyObject
*resultobj
= 0;
20812 wxListbook
*arg1
= (wxListbook
*) 0 ;
20813 wxListView
*result
= 0 ;
20816 PyObject
*swig_obj
[1] ;
20818 if (!args
) SWIG_fail
;
20819 swig_obj
[0] = args
;
20820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20821 if (!SWIG_IsOK(res1
)) {
20822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20824 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (wxListView
*)(arg1
)->GetListView();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20838 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20841 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20842 return SWIG_Py_Void();
20845 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20846 return SWIG_Python_InitShadowInstance(args
);
20849 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
= 0;
20851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20852 int arg2
= (int) 0 ;
20853 int arg3
= (int) -1 ;
20854 int arg4
= (int) -1 ;
20855 wxListbookEvent
*result
= 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 PyObject
* obj2
= 0 ;
20867 PyObject
* obj3
= 0 ;
20868 char * kwnames
[] = {
20869 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20874 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20875 if (!SWIG_IsOK(ecode1
)) {
20876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20878 arg1
= static_cast< wxEventType
>(val1
);
20881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20882 if (!SWIG_IsOK(ecode2
)) {
20883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20885 arg2
= static_cast< int >(val2
);
20888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20889 if (!SWIG_IsOK(ecode3
)) {
20890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20892 arg3
= static_cast< int >(val3
);
20895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20896 if (!SWIG_IsOK(ecode4
)) {
20897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20899 arg4
= static_cast< int >(val4
);
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20914 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20917 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20918 return SWIG_Py_Void();
20921 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20922 return SWIG_Python_InitShadowInstance(args
);
20925 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
= 0;
20927 wxWindow
*arg1
= (wxWindow
*) 0 ;
20929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20931 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20932 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20933 long arg5
= (long) 0 ;
20934 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20935 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20936 wxChoicebook
*result
= 0 ;
20945 bool temp6
= false ;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 PyObject
* obj2
= 0 ;
20949 PyObject
* obj3
= 0 ;
20950 PyObject
* obj4
= 0 ;
20951 PyObject
* obj5
= 0 ;
20952 char * kwnames
[] = {
20953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20958 if (!SWIG_IsOK(res1
)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20961 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20963 if (!SWIG_IsOK(ecode2
)) {
20964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
20966 arg2
= static_cast< int >(val2
);
20970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20980 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20981 if (!SWIG_IsOK(ecode5
)) {
20982 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
20984 arg5
= static_cast< long >(val5
);
20988 arg6
= wxString_in_helper(obj5
);
20989 if (arg6
== NULL
) SWIG_fail
;
20994 if (!wxPyCheckForApp()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21015 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21016 PyObject
*resultobj
= 0;
21017 wxChoicebook
*result
= 0 ;
21019 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21021 if (!wxPyCheckForApp()) SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (wxChoicebook
*)new wxChoicebook();
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21034 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
= 0;
21036 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21037 wxWindow
*arg2
= (wxWindow
*) 0 ;
21039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21043 long arg6
= (long) 0 ;
21044 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21045 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21057 bool temp7
= false ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 PyObject
* obj2
= 0 ;
21061 PyObject
* obj3
= 0 ;
21062 PyObject
* obj4
= 0 ;
21063 PyObject
* obj5
= 0 ;
21064 PyObject
* obj6
= 0 ;
21065 char * kwnames
[] = {
21066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21074 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21076 if (!SWIG_IsOK(res2
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21081 if (!SWIG_IsOK(ecode3
)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21084 arg3
= static_cast< int >(val3
);
21088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21098 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21099 if (!SWIG_IsOK(ecode6
)) {
21100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21102 arg6
= static_cast< long >(val6
);
21106 arg7
= wxString_in_helper(obj6
);
21107 if (arg7
== NULL
) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21134 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21135 PyObject
*resultobj
= 0;
21136 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21137 wxChoice
*result
= 0 ;
21140 PyObject
*swig_obj
[1] ;
21142 if (!args
) SWIG_fail
;
21143 swig_obj
[0] = args
;
21144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21145 if (!SWIG_IsOK(res1
)) {
21146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21148 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21162 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21165 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21166 return SWIG_Py_Void();
21169 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21170 return SWIG_Python_InitShadowInstance(args
);
21173 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
= 0;
21175 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21176 int arg2
= (int) 0 ;
21177 int arg3
= (int) -1 ;
21178 int arg4
= (int) -1 ;
21179 wxChoicebookEvent
*result
= 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 PyObject
* obj2
= 0 ;
21191 PyObject
* obj3
= 0 ;
21192 char * kwnames
[] = {
21193 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21199 if (!SWIG_IsOK(ecode1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21202 arg1
= static_cast< wxEventType
>(val1
);
21205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21206 if (!SWIG_IsOK(ecode2
)) {
21207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21209 arg2
= static_cast< int >(val2
);
21212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21213 if (!SWIG_IsOK(ecode3
)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21216 arg3
= static_cast< int >(val3
);
21219 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21220 if (!SWIG_IsOK(ecode4
)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21223 arg4
= static_cast< int >(val4
);
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21238 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21241 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21242 return SWIG_Py_Void();
21245 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21246 return SWIG_Python_InitShadowInstance(args
);
21249 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
= 0;
21251 wxWindow
*arg1
= (wxWindow
*) 0 ;
21253 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21254 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21255 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21256 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21257 long arg5
= (long) wxBK_DEFAULT
;
21258 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21259 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21260 wxTreebook
*result
= 0 ;
21269 bool temp6
= false ;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 PyObject
* obj2
= 0 ;
21273 PyObject
* obj3
= 0 ;
21274 PyObject
* obj4
= 0 ;
21275 PyObject
* obj5
= 0 ;
21276 char * kwnames
[] = {
21277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21282 if (!SWIG_IsOK(res1
)) {
21283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21287 if (!SWIG_IsOK(ecode2
)) {
21288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21290 arg2
= static_cast< int >(val2
);
21294 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21300 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21304 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21305 if (!SWIG_IsOK(ecode5
)) {
21306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21308 arg5
= static_cast< long >(val5
);
21312 arg6
= wxString_in_helper(obj5
);
21313 if (arg6
== NULL
) SWIG_fail
;
21318 if (!wxPyCheckForApp()) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21339 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21340 PyObject
*resultobj
= 0;
21341 wxTreebook
*result
= 0 ;
21343 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21345 if (!wxPyCheckForApp()) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (wxTreebook
*)new wxTreebook();
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21358 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21361 wxWindow
*arg2
= (wxWindow
*) 0 ;
21363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21367 long arg6
= (long) wxBK_DEFAULT
;
21368 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21381 bool temp7
= false ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 PyObject
* obj2
= 0 ;
21385 PyObject
* obj3
= 0 ;
21386 PyObject
* obj4
= 0 ;
21387 PyObject
* obj5
= 0 ;
21388 PyObject
* obj6
= 0 ;
21389 char * kwnames
[] = {
21390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21395 if (!SWIG_IsOK(res1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21398 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21400 if (!SWIG_IsOK(res2
)) {
21401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21405 if (!SWIG_IsOK(ecode3
)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21408 arg3
= static_cast< int >(val3
);
21412 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21418 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21422 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21423 if (!SWIG_IsOK(ecode6
)) {
21424 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21426 arg6
= static_cast< long >(val6
);
21430 arg7
= wxString_in_helper(obj6
);
21431 if (arg7
== NULL
) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21458 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
= 0;
21460 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21462 wxWindow
*arg3
= (wxWindow
*) 0 ;
21463 wxString
*arg4
= 0 ;
21464 bool arg5
= (bool) false ;
21465 int arg6
= (int) wxNOT_FOUND
;
21473 bool temp4
= false ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 PyObject
* obj2
= 0 ;
21481 PyObject
* obj3
= 0 ;
21482 PyObject
* obj4
= 0 ;
21483 PyObject
* obj5
= 0 ;
21484 char * kwnames
[] = {
21485 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21490 if (!SWIG_IsOK(res1
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21493 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21494 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21495 if (!SWIG_IsOK(ecode2
)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21498 arg2
= static_cast< size_t >(val2
);
21499 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21500 if (!SWIG_IsOK(res3
)) {
21501 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21503 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21505 arg4
= wxString_in_helper(obj3
);
21506 if (arg4
== NULL
) SWIG_fail
;
21510 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21511 if (!SWIG_IsOK(ecode5
)) {
21512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21514 arg5
= static_cast< bool >(val5
);
21517 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21518 if (!SWIG_IsOK(ecode6
)) {
21519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21521 arg6
= static_cast< int >(val6
);
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21546 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
= 0;
21548 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21549 wxWindow
*arg2
= (wxWindow
*) 0 ;
21550 wxString
*arg3
= 0 ;
21551 bool arg4
= (bool) false ;
21552 int arg5
= (int) wxNOT_FOUND
;
21558 bool temp3
= false ;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 PyObject
* obj2
= 0 ;
21566 PyObject
* obj3
= 0 ;
21567 PyObject
* obj4
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21577 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21579 if (!SWIG_IsOK(res2
)) {
21580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21584 arg3
= wxString_in_helper(obj2
);
21585 if (arg3
== NULL
) SWIG_fail
;
21589 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21590 if (!SWIG_IsOK(ecode4
)) {
21591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21593 arg4
= static_cast< bool >(val4
);
21596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21597 if (!SWIG_IsOK(ecode5
)) {
21598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21600 arg5
= static_cast< int >(val5
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21625 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
= 0;
21627 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 char * kwnames
[] = {
21637 (char *) "self",(char *) "pos", NULL
21640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21642 if (!SWIG_IsOK(res1
)) {
21643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21645 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21646 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21647 if (!SWIG_IsOK(ecode2
)) {
21648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21650 arg2
= static_cast< size_t >(val2
);
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21666 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
= 0;
21668 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21670 bool arg3
= (bool) true ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 PyObject
* obj2
= 0 ;
21681 char * kwnames
[] = {
21682 (char *) "self",(char *) "pos",(char *) "expand", NULL
21685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21687 if (!SWIG_IsOK(res1
)) {
21688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21690 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21691 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21692 if (!SWIG_IsOK(ecode2
)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21695 arg2
= static_cast< size_t >(val2
);
21697 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21698 if (!SWIG_IsOK(ecode3
)) {
21699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21701 arg3
= static_cast< bool >(val3
);
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21718 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
= 0;
21720 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 char * kwnames
[] = {
21730 (char *) "self",(char *) "pos", NULL
21733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21735 if (!SWIG_IsOK(res1
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21738 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21739 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21740 if (!SWIG_IsOK(ecode2
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21743 arg2
= static_cast< size_t >(val2
);
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (bool)(arg1
)->CollapseNode(arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21759 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 char * kwnames
[] = {
21771 (char *) "self",(char *) "pos", NULL
21774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21776 if (!SWIG_IsOK(res1
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21779 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21780 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21781 if (!SWIG_IsOK(ecode2
)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21784 arg2
= static_cast< size_t >(val2
);
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_From_int(static_cast< int >(result
));
21798 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21799 PyObject
*resultobj
= 0;
21800 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21801 wxTreeCtrl
*result
= 0 ;
21804 PyObject
*swig_obj
[1] ;
21806 if (!args
) SWIG_fail
;
21807 swig_obj
[0] = args
;
21808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21812 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21826 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21829 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21830 return SWIG_Py_Void();
21833 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 return SWIG_Python_InitShadowInstance(args
);
21837 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
= 0;
21839 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21840 int arg2
= (int) 0 ;
21841 int arg3
= (int) wxNOT_FOUND
;
21842 int arg4
= (int) wxNOT_FOUND
;
21843 wxTreebookEvent
*result
= 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 PyObject
* obj2
= 0 ;
21855 PyObject
* obj3
= 0 ;
21856 char * kwnames
[] = {
21857 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21863 if (!SWIG_IsOK(ecode1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21866 arg1
= static_cast< wxEventType
>(val1
);
21869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21870 if (!SWIG_IsOK(ecode2
)) {
21871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21873 arg2
= static_cast< int >(val2
);
21876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21877 if (!SWIG_IsOK(ecode3
)) {
21878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21880 arg3
= static_cast< int >(val3
);
21883 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21884 if (!SWIG_IsOK(ecode4
)) {
21885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21887 arg4
= static_cast< int >(val4
);
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21902 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21905 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21906 return SWIG_Py_Void();
21909 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21910 return SWIG_Python_InitShadowInstance(args
);
21913 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
= 0;
21915 wxWindow
*arg1
= (wxWindow
*) 0 ;
21917 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21918 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21919 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21920 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21921 long arg5
= (long) wxBK_DEFAULT
;
21922 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21923 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21924 wxToolbook
*result
= 0 ;
21933 bool temp6
= false ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 PyObject
* obj3
= 0 ;
21938 PyObject
* obj4
= 0 ;
21939 PyObject
* obj5
= 0 ;
21940 char * kwnames
[] = {
21941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21946 if (!SWIG_IsOK(res1
)) {
21947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21949 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21951 if (!SWIG_IsOK(ecode2
)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
21954 arg2
= static_cast< int >(val2
);
21958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21964 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21968 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21969 if (!SWIG_IsOK(ecode5
)) {
21970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
21972 arg5
= static_cast< long >(val5
);
21976 arg6
= wxString_in_helper(obj5
);
21977 if (arg6
== NULL
) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22002 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22003 PyObject
*resultobj
= 0;
22004 wxToolbook
*result
= 0 ;
22006 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (wxToolbook
*)new wxToolbook();
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22020 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
= 0;
22022 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22023 wxWindow
*arg2
= (wxWindow
*) 0 ;
22025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22029 long arg6
= (long) 0 ;
22030 wxString
const &arg7_defvalue
= wxEmptyString
;
22031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22043 bool temp7
= false ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 PyObject
* obj2
= 0 ;
22047 PyObject
* obj3
= 0 ;
22048 PyObject
* obj4
= 0 ;
22049 PyObject
* obj5
= 0 ;
22050 PyObject
* obj6
= 0 ;
22051 char * kwnames
[] = {
22052 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22057 if (!SWIG_IsOK(res1
)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22060 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22062 if (!SWIG_IsOK(res2
)) {
22063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22067 if (!SWIG_IsOK(ecode3
)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22070 arg3
= static_cast< int >(val3
);
22074 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22080 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22084 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22085 if (!SWIG_IsOK(ecode6
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22088 arg6
= static_cast< long >(val6
);
22092 arg7
= wxString_in_helper(obj6
);
22093 if (arg7
== NULL
) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22120 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22121 PyObject
*resultobj
= 0;
22122 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22123 wxToolBarBase
*result
= 0 ;
22126 PyObject
*swig_obj
[1] ;
22128 if (!args
) SWIG_fail
;
22129 swig_obj
[0] = args
;
22130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22131 if (!SWIG_IsOK(res1
)) {
22132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22134 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22150 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22151 PyObject
*resultobj
= 0;
22152 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22155 PyObject
*swig_obj
[1] ;
22157 if (!args
) SWIG_fail
;
22158 swig_obj
[0] = args
;
22159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22160 if (!SWIG_IsOK(res1
)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22163 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_Py_Void();
22177 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22180 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22181 return SWIG_Py_Void();
22184 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 return SWIG_Python_InitShadowInstance(args
);
22188 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
= 0;
22190 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22191 int arg2
= (int) 0 ;
22192 int arg3
= (int) wxNOT_FOUND
;
22193 int arg4
= (int) wxNOT_FOUND
;
22194 wxToolbookEvent
*result
= 0 ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 PyObject
* obj2
= 0 ;
22206 PyObject
* obj3
= 0 ;
22207 char * kwnames
[] = {
22208 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22213 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22214 if (!SWIG_IsOK(ecode1
)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22217 arg1
= static_cast< wxEventType
>(val1
);
22220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22221 if (!SWIG_IsOK(ecode2
)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22224 arg2
= static_cast< int >(val2
);
22227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22228 if (!SWIG_IsOK(ecode3
)) {
22229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22231 arg3
= static_cast< int >(val3
);
22234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22235 if (!SWIG_IsOK(ecode4
)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22238 arg4
= static_cast< int >(val4
);
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22253 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22256 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22257 return SWIG_Py_Void();
22260 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 return SWIG_Python_InitShadowInstance(args
);
22264 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22265 PyObject
*resultobj
= 0;
22266 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22270 PyObject
*swig_obj
[1] ;
22272 if (!args
) SWIG_fail
;
22273 swig_obj
[0] = args
;
22274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22278 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (int)(arg1
)->GetId();
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_From_int(static_cast< int >(result
));
22292 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22293 PyObject
*resultobj
= 0;
22294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22295 wxControl
*result
= 0 ;
22298 PyObject
*swig_obj
[1] ;
22300 if (!args
) SWIG_fail
;
22301 swig_obj
[0] = args
;
22302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22303 if (!SWIG_IsOK(res1
)) {
22304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22306 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (wxControl
*)(arg1
)->GetControl();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= wxPyMake_wxObject(result
, 0);
22322 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22323 PyObject
*resultobj
= 0;
22324 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22325 wxToolBarBase
*result
= 0 ;
22328 PyObject
*swig_obj
[1] ;
22330 if (!args
) SWIG_fail
;
22331 swig_obj
[0] = args
;
22332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22333 if (!SWIG_IsOK(res1
)) {
22334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22336 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22352 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22353 PyObject
*resultobj
= 0;
22354 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22358 PyObject
*swig_obj
[1] ;
22360 if (!args
) SWIG_fail
;
22361 swig_obj
[0] = args
;
22362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22363 if (!SWIG_IsOK(res1
)) {
22364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22366 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (int)(arg1
)->IsButton();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_From_int(static_cast< int >(result
));
22380 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22381 PyObject
*resultobj
= 0;
22382 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22386 PyObject
*swig_obj
[1] ;
22388 if (!args
) SWIG_fail
;
22389 swig_obj
[0] = args
;
22390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22394 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (int)(arg1
)->IsControl();
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= SWIG_From_int(static_cast< int >(result
));
22408 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 PyObject
*resultobj
= 0;
22410 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22414 PyObject
*swig_obj
[1] ;
22416 if (!args
) SWIG_fail
;
22417 swig_obj
[0] = args
;
22418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22422 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 result
= (int)(arg1
)->IsSeparator();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_From_int(static_cast< int >(result
));
22436 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22437 PyObject
*resultobj
= 0;
22438 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22442 PyObject
*swig_obj
[1] ;
22444 if (!args
) SWIG_fail
;
22445 swig_obj
[0] = args
;
22446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22447 if (!SWIG_IsOK(res1
)) {
22448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22450 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= (int)(arg1
)->GetStyle();
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= SWIG_From_int(static_cast< int >(result
));
22464 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22465 PyObject
*resultobj
= 0;
22466 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22470 PyObject
*swig_obj
[1] ;
22472 if (!args
) SWIG_fail
;
22473 swig_obj
[0] = args
;
22474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22475 if (!SWIG_IsOK(res1
)) {
22476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22478 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 result
= (wxItemKind
)(arg1
)->GetKind();
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= SWIG_From_int(static_cast< int >(result
));
22492 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22493 PyObject
*resultobj
= 0;
22494 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22498 PyObject
*swig_obj
[1] ;
22500 if (!args
) SWIG_fail
;
22501 swig_obj
[0] = args
;
22502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22503 if (!SWIG_IsOK(res1
)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22506 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= (bool)(arg1
)->IsEnabled();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22523 PyObject
*resultobj
= 0;
22524 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22528 PyObject
*swig_obj
[1] ;
22530 if (!args
) SWIG_fail
;
22531 swig_obj
[0] = args
;
22532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22536 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (bool)(arg1
)->IsToggled();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22552 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22553 PyObject
*resultobj
= 0;
22554 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22558 PyObject
*swig_obj
[1] ;
22560 if (!args
) SWIG_fail
;
22561 swig_obj
[0] = args
;
22562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22563 if (!SWIG_IsOK(res1
)) {
22564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22566 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (bool)(arg1
)->CanBeToggled();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22582 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22583 PyObject
*resultobj
= 0;
22584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22585 wxBitmap
*result
= 0 ;
22588 PyObject
*swig_obj
[1] ;
22590 if (!args
) SWIG_fail
;
22591 swig_obj
[0] = args
;
22592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22593 if (!SWIG_IsOK(res1
)) {
22594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22596 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22601 result
= (wxBitmap
*) &_result_ref
;
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 wxBitmap
* resultptr
= new wxBitmap(*result
);
22608 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22616 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22617 PyObject
*resultobj
= 0;
22618 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22619 wxBitmap
*result
= 0 ;
22622 PyObject
*swig_obj
[1] ;
22624 if (!args
) SWIG_fail
;
22625 swig_obj
[0] = args
;
22626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22627 if (!SWIG_IsOK(res1
)) {
22628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22630 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22635 result
= (wxBitmap
*) &_result_ref
;
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22641 wxBitmap
* resultptr
= new wxBitmap(*result
);
22642 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22650 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22651 PyObject
*resultobj
= 0;
22652 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22656 PyObject
*swig_obj
[1] ;
22658 if (!args
) SWIG_fail
;
22659 swig_obj
[0] = args
;
22660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22664 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (arg1
)->GetBitmap();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22678 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22679 PyObject
*resultobj
= 0;
22680 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22684 PyObject
*swig_obj
[1] ;
22686 if (!args
) SWIG_fail
;
22687 swig_obj
[0] = args
;
22688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22692 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (arg1
)->GetLabel();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22712 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22713 PyObject
*resultobj
= 0;
22714 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22718 PyObject
*swig_obj
[1] ;
22720 if (!args
) SWIG_fail
;
22721 swig_obj
[0] = args
;
22722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22723 if (!SWIG_IsOK(res1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22726 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (arg1
)->GetShortHelp();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22746 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22747 PyObject
*resultobj
= 0;
22748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22752 PyObject
*swig_obj
[1] ;
22754 if (!args
) SWIG_fail
;
22755 swig_obj
[0] = args
;
22756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22757 if (!SWIG_IsOK(res1
)) {
22758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22760 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= (arg1
)->GetLongHelp();
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22780 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
= 0;
22782 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 char * kwnames
[] = {
22792 (char *) "self",(char *) "enable", NULL
22795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22800 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22801 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22802 if (!SWIG_IsOK(ecode2
)) {
22803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22805 arg2
= static_cast< bool >(val2
);
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (bool)(arg1
)->Enable(arg2
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22821 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22822 PyObject
*resultobj
= 0;
22823 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22826 PyObject
*swig_obj
[1] ;
22828 if (!args
) SWIG_fail
;
22829 swig_obj
[0] = args
;
22830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22831 if (!SWIG_IsOK(res1
)) {
22832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22834 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_Py_Void();
22848 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
= 0;
22850 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 PyObject
* obj1
= 0 ;
22859 char * kwnames
[] = {
22860 (char *) "self",(char *) "toggle", NULL
22863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22865 if (!SWIG_IsOK(res1
)) {
22866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22868 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22869 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22870 if (!SWIG_IsOK(ecode2
)) {
22871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22873 arg2
= static_cast< bool >(val2
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (bool)(arg1
)->SetToggle(arg2
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22889 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
= 0;
22891 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22892 wxString
*arg2
= 0 ;
22896 bool temp2
= false ;
22897 PyObject
* obj0
= 0 ;
22898 PyObject
* obj1
= 0 ;
22899 char * kwnames
[] = {
22900 (char *) "self",(char *) "help", NULL
22903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22905 if (!SWIG_IsOK(res1
)) {
22906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22908 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22910 arg2
= wxString_in_helper(obj1
);
22911 if (arg2
== NULL
) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22937 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
= 0;
22939 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22940 wxString
*arg2
= 0 ;
22944 bool temp2
= false ;
22945 PyObject
* obj0
= 0 ;
22946 PyObject
* obj1
= 0 ;
22947 char * kwnames
[] = {
22948 (char *) "self",(char *) "help", NULL
22951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22953 if (!SWIG_IsOK(res1
)) {
22954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22956 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22958 arg2
= wxString_in_helper(obj1
);
22959 if (arg2
== NULL
) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22985 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
= 0;
22987 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22988 wxBitmap
*arg2
= 0 ;
22993 PyObject
* obj0
= 0 ;
22994 PyObject
* obj1
= 0 ;
22995 char * kwnames
[] = {
22996 (char *) "self",(char *) "bmp", NULL
22999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23001 if (!SWIG_IsOK(res1
)) {
23002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23004 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23006 if (!SWIG_IsOK(res2
)) {
23007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_Py_Void();
23026 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
= 0;
23028 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23029 wxBitmap
*arg2
= 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 char * kwnames
[] = {
23037 (char *) "self",(char *) "bmp", NULL
23040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23045 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23047 if (!SWIG_IsOK(res2
)) {
23048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23053 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_Py_Void();
23067 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
= 0;
23069 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23070 wxString
*arg2
= 0 ;
23073 bool temp2
= false ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char * kwnames
[] = {
23077 (char *) "self",(char *) "label", NULL
23080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23085 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23087 arg2
= wxString_in_helper(obj1
);
23088 if (arg2
== NULL
) SWIG_fail
;
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 (arg1
)->SetLabel((wxString
const &)*arg2
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_Py_Void();
23112 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23113 PyObject
*resultobj
= 0;
23114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23117 PyObject
*swig_obj
[1] ;
23119 if (!args
) SWIG_fail
;
23120 swig_obj
[0] = args
;
23121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23125 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_Py_Void();
23139 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
= 0;
23141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23142 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23147 PyObject
* obj0
= 0 ;
23148 PyObject
* obj1
= 0 ;
23149 char * kwnames
[] = {
23150 (char *) "self",(char *) "tbar", NULL
23153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23155 if (!SWIG_IsOK(res1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23158 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23160 if (!SWIG_IsOK(res2
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23163 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 (arg1
)->Attach(arg2
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_Py_Void();
23177 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23178 PyObject
*resultobj
= 0;
23179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23180 PyObject
*result
= 0 ;
23183 PyObject
*swig_obj
[1] ;
23185 if (!args
) SWIG_fail
;
23186 swig_obj
[0] = args
;
23187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23191 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= result
;
23205 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= 0;
23207 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23208 PyObject
*arg2
= (PyObject
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 PyObject
* obj1
= 0 ;
23213 char * kwnames
[] = {
23214 (char *) "self",(char *) "clientData", NULL
23217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23219 if (!SWIG_IsOK(res1
)) {
23220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23222 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_Py_Void();
23237 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23240 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23241 return SWIG_Py_Void();
23244 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
= 0;
23246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23248 wxString
*arg3
= 0 ;
23249 wxBitmap
*arg4
= 0 ;
23250 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23251 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23252 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23253 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23254 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23255 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23256 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23257 PyObject
*arg9
= (PyObject
*) NULL
;
23258 wxToolBarToolBase
*result
= 0 ;
23263 bool temp3
= false ;
23270 bool temp7
= false ;
23271 bool temp8
= false ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 PyObject
* obj2
= 0 ;
23275 PyObject
* obj3
= 0 ;
23276 PyObject
* obj4
= 0 ;
23277 PyObject
* obj5
= 0 ;
23278 PyObject
* obj6
= 0 ;
23279 PyObject
* obj7
= 0 ;
23280 PyObject
* obj8
= 0 ;
23281 char * kwnames
[] = {
23282 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23290 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23292 if (!SWIG_IsOK(ecode2
)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23295 arg2
= static_cast< int >(val2
);
23297 arg3
= wxString_in_helper(obj2
);
23298 if (arg3
== NULL
) SWIG_fail
;
23301 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23302 if (!SWIG_IsOK(res4
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23308 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23310 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23311 if (!SWIG_IsOK(res5
)) {
23312 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23317 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23320 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23321 if (!SWIG_IsOK(ecode6
)) {
23322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23324 arg6
= static_cast< wxItemKind
>(val6
);
23328 arg7
= wxString_in_helper(obj6
);
23329 if (arg7
== NULL
) SWIG_fail
;
23335 arg8
= wxString_in_helper(obj7
);
23336 if (arg8
== NULL
) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23382 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
= 0;
23384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23387 wxString
*arg4
= 0 ;
23388 wxBitmap
*arg5
= 0 ;
23389 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23390 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23391 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23392 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23393 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23394 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23395 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23396 PyObject
*arg10
= (PyObject
*) NULL
;
23397 wxToolBarToolBase
*result
= 0 ;
23404 bool temp4
= false ;
23411 bool temp8
= false ;
23412 bool temp9
= false ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 PyObject
* obj4
= 0 ;
23418 PyObject
* obj5
= 0 ;
23419 PyObject
* obj6
= 0 ;
23420 PyObject
* obj7
= 0 ;
23421 PyObject
* obj8
= 0 ;
23422 PyObject
* obj9
= 0 ;
23423 char * kwnames
[] = {
23424 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23429 if (!SWIG_IsOK(res1
)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23432 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23433 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23434 if (!SWIG_IsOK(ecode2
)) {
23435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23437 arg2
= static_cast< size_t >(val2
);
23438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23439 if (!SWIG_IsOK(ecode3
)) {
23440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23442 arg3
= static_cast< int >(val3
);
23444 arg4
= wxString_in_helper(obj3
);
23445 if (arg4
== NULL
) SWIG_fail
;
23448 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23449 if (!SWIG_IsOK(res5
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23455 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23457 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23458 if (!SWIG_IsOK(res6
)) {
23459 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23464 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23467 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23468 if (!SWIG_IsOK(ecode7
)) {
23469 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23471 arg7
= static_cast< wxItemKind
>(val7
);
23475 arg8
= wxString_in_helper(obj7
);
23476 if (arg8
== NULL
) SWIG_fail
;
23482 arg9
= wxString_in_helper(obj8
);
23483 if (arg9
== NULL
) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23529 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23531 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23532 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23533 wxToolBarToolBase
*result
= 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "self",(char *) "tool", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23549 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23551 if (!SWIG_IsOK(res2
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23554 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23570 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
= 0;
23572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23574 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23575 wxToolBarToolBase
*result
= 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 PyObject
* obj2
= 0 ;
23585 char * kwnames
[] = {
23586 (char *) "self",(char *) "pos",(char *) "tool", NULL
23589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23594 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23595 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23596 if (!SWIG_IsOK(ecode2
)) {
23597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23599 arg2
= static_cast< size_t >(val2
);
23600 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23601 if (!SWIG_IsOK(res3
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23604 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23620 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
= 0;
23622 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23623 wxControl
*arg2
= (wxControl
*) 0 ;
23624 wxToolBarToolBase
*result
= 0 ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char * kwnames
[] = {
23632 (char *) "self",(char *) "control", NULL
23635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23637 if (!SWIG_IsOK(res1
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23640 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23642 if (!SWIG_IsOK(res2
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23645 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23661 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
= 0;
23663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23665 wxControl
*arg3
= (wxControl
*) 0 ;
23666 wxToolBarToolBase
*result
= 0 ;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 PyObject
* obj2
= 0 ;
23676 char * kwnames
[] = {
23677 (char *) "self",(char *) "pos",(char *) "control", NULL
23680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23682 if (!SWIG_IsOK(res1
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23686 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23687 if (!SWIG_IsOK(ecode2
)) {
23688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23690 arg2
= static_cast< size_t >(val2
);
23691 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23692 if (!SWIG_IsOK(res3
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23695 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23711 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= 0;
23713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23715 wxControl
*result
= 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char * kwnames
[] = {
23723 (char *) "self",(char *) "id", NULL
23726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23728 if (!SWIG_IsOK(res1
)) {
23729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23731 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23733 if (!SWIG_IsOK(ecode2
)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23736 arg2
= static_cast< int >(val2
);
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= wxPyMake_wxObject(result
, 0);
23752 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23753 PyObject
*resultobj
= 0;
23754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23755 wxToolBarToolBase
*result
= 0 ;
23758 PyObject
*swig_obj
[1] ;
23760 if (!args
) SWIG_fail
;
23761 swig_obj
[0] = args
;
23762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23766 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23782 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
= 0;
23784 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23786 wxToolBarToolBase
*result
= 0 ;
23791 PyObject
* obj0
= 0 ;
23792 PyObject
* obj1
= 0 ;
23793 char * kwnames
[] = {
23794 (char *) "self",(char *) "pos", NULL
23797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23799 if (!SWIG_IsOK(res1
)) {
23800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23802 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23803 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23804 if (!SWIG_IsOK(ecode2
)) {
23805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23807 arg2
= static_cast< size_t >(val2
);
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23823 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= 0;
23825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23827 wxToolBarToolBase
*result
= 0 ;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char * kwnames
[] = {
23835 (char *) "self",(char *) "id", NULL
23838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23840 if (!SWIG_IsOK(res1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23843 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23845 if (!SWIG_IsOK(ecode2
)) {
23846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23848 arg2
= static_cast< int >(val2
);
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23864 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
= 0;
23866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 PyObject
* obj1
= 0 ;
23875 char * kwnames
[] = {
23876 (char *) "self",(char *) "pos", NULL
23879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23881 if (!SWIG_IsOK(res1
)) {
23882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23884 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23885 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23886 if (!SWIG_IsOK(ecode2
)) {
23887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23889 arg2
= static_cast< size_t >(val2
);
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
= 0;
23907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 char * kwnames
[] = {
23917 (char *) "self",(char *) "id", NULL
23920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23922 if (!SWIG_IsOK(res1
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23925 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23927 if (!SWIG_IsOK(ecode2
)) {
23928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23930 arg2
= static_cast< int >(val2
);
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (bool)(arg1
)->DeleteTool(arg2
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23946 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23947 PyObject
*resultobj
= 0;
23948 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23951 PyObject
*swig_obj
[1] ;
23953 if (!args
) SWIG_fail
;
23954 swig_obj
[0] = args
;
23955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23956 if (!SWIG_IsOK(res1
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23959 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 (arg1
)->ClearTools();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_Py_Void();
23973 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23974 PyObject
*resultobj
= 0;
23975 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23979 PyObject
*swig_obj
[1] ;
23981 if (!args
) SWIG_fail
;
23982 swig_obj
[0] = args
;
23983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23984 if (!SWIG_IsOK(res1
)) {
23985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23987 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (bool)(arg1
)->Realize();
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24003 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
= 0;
24005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 PyObject
* obj2
= 0 ;
24017 char * kwnames
[] = {
24018 (char *) "self",(char *) "id",(char *) "enable", NULL
24021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24026 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24028 if (!SWIG_IsOK(ecode2
)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24031 arg2
= static_cast< int >(val2
);
24032 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24033 if (!SWIG_IsOK(ecode3
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24036 arg3
= static_cast< bool >(val3
);
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 (arg1
)->EnableTool(arg2
,arg3
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= SWIG_Py_Void();
24050 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
= 0;
24052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "self",(char *) "id",(char *) "toggle", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24073 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24075 if (!SWIG_IsOK(ecode2
)) {
24076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24078 arg2
= static_cast< int >(val2
);
24079 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24080 if (!SWIG_IsOK(ecode3
)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24083 arg3
= static_cast< bool >(val3
);
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->ToggleTool(arg2
,arg3
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_Py_Void();
24097 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 PyObject
* obj2
= 0 ;
24111 char * kwnames
[] = {
24112 (char *) "self",(char *) "id",(char *) "toggle", NULL
24115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24120 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24122 if (!SWIG_IsOK(ecode2
)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24125 arg2
= static_cast< int >(val2
);
24126 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24127 if (!SWIG_IsOK(ecode3
)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24130 arg3
= static_cast< bool >(val3
);
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 (arg1
)->SetToggle(arg2
,arg3
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= SWIG_Py_Void();
24144 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
= 0;
24146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24148 PyObject
*result
= 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "self",(char *) "id", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24164 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24166 if (!SWIG_IsOK(ecode2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24169 arg2
= static_cast< int >(val2
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= result
;
24183 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
= 0;
24185 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24187 PyObject
*arg3
= (PyObject
*) 0 ;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 PyObject
* obj2
= 0 ;
24195 char * kwnames
[] = {
24196 (char *) "self",(char *) "id",(char *) "clientData", NULL
24199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24201 if (!SWIG_IsOK(res1
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24204 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24206 if (!SWIG_IsOK(ecode2
)) {
24207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24209 arg2
= static_cast< int >(val2
);
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_Py_Void();
24224 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
= 0;
24226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 char * kwnames
[] = {
24236 (char *) "self",(char *) "id", NULL
24239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24244 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24246 if (!SWIG_IsOK(ecode2
)) {
24247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24249 arg2
= static_cast< int >(val2
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_From_int(static_cast< int >(result
));
24263 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
= 0;
24265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "self",(char *) "id", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24283 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24285 if (!SWIG_IsOK(ecode2
)) {
24286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24288 arg2
= static_cast< int >(val2
);
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)(arg1
)->GetToolState(arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24304 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
= 0;
24306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 char * kwnames
[] = {
24316 (char *) "self",(char *) "id", NULL
24319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24321 if (!SWIG_IsOK(res1
)) {
24322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24324 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24326 if (!SWIG_IsOK(ecode2
)) {
24327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24329 arg2
= static_cast< int >(val2
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24345 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
= 0;
24347 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24349 wxString
*arg3
= 0 ;
24354 bool temp3
= false ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 PyObject
* obj2
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "id",(char *) "helpString", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24367 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24372 arg2
= static_cast< int >(val2
);
24374 arg3
= wxString_in_helper(obj2
);
24375 if (arg3
== NULL
) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_Py_Void();
24399 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
= 0;
24401 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char * kwnames
[] = {
24411 (char *) "self",(char *) "id", NULL
24414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24416 if (!SWIG_IsOK(res1
)) {
24417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24419 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24421 if (!SWIG_IsOK(ecode2
)) {
24422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24424 arg2
= static_cast< int >(val2
);
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (arg1
)->GetToolShortHelp(arg2
);
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24444 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24448 wxString
*arg3
= 0 ;
24453 bool temp3
= false ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj2
= 0 ;
24457 char * kwnames
[] = {
24458 (char *) "self",(char *) "id",(char *) "helpString", NULL
24461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24463 if (!SWIG_IsOK(res1
)) {
24464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24466 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24468 if (!SWIG_IsOK(ecode2
)) {
24469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24471 arg2
= static_cast< int >(val2
);
24473 arg3
= wxString_in_helper(obj2
);
24474 if (arg3
== NULL
) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= SWIG_Py_Void();
24498 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
= 0;
24500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char * kwnames
[] = {
24510 (char *) "self",(char *) "id", NULL
24513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24515 if (!SWIG_IsOK(res1
)) {
24516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24518 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24520 if (!SWIG_IsOK(ecode2
)) {
24521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24523 arg2
= static_cast< int >(val2
);
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (arg1
)->GetToolLongHelp(arg2
);
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24543 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
= 0;
24545 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 PyObject
* obj2
= 0 ;
24557 char * kwnames
[] = {
24558 (char *) "self",(char *) "x",(char *) "y", NULL
24561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24566 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24568 if (!SWIG_IsOK(ecode2
)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24571 arg2
= static_cast< int >(val2
);
24572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24573 if (!SWIG_IsOK(ecode3
)) {
24574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24576 arg3
= static_cast< int >(val3
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 (arg1
)->SetMargins(arg2
,arg3
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_Py_Void();
24590 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
= 0;
24592 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 char * kwnames
[] = {
24600 (char *) "self",(char *) "size", NULL
24603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24605 if (!SWIG_IsOK(res1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24608 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24611 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= SWIG_Py_Void();
24626 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
= 0;
24628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 char * kwnames
[] = {
24637 (char *) "self",(char *) "packing", NULL
24640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24642 if (!SWIG_IsOK(res1
)) {
24643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24645 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24647 if (!SWIG_IsOK(ecode2
)) {
24648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24650 arg2
= static_cast< int >(val2
);
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 (arg1
)->SetToolPacking(arg2
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= SWIG_Py_Void();
24664 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
= 0;
24666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char * kwnames
[] = {
24675 (char *) "self",(char *) "separation", NULL
24678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24683 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24685 if (!SWIG_IsOK(ecode2
)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24688 arg2
= static_cast< int >(val2
);
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->SetToolSeparation(arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_Py_Void();
24702 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24703 PyObject
*resultobj
= 0;
24704 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24708 PyObject
*swig_obj
[1] ;
24710 if (!args
) SWIG_fail
;
24711 swig_obj
[0] = args
;
24712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24713 if (!SWIG_IsOK(res1
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24716 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (arg1
)->GetToolMargins();
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24730 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24731 PyObject
*resultobj
= 0;
24732 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24736 PyObject
*swig_obj
[1] ;
24738 if (!args
) SWIG_fail
;
24739 swig_obj
[0] = args
;
24740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24744 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (arg1
)->GetMargins();
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24758 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24759 PyObject
*resultobj
= 0;
24760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24764 PyObject
*swig_obj
[1] ;
24766 if (!args
) SWIG_fail
;
24767 swig_obj
[0] = args
;
24768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24772 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (int)(arg1
)->GetToolPacking();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= SWIG_From_int(static_cast< int >(result
));
24786 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 PyObject
*resultobj
= 0;
24788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24792 PyObject
*swig_obj
[1] ;
24794 if (!args
) SWIG_fail
;
24795 swig_obj
[0] = args
;
24796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24800 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (int)(arg1
)->GetToolSeparation();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_From_int(static_cast< int >(result
));
24814 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
= 0;
24816 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "self",(char *) "nRows", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24833 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24835 if (!SWIG_IsOK(ecode2
)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24838 arg2
= static_cast< int >(val2
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 (arg1
)->SetRows(arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_Py_Void();
24852 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
= 0;
24854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 PyObject
* obj2
= 0 ;
24866 char * kwnames
[] = {
24867 (char *) "self",(char *) "rows",(char *) "cols", NULL
24870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24872 if (!SWIG_IsOK(res1
)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24875 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24877 if (!SWIG_IsOK(ecode2
)) {
24878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24880 arg2
= static_cast< int >(val2
);
24881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24882 if (!SWIG_IsOK(ecode3
)) {
24883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24885 arg3
= static_cast< int >(val3
);
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= SWIG_Py_Void();
24899 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24900 PyObject
*resultobj
= 0;
24901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24905 PyObject
*swig_obj
[1] ;
24907 if (!args
) SWIG_fail
;
24908 swig_obj
[0] = args
;
24909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24910 if (!SWIG_IsOK(res1
)) {
24911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24913 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (int)(arg1
)->GetMaxRows();
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_From_int(static_cast< int >(result
));
24927 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24928 PyObject
*resultobj
= 0;
24929 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24933 PyObject
*swig_obj
[1] ;
24935 if (!args
) SWIG_fail
;
24936 swig_obj
[0] = args
;
24937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24941 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (int)(arg1
)->GetMaxCols();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= SWIG_From_int(static_cast< int >(result
));
24955 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
= 0;
24957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 char * kwnames
[] = {
24965 (char *) "self",(char *) "size", NULL
24968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24970 if (!SWIG_IsOK(res1
)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24973 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24976 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_Py_Void();
24991 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24992 PyObject
*resultobj
= 0;
24993 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24997 PyObject
*swig_obj
[1] ;
24999 if (!args
) SWIG_fail
;
25000 swig_obj
[0] = args
;
25001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25005 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 result
= (arg1
)->GetToolBitmapSize();
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25019 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25020 PyObject
*resultobj
= 0;
25021 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25025 PyObject
*swig_obj
[1] ;
25027 if (!args
) SWIG_fail
;
25028 swig_obj
[0] = args
;
25029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25030 if (!SWIG_IsOK(res1
)) {
25031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25033 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= (arg1
)->GetToolSize();
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25047 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
= 0;
25049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25052 wxToolBarToolBase
*result
= 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 PyObject
* obj2
= 0 ;
25062 char * kwnames
[] = {
25063 (char *) "self",(char *) "x",(char *) "y", NULL
25066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25071 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25073 if (!SWIG_IsOK(ecode2
)) {
25074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25076 arg2
= static_cast< int >(val2
);
25077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25078 if (!SWIG_IsOK(ecode3
)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25081 arg3
= static_cast< int >(val3
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25097 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
= 0;
25099 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25101 wxToolBarToolBase
*result
= 0 ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char * kwnames
[] = {
25109 (char *) "self",(char *) "toolid", NULL
25112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25114 if (!SWIG_IsOK(res1
)) {
25115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25117 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25119 if (!SWIG_IsOK(ecode2
)) {
25120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25122 arg2
= static_cast< int >(val2
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25138 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25139 PyObject
*resultobj
= 0;
25140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25144 PyObject
*swig_obj
[1] ;
25146 if (!args
) SWIG_fail
;
25147 swig_obj
[0] = args
;
25148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25152 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= (bool)(arg1
)->IsVertical();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25168 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25169 PyObject
*resultobj
= 0;
25170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25174 PyObject
*swig_obj
[1] ;
25176 if (!args
) SWIG_fail
;
25177 swig_obj
[0] = args
;
25178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25179 if (!SWIG_IsOK(res1
)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25182 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25196 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25199 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25200 return SWIG_Py_Void();
25203 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
= 0;
25205 wxWindow
*arg1
= (wxWindow
*) 0 ;
25206 int arg2
= (int) -1 ;
25207 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25208 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25209 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25210 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25211 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25212 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25213 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25214 wxToolBar
*result
= 0 ;
25223 bool temp6
= false ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 PyObject
* obj2
= 0 ;
25227 PyObject
* obj3
= 0 ;
25228 PyObject
* obj4
= 0 ;
25229 PyObject
* obj5
= 0 ;
25230 char * kwnames
[] = {
25231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25242 if (!SWIG_IsOK(ecode2
)) {
25243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25245 arg2
= static_cast< int >(val2
);
25250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25256 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25260 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25261 if (!SWIG_IsOK(ecode5
)) {
25262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25264 arg5
= static_cast< long >(val5
);
25268 arg6
= wxString_in_helper(obj5
);
25269 if (arg6
== NULL
) SWIG_fail
;
25274 if (!wxPyCheckForApp()) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25295 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25296 PyObject
*resultobj
= 0;
25297 wxToolBar
*result
= 0 ;
25299 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25301 if (!wxPyCheckForApp()) SWIG_fail
;
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 result
= (wxToolBar
*)new wxToolBar();
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25314 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
= 0;
25316 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25317 wxWindow
*arg2
= (wxWindow
*) 0 ;
25318 int arg3
= (int) -1 ;
25319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25323 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25324 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25337 bool temp7
= false ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 PyObject
* obj2
= 0 ;
25341 PyObject
* obj3
= 0 ;
25342 PyObject
* obj4
= 0 ;
25343 PyObject
* obj5
= 0 ;
25344 PyObject
* obj6
= 0 ;
25345 char * kwnames
[] = {
25346 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25351 if (!SWIG_IsOK(res1
)) {
25352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25354 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25356 if (!SWIG_IsOK(res2
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25359 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25362 if (!SWIG_IsOK(ecode3
)) {
25363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25365 arg3
= static_cast< int >(val3
);
25370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25380 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25381 if (!SWIG_IsOK(ecode6
)) {
25382 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25384 arg6
= static_cast< long >(val6
);
25388 arg7
= wxString_in_helper(obj6
);
25389 if (arg7
== NULL
) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25416 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
= 0;
25418 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25419 SwigValueWrapper
<wxVisualAttributes
> result
;
25422 PyObject
* obj0
= 0 ;
25423 char * kwnames
[] = {
25424 (char *) "variant", NULL
25427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25429 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25430 if (!SWIG_IsOK(ecode1
)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25433 arg1
= static_cast< wxWindowVariant
>(val1
);
25436 if (!wxPyCheckForApp()) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25449 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25452 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25453 return SWIG_Py_Void();
25456 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25457 return SWIG_Python_InitShadowInstance(args
);
25460 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25461 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25466 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25467 PyObject
*pyobj
= 0;
25471 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25473 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25480 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
= 0;
25482 wxColour
const &arg1_defvalue
= wxNullColour
;
25483 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25484 wxColour
const &arg2_defvalue
= wxNullColour
;
25485 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25486 wxFont
const &arg3_defvalue
= wxNullFont
;
25487 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25488 wxListItemAttr
*result
= 0 ;
25493 PyObject
* obj0
= 0 ;
25494 PyObject
* obj1
= 0 ;
25495 PyObject
* obj2
= 0 ;
25496 char * kwnames
[] = {
25497 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25504 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25514 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25515 if (!SWIG_IsOK(res3
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25521 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25536 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25537 PyObject
*resultobj
= 0;
25538 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25541 PyObject
*swig_obj
[1] ;
25543 if (!args
) SWIG_fail
;
25544 swig_obj
[0] = args
;
25545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25546 if (!SWIG_IsOK(res1
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25549 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= SWIG_Py_Void();
25564 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
= 0;
25566 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25567 wxColour
*arg2
= 0 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 char * kwnames
[] = {
25574 (char *) "self",(char *) "colText", NULL
25577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25579 if (!SWIG_IsOK(res1
)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25582 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_Py_Void();
25600 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
= 0;
25602 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25603 wxColour
*arg2
= 0 ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 char * kwnames
[] = {
25610 (char *) "self",(char *) "colBack", NULL
25613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25615 if (!SWIG_IsOK(res1
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25618 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_Py_Void();
25636 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
= 0;
25638 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char * kwnames
[] = {
25647 (char *) "self",(char *) "font", NULL
25650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25655 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25657 if (!SWIG_IsOK(res2
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25663 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 (arg1
)->SetFont((wxFont
const &)*arg2
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_Py_Void();
25677 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 PyObject
*resultobj
= 0;
25679 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25683 PyObject
*swig_obj
[1] ;
25685 if (!args
) SWIG_fail
;
25686 swig_obj
[0] = args
;
25687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25691 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (bool)(arg1
)->HasTextColour();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25707 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25708 PyObject
*resultobj
= 0;
25709 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25713 PyObject
*swig_obj
[1] ;
25715 if (!args
) SWIG_fail
;
25716 swig_obj
[0] = args
;
25717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25721 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (bool)(arg1
)->HasBackgroundColour();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25737 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25738 PyObject
*resultobj
= 0;
25739 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25743 PyObject
*swig_obj
[1] ;
25745 if (!args
) SWIG_fail
;
25746 swig_obj
[0] = args
;
25747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25748 if (!SWIG_IsOK(res1
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25751 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (bool)(arg1
)->HasFont();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25767 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 PyObject
*resultobj
= 0;
25769 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25773 PyObject
*swig_obj
[1] ;
25775 if (!args
) SWIG_fail
;
25776 swig_obj
[0] = args
;
25777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25781 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 result
= (arg1
)->GetTextColour();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25795 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 PyObject
*resultobj
= 0;
25797 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25801 PyObject
*swig_obj
[1] ;
25803 if (!args
) SWIG_fail
;
25804 swig_obj
[0] = args
;
25805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25809 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (arg1
)->GetBackgroundColour();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25823 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25824 PyObject
*resultobj
= 0;
25825 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25829 PyObject
*swig_obj
[1] ;
25831 if (!args
) SWIG_fail
;
25832 swig_obj
[0] = args
;
25833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25834 if (!SWIG_IsOK(res1
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25837 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= (arg1
)->GetFont();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25851 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
= 0;
25853 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25854 wxListItemAttr
*arg2
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char * kwnames
[] = {
25862 (char *) "self",(char *) "source", NULL
25865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25867 if (!SWIG_IsOK(res1
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25870 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25872 if (!SWIG_IsOK(res2
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25878 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= SWIG_Py_Void();
25892 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25893 PyObject
*resultobj
= 0;
25894 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25897 PyObject
*swig_obj
[1] ;
25899 if (!args
) SWIG_fail
;
25900 swig_obj
[0] = args
;
25901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25905 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 wxListItemAttr_Destroy(arg1
);
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_Py_Void();
25919 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25922 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25923 return SWIG_Py_Void();
25926 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25927 return SWIG_Python_InitShadowInstance(args
);
25930 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25931 PyObject
*resultobj
= 0;
25932 wxListItem
*result
= 0 ;
25934 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 result
= (wxListItem
*)new wxListItem();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
25950 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25951 PyObject
*resultobj
= 0;
25952 wxListItem
*arg1
= (wxListItem
*) 0 ;
25955 PyObject
*swig_obj
[1] ;
25957 if (!args
) SWIG_fail
;
25958 swig_obj
[0] = args
;
25959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
25960 if (!SWIG_IsOK(res1
)) {
25961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
25963 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_Py_Void();
25978 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 PyObject
*resultobj
= 0;
25980 wxListItem
*arg1
= (wxListItem
*) 0 ;
25983 PyObject
*swig_obj
[1] ;
25985 if (!args
) SWIG_fail
;
25986 swig_obj
[0] = args
;
25987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
25991 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25998 resultobj
= SWIG_Py_Void();
26005 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26006 PyObject
*resultobj
= 0;
26007 wxListItem
*arg1
= (wxListItem
*) 0 ;
26010 PyObject
*swig_obj
[1] ;
26012 if (!args
) SWIG_fail
;
26013 swig_obj
[0] = args
;
26014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26015 if (!SWIG_IsOK(res1
)) {
26016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26018 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 (arg1
)->ClearAttributes();
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_Py_Void();
26032 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
= 0;
26034 wxListItem
*arg1
= (wxListItem
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 char * kwnames
[] = {
26043 (char *) "self",(char *) "mask", NULL
26046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26051 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26052 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26053 if (!SWIG_IsOK(ecode2
)) {
26054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26056 arg2
= static_cast< long >(val2
);
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 (arg1
)->SetMask(arg2
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= SWIG_Py_Void();
26070 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
= 0;
26072 wxListItem
*arg1
= (wxListItem
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "self",(char *) "id", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26089 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26090 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26091 if (!SWIG_IsOK(ecode2
)) {
26092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26094 arg2
= static_cast< long >(val2
);
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 (arg1
)->SetId(arg2
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_Py_Void();
26108 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
= 0;
26110 wxListItem
*arg1
= (wxListItem
*) 0 ;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 char * kwnames
[] = {
26119 (char *) "self",(char *) "col", NULL
26122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26124 if (!SWIG_IsOK(res1
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26127 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26129 if (!SWIG_IsOK(ecode2
)) {
26130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26132 arg2
= static_cast< int >(val2
);
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetColumn(arg2
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_Py_Void();
26146 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
= 0;
26148 wxListItem
*arg1
= (wxListItem
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char * kwnames
[] = {
26157 (char *) "self",(char *) "state", NULL
26160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26162 if (!SWIG_IsOK(res1
)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26166 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26167 if (!SWIG_IsOK(ecode2
)) {
26168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26170 arg2
= static_cast< long >(val2
);
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->SetState(arg2
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_Py_Void();
26184 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
= 0;
26186 wxListItem
*arg1
= (wxListItem
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 char * kwnames
[] = {
26195 (char *) "self",(char *) "stateMask", NULL
26198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26200 if (!SWIG_IsOK(res1
)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26203 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26205 if (!SWIG_IsOK(ecode2
)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26208 arg2
= static_cast< long >(val2
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->SetStateMask(arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= 0;
26224 wxListItem
*arg1
= (wxListItem
*) 0 ;
26225 wxString
*arg2
= 0 ;
26228 bool temp2
= false ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char * kwnames
[] = {
26232 (char *) "self",(char *) "text", NULL
26235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26237 if (!SWIG_IsOK(res1
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26240 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26242 arg2
= wxString_in_helper(obj1
);
26243 if (arg2
== NULL
) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 (arg1
)->SetText((wxString
const &)*arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_Py_Void();
26267 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
= 0;
26269 wxListItem
*arg1
= (wxListItem
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 char * kwnames
[] = {
26278 (char *) "self",(char *) "image", NULL
26281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26288 if (!SWIG_IsOK(ecode2
)) {
26289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26291 arg2
= static_cast< int >(val2
);
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 (arg1
)->SetImage(arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
= 0;
26307 wxListItem
*arg1
= (wxListItem
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 char * kwnames
[] = {
26316 (char *) "self",(char *) "data", NULL
26319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26321 if (!SWIG_IsOK(res1
)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26324 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26325 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26326 if (!SWIG_IsOK(ecode2
)) {
26327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26329 arg2
= static_cast< long >(val2
);
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 (arg1
)->SetData(arg2
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_Py_Void();
26343 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
= 0;
26345 wxListItem
*arg1
= (wxListItem
*) 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char * kwnames
[] = {
26354 (char *) "self",(char *) "width", NULL
26357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26362 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26364 if (!SWIG_IsOK(ecode2
)) {
26365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26367 arg2
= static_cast< int >(val2
);
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 (arg1
)->SetWidth(arg2
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_Py_Void();
26381 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
= 0;
26383 wxListItem
*arg1
= (wxListItem
*) 0 ;
26384 wxListColumnFormat arg2
;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char * kwnames
[] = {
26392 (char *) "self",(char *) "align", NULL
26395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26400 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26402 if (!SWIG_IsOK(ecode2
)) {
26403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26405 arg2
= static_cast< wxListColumnFormat
>(val2
);
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 (arg1
)->SetAlign(arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_Py_Void();
26419 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
= 0;
26421 wxListItem
*arg1
= (wxListItem
*) 0 ;
26422 wxColour
*arg2
= 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char * kwnames
[] = {
26429 (char *) "self",(char *) "colText", NULL
26432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26437 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_Py_Void();
26455 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
= 0;
26457 wxListItem
*arg1
= (wxListItem
*) 0 ;
26458 wxColour
*arg2
= 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char * kwnames
[] = {
26465 (char *) "self",(char *) "colBack", NULL
26468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26476 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
= 0;
26493 wxListItem
*arg1
= (wxListItem
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 char * kwnames
[] = {
26502 (char *) "self",(char *) "font", NULL
26505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26507 if (!SWIG_IsOK(res1
)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26510 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26512 if (!SWIG_IsOK(res2
)) {
26513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26518 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 (arg1
)->SetFont((wxFont
const &)*arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_Py_Void();
26532 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26533 PyObject
*resultobj
= 0;
26534 wxListItem
*arg1
= (wxListItem
*) 0 ;
26538 PyObject
*swig_obj
[1] ;
26540 if (!args
) SWIG_fail
;
26541 swig_obj
[0] = args
;
26542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26546 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= (long)(arg1
)->GetMask();
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_From_long(static_cast< long >(result
));
26560 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItem
*arg1
= (wxListItem
*) 0 ;
26566 PyObject
*swig_obj
[1] ;
26568 if (!args
) SWIG_fail
;
26569 swig_obj
[0] = args
;
26570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26574 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (long)(arg1
)->GetId();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_From_long(static_cast< long >(result
));
26588 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26589 PyObject
*resultobj
= 0;
26590 wxListItem
*arg1
= (wxListItem
*) 0 ;
26594 PyObject
*swig_obj
[1] ;
26596 if (!args
) SWIG_fail
;
26597 swig_obj
[0] = args
;
26598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26599 if (!SWIG_IsOK(res1
)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26602 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 result
= (int)(arg1
)->GetColumn();
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= SWIG_From_int(static_cast< int >(result
));
26616 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26617 PyObject
*resultobj
= 0;
26618 wxListItem
*arg1
= (wxListItem
*) 0 ;
26622 PyObject
*swig_obj
[1] ;
26624 if (!args
) SWIG_fail
;
26625 swig_obj
[0] = args
;
26626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 result
= (long)(arg1
)->GetState();
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_From_long(static_cast< long >(result
));
26644 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26645 PyObject
*resultobj
= 0;
26646 wxListItem
*arg1
= (wxListItem
*) 0 ;
26647 wxString
*result
= 0 ;
26650 PyObject
*swig_obj
[1] ;
26652 if (!args
) SWIG_fail
;
26653 swig_obj
[0] = args
;
26654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 wxString
const &_result_ref
= (arg1
)->GetText();
26663 result
= (wxString
*) &_result_ref
;
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26681 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26682 PyObject
*resultobj
= 0;
26683 wxListItem
*arg1
= (wxListItem
*) 0 ;
26687 PyObject
*swig_obj
[1] ;
26689 if (!args
) SWIG_fail
;
26690 swig_obj
[0] = args
;
26691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26692 if (!SWIG_IsOK(res1
)) {
26693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26695 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (int)(arg1
)->GetImage();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_From_int(static_cast< int >(result
));
26709 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26710 PyObject
*resultobj
= 0;
26711 wxListItem
*arg1
= (wxListItem
*) 0 ;
26715 PyObject
*swig_obj
[1] ;
26717 if (!args
) SWIG_fail
;
26718 swig_obj
[0] = args
;
26719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26723 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (long)(arg1
)->GetData();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_From_long(static_cast< long >(result
));
26737 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26738 PyObject
*resultobj
= 0;
26739 wxListItem
*arg1
= (wxListItem
*) 0 ;
26743 PyObject
*swig_obj
[1] ;
26745 if (!args
) SWIG_fail
;
26746 swig_obj
[0] = args
;
26747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26748 if (!SWIG_IsOK(res1
)) {
26749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26751 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (int)(arg1
)->GetWidth();
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_From_int(static_cast< int >(result
));
26765 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26766 PyObject
*resultobj
= 0;
26767 wxListItem
*arg1
= (wxListItem
*) 0 ;
26768 wxListColumnFormat result
;
26771 PyObject
*swig_obj
[1] ;
26773 if (!args
) SWIG_fail
;
26774 swig_obj
[0] = args
;
26775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26776 if (!SWIG_IsOK(res1
)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26779 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= SWIG_From_int(static_cast< int >(result
));
26793 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26794 PyObject
*resultobj
= 0;
26795 wxListItem
*arg1
= (wxListItem
*) 0 ;
26796 wxListItemAttr
*result
= 0 ;
26799 PyObject
*swig_obj
[1] ;
26801 if (!args
) SWIG_fail
;
26802 swig_obj
[0] = args
;
26803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26807 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26821 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26822 PyObject
*resultobj
= 0;
26823 wxListItem
*arg1
= (wxListItem
*) 0 ;
26827 PyObject
*swig_obj
[1] ;
26829 if (!args
) SWIG_fail
;
26830 swig_obj
[0] = args
;
26831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26832 if (!SWIG_IsOK(res1
)) {
26833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26835 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (bool)(arg1
)->HasAttributes();
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26851 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26852 PyObject
*resultobj
= 0;
26853 wxListItem
*arg1
= (wxListItem
*) 0 ;
26857 PyObject
*swig_obj
[1] ;
26859 if (!args
) SWIG_fail
;
26860 swig_obj
[0] = args
;
26861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26865 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26879 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26880 PyObject
*resultobj
= 0;
26881 wxListItem
*arg1
= (wxListItem
*) 0 ;
26885 PyObject
*swig_obj
[1] ;
26887 if (!args
) SWIG_fail
;
26888 swig_obj
[0] = args
;
26889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26890 if (!SWIG_IsOK(res1
)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26893 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26896 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26907 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26908 PyObject
*resultobj
= 0;
26909 wxListItem
*arg1
= (wxListItem
*) 0 ;
26913 PyObject
*swig_obj
[1] ;
26915 if (!args
) SWIG_fail
;
26916 swig_obj
[0] = args
;
26917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26918 if (!SWIG_IsOK(res1
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26921 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 result
= ((wxListItem
const *)arg1
)->GetFont();
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26935 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26936 PyObject
*resultobj
= 0;
26937 wxListItem
*arg1
= (wxListItem
*) 0 ;
26943 PyObject
*swig_obj
[2] ;
26945 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
26946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26947 if (!SWIG_IsOK(res1
)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26950 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26951 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26952 if (!SWIG_IsOK(ecode2
)) {
26953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
26955 arg2
= static_cast< long >(val2
);
26956 if (arg1
) (arg1
)->m_mask
= arg2
;
26958 resultobj
= SWIG_Py_Void();
26965 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26966 PyObject
*resultobj
= 0;
26967 wxListItem
*arg1
= (wxListItem
*) 0 ;
26971 PyObject
*swig_obj
[1] ;
26973 if (!args
) SWIG_fail
;
26974 swig_obj
[0] = args
;
26975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26980 result
= (long) ((arg1
)->m_mask
);
26981 resultobj
= SWIG_From_long(static_cast< long >(result
));
26988 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26989 PyObject
*resultobj
= 0;
26990 wxListItem
*arg1
= (wxListItem
*) 0 ;
26996 PyObject
*swig_obj
[2] ;
26998 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
26999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27003 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27004 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27005 if (!SWIG_IsOK(ecode2
)) {
27006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27008 arg2
= static_cast< long >(val2
);
27009 if (arg1
) (arg1
)->m_itemId
= arg2
;
27011 resultobj
= SWIG_Py_Void();
27018 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27019 PyObject
*resultobj
= 0;
27020 wxListItem
*arg1
= (wxListItem
*) 0 ;
27024 PyObject
*swig_obj
[1] ;
27026 if (!args
) SWIG_fail
;
27027 swig_obj
[0] = args
;
27028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27029 if (!SWIG_IsOK(res1
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27032 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27033 result
= (long) ((arg1
)->m_itemId
);
27034 resultobj
= SWIG_From_long(static_cast< long >(result
));
27041 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 PyObject
*resultobj
= 0;
27043 wxListItem
*arg1
= (wxListItem
*) 0 ;
27049 PyObject
*swig_obj
[2] ;
27051 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27053 if (!SWIG_IsOK(res1
)) {
27054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27056 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27057 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27058 if (!SWIG_IsOK(ecode2
)) {
27059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27061 arg2
= static_cast< int >(val2
);
27062 if (arg1
) (arg1
)->m_col
= arg2
;
27064 resultobj
= SWIG_Py_Void();
27071 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27072 PyObject
*resultobj
= 0;
27073 wxListItem
*arg1
= (wxListItem
*) 0 ;
27077 PyObject
*swig_obj
[1] ;
27079 if (!args
) SWIG_fail
;
27080 swig_obj
[0] = args
;
27081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27082 if (!SWIG_IsOK(res1
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27085 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27086 result
= (int) ((arg1
)->m_col
);
27087 resultobj
= SWIG_From_int(static_cast< int >(result
));
27094 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27095 PyObject
*resultobj
= 0;
27096 wxListItem
*arg1
= (wxListItem
*) 0 ;
27102 PyObject
*swig_obj
[2] ;
27104 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27109 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27110 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27111 if (!SWIG_IsOK(ecode2
)) {
27112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27114 arg2
= static_cast< long >(val2
);
27115 if (arg1
) (arg1
)->m_state
= arg2
;
27117 resultobj
= SWIG_Py_Void();
27124 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27125 PyObject
*resultobj
= 0;
27126 wxListItem
*arg1
= (wxListItem
*) 0 ;
27130 PyObject
*swig_obj
[1] ;
27132 if (!args
) SWIG_fail
;
27133 swig_obj
[0] = args
;
27134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27138 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27139 result
= (long) ((arg1
)->m_state
);
27140 resultobj
= SWIG_From_long(static_cast< long >(result
));
27147 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27148 PyObject
*resultobj
= 0;
27149 wxListItem
*arg1
= (wxListItem
*) 0 ;
27155 PyObject
*swig_obj
[2] ;
27157 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27162 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27163 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27164 if (!SWIG_IsOK(ecode2
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27167 arg2
= static_cast< long >(val2
);
27168 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27170 resultobj
= SWIG_Py_Void();
27177 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27178 PyObject
*resultobj
= 0;
27179 wxListItem
*arg1
= (wxListItem
*) 0 ;
27183 PyObject
*swig_obj
[1] ;
27185 if (!args
) SWIG_fail
;
27186 swig_obj
[0] = args
;
27187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27188 if (!SWIG_IsOK(res1
)) {
27189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27191 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27192 result
= (long) ((arg1
)->m_stateMask
);
27193 resultobj
= SWIG_From_long(static_cast< long >(result
));
27200 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27201 PyObject
*resultobj
= 0;
27202 wxListItem
*arg1
= (wxListItem
*) 0 ;
27203 wxString
*arg2
= (wxString
*) 0 ;
27206 bool temp2
= false ;
27207 PyObject
*swig_obj
[2] ;
27209 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27211 if (!SWIG_IsOK(res1
)) {
27212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27214 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27216 arg2
= wxString_in_helper(swig_obj
[1]);
27217 if (arg2
== NULL
) SWIG_fail
;
27220 if (arg1
) (arg1
)->m_text
= *arg2
;
27222 resultobj
= SWIG_Py_Void();
27237 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27238 PyObject
*resultobj
= 0;
27239 wxListItem
*arg1
= (wxListItem
*) 0 ;
27240 wxString
*result
= 0 ;
27243 PyObject
*swig_obj
[1] ;
27245 if (!args
) SWIG_fail
;
27246 swig_obj
[0] = args
;
27247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27251 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27252 result
= (wxString
*)& ((arg1
)->m_text
);
27255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27266 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27267 PyObject
*resultobj
= 0;
27268 wxListItem
*arg1
= (wxListItem
*) 0 ;
27274 PyObject
*swig_obj
[2] ;
27276 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27281 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27282 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27283 if (!SWIG_IsOK(ecode2
)) {
27284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27286 arg2
= static_cast< int >(val2
);
27287 if (arg1
) (arg1
)->m_image
= arg2
;
27289 resultobj
= SWIG_Py_Void();
27296 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 PyObject
*resultobj
= 0;
27298 wxListItem
*arg1
= (wxListItem
*) 0 ;
27302 PyObject
*swig_obj
[1] ;
27304 if (!args
) SWIG_fail
;
27305 swig_obj
[0] = args
;
27306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27307 if (!SWIG_IsOK(res1
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27310 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27311 result
= (int) ((arg1
)->m_image
);
27312 resultobj
= SWIG_From_int(static_cast< int >(result
));
27319 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27320 PyObject
*resultobj
= 0;
27321 wxListItem
*arg1
= (wxListItem
*) 0 ;
27327 PyObject
*swig_obj
[2] ;
27329 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27331 if (!SWIG_IsOK(res1
)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27334 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27335 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27336 if (!SWIG_IsOK(ecode2
)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27339 arg2
= static_cast< long >(val2
);
27340 if (arg1
) (arg1
)->m_data
= arg2
;
27342 resultobj
= SWIG_Py_Void();
27349 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27350 PyObject
*resultobj
= 0;
27351 wxListItem
*arg1
= (wxListItem
*) 0 ;
27355 PyObject
*swig_obj
[1] ;
27357 if (!args
) SWIG_fail
;
27358 swig_obj
[0] = args
;
27359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27360 if (!SWIG_IsOK(res1
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27363 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27364 result
= (long) ((arg1
)->m_data
);
27365 resultobj
= SWIG_From_long(static_cast< long >(result
));
27372 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 PyObject
*resultobj
= 0;
27374 wxListItem
*arg1
= (wxListItem
*) 0 ;
27380 PyObject
*swig_obj
[2] ;
27382 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27387 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27388 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27389 if (!SWIG_IsOK(ecode2
)) {
27390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27392 arg2
= static_cast< int >(val2
);
27393 if (arg1
) (arg1
)->m_format
= arg2
;
27395 resultobj
= SWIG_Py_Void();
27402 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27403 PyObject
*resultobj
= 0;
27404 wxListItem
*arg1
= (wxListItem
*) 0 ;
27408 PyObject
*swig_obj
[1] ;
27410 if (!args
) SWIG_fail
;
27411 swig_obj
[0] = args
;
27412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27413 if (!SWIG_IsOK(res1
)) {
27414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27416 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27417 result
= (int) ((arg1
)->m_format
);
27418 resultobj
= SWIG_From_int(static_cast< int >(result
));
27425 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27426 PyObject
*resultobj
= 0;
27427 wxListItem
*arg1
= (wxListItem
*) 0 ;
27433 PyObject
*swig_obj
[2] ;
27435 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27437 if (!SWIG_IsOK(res1
)) {
27438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27440 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27441 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27442 if (!SWIG_IsOK(ecode2
)) {
27443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27445 arg2
= static_cast< int >(val2
);
27446 if (arg1
) (arg1
)->m_width
= arg2
;
27448 resultobj
= SWIG_Py_Void();
27455 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27456 PyObject
*resultobj
= 0;
27457 wxListItem
*arg1
= (wxListItem
*) 0 ;
27461 PyObject
*swig_obj
[1] ;
27463 if (!args
) SWIG_fail
;
27464 swig_obj
[0] = args
;
27465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27466 if (!SWIG_IsOK(res1
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27469 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27470 result
= (int) ((arg1
)->m_width
);
27471 resultobj
= SWIG_From_int(static_cast< int >(result
));
27478 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27481 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27482 return SWIG_Py_Void();
27485 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27486 return SWIG_Python_InitShadowInstance(args
);
27489 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
= 0;
27491 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27492 int arg2
= (int) 0 ;
27493 wxListEvent
*result
= 0 ;
27498 PyObject
* obj0
= 0 ;
27499 PyObject
* obj1
= 0 ;
27500 char * kwnames
[] = {
27501 (char *) "commandType",(char *) "id", NULL
27504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27506 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27507 if (!SWIG_IsOK(ecode1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27510 arg1
= static_cast< wxEventType
>(val1
);
27513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27514 if (!SWIG_IsOK(ecode2
)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27517 arg2
= static_cast< int >(val2
);
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27532 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27533 PyObject
*resultobj
= 0;
27534 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27540 PyObject
*swig_obj
[2] ;
27542 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27544 if (!SWIG_IsOK(res1
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27547 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27548 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27549 if (!SWIG_IsOK(ecode2
)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27552 arg2
= static_cast< int >(val2
);
27553 if (arg1
) (arg1
)->m_code
= arg2
;
27555 resultobj
= SWIG_Py_Void();
27562 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27563 PyObject
*resultobj
= 0;
27564 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27568 PyObject
*swig_obj
[1] ;
27570 if (!args
) SWIG_fail
;
27571 swig_obj
[0] = args
;
27572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27573 if (!SWIG_IsOK(res1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27576 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27577 result
= (int) ((arg1
)->m_code
);
27578 resultobj
= SWIG_From_int(static_cast< int >(result
));
27585 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 PyObject
*resultobj
= 0;
27587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27593 PyObject
*swig_obj
[2] ;
27595 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27597 if (!SWIG_IsOK(res1
)) {
27598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27600 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27601 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27602 if (!SWIG_IsOK(ecode2
)) {
27603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27605 arg2
= static_cast< long >(val2
);
27606 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27608 resultobj
= SWIG_Py_Void();
27615 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 PyObject
*resultobj
= 0;
27617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27621 PyObject
*swig_obj
[1] ;
27623 if (!args
) SWIG_fail
;
27624 swig_obj
[0] = args
;
27625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27626 if (!SWIG_IsOK(res1
)) {
27627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27629 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27630 result
= (long) ((arg1
)->m_oldItemIndex
);
27631 resultobj
= SWIG_From_long(static_cast< long >(result
));
27638 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27639 PyObject
*resultobj
= 0;
27640 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27646 PyObject
*swig_obj
[2] ;
27648 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27650 if (!SWIG_IsOK(res1
)) {
27651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27653 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27654 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27655 if (!SWIG_IsOK(ecode2
)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27658 arg2
= static_cast< long >(val2
);
27659 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27661 resultobj
= SWIG_Py_Void();
27668 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27669 PyObject
*resultobj
= 0;
27670 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27674 PyObject
*swig_obj
[1] ;
27676 if (!args
) SWIG_fail
;
27677 swig_obj
[0] = args
;
27678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27679 if (!SWIG_IsOK(res1
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27682 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27683 result
= (long) ((arg1
)->m_itemIndex
);
27684 resultobj
= SWIG_From_long(static_cast< long >(result
));
27691 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27692 PyObject
*resultobj
= 0;
27693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27699 PyObject
*swig_obj
[2] ;
27701 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27703 if (!SWIG_IsOK(res1
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27706 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27707 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27708 if (!SWIG_IsOK(ecode2
)) {
27709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27711 arg2
= static_cast< int >(val2
);
27712 if (arg1
) (arg1
)->m_col
= arg2
;
27714 resultobj
= SWIG_Py_Void();
27721 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27722 PyObject
*resultobj
= 0;
27723 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27727 PyObject
*swig_obj
[1] ;
27729 if (!args
) SWIG_fail
;
27730 swig_obj
[0] = args
;
27731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27732 if (!SWIG_IsOK(res1
)) {
27733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27735 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27736 result
= (int) ((arg1
)->m_col
);
27737 resultobj
= SWIG_From_int(static_cast< int >(result
));
27744 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27745 PyObject
*resultobj
= 0;
27746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27747 wxPoint
*arg2
= (wxPoint
*) 0 ;
27752 PyObject
*swig_obj
[2] ;
27754 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27759 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27760 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27761 if (!SWIG_IsOK(res2
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27764 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27765 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27767 resultobj
= SWIG_Py_Void();
27774 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27775 PyObject
*resultobj
= 0;
27776 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27777 wxPoint
*result
= 0 ;
27780 PyObject
*swig_obj
[1] ;
27782 if (!args
) SWIG_fail
;
27783 swig_obj
[0] = args
;
27784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27785 if (!SWIG_IsOK(res1
)) {
27786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27788 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27789 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27797 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27798 PyObject
*resultobj
= 0;
27799 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27800 wxListItem
*result
= 0 ;
27803 PyObject
*swig_obj
[1] ;
27805 if (!args
) SWIG_fail
;
27806 swig_obj
[0] = args
;
27807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27808 if (!SWIG_IsOK(res1
)) {
27809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27811 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27812 result
= (wxListItem
*)& ((arg1
)->m_item
);
27814 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27822 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27823 PyObject
*resultobj
= 0;
27824 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27828 PyObject
*swig_obj
[1] ;
27830 if (!args
) SWIG_fail
;
27831 swig_obj
[0] = args
;
27832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27836 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (int)(arg1
)->GetKeyCode();
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= SWIG_From_int(static_cast< int >(result
));
27850 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27851 PyObject
*resultobj
= 0;
27852 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27856 PyObject
*swig_obj
[1] ;
27858 if (!args
) SWIG_fail
;
27859 swig_obj
[0] = args
;
27860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27861 if (!SWIG_IsOK(res1
)) {
27862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27864 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= (long)(arg1
)->GetIndex();
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27871 resultobj
= SWIG_From_long(static_cast< long >(result
));
27878 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27879 PyObject
*resultobj
= 0;
27880 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27884 PyObject
*swig_obj
[1] ;
27886 if (!args
) SWIG_fail
;
27887 swig_obj
[0] = args
;
27888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27889 if (!SWIG_IsOK(res1
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27892 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (int)(arg1
)->GetColumn();
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= SWIG_From_int(static_cast< int >(result
));
27906 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27907 PyObject
*resultobj
= 0;
27908 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27912 PyObject
*swig_obj
[1] ;
27914 if (!args
) SWIG_fail
;
27915 swig_obj
[0] = args
;
27916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27920 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (arg1
)->GetPoint();
27924 wxPyEndAllowThreads(__tstate
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27934 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27935 PyObject
*resultobj
= 0;
27936 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27937 wxString
*result
= 0 ;
27940 PyObject
*swig_obj
[1] ;
27942 if (!args
) SWIG_fail
;
27943 swig_obj
[0] = args
;
27944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
27948 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 wxString
const &_result_ref
= (arg1
)->GetLabel();
27953 result
= (wxString
*) &_result_ref
;
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27971 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27972 PyObject
*resultobj
= 0;
27973 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27974 wxString
*result
= 0 ;
27977 PyObject
*swig_obj
[1] ;
27979 if (!args
) SWIG_fail
;
27980 swig_obj
[0] = args
;
27981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27982 if (!SWIG_IsOK(res1
)) {
27983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
27985 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 wxString
const &_result_ref
= (arg1
)->GetText();
27990 result
= (wxString
*) &_result_ref
;
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28008 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28009 PyObject
*resultobj
= 0;
28010 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28014 PyObject
*swig_obj
[1] ;
28016 if (!args
) SWIG_fail
;
28017 swig_obj
[0] = args
;
28018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28022 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= (int)(arg1
)->GetImage();
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= SWIG_From_int(static_cast< int >(result
));
28036 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28037 PyObject
*resultobj
= 0;
28038 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28042 PyObject
*swig_obj
[1] ;
28044 if (!args
) SWIG_fail
;
28045 swig_obj
[0] = args
;
28046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28047 if (!SWIG_IsOK(res1
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28050 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (long)(arg1
)->GetData();
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_From_long(static_cast< long >(result
));
28064 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 PyObject
*resultobj
= 0;
28066 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28070 PyObject
*swig_obj
[1] ;
28072 if (!args
) SWIG_fail
;
28073 swig_obj
[0] = args
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28078 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (long)(arg1
)->GetMask();
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_From_long(static_cast< long >(result
));
28092 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28093 PyObject
*resultobj
= 0;
28094 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28095 wxListItem
*result
= 0 ;
28098 PyObject
*swig_obj
[1] ;
28100 if (!args
) SWIG_fail
;
28101 swig_obj
[0] = args
;
28102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28103 if (!SWIG_IsOK(res1
)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28106 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28111 result
= (wxListItem
*) &_result_ref
;
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28123 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28124 PyObject
*resultobj
= 0;
28125 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28129 PyObject
*swig_obj
[1] ;
28131 if (!args
) SWIG_fail
;
28132 swig_obj
[0] = args
;
28133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28134 if (!SWIG_IsOK(res1
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28137 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 result
= (long)(arg1
)->GetCacheFrom();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_From_long(static_cast< long >(result
));
28151 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 PyObject
*resultobj
= 0;
28153 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28157 PyObject
*swig_obj
[1] ;
28159 if (!args
) SWIG_fail
;
28160 swig_obj
[0] = args
;
28161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28162 if (!SWIG_IsOK(res1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28165 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= (long)(arg1
)->GetCacheTo();
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= SWIG_From_long(static_cast< long >(result
));
28179 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28180 PyObject
*resultobj
= 0;
28181 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28185 PyObject
*swig_obj
[1] ;
28187 if (!args
) SWIG_fail
;
28188 swig_obj
[0] = args
;
28189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28190 if (!SWIG_IsOK(res1
)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28193 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28209 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
= 0;
28211 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28217 PyObject
* obj0
= 0 ;
28218 PyObject
* obj1
= 0 ;
28219 char * kwnames
[] = {
28220 (char *) "self",(char *) "editCancelled", NULL
28223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28225 if (!SWIG_IsOK(res1
)) {
28226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28228 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28229 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28230 if (!SWIG_IsOK(ecode2
)) {
28231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28233 arg2
= static_cast< bool >(val2
);
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->SetEditCanceled(arg2
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= SWIG_Py_Void();
28247 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28250 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28251 return SWIG_Py_Void();
28254 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 return SWIG_Python_InitShadowInstance(args
);
28258 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
= 0;
28260 wxWindow
*arg1
= (wxWindow
*) 0 ;
28261 int arg2
= (int) -1 ;
28262 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28263 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28264 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28265 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28266 long arg5
= (long) wxLC_ICON
;
28267 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28268 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28269 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28270 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28271 wxPyListCtrl
*result
= 0 ;
28282 bool temp7
= false ;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 PyObject
* obj2
= 0 ;
28286 PyObject
* obj3
= 0 ;
28287 PyObject
* obj4
= 0 ;
28288 PyObject
* obj5
= 0 ;
28289 PyObject
* obj6
= 0 ;
28290 char * kwnames
[] = {
28291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28299 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28302 if (!SWIG_IsOK(ecode2
)) {
28303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28305 arg2
= static_cast< int >(val2
);
28310 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28316 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28320 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28321 if (!SWIG_IsOK(ecode5
)) {
28322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28324 arg5
= static_cast< long >(val5
);
28327 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28328 if (!SWIG_IsOK(res6
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28334 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28338 arg7
= wxString_in_helper(obj6
);
28339 if (arg7
== NULL
) SWIG_fail
;
28344 if (!wxPyCheckForApp()) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28365 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28366 PyObject
*resultobj
= 0;
28367 wxPyListCtrl
*result
= 0 ;
28369 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28371 if (!wxPyCheckForApp()) SWIG_fail
;
28372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28373 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28384 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
= 0;
28386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28387 wxWindow
*arg2
= (wxWindow
*) 0 ;
28388 int arg3
= (int) -1 ;
28389 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28390 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28391 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28392 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28393 long arg6
= (long) wxLC_ICON
;
28394 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28395 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28396 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28411 bool temp8
= false ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 PyObject
* obj2
= 0 ;
28415 PyObject
* obj3
= 0 ;
28416 PyObject
* obj4
= 0 ;
28417 PyObject
* obj5
= 0 ;
28418 PyObject
* obj6
= 0 ;
28419 PyObject
* obj7
= 0 ;
28420 char * kwnames
[] = {
28421 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28426 if (!SWIG_IsOK(res1
)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28429 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28431 if (!SWIG_IsOK(res2
)) {
28432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28434 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28437 if (!SWIG_IsOK(ecode3
)) {
28438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28440 arg3
= static_cast< int >(val3
);
28445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28455 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28456 if (!SWIG_IsOK(ecode6
)) {
28457 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28459 arg6
= static_cast< long >(val6
);
28462 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28463 if (!SWIG_IsOK(res7
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28469 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28473 arg8
= wxString_in_helper(obj7
);
28474 if (arg8
== NULL
) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28501 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
= 0;
28503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28504 PyObject
*arg2
= (PyObject
*) 0 ;
28505 PyObject
*arg3
= (PyObject
*) 0 ;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 PyObject
* obj2
= 0 ;
28511 char * kwnames
[] = {
28512 (char *) "self",(char *) "self",(char *) "_class", NULL
28515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_Py_Void();
28536 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
= 0;
28538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28540 wxListItem
*result
= 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char * kwnames
[] = {
28548 (char *) "self",(char *) "col", NULL
28551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28556 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28558 if (!SWIG_IsOK(ecode2
)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28561 arg2
= static_cast< int >(val2
);
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28569 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28577 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
= 0;
28579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28581 wxListItem
*arg3
= 0 ;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 PyObject
* obj2
= 0 ;
28592 char * kwnames
[] = {
28593 (char *) "self",(char *) "col",(char *) "item", NULL
28596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28603 if (!SWIG_IsOK(ecode2
)) {
28604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28606 arg2
= static_cast< int >(val2
);
28607 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28608 if (!SWIG_IsOK(res3
)) {
28609 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28614 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28630 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
= 0;
28632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 PyObject
* obj1
= 0 ;
28641 char * kwnames
[] = {
28642 (char *) "self",(char *) "col", NULL
28645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28650 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28652 if (!SWIG_IsOK(ecode2
)) {
28653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28655 arg2
= static_cast< int >(val2
);
28657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28658 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28662 resultobj
= SWIG_From_int(static_cast< int >(result
));
28669 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28670 PyObject
*resultobj
= 0;
28671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28681 PyObject
* obj0
= 0 ;
28682 PyObject
* obj1
= 0 ;
28683 PyObject
* obj2
= 0 ;
28684 char * kwnames
[] = {
28685 (char *) "self",(char *) "col",(char *) "width", NULL
28688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28690 if (!SWIG_IsOK(res1
)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28693 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28695 if (!SWIG_IsOK(ecode2
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28698 arg2
= static_cast< int >(val2
);
28699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28700 if (!SWIG_IsOK(ecode3
)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28703 arg3
= static_cast< int >(val3
);
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28719 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28725 PyObject
*swig_obj
[1] ;
28727 if (!args
) SWIG_fail
;
28728 swig_obj
[0] = args
;
28729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_From_int(static_cast< int >(result
));
28747 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28748 PyObject
*resultobj
= 0;
28749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28753 PyObject
*swig_obj
[1] ;
28755 if (!args
) SWIG_fail
;
28756 swig_obj
[0] = args
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28761 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28775 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28776 PyObject
*resultobj
= 0;
28777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28778 wxTextCtrl
*result
= 0 ;
28781 PyObject
*swig_obj
[1] ;
28783 if (!args
) SWIG_fail
;
28784 swig_obj
[0] = args
;
28785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28789 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= wxPyMake_wxObject(result
, 0);
28805 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28806 PyObject
*resultobj
= 0;
28807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28809 int arg3
= (int) 0 ;
28810 wxListItem
*result
= 0 ;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 PyObject
* obj2
= 0 ;
28820 char * kwnames
[] = {
28821 (char *) "self",(char *) "itemId",(char *) "col", NULL
28824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28826 if (!SWIG_IsOK(res1
)) {
28827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28829 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28831 if (!SWIG_IsOK(ecode2
)) {
28832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28834 arg2
= static_cast< long >(val2
);
28836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28837 if (!SWIG_IsOK(ecode3
)) {
28838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28840 arg3
= static_cast< int >(val3
);
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28857 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
= 0;
28859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28860 wxListItem
*arg2
= 0 ;
28866 PyObject
* obj0
= 0 ;
28867 PyObject
* obj1
= 0 ;
28868 char * kwnames
[] = {
28869 (char *) "self",(char *) "info", NULL
28872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28874 if (!SWIG_IsOK(res1
)) {
28875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28877 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28879 if (!SWIG_IsOK(res2
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28885 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 result
= (bool)(arg1
)->SetItem(*arg2
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28901 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
= 0;
28903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28906 wxString
*arg4
= 0 ;
28907 int arg5
= (int) -1 ;
28915 bool temp4
= false ;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 PyObject
* obj2
= 0 ;
28921 PyObject
* obj3
= 0 ;
28922 PyObject
* obj4
= 0 ;
28923 char * kwnames
[] = {
28924 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28933 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28934 if (!SWIG_IsOK(ecode2
)) {
28935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
28937 arg2
= static_cast< long >(val2
);
28938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28939 if (!SWIG_IsOK(ecode3
)) {
28940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
28942 arg3
= static_cast< int >(val3
);
28944 arg4
= wxString_in_helper(obj3
);
28945 if (arg4
== NULL
) SWIG_fail
;
28949 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28950 if (!SWIG_IsOK(ecode5
)) {
28951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
28953 arg5
= static_cast< int >(val5
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_From_long(static_cast< long >(result
));
28976 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
= 0;
28978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 PyObject
* obj2
= 0 ;
28991 char * kwnames
[] = {
28992 (char *) "self",(char *) "item",(char *) "stateMask", NULL
28995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28997 if (!SWIG_IsOK(res1
)) {
28998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29000 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29002 if (!SWIG_IsOK(ecode2
)) {
29003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29005 arg2
= static_cast< long >(val2
);
29006 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29007 if (!SWIG_IsOK(ecode3
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29010 arg3
= static_cast< long >(val3
);
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_From_int(static_cast< int >(result
));
29024 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
= 0;
29026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 PyObject
* obj2
= 0 ;
29042 PyObject
* obj3
= 0 ;
29043 char * kwnames
[] = {
29044 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29049 if (!SWIG_IsOK(res1
)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29052 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29054 if (!SWIG_IsOK(ecode2
)) {
29055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29057 arg2
= static_cast< long >(val2
);
29058 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29059 if (!SWIG_IsOK(ecode3
)) {
29060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29062 arg3
= static_cast< long >(val3
);
29063 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29064 if (!SWIG_IsOK(ecode4
)) {
29065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29067 arg4
= static_cast< long >(val4
);
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29083 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
= 0;
29085 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29088 int arg4
= (int) -1 ;
29098 PyObject
* obj0
= 0 ;
29099 PyObject
* obj1
= 0 ;
29100 PyObject
* obj2
= 0 ;
29101 PyObject
* obj3
= 0 ;
29102 char * kwnames
[] = {
29103 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29108 if (!SWIG_IsOK(res1
)) {
29109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29111 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29113 if (!SWIG_IsOK(ecode2
)) {
29114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29116 arg2
= static_cast< long >(val2
);
29117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29118 if (!SWIG_IsOK(ecode3
)) {
29119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29121 arg3
= static_cast< int >(val3
);
29123 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29124 if (!SWIG_IsOK(ecode4
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29127 arg4
= static_cast< int >(val4
);
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29144 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
= 0;
29146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 PyObject
* obj2
= 0 ;
29162 PyObject
* obj3
= 0 ;
29163 char * kwnames
[] = {
29164 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29169 if (!SWIG_IsOK(res1
)) {
29170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29172 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29174 if (!SWIG_IsOK(ecode2
)) {
29175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29177 arg2
= static_cast< long >(val2
);
29178 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29179 if (!SWIG_IsOK(ecode3
)) {
29180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29182 arg3
= static_cast< long >(val3
);
29183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29184 if (!SWIG_IsOK(ecode4
)) {
29185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29187 arg4
= static_cast< int >(val4
);
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29203 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 char * kwnames
[] = {
29215 (char *) "self",(char *) "item", NULL
29218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29220 if (!SWIG_IsOK(res1
)) {
29221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29223 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29224 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29225 if (!SWIG_IsOK(ecode2
)) {
29226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29228 arg2
= static_cast< long >(val2
);
29230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29248 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
= 0;
29250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29252 wxString
*arg3
= 0 ;
29257 bool temp3
= false ;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 PyObject
* obj2
= 0 ;
29261 char * kwnames
[] = {
29262 (char *) "self",(char *) "item",(char *) "str", NULL
29265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29267 if (!SWIG_IsOK(res1
)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29270 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29271 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29272 if (!SWIG_IsOK(ecode2
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29275 arg2
= static_cast< long >(val2
);
29277 arg3
= wxString_in_helper(obj2
);
29278 if (arg3
== NULL
) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_Py_Void();
29302 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
= 0;
29304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 char * kwnames
[] = {
29314 (char *) "self",(char *) "item", NULL
29317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29319 if (!SWIG_IsOK(res1
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29322 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29323 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29324 if (!SWIG_IsOK(ecode2
)) {
29325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29327 arg2
= static_cast< long >(val2
);
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= SWIG_From_long(static_cast< long >(result
));
29341 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
= 0;
29343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 PyObject
* obj2
= 0 ;
29356 char * kwnames
[] = {
29357 (char *) "self",(char *) "item",(char *) "data", NULL
29360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29362 if (!SWIG_IsOK(res1
)) {
29363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29365 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29366 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29367 if (!SWIG_IsOK(ecode2
)) {
29368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29370 arg2
= static_cast< long >(val2
);
29371 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29372 if (!SWIG_IsOK(ecode3
)) {
29373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29375 arg3
= static_cast< long >(val3
);
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29391 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
= 0;
29393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29400 PyObject
* obj0
= 0 ;
29401 PyObject
* obj1
= 0 ;
29402 char * kwnames
[] = {
29403 (char *) "self",(char *) "item", NULL
29406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29411 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29412 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29413 if (!SWIG_IsOK(ecode2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29416 arg2
= static_cast< long >(val2
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29430 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29434 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 PyObject
* obj2
= 0 ;
29445 char * kwnames
[] = {
29446 (char *) "self",(char *) "item",(char *) "code", NULL
29449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29451 if (!SWIG_IsOK(res1
)) {
29452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29454 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29456 if (!SWIG_IsOK(ecode2
)) {
29457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29459 arg2
= static_cast< long >(val2
);
29461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29462 if (!SWIG_IsOK(ecode3
)) {
29463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29465 arg3
= static_cast< int >(val3
);
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29480 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
= 0;
29482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29484 wxPoint
*arg3
= 0 ;
29491 PyObject
* obj0
= 0 ;
29492 PyObject
* obj1
= 0 ;
29493 PyObject
* obj2
= 0 ;
29494 char * kwnames
[] = {
29495 (char *) "self",(char *) "item",(char *) "pos", NULL
29498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29503 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29505 if (!SWIG_IsOK(ecode2
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29508 arg2
= static_cast< long >(val2
);
29511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29528 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29529 PyObject
*resultobj
= 0;
29530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29534 PyObject
*swig_obj
[1] ;
29536 if (!args
) SWIG_fail
;
29537 swig_obj
[0] = args
;
29538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29539 if (!SWIG_IsOK(res1
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29542 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= SWIG_From_int(static_cast< int >(result
));
29556 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29557 PyObject
*resultobj
= 0;
29558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29562 PyObject
*swig_obj
[1] ;
29564 if (!args
) SWIG_fail
;
29565 swig_obj
[0] = args
;
29566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29567 if (!SWIG_IsOK(res1
)) {
29568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= SWIG_From_int(static_cast< int >(result
));
29584 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29585 PyObject
*resultobj
= 0;
29586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29590 PyObject
*swig_obj
[1] ;
29592 if (!args
) SWIG_fail
;
29593 swig_obj
[0] = args
;
29594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29598 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29612 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
= 0;
29614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29616 bool arg3
= (bool) false ;
29623 PyObject
* obj0
= 0 ;
29624 PyObject
* obj1
= 0 ;
29625 PyObject
* obj2
= 0 ;
29626 char * kwnames
[] = {
29627 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29632 if (!SWIG_IsOK(res1
)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29635 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29637 if (!SWIG_IsOK(ecode2
)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29640 arg2
= static_cast< int >(val2
);
29642 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29643 if (!SWIG_IsOK(ecode3
)) {
29644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29646 arg3
= static_cast< bool >(val3
);
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 (arg1
)->SetItemSpacing(arg2
,arg3
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29654 resultobj
= SWIG_Py_Void();
29661 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29662 PyObject
*resultobj
= 0;
29663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29667 PyObject
*swig_obj
[1] ;
29669 if (!args
) SWIG_fail
;
29670 swig_obj
[0] = args
;
29671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29675 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 resultobj
= SWIG_From_int(static_cast< int >(result
));
29689 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29690 PyObject
*resultobj
= 0;
29691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29695 PyObject
*swig_obj
[1] ;
29697 if (!args
) SWIG_fail
;
29698 swig_obj
[0] = args
;
29699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29703 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29717 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
= 0;
29719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29720 wxColour
*arg2
= 0 ;
29724 PyObject
* obj0
= 0 ;
29725 PyObject
* obj1
= 0 ;
29726 char * kwnames
[] = {
29727 (char *) "self",(char *) "col", NULL
29730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29735 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29738 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= SWIG_Py_Void();
29753 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29754 PyObject
*resultobj
= 0;
29755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29759 PyObject
*swig_obj
[1] ;
29761 if (!args
) SWIG_fail
;
29762 swig_obj
[0] = args
;
29763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29767 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= SWIG_From_long(static_cast< long >(result
));
29781 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
= 0;
29783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29785 bool arg3
= (bool) true ;
29792 PyObject
* obj0
= 0 ;
29793 PyObject
* obj1
= 0 ;
29794 PyObject
* obj2
= 0 ;
29795 char * kwnames
[] = {
29796 (char *) "self",(char *) "style",(char *) "add", NULL
29799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29804 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29805 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29806 if (!SWIG_IsOK(ecode2
)) {
29807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29809 arg2
= static_cast< long >(val2
);
29811 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29812 if (!SWIG_IsOK(ecode3
)) {
29813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29815 arg3
= static_cast< bool >(val3
);
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 (arg1
)->SetSingleStyle(arg2
,arg3
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= SWIG_Py_Void();
29830 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
= 0;
29832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29834 int arg3
= (int) wxLIST_NEXT_ALL
;
29835 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29845 PyObject
* obj0
= 0 ;
29846 PyObject
* obj1
= 0 ;
29847 PyObject
* obj2
= 0 ;
29848 PyObject
* obj3
= 0 ;
29849 char * kwnames
[] = {
29850 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29855 if (!SWIG_IsOK(res1
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29858 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29859 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29860 if (!SWIG_IsOK(ecode2
)) {
29861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29863 arg2
= static_cast< long >(val2
);
29865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29866 if (!SWIG_IsOK(ecode3
)) {
29867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29869 arg3
= static_cast< int >(val3
);
29872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29873 if (!SWIG_IsOK(ecode4
)) {
29874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29876 arg4
= static_cast< int >(val4
);
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= SWIG_From_long(static_cast< long >(result
));
29891 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
= 0;
29893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29895 wxImageList
*result
= 0 ;
29900 PyObject
* obj0
= 0 ;
29901 PyObject
* obj1
= 0 ;
29902 char * kwnames
[] = {
29903 (char *) "self",(char *) "which", NULL
29906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29911 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29913 if (!SWIG_IsOK(ecode2
)) {
29914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29916 arg2
= static_cast< int >(val2
);
29918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29919 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29932 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29933 PyObject
*resultobj
= 0;
29934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29935 wxImageList
*arg2
= (wxImageList
*) 0 ;
29943 PyObject
* obj0
= 0 ;
29944 PyObject
* obj1
= 0 ;
29945 PyObject
* obj2
= 0 ;
29946 char * kwnames
[] = {
29947 (char *) "self",(char *) "imageList",(char *) "which", NULL
29950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29952 if (!SWIG_IsOK(res1
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29955 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29957 if (!SWIG_IsOK(res2
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29960 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29962 if (!SWIG_IsOK(ecode3
)) {
29963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29965 arg3
= static_cast< int >(val3
);
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 (arg1
)->SetImageList(arg2
,arg3
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29972 resultobj
= SWIG_Py_Void();
29979 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
= 0;
29981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29982 wxImageList
*arg2
= (wxImageList
*) 0 ;
29989 PyObject
* obj0
= 0 ;
29990 PyObject
* obj1
= 0 ;
29991 PyObject
* obj2
= 0 ;
29992 char * kwnames
[] = {
29993 (char *) "self",(char *) "imageList",(char *) "which", NULL
29996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29998 if (!SWIG_IsOK(res1
)) {
29999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30001 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30002 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30003 if (!SWIG_IsOK(res2
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30007 if (!SWIG_IsOK(ecode3
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30010 arg3
= static_cast< int >(val3
);
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 (arg1
)->AssignImageList(arg2
,arg3
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= SWIG_Py_Void();
30024 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30025 PyObject
*resultobj
= 0;
30026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30030 PyObject
*swig_obj
[1] ;
30032 if (!args
) SWIG_fail
;
30033 swig_obj
[0] = args
;
30034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30035 if (!SWIG_IsOK(res1
)) {
30036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30038 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30054 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30055 PyObject
*resultobj
= 0;
30056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30060 PyObject
*swig_obj
[1] ;
30062 if (!args
) SWIG_fail
;
30063 swig_obj
[0] = args
;
30064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30065 if (!SWIG_IsOK(res1
)) {
30066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30068 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30084 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
= 0;
30086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 char * kwnames
[] = {
30095 (char *) "self",(char *) "item", NULL
30098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30100 if (!SWIG_IsOK(res1
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30103 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30104 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30105 if (!SWIG_IsOK(ecode2
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30108 arg2
= static_cast< long >(val2
);
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 (arg1
)->RefreshItem(arg2
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= SWIG_Py_Void();
30122 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
= 0;
30124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30133 PyObject
* obj0
= 0 ;
30134 PyObject
* obj1
= 0 ;
30135 PyObject
* obj2
= 0 ;
30136 char * kwnames
[] = {
30137 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30142 if (!SWIG_IsOK(res1
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30145 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30147 if (!SWIG_IsOK(ecode2
)) {
30148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30150 arg2
= static_cast< long >(val2
);
30151 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30152 if (!SWIG_IsOK(ecode3
)) {
30153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30155 arg3
= static_cast< long >(val3
);
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 (arg1
)->RefreshItems(arg2
,arg3
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= SWIG_Py_Void();
30169 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
= 0;
30171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30172 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "self",(char *) "flag", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30189 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30192 if (!SWIG_IsOK(ecode2
)) {
30193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30195 arg2
= static_cast< int >(val2
);
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 result
= (bool)(arg1
)->Arrange(arg2
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30212 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
= 0;
30214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30221 PyObject
* obj0
= 0 ;
30222 PyObject
* obj1
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "self",(char *) "item", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30229 if (!SWIG_IsOK(res1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30233 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30234 if (!SWIG_IsOK(ecode2
)) {
30235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30237 arg2
= static_cast< long >(val2
);
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (bool)(arg1
)->DeleteItem(arg2
);
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30253 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30254 PyObject
*resultobj
= 0;
30255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30259 PyObject
*swig_obj
[1] ;
30261 if (!args
) SWIG_fail
;
30262 swig_obj
[0] = args
;
30263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30264 if (!SWIG_IsOK(res1
)) {
30265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30267 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 result
= (bool)(arg1
)->DeleteAllItems();
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30283 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
= 0;
30285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 PyObject
* obj1
= 0 ;
30294 char * kwnames
[] = {
30295 (char *) "self",(char *) "col", NULL
30298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30300 if (!SWIG_IsOK(res1
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30303 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30305 if (!SWIG_IsOK(ecode2
)) {
30306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30308 arg2
= static_cast< int >(val2
);
30310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30311 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30324 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30325 PyObject
*resultobj
= 0;
30326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30330 PyObject
*swig_obj
[1] ;
30332 if (!args
) SWIG_fail
;
30333 swig_obj
[0] = args
;
30334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (bool)(arg1
)->DeleteAllColumns();
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30354 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30355 PyObject
*resultobj
= 0;
30356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30359 PyObject
*swig_obj
[1] ;
30361 if (!args
) SWIG_fail
;
30362 swig_obj
[0] = args
;
30363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30367 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 (arg1
)->ClearAll();
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= SWIG_Py_Void();
30381 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
= 0;
30383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 char * kwnames
[] = {
30392 (char *) "self",(char *) "item", NULL
30395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30402 if (!SWIG_IsOK(ecode2
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30405 arg2
= static_cast< long >(val2
);
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30408 (arg1
)->EditLabel(arg2
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 resultobj
= SWIG_Py_Void();
30419 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
= 0;
30421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 char * kwnames
[] = {
30431 (char *) "self",(char *) "item", NULL
30434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30436 if (!SWIG_IsOK(res1
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30439 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30440 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30441 if (!SWIG_IsOK(ecode2
)) {
30442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30444 arg2
= static_cast< long >(val2
);
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30460 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
= 0;
30462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30464 wxString
*arg3
= 0 ;
30465 bool arg4
= (bool) false ;
30471 bool temp3
= false ;
30474 PyObject
* obj0
= 0 ;
30475 PyObject
* obj1
= 0 ;
30476 PyObject
* obj2
= 0 ;
30477 PyObject
* obj3
= 0 ;
30478 char * kwnames
[] = {
30479 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30484 if (!SWIG_IsOK(res1
)) {
30485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30487 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30488 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30489 if (!SWIG_IsOK(ecode2
)) {
30490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30492 arg2
= static_cast< long >(val2
);
30494 arg3
= wxString_in_helper(obj2
);
30495 if (arg3
== NULL
) SWIG_fail
;
30499 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30500 if (!SWIG_IsOK(ecode4
)) {
30501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30503 arg4
= static_cast< bool >(val4
);
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_From_long(static_cast< long >(result
));
30526 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 PyObject
* obj2
= 0 ;
30541 char * kwnames
[] = {
30542 (char *) "self",(char *) "start",(char *) "data", NULL
30545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30547 if (!SWIG_IsOK(res1
)) {
30548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30550 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30552 if (!SWIG_IsOK(ecode2
)) {
30553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30555 arg2
= static_cast< long >(val2
);
30556 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30557 if (!SWIG_IsOK(ecode3
)) {
30558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30560 arg3
= static_cast< long >(val3
);
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 resultobj
= SWIG_From_long(static_cast< long >(result
));
30574 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
= 0;
30576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30578 wxPoint
*arg3
= 0 ;
30588 PyObject
* obj0
= 0 ;
30589 PyObject
* obj1
= 0 ;
30590 PyObject
* obj2
= 0 ;
30591 PyObject
* obj3
= 0 ;
30592 char * kwnames
[] = {
30593 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30598 if (!SWIG_IsOK(res1
)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30602 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30603 if (!SWIG_IsOK(ecode2
)) {
30604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30606 arg2
= static_cast< long >(val2
);
30609 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30611 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30612 if (!SWIG_IsOK(ecode4
)) {
30613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30615 arg4
= static_cast< int >(val4
);
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30622 resultobj
= SWIG_From_long(static_cast< long >(result
));
30629 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30630 PyObject
*resultobj
= 0;
30631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30632 wxPoint
*arg2
= 0 ;
30639 int res3
= SWIG_TMPOBJ
;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char * kwnames
[] = {
30643 (char *) "self",(char *) "point", NULL
30647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30649 if (!SWIG_IsOK(res1
)) {
30650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30652 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= SWIG_From_long(static_cast< long >(result
));
30664 if (SWIG_IsTmpObj(res3
)) {
30665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30667 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30676 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= 0;
30678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30679 wxListItem
*arg2
= 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "info", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30698 if (!SWIG_IsOK(res2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30704 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= (long)(arg1
)->InsertItem(*arg2
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_From_long(static_cast< long >(result
));
30718 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
= 0;
30720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30722 wxString
*arg3
= 0 ;
30723 int arg4
= (int) -1 ;
30729 bool temp3
= false ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 PyObject
* obj2
= 0 ;
30735 PyObject
* obj3
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30745 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30746 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30747 if (!SWIG_IsOK(ecode2
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30750 arg2
= static_cast< long >(val2
);
30752 arg3
= wxString_in_helper(obj2
);
30753 if (arg3
== NULL
) SWIG_fail
;
30757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30758 if (!SWIG_IsOK(ecode4
)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30761 arg4
= static_cast< int >(val4
);
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= SWIG_From_long(static_cast< long >(result
));
30784 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
= 0;
30786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 PyObject
* obj2
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30810 if (!SWIG_IsOK(ecode2
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30813 arg2
= static_cast< long >(val2
);
30814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30815 if (!SWIG_IsOK(ecode3
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30818 arg3
= static_cast< int >(val3
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= SWIG_From_long(static_cast< long >(result
));
30832 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= 0;
30834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30836 wxString
*arg3
= 0 ;
30843 bool temp3
= false ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 PyObject
* obj2
= 0 ;
30849 PyObject
* obj3
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30861 if (!SWIG_IsOK(ecode2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30864 arg2
= static_cast< long >(val2
);
30866 arg3
= wxString_in_helper(obj2
);
30867 if (arg3
== NULL
) SWIG_fail
;
30870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30871 if (!SWIG_IsOK(ecode4
)) {
30872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30874 arg4
= static_cast< int >(val4
);
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_From_long(static_cast< long >(result
));
30896 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
= 0;
30898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30900 wxListItem
*arg3
= 0 ;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 PyObject
* obj2
= 0 ;
30911 char * kwnames
[] = {
30912 (char *) "self",(char *) "col",(char *) "info", NULL
30915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30920 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30922 if (!SWIG_IsOK(ecode2
)) {
30923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30925 arg2
= static_cast< long >(val2
);
30926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30927 if (!SWIG_IsOK(res3
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30933 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_From_long(static_cast< long >(result
));
30947 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
= 0;
30949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30951 wxString
*arg3
= 0 ;
30952 int arg4
= (int) wxLIST_FORMAT_LEFT
;
30953 int arg5
= (int) -1 ;
30959 bool temp3
= false ;
30964 PyObject
* obj0
= 0 ;
30965 PyObject
* obj1
= 0 ;
30966 PyObject
* obj2
= 0 ;
30967 PyObject
* obj3
= 0 ;
30968 PyObject
* obj4
= 0 ;
30969 char * kwnames
[] = {
30970 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
30973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30975 if (!SWIG_IsOK(res1
)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30978 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30979 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30980 if (!SWIG_IsOK(ecode2
)) {
30981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
30983 arg2
= static_cast< long >(val2
);
30985 arg3
= wxString_in_helper(obj2
);
30986 if (arg3
== NULL
) SWIG_fail
;
30990 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30991 if (!SWIG_IsOK(ecode4
)) {
30992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
30994 arg4
= static_cast< int >(val4
);
30997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30998 if (!SWIG_IsOK(ecode5
)) {
30999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31001 arg5
= static_cast< int >(val5
);
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= SWIG_From_long(static_cast< long >(result
));
31024 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
= 0;
31026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 char * kwnames
[] = {
31035 (char *) "self",(char *) "count", NULL
31038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31040 if (!SWIG_IsOK(res1
)) {
31041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31043 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31044 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31045 if (!SWIG_IsOK(ecode2
)) {
31046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31048 arg2
= static_cast< long >(val2
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 (arg1
)->SetItemCount(arg2
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= SWIG_Py_Void();
31062 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
= 0;
31064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 PyObject
* obj2
= 0 ;
31077 char * kwnames
[] = {
31078 (char *) "self",(char *) "dx",(char *) "dy", NULL
31081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31086 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31088 if (!SWIG_IsOK(ecode2
)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31091 arg2
= static_cast< int >(val2
);
31092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31093 if (!SWIG_IsOK(ecode3
)) {
31094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31096 arg3
= static_cast< int >(val3
);
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31112 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
= 0;
31114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31116 wxColour
*arg3
= 0 ;
31122 PyObject
* obj0
= 0 ;
31123 PyObject
* obj1
= 0 ;
31124 PyObject
* obj2
= 0 ;
31125 char * kwnames
[] = {
31126 (char *) "self",(char *) "item",(char *) "col", NULL
31129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31131 if (!SWIG_IsOK(res1
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31134 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31136 if (!SWIG_IsOK(ecode2
)) {
31137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31139 arg2
= static_cast< long >(val2
);
31142 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31147 wxPyEndAllowThreads(__tstate
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= SWIG_Py_Void();
31157 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31158 PyObject
*resultobj
= 0;
31159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31166 PyObject
* obj0
= 0 ;
31167 PyObject
* obj1
= 0 ;
31168 char * kwnames
[] = {
31169 (char *) "self",(char *) "item", NULL
31172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31174 if (!SWIG_IsOK(res1
)) {
31175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31177 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31178 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31179 if (!SWIG_IsOK(ecode2
)) {
31180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31182 arg2
= static_cast< long >(val2
);
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31196 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
= 0;
31198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31200 wxColour
*arg3
= 0 ;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 PyObject
* obj2
= 0 ;
31209 char * kwnames
[] = {
31210 (char *) "self",(char *) "item",(char *) "col", NULL
31213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31215 if (!SWIG_IsOK(res1
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31218 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31219 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31220 if (!SWIG_IsOK(ecode2
)) {
31221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31223 arg2
= static_cast< long >(val2
);
31226 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_Py_Void();
31241 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
= 0;
31243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 PyObject
* obj1
= 0 ;
31252 char * kwnames
[] = {
31253 (char *) "self",(char *) "item", NULL
31256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31258 if (!SWIG_IsOK(res1
)) {
31259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31261 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31262 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31263 if (!SWIG_IsOK(ecode2
)) {
31264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31266 arg2
= static_cast< long >(val2
);
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31270 wxPyEndAllowThreads(__tstate
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31280 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
= 0;
31282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 PyObject
* obj1
= 0 ;
31293 PyObject
* obj2
= 0 ;
31294 char * kwnames
[] = {
31295 (char *) "self",(char *) "item",(char *) "f", NULL
31298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
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_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31308 arg2
= static_cast< long >(val2
);
31309 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31310 if (!SWIG_IsOK(res3
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31316 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31323 resultobj
= SWIG_Py_Void();
31330 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
= 0;
31332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31339 PyObject
* obj0
= 0 ;
31340 PyObject
* obj1
= 0 ;
31341 char * kwnames
[] = {
31342 (char *) "self",(char *) "item", NULL
31345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31347 if (!SWIG_IsOK(res1
)) {
31348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31350 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31351 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31352 if (!SWIG_IsOK(ecode2
)) {
31353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31355 arg2
= static_cast< long >(val2
);
31357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31358 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31359 wxPyEndAllowThreads(__tstate
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31362 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31369 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31370 PyObject
*resultobj
= 0;
31371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31372 PyObject
*arg2
= (PyObject
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 char * kwnames
[] = {
31379 (char *) "self",(char *) "func", NULL
31382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",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_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31387 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31391 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31392 wxPyEndAllowThreads(__tstate
);
31393 if (PyErr_Occurred()) SWIG_fail
;
31396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31404 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31405 PyObject
*resultobj
= 0;
31406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31407 wxWindow
*result
= 0 ;
31410 PyObject
*swig_obj
[1] ;
31412 if (!args
) SWIG_fail
;
31413 swig_obj
[0] = args
;
31414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31415 if (!SWIG_IsOK(res1
)) {
31416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31418 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= wxPyMake_wxObject(result
, 0);
31434 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
= 0;
31436 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31437 SwigValueWrapper
<wxVisualAttributes
> result
;
31440 PyObject
* obj0
= 0 ;
31441 char * kwnames
[] = {
31442 (char *) "variant", NULL
31445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31447 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31448 if (!SWIG_IsOK(ecode1
)) {
31449 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31451 arg1
= static_cast< wxWindowVariant
>(val1
);
31454 if (!wxPyCheckForApp()) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31460 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31467 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31470 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31471 return SWIG_Py_Void();
31474 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31475 return SWIG_Python_InitShadowInstance(args
);
31478 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31479 PyObject
*resultobj
= 0;
31480 wxWindow
*arg1
= (wxWindow
*) 0 ;
31481 int arg2
= (int) -1 ;
31482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31486 long arg5
= (long) wxLC_REPORT
;
31487 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31488 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31489 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31490 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31491 wxListView
*result
= 0 ;
31502 bool temp7
= false ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 PyObject
* obj2
= 0 ;
31506 PyObject
* obj3
= 0 ;
31507 PyObject
* obj4
= 0 ;
31508 PyObject
* obj5
= 0 ;
31509 PyObject
* obj6
= 0 ;
31510 char * kwnames
[] = {
31511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31516 if (!SWIG_IsOK(res1
)) {
31517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31519 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31522 if (!SWIG_IsOK(ecode2
)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31525 arg2
= static_cast< int >(val2
);
31530 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31536 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31540 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31541 if (!SWIG_IsOK(ecode5
)) {
31542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31544 arg5
= static_cast< long >(val5
);
31547 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31548 if (!SWIG_IsOK(res6
)) {
31549 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31554 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31558 arg7
= wxString_in_helper(obj6
);
31559 if (arg7
== NULL
) SWIG_fail
;
31564 if (!wxPyCheckForApp()) SWIG_fail
;
31565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31566 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31585 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31586 PyObject
*resultobj
= 0;
31587 wxListView
*result
= 0 ;
31589 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31591 if (!wxPyCheckForApp()) SWIG_fail
;
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 result
= (wxListView
*)new wxListView();
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31604 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= 0;
31606 wxListView
*arg1
= (wxListView
*) 0 ;
31607 wxWindow
*arg2
= (wxWindow
*) 0 ;
31608 int arg3
= (int) -1 ;
31609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31613 long arg6
= (long) wxLC_REPORT
;
31614 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31615 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31616 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31617 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31631 bool temp8
= false ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 PyObject
* obj2
= 0 ;
31635 PyObject
* obj3
= 0 ;
31636 PyObject
* obj4
= 0 ;
31637 PyObject
* obj5
= 0 ;
31638 PyObject
* obj6
= 0 ;
31639 PyObject
* obj7
= 0 ;
31640 char * kwnames
[] = {
31641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31646 if (!SWIG_IsOK(res1
)) {
31647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31649 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31651 if (!SWIG_IsOK(res2
)) {
31652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31657 if (!SWIG_IsOK(ecode3
)) {
31658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31660 arg3
= static_cast< int >(val3
);
31665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31675 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31676 if (!SWIG_IsOK(ecode6
)) {
31677 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31679 arg6
= static_cast< long >(val6
);
31682 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31683 if (!SWIG_IsOK(res7
)) {
31684 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31689 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31693 arg8
= wxString_in_helper(obj7
);
31694 if (arg8
== NULL
) SWIG_fail
;
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31721 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
= 0;
31723 wxListView
*arg1
= (wxListView
*) 0 ;
31725 bool arg3
= (bool) true ;
31732 PyObject
* obj0
= 0 ;
31733 PyObject
* obj1
= 0 ;
31734 PyObject
* obj2
= 0 ;
31735 char * kwnames
[] = {
31736 (char *) "self",(char *) "n",(char *) "on", NULL
31739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31741 if (!SWIG_IsOK(res1
)) {
31742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31744 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31745 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31746 if (!SWIG_IsOK(ecode2
)) {
31747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31749 arg2
= static_cast< long >(val2
);
31751 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31752 if (!SWIG_IsOK(ecode3
)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31755 arg3
= static_cast< bool >(val3
);
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 (arg1
)->Select(arg2
,arg3
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31763 resultobj
= SWIG_Py_Void();
31770 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31771 PyObject
*resultobj
= 0;
31772 wxListView
*arg1
= (wxListView
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 PyObject
* obj1
= 0 ;
31780 char * kwnames
[] = {
31781 (char *) "self",(char *) "index", NULL
31784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31786 if (!SWIG_IsOK(res1
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31789 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31790 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31791 if (!SWIG_IsOK(ecode2
)) {
31792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31794 arg2
= static_cast< long >(val2
);
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 (arg1
)->Focus(arg2
);
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31801 resultobj
= SWIG_Py_Void();
31808 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31809 PyObject
*resultobj
= 0;
31810 wxListView
*arg1
= (wxListView
*) 0 ;
31814 PyObject
*swig_obj
[1] ;
31816 if (!args
) SWIG_fail
;
31817 swig_obj
[0] = args
;
31818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31819 if (!SWIG_IsOK(res1
)) {
31820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31822 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= SWIG_From_long(static_cast< long >(result
));
31836 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
= 0;
31838 wxListView
*arg1
= (wxListView
*) 0 ;
31845 PyObject
* obj0
= 0 ;
31846 PyObject
* obj1
= 0 ;
31847 char * kwnames
[] = {
31848 (char *) "self",(char *) "item", NULL
31851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31853 if (!SWIG_IsOK(res1
)) {
31854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31856 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31857 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31858 if (!SWIG_IsOK(ecode2
)) {
31859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31861 arg2
= static_cast< long >(val2
);
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= SWIG_From_long(static_cast< long >(result
));
31875 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31876 PyObject
*resultobj
= 0;
31877 wxListView
*arg1
= (wxListView
*) 0 ;
31881 PyObject
*swig_obj
[1] ;
31883 if (!args
) SWIG_fail
;
31884 swig_obj
[0] = args
;
31885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31886 if (!SWIG_IsOK(res1
)) {
31887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31889 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= SWIG_From_long(static_cast< long >(result
));
31903 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
= 0;
31905 wxListView
*arg1
= (wxListView
*) 0 ;
31912 PyObject
* obj0
= 0 ;
31913 PyObject
* obj1
= 0 ;
31914 char * kwnames
[] = {
31915 (char *) "self",(char *) "index", NULL
31918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31920 if (!SWIG_IsOK(res1
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31923 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31925 if (!SWIG_IsOK(ecode2
)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31928 arg2
= static_cast< long >(val2
);
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (bool)(arg1
)->IsSelected(arg2
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31944 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31945 PyObject
*resultobj
= 0;
31946 wxListView
*arg1
= (wxListView
*) 0 ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 PyObject
* obj2
= 0 ;
31958 char * kwnames
[] = {
31959 (char *) "self",(char *) "col",(char *) "image", NULL
31962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31964 if (!SWIG_IsOK(res1
)) {
31965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31967 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31969 if (!SWIG_IsOK(ecode2
)) {
31970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
31972 arg2
= static_cast< int >(val2
);
31973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31974 if (!SWIG_IsOK(ecode3
)) {
31975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
31977 arg3
= static_cast< int >(val3
);
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 (arg1
)->SetColumnImage(arg2
,arg3
);
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31984 resultobj
= SWIG_Py_Void();
31991 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31992 PyObject
*resultobj
= 0;
31993 wxListView
*arg1
= (wxListView
*) 0 ;
31999 PyObject
* obj0
= 0 ;
32000 PyObject
* obj1
= 0 ;
32001 char * kwnames
[] = {
32002 (char *) "self",(char *) "col", NULL
32005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32007 if (!SWIG_IsOK(res1
)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32010 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32012 if (!SWIG_IsOK(ecode2
)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32015 arg2
= static_cast< int >(val2
);
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 (arg1
)->ClearColumnImage(arg2
);
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32022 resultobj
= SWIG_Py_Void();
32029 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32032 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32033 return SWIG_Py_Void();
32036 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32037 return SWIG_Python_InitShadowInstance(args
);
32040 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32041 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32046 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32047 PyObject
*pyobj
= 0;
32051 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32053 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32060 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32061 PyObject
*resultobj
= 0;
32062 wxTreeItemId
*result
= 0 ;
32064 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 result
= (wxTreeItemId
*)new wxTreeItemId();
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32078 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 PyObject
*resultobj
= 0;
32080 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32083 PyObject
*swig_obj
[1] ;
32085 if (!args
) SWIG_fail
;
32086 swig_obj
[0] = args
;
32087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32088 if (!SWIG_IsOK(res1
)) {
32089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32091 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= SWIG_Py_Void();
32106 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32107 PyObject
*resultobj
= 0;
32108 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32112 PyObject
*swig_obj
[1] ;
32114 if (!args
) SWIG_fail
;
32115 swig_obj
[0] = args
;
32116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32117 if (!SWIG_IsOK(res1
)) {
32118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32120 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32124 wxPyEndAllowThreads(__tstate
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32136 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
= 0;
32138 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32139 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 char * kwnames
[] = {
32148 (char *) "self",(char *) "other", NULL
32151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32153 if (!SWIG_IsOK(res1
)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32156 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32158 if (!SWIG_IsOK(res2
)) {
32159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32161 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32165 wxPyEndAllowThreads(__tstate
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32177 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32178 PyObject
*resultobj
= 0;
32179 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32180 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32186 PyObject
* obj0
= 0 ;
32187 PyObject
* obj1
= 0 ;
32188 char * kwnames
[] = {
32189 (char *) "self",(char *) "other", NULL
32192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32194 if (!SWIG_IsOK(res1
)) {
32195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32197 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32199 if (!SWIG_IsOK(res2
)) {
32200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32202 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32205 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32206 wxPyEndAllowThreads(__tstate
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32218 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32219 PyObject
*resultobj
= 0;
32220 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32221 void *arg2
= (void *) 0 ;
32225 PyObject
*swig_obj
[2] ;
32227 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32229 if (!SWIG_IsOK(res1
)) {
32230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32232 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32233 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32234 if (!SWIG_IsOK(res2
)) {
32235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32237 if (arg1
) (arg1
)->m_pItem
= arg2
;
32239 resultobj
= SWIG_Py_Void();
32246 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32247 PyObject
*resultobj
= 0;
32248 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32252 PyObject
*swig_obj
[1] ;
32254 if (!args
) SWIG_fail
;
32255 swig_obj
[0] = args
;
32256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32257 if (!SWIG_IsOK(res1
)) {
32258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32260 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32261 result
= (void *) ((arg1
)->m_pItem
);
32262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32269 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32272 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32273 return SWIG_Py_Void();
32276 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32277 return SWIG_Python_InitShadowInstance(args
);
32280 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
= 0;
32282 PyObject
*arg1
= (PyObject
*) NULL
;
32283 wxPyTreeItemData
*result
= 0 ;
32284 PyObject
* obj0
= 0 ;
32285 char * kwnames
[] = {
32286 (char *) "obj", NULL
32289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32306 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32307 PyObject
*resultobj
= 0;
32308 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32311 PyObject
*swig_obj
[1] ;
32313 if (!args
) SWIG_fail
;
32314 swig_obj
[0] = args
;
32315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32316 if (!SWIG_IsOK(res1
)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32319 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= SWIG_Py_Void();
32334 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32335 PyObject
*resultobj
= 0;
32336 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32337 PyObject
*result
= 0 ;
32340 PyObject
*swig_obj
[1] ;
32342 if (!args
) SWIG_fail
;
32343 swig_obj
[0] = args
;
32344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32345 if (!SWIG_IsOK(res1
)) {
32346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32348 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32351 result
= (PyObject
*)(arg1
)->GetData();
32352 wxPyEndAllowThreads(__tstate
);
32353 if (PyErr_Occurred()) SWIG_fail
;
32355 resultobj
= result
;
32362 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32363 PyObject
*resultobj
= 0;
32364 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32365 PyObject
*arg2
= (PyObject
*) 0 ;
32368 PyObject
* obj0
= 0 ;
32369 PyObject
* obj1
= 0 ;
32370 char * kwnames
[] = {
32371 (char *) "self",(char *) "obj", NULL
32374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32376 if (!SWIG_IsOK(res1
)) {
32377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32379 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 (arg1
)->SetData(arg2
);
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= SWIG_Py_Void();
32394 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32395 PyObject
*resultobj
= 0;
32396 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32397 wxTreeItemId
*result
= 0 ;
32400 PyObject
*swig_obj
[1] ;
32402 if (!args
) SWIG_fail
;
32403 swig_obj
[0] = args
;
32404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32405 if (!SWIG_IsOK(res1
)) {
32406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32408 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32413 result
= (wxTreeItemId
*) &_result_ref
;
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32425 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32426 PyObject
*resultobj
= 0;
32427 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32428 wxTreeItemId
*arg2
= 0 ;
32433 PyObject
* obj0
= 0 ;
32434 PyObject
* obj1
= 0 ;
32435 char * kwnames
[] = {
32436 (char *) "self",(char *) "id", NULL
32439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32441 if (!SWIG_IsOK(res1
)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32444 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32446 if (!SWIG_IsOK(res2
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32452 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 resultobj
= SWIG_Py_Void();
32466 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32467 PyObject
*resultobj
= 0;
32468 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32471 PyObject
*swig_obj
[1] ;
32473 if (!args
) SWIG_fail
;
32474 swig_obj
[0] = args
;
32475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32476 if (!SWIG_IsOK(res1
)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32479 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32482 wxPyTreeItemData_Destroy(arg1
);
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32486 resultobj
= SWIG_Py_Void();
32493 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32496 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32497 return SWIG_Py_Void();
32500 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32501 return SWIG_Python_InitShadowInstance(args
);
32504 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32505 PyObject
*resultobj
= 0;
32506 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32507 int arg2
= (int) 0 ;
32508 wxTreeEvent
*result
= 0 ;
32513 PyObject
* obj0
= 0 ;
32514 PyObject
* obj1
= 0 ;
32515 char * kwnames
[] = {
32516 (char *) "commandType",(char *) "id", NULL
32519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32522 if (!SWIG_IsOK(ecode1
)) {
32523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32525 arg1
= static_cast< wxEventType
>(val1
);
32528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32529 if (!SWIG_IsOK(ecode2
)) {
32530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32532 arg2
= static_cast< int >(val2
);
32535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32536 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32547 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32548 PyObject
*resultobj
= 0;
32549 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32550 wxTreeItemId result
;
32553 PyObject
*swig_obj
[1] ;
32555 if (!args
) SWIG_fail
;
32556 swig_obj
[0] = args
;
32557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32558 if (!SWIG_IsOK(res1
)) {
32559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32561 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32565 wxPyEndAllowThreads(__tstate
);
32566 if (PyErr_Occurred()) SWIG_fail
;
32568 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32575 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32576 PyObject
*resultobj
= 0;
32577 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32578 wxTreeItemId
*arg2
= 0 ;
32583 PyObject
* obj0
= 0 ;
32584 PyObject
* obj1
= 0 ;
32585 char * kwnames
[] = {
32586 (char *) "self",(char *) "item", NULL
32589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32591 if (!SWIG_IsOK(res1
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32594 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32596 if (!SWIG_IsOK(res2
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32602 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32606 wxPyEndAllowThreads(__tstate
);
32607 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= SWIG_Py_Void();
32616 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32617 PyObject
*resultobj
= 0;
32618 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32619 wxTreeItemId result
;
32622 PyObject
*swig_obj
[1] ;
32624 if (!args
) SWIG_fail
;
32625 swig_obj
[0] = args
;
32626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32630 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32644 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
= 0;
32646 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32647 wxTreeItemId
*arg2
= 0 ;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 char * kwnames
[] = {
32655 (char *) "self",(char *) "item", NULL
32658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32660 if (!SWIG_IsOK(res1
)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32663 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32665 if (!SWIG_IsOK(res2
)) {
32666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32678 resultobj
= SWIG_Py_Void();
32685 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32686 PyObject
*resultobj
= 0;
32687 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32691 PyObject
*swig_obj
[1] ;
32693 if (!args
) SWIG_fail
;
32694 swig_obj
[0] = args
;
32695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32696 if (!SWIG_IsOK(res1
)) {
32697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32699 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32702 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32713 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32716 wxPoint
*arg2
= 0 ;
32720 PyObject
* obj0
= 0 ;
32721 PyObject
* obj1
= 0 ;
32722 char * kwnames
[] = {
32723 (char *) "self",(char *) "pt", NULL
32726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32728 if (!SWIG_IsOK(res1
)) {
32729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32731 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32738 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32742 resultobj
= SWIG_Py_Void();
32749 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32750 PyObject
*resultobj
= 0;
32751 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32752 wxKeyEvent
*result
= 0 ;
32755 PyObject
*swig_obj
[1] ;
32757 if (!args
) SWIG_fail
;
32758 swig_obj
[0] = args
;
32759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32760 if (!SWIG_IsOK(res1
)) {
32761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32763 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32767 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32768 result
= (wxKeyEvent
*) &_result_ref
;
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32780 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32781 PyObject
*resultobj
= 0;
32782 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32786 PyObject
*swig_obj
[1] ;
32788 if (!args
) SWIG_fail
;
32789 swig_obj
[0] = args
;
32790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32794 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32797 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= SWIG_From_int(static_cast< int >(result
));
32808 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32809 PyObject
*resultobj
= 0;
32810 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32811 wxKeyEvent
*arg2
= 0 ;
32816 PyObject
* obj0
= 0 ;
32817 PyObject
* obj1
= 0 ;
32818 char * kwnames
[] = {
32819 (char *) "self",(char *) "evt", NULL
32822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32824 if (!SWIG_IsOK(res1
)) {
32825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32827 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32828 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32829 if (!SWIG_IsOK(res2
)) {
32830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32835 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32842 resultobj
= SWIG_Py_Void();
32849 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32850 PyObject
*resultobj
= 0;
32851 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32852 wxString
*result
= 0 ;
32855 PyObject
*swig_obj
[1] ;
32857 if (!args
) SWIG_fail
;
32858 swig_obj
[0] = args
;
32859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32860 if (!SWIG_IsOK(res1
)) {
32861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32863 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32868 result
= (wxString
*) &_result_ref
;
32870 wxPyEndAllowThreads(__tstate
);
32871 if (PyErr_Occurred()) SWIG_fail
;
32875 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32877 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32886 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
= 0;
32888 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32889 wxString
*arg2
= 0 ;
32892 bool temp2
= false ;
32893 PyObject
* obj0
= 0 ;
32894 PyObject
* obj1
= 0 ;
32895 char * kwnames
[] = {
32896 (char *) "self",(char *) "label", NULL
32899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32901 if (!SWIG_IsOK(res1
)) {
32902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32904 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32906 arg2
= wxString_in_helper(obj1
);
32907 if (arg2
== NULL
) SWIG_fail
;
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 (arg1
)->SetLabel((wxString
const &)*arg2
);
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32916 resultobj
= SWIG_Py_Void();
32931 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32932 PyObject
*resultobj
= 0;
32933 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32937 PyObject
*swig_obj
[1] ;
32939 if (!args
) SWIG_fail
;
32940 swig_obj
[0] = args
;
32941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32942 if (!SWIG_IsOK(res1
)) {
32943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32945 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32948 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32961 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32962 PyObject
*resultobj
= 0;
32963 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 char * kwnames
[] = {
32972 (char *) "self",(char *) "editCancelled", NULL
32975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32980 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32981 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32982 if (!SWIG_IsOK(ecode2
)) {
32983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
32985 arg2
= static_cast< bool >(val2
);
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 (arg1
)->SetEditCanceled(arg2
);
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= SWIG_Py_Void();
32999 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33000 PyObject
*resultobj
= 0;
33001 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33002 wxString
*arg2
= 0 ;
33005 bool temp2
= false ;
33006 PyObject
* obj0
= 0 ;
33007 PyObject
* obj1
= 0 ;
33008 char * kwnames
[] = {
33009 (char *) "self",(char *) "toolTip", NULL
33012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33014 if (!SWIG_IsOK(res1
)) {
33015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33017 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33019 arg2
= wxString_in_helper(obj1
);
33020 if (arg2
== NULL
) SWIG_fail
;
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 resultobj
= SWIG_Py_Void();
33044 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33045 PyObject
*resultobj
= 0;
33046 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33050 PyObject
*swig_obj
[1] ;
33052 if (!args
) SWIG_fail
;
33053 swig_obj
[0] = args
;
33054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33055 if (!SWIG_IsOK(res1
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33058 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 result
= (arg1
)->GetToolTip();
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33078 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33081 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33082 return SWIG_Py_Void();
33085 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33086 return SWIG_Python_InitShadowInstance(args
);
33089 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33090 PyObject
*resultobj
= 0;
33091 wxWindow
*arg1
= (wxWindow
*) 0 ;
33092 int arg2
= (int) -1 ;
33093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33097 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33098 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33099 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33100 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33102 wxPyTreeCtrl
*result
= 0 ;
33113 bool temp7
= false ;
33114 PyObject
* obj0
= 0 ;
33115 PyObject
* obj1
= 0 ;
33116 PyObject
* obj2
= 0 ;
33117 PyObject
* obj3
= 0 ;
33118 PyObject
* obj4
= 0 ;
33119 PyObject
* obj5
= 0 ;
33120 PyObject
* obj6
= 0 ;
33121 char * kwnames
[] = {
33122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33127 if (!SWIG_IsOK(res1
)) {
33128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33133 if (!SWIG_IsOK(ecode2
)) {
33134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33136 arg2
= static_cast< int >(val2
);
33141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33151 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33152 if (!SWIG_IsOK(ecode5
)) {
33153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33155 arg5
= static_cast< long >(val5
);
33158 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33159 if (!SWIG_IsOK(res6
)) {
33160 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33165 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33169 arg7
= wxString_in_helper(obj6
);
33170 if (arg7
== NULL
) SWIG_fail
;
33175 if (!wxPyCheckForApp()) SWIG_fail
;
33176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33177 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33178 wxPyEndAllowThreads(__tstate
);
33179 if (PyErr_Occurred()) SWIG_fail
;
33181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33196 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33197 PyObject
*resultobj
= 0;
33198 wxPyTreeCtrl
*result
= 0 ;
33200 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33202 if (!wxPyCheckForApp()) SWIG_fail
;
33203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33204 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33215 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33216 PyObject
*resultobj
= 0;
33217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33218 wxWindow
*arg2
= (wxWindow
*) 0 ;
33219 int arg3
= (int) -1 ;
33220 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33221 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33222 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33223 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33224 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33225 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33226 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33227 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33228 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33242 bool temp8
= false ;
33243 PyObject
* obj0
= 0 ;
33244 PyObject
* obj1
= 0 ;
33245 PyObject
* obj2
= 0 ;
33246 PyObject
* obj3
= 0 ;
33247 PyObject
* obj4
= 0 ;
33248 PyObject
* obj5
= 0 ;
33249 PyObject
* obj6
= 0 ;
33250 PyObject
* obj7
= 0 ;
33251 char * kwnames
[] = {
33252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33257 if (!SWIG_IsOK(res1
)) {
33258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33260 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33262 if (!SWIG_IsOK(res2
)) {
33263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33265 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33268 if (!SWIG_IsOK(ecode3
)) {
33269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33271 arg3
= static_cast< int >(val3
);
33276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33286 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33287 if (!SWIG_IsOK(ecode6
)) {
33288 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33290 arg6
= static_cast< long >(val6
);
33293 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33294 if (!SWIG_IsOK(res7
)) {
33295 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33300 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33304 arg8
= wxString_in_helper(obj7
);
33305 if (arg8
== NULL
) SWIG_fail
;
33310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33312 wxPyEndAllowThreads(__tstate
);
33313 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33332 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
= 0;
33334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33335 PyObject
*arg2
= (PyObject
*) 0 ;
33336 PyObject
*arg3
= (PyObject
*) 0 ;
33339 PyObject
* obj0
= 0 ;
33340 PyObject
* obj1
= 0 ;
33341 PyObject
* obj2
= 0 ;
33342 char * kwnames
[] = {
33343 (char *) "self",(char *) "self",(char *) "_class", NULL
33346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33348 if (!SWIG_IsOK(res1
)) {
33349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33351 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33356 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33357 wxPyEndAllowThreads(__tstate
);
33358 if (PyErr_Occurred()) SWIG_fail
;
33360 resultobj
= SWIG_Py_Void();
33367 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33368 PyObject
*resultobj
= 0;
33369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33370 unsigned int result
;
33373 PyObject
*swig_obj
[1] ;
33375 if (!args
) SWIG_fail
;
33376 swig_obj
[0] = args
;
33377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33378 if (!SWIG_IsOK(res1
)) {
33379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33384 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33385 wxPyEndAllowThreads(__tstate
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33395 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33396 PyObject
*resultobj
= 0;
33397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33398 unsigned int result
;
33401 PyObject
*swig_obj
[1] ;
33403 if (!args
) SWIG_fail
;
33404 swig_obj
[0] = args
;
33405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33406 if (!SWIG_IsOK(res1
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33409 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33413 wxPyEndAllowThreads(__tstate
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33416 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33423 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33424 PyObject
*resultobj
= 0;
33425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33426 unsigned int arg2
;
33429 unsigned int val2
;
33431 PyObject
* obj0
= 0 ;
33432 PyObject
* obj1
= 0 ;
33433 char * kwnames
[] = {
33434 (char *) "self",(char *) "indent", NULL
33437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33439 if (!SWIG_IsOK(res1
)) {
33440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33442 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33443 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33444 if (!SWIG_IsOK(ecode2
)) {
33445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33447 arg2
= static_cast< unsigned int >(val2
);
33449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33450 (arg1
)->SetIndent(arg2
);
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= SWIG_Py_Void();
33461 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33462 PyObject
*resultobj
= 0;
33463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33464 unsigned int result
;
33467 PyObject
*swig_obj
[1] ;
33469 if (!args
) SWIG_fail
;
33470 swig_obj
[0] = args
;
33471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33472 if (!SWIG_IsOK(res1
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33475 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33479 wxPyEndAllowThreads(__tstate
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33482 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33489 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33490 PyObject
*resultobj
= 0;
33491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33492 unsigned int arg2
;
33495 unsigned int val2
;
33497 PyObject
* obj0
= 0 ;
33498 PyObject
* obj1
= 0 ;
33499 char * kwnames
[] = {
33500 (char *) "self",(char *) "spacing", NULL
33503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33505 if (!SWIG_IsOK(res1
)) {
33506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33508 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33509 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33510 if (!SWIG_IsOK(ecode2
)) {
33511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33513 arg2
= static_cast< unsigned int >(val2
);
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 (arg1
)->SetSpacing(arg2
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= SWIG_Py_Void();
33527 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33528 PyObject
*resultobj
= 0;
33529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33530 wxImageList
*result
= 0 ;
33533 PyObject
*swig_obj
[1] ;
33535 if (!args
) SWIG_fail
;
33536 swig_obj
[0] = args
;
33537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33538 if (!SWIG_IsOK(res1
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33541 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33557 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33558 PyObject
*resultobj
= 0;
33559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33560 wxImageList
*result
= 0 ;
33563 PyObject
*swig_obj
[1] ;
33565 if (!args
) SWIG_fail
;
33566 swig_obj
[0] = args
;
33567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33568 if (!SWIG_IsOK(res1
)) {
33569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33571 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33579 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33587 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
= 0;
33589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33590 wxImageList
*arg2
= (wxImageList
*) 0 ;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 char * kwnames
[] = {
33598 (char *) "self",(char *) "imageList", NULL
33601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33603 if (!SWIG_IsOK(res1
)) {
33604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33606 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33608 if (!SWIG_IsOK(res2
)) {
33609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33611 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 (arg1
)->SetImageList(arg2
);
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= SWIG_Py_Void();
33625 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33626 PyObject
*resultobj
= 0;
33627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33628 wxImageList
*arg2
= (wxImageList
*) 0 ;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 char * kwnames
[] = {
33636 (char *) "self",(char *) "imageList", NULL
33639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33641 if (!SWIG_IsOK(res1
)) {
33642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33644 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33646 if (!SWIG_IsOK(res2
)) {
33647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33649 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33652 (arg1
)->SetStateImageList(arg2
);
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= SWIG_Py_Void();
33663 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33664 PyObject
*resultobj
= 0;
33665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33666 wxImageList
*arg2
= (wxImageList
*) 0 ;
33670 PyObject
* obj0
= 0 ;
33671 PyObject
* obj1
= 0 ;
33672 char * kwnames
[] = {
33673 (char *) "self",(char *) "imageList", NULL
33676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33678 if (!SWIG_IsOK(res1
)) {
33679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33681 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33682 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33683 if (!SWIG_IsOK(res2
)) {
33684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33688 (arg1
)->AssignImageList(arg2
);
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_Py_Void();
33699 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
= 0;
33701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33702 wxImageList
*arg2
= (wxImageList
*) 0 ;
33706 PyObject
* obj0
= 0 ;
33707 PyObject
* obj1
= 0 ;
33708 char * kwnames
[] = {
33709 (char *) "self",(char *) "imageList", NULL
33712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33714 if (!SWIG_IsOK(res1
)) {
33715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33717 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33718 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33719 if (!SWIG_IsOK(res2
)) {
33720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 (arg1
)->AssignStateImageList(arg2
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33728 resultobj
= SWIG_Py_Void();
33735 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33736 PyObject
*resultobj
= 0;
33737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33738 wxTreeItemId
*arg2
= 0 ;
33744 PyObject
* obj0
= 0 ;
33745 PyObject
* obj1
= 0 ;
33746 char * kwnames
[] = {
33747 (char *) "self",(char *) "item", NULL
33750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33752 if (!SWIG_IsOK(res1
)) {
33753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33755 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33757 if (!SWIG_IsOK(res2
)) {
33758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33763 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33783 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33784 PyObject
*resultobj
= 0;
33785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33786 wxTreeItemId
*arg2
= 0 ;
33787 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 PyObject
* obj2
= 0 ;
33798 char * kwnames
[] = {
33799 (char *) "self",(char *) "item",(char *) "which", NULL
33802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33807 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33809 if (!SWIG_IsOK(res2
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33815 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33818 if (!SWIG_IsOK(ecode3
)) {
33819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33821 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= SWIG_From_int(static_cast< int >(result
));
33836 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33837 PyObject
*resultobj
= 0;
33838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33839 wxTreeItemId
*arg2
= 0 ;
33840 wxPyTreeItemData
*result
= 0 ;
33845 PyObject
* obj0
= 0 ;
33846 PyObject
* obj1
= 0 ;
33847 char * kwnames
[] = {
33848 (char *) "self",(char *) "item", NULL
33851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33853 if (!SWIG_IsOK(res1
)) {
33854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33856 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33858 if (!SWIG_IsOK(res2
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33864 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33867 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33868 wxPyEndAllowThreads(__tstate
);
33869 if (PyErr_Occurred()) SWIG_fail
;
33871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33878 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
= 0;
33880 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33881 wxTreeItemId
*arg2
= 0 ;
33882 PyObject
*result
= 0 ;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char * kwnames
[] = {
33890 (char *) "self",(char *) "item", NULL
33893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33895 if (!SWIG_IsOK(res1
)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33898 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33900 if (!SWIG_IsOK(res2
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33906 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33913 resultobj
= result
;
33920 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33921 PyObject
*resultobj
= 0;
33922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33923 wxTreeItemId
*arg2
= 0 ;
33929 PyObject
* obj0
= 0 ;
33930 PyObject
* obj1
= 0 ;
33931 char * kwnames
[] = {
33932 (char *) "self",(char *) "item", NULL
33935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33937 if (!SWIG_IsOK(res1
)) {
33938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33940 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33942 if (!SWIG_IsOK(res2
)) {
33943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33948 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33962 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33963 PyObject
*resultobj
= 0;
33964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33965 wxTreeItemId
*arg2
= 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_GetItemBackgroundColour",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_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34004 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
= 0;
34006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34007 wxTreeItemId
*arg2
= 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_GetItemFont",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_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34046 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
= 0;
34048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34049 wxTreeItemId
*arg2
= 0 ;
34050 wxString
*arg3
= 0 ;
34055 bool temp3
= false ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 PyObject
* obj2
= 0 ;
34059 char * kwnames
[] = {
34060 (char *) "self",(char *) "item",(char *) "text", NULL
34063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34065 if (!SWIG_IsOK(res1
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34070 if (!SWIG_IsOK(res2
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34076 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34078 arg3
= wxString_in_helper(obj2
);
34079 if (arg3
== NULL
) SWIG_fail
;
34083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34084 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34085 wxPyEndAllowThreads(__tstate
);
34086 if (PyErr_Occurred()) SWIG_fail
;
34088 resultobj
= SWIG_Py_Void();
34103 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
= 0;
34105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34106 wxTreeItemId
*arg2
= 0 ;
34108 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 PyObject
* obj2
= 0 ;
34120 PyObject
* obj3
= 0 ;
34121 char * kwnames
[] = {
34122 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34127 if (!SWIG_IsOK(res1
)) {
34128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34132 if (!SWIG_IsOK(res2
)) {
34133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34140 if (!SWIG_IsOK(ecode3
)) {
34141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34143 arg3
= static_cast< int >(val3
);
34145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34146 if (!SWIG_IsOK(ecode4
)) {
34147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34149 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34154 wxPyEndAllowThreads(__tstate
);
34155 if (PyErr_Occurred()) SWIG_fail
;
34157 resultobj
= SWIG_Py_Void();
34164 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34165 PyObject
*resultobj
= 0;
34166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34167 wxTreeItemId
*arg2
= 0 ;
34168 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34174 PyObject
* obj0
= 0 ;
34175 PyObject
* obj1
= 0 ;
34176 PyObject
* obj2
= 0 ;
34177 char * kwnames
[] = {
34178 (char *) "self",(char *) "item",(char *) "data", NULL
34181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34183 if (!SWIG_IsOK(res1
)) {
34184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34186 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34188 if (!SWIG_IsOK(res2
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34194 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34195 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34196 if (!SWIG_IsOK(res3
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34201 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 resultobj
= SWIG_Py_Void();
34212 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34213 PyObject
*resultobj
= 0;
34214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34215 wxTreeItemId
*arg2
= 0 ;
34216 PyObject
*arg3
= (PyObject
*) 0 ;
34221 PyObject
* obj0
= 0 ;
34222 PyObject
* obj1
= 0 ;
34223 PyObject
* obj2
= 0 ;
34224 char * kwnames
[] = {
34225 (char *) "self",(char *) "item",(char *) "obj", NULL
34228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34230 if (!SWIG_IsOK(res1
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34233 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34235 if (!SWIG_IsOK(res2
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34241 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34245 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34249 resultobj
= SWIG_Py_Void();
34256 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34257 PyObject
*resultobj
= 0;
34258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34259 wxTreeItemId
*arg2
= 0 ;
34260 bool arg3
= (bool) true ;
34267 PyObject
* obj0
= 0 ;
34268 PyObject
* obj1
= 0 ;
34269 PyObject
* obj2
= 0 ;
34270 char * kwnames
[] = {
34271 (char *) "self",(char *) "item",(char *) "has", NULL
34274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34276 if (!SWIG_IsOK(res1
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34279 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34281 if (!SWIG_IsOK(res2
)) {
34282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34287 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34289 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34290 if (!SWIG_IsOK(ecode3
)) {
34291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34293 arg3
= static_cast< bool >(val3
);
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34298 wxPyEndAllowThreads(__tstate
);
34299 if (PyErr_Occurred()) SWIG_fail
;
34301 resultobj
= SWIG_Py_Void();
34308 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34309 PyObject
*resultobj
= 0;
34310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34311 wxTreeItemId
*arg2
= 0 ;
34312 bool arg3
= (bool) true ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 PyObject
* obj2
= 0 ;
34322 char * kwnames
[] = {
34323 (char *) "self",(char *) "item",(char *) "bold", NULL
34326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34328 if (!SWIG_IsOK(res1
)) {
34329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34333 if (!SWIG_IsOK(res2
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34339 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34341 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34342 if (!SWIG_IsOK(ecode3
)) {
34343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34345 arg3
= static_cast< bool >(val3
);
34348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34349 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34353 resultobj
= SWIG_Py_Void();
34360 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34361 PyObject
*resultobj
= 0;
34362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34363 wxTreeItemId
*arg2
= 0 ;
34364 bool arg3
= (bool) true ;
34371 PyObject
* obj0
= 0 ;
34372 PyObject
* obj1
= 0 ;
34373 PyObject
* obj2
= 0 ;
34374 char * kwnames
[] = {
34375 (char *) "self",(char *) "item",(char *) "highlight", NULL
34378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34380 if (!SWIG_IsOK(res1
)) {
34381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34383 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34384 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34385 if (!SWIG_IsOK(res2
)) {
34386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34391 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34393 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34394 if (!SWIG_IsOK(ecode3
)) {
34395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34397 arg3
= static_cast< bool >(val3
);
34400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34401 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34402 wxPyEndAllowThreads(__tstate
);
34403 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= SWIG_Py_Void();
34412 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
= 0;
34414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34415 wxTreeItemId
*arg2
= 0 ;
34416 wxColour
*arg3
= 0 ;
34422 PyObject
* obj0
= 0 ;
34423 PyObject
* obj1
= 0 ;
34424 PyObject
* obj2
= 0 ;
34425 char * kwnames
[] = {
34426 (char *) "self",(char *) "item",(char *) "col", NULL
34429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34431 if (!SWIG_IsOK(res1
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34434 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34436 if (!SWIG_IsOK(res2
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34442 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34445 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34449 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34450 wxPyEndAllowThreads(__tstate
);
34451 if (PyErr_Occurred()) SWIG_fail
;
34453 resultobj
= SWIG_Py_Void();
34460 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
= 0;
34462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34463 wxTreeItemId
*arg2
= 0 ;
34464 wxColour
*arg3
= 0 ;
34470 PyObject
* obj0
= 0 ;
34471 PyObject
* obj1
= 0 ;
34472 PyObject
* obj2
= 0 ;
34473 char * kwnames
[] = {
34474 (char *) "self",(char *) "item",(char *) "col", NULL
34477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34479 if (!SWIG_IsOK(res1
)) {
34480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34482 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34484 if (!SWIG_IsOK(res2
)) {
34485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34490 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34493 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34497 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34501 resultobj
= SWIG_Py_Void();
34508 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34509 PyObject
*resultobj
= 0;
34510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34511 wxTreeItemId
*arg2
= 0 ;
34519 PyObject
* obj0
= 0 ;
34520 PyObject
* obj1
= 0 ;
34521 PyObject
* obj2
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "item",(char *) "font", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34531 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34533 if (!SWIG_IsOK(res2
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34539 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34540 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34541 if (!SWIG_IsOK(res3
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34547 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34550 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34554 resultobj
= SWIG_Py_Void();
34561 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34562 PyObject
*resultobj
= 0;
34563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34564 wxTreeItemId
*arg2
= 0 ;
34570 PyObject
* obj0
= 0 ;
34571 PyObject
* obj1
= 0 ;
34572 char * kwnames
[] = {
34573 (char *) "self",(char *) "item", NULL
34576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34578 if (!SWIG_IsOK(res1
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34581 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34583 if (!SWIG_IsOK(res2
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34589 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34593 wxPyEndAllowThreads(__tstate
);
34594 if (PyErr_Occurred()) SWIG_fail
;
34597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34605 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
= 0;
34607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34608 wxTreeItemId
*arg2
= 0 ;
34614 PyObject
* obj0
= 0 ;
34615 PyObject
* obj1
= 0 ;
34616 char * kwnames
[] = {
34617 (char *) "self",(char *) "item", NULL
34620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34622 if (!SWIG_IsOK(res1
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34627 if (!SWIG_IsOK(res2
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34649 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
= 0;
34651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34652 wxTreeItemId
*arg2
= 0 ;
34658 PyObject
* obj0
= 0 ;
34659 PyObject
* obj1
= 0 ;
34660 char * kwnames
[] = {
34661 (char *) "self",(char *) "item", NULL
34664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34666 if (!SWIG_IsOK(res1
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34671 if (!SWIG_IsOK(res2
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34693 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34694 PyObject
*resultobj
= 0;
34695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34696 wxTreeItemId
*arg2
= 0 ;
34702 PyObject
* obj0
= 0 ;
34703 PyObject
* obj1
= 0 ;
34704 char * kwnames
[] = {
34705 (char *) "self",(char *) "item", NULL
34708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34710 if (!SWIG_IsOK(res1
)) {
34711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34713 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34715 if (!SWIG_IsOK(res2
)) {
34716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34721 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34724 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34725 wxPyEndAllowThreads(__tstate
);
34726 if (PyErr_Occurred()) SWIG_fail
;
34729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34737 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34738 PyObject
*resultobj
= 0;
34739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34740 wxTreeItemId
*arg2
= 0 ;
34746 PyObject
* obj0
= 0 ;
34747 PyObject
* obj1
= 0 ;
34748 char * kwnames
[] = {
34749 (char *) "self",(char *) "item", NULL
34752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34754 if (!SWIG_IsOK(res1
)) {
34755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34757 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34759 if (!SWIG_IsOK(res2
)) {
34760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34765 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34769 wxPyEndAllowThreads(__tstate
);
34770 if (PyErr_Occurred()) SWIG_fail
;
34773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34781 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
= 0;
34783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34784 wxTreeItemId
*arg2
= 0 ;
34785 bool arg3
= (bool) true ;
34793 PyObject
* obj0
= 0 ;
34794 PyObject
* obj1
= 0 ;
34795 PyObject
* obj2
= 0 ;
34796 char * kwnames
[] = {
34797 (char *) "self",(char *) "item",(char *) "recursively", NULL
34800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34802 if (!SWIG_IsOK(res1
)) {
34803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34805 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34807 if (!SWIG_IsOK(res2
)) {
34808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34813 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34815 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34816 if (!SWIG_IsOK(ecode3
)) {
34817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34819 arg3
= static_cast< bool >(val3
);
34822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34823 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34824 wxPyEndAllowThreads(__tstate
);
34825 if (PyErr_Occurred()) SWIG_fail
;
34827 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34834 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34835 PyObject
*resultobj
= 0;
34836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34837 wxTreeItemId result
;
34840 PyObject
*swig_obj
[1] ;
34842 if (!args
) SWIG_fail
;
34843 swig_obj
[0] = args
;
34844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34845 if (!SWIG_IsOK(res1
)) {
34846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34848 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34851 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34852 wxPyEndAllowThreads(__tstate
);
34853 if (PyErr_Occurred()) SWIG_fail
;
34855 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34862 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34863 PyObject
*resultobj
= 0;
34864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34865 wxTreeItemId result
;
34868 PyObject
*swig_obj
[1] ;
34870 if (!args
) SWIG_fail
;
34871 swig_obj
[0] = args
;
34872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34873 if (!SWIG_IsOK(res1
)) {
34874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34879 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34890 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34891 PyObject
*resultobj
= 0;
34892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34893 PyObject
*result
= 0 ;
34896 PyObject
*swig_obj
[1] ;
34898 if (!args
) SWIG_fail
;
34899 swig_obj
[0] = args
;
34900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34901 if (!SWIG_IsOK(res1
)) {
34902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34904 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= result
;
34918 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34921 wxTreeItemId
*arg2
= 0 ;
34922 wxTreeItemId result
;
34927 PyObject
* obj0
= 0 ;
34928 PyObject
* obj1
= 0 ;
34929 char * kwnames
[] = {
34930 (char *) "self",(char *) "item", NULL
34933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34935 if (!SWIG_IsOK(res1
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34938 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34940 if (!SWIG_IsOK(res2
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34946 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34960 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34961 PyObject
*resultobj
= 0;
34962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34963 wxTreeItemId
*arg2
= 0 ;
34964 PyObject
*result
= 0 ;
34969 PyObject
* obj0
= 0 ;
34970 PyObject
* obj1
= 0 ;
34971 char * kwnames
[] = {
34972 (char *) "self",(char *) "item", NULL
34975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34977 if (!SWIG_IsOK(res1
)) {
34978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34980 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34982 if (!SWIG_IsOK(res2
)) {
34983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34988 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= result
;
35002 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
= 0;
35004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35005 wxTreeItemId
*arg2
= 0 ;
35006 void *arg3
= (void *) 0 ;
35007 PyObject
*result
= 0 ;
35013 PyObject
* obj0
= 0 ;
35014 PyObject
* obj1
= 0 ;
35015 PyObject
* obj2
= 0 ;
35016 char * kwnames
[] = {
35017 (char *) "self",(char *) "item",(char *) "cookie", NULL
35020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35022 if (!SWIG_IsOK(res1
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35025 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35026 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35027 if (!SWIG_IsOK(res2
)) {
35028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35033 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35034 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35035 if (!SWIG_IsOK(res3
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35041 wxPyEndAllowThreads(__tstate
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35044 resultobj
= result
;
35051 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35052 PyObject
*resultobj
= 0;
35053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35054 wxTreeItemId
*arg2
= 0 ;
35055 wxTreeItemId result
;
35060 PyObject
* obj0
= 0 ;
35061 PyObject
* obj1
= 0 ;
35062 char * kwnames
[] = {
35063 (char *) "self",(char *) "item", NULL
35066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35068 if (!SWIG_IsOK(res1
)) {
35069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35071 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35073 if (!SWIG_IsOK(res2
)) {
35074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35079 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35083 wxPyEndAllowThreads(__tstate
);
35084 if (PyErr_Occurred()) SWIG_fail
;
35086 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35093 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35094 PyObject
*resultobj
= 0;
35095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35096 wxTreeItemId
*arg2
= 0 ;
35097 wxTreeItemId result
;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 char * kwnames
[] = {
35105 (char *) "self",(char *) "item", NULL
35108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35110 if (!SWIG_IsOK(res1
)) {
35111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35113 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35115 if (!SWIG_IsOK(res2
)) {
35116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35121 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35124 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35125 wxPyEndAllowThreads(__tstate
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35128 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35135 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35136 PyObject
*resultobj
= 0;
35137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35138 wxTreeItemId
*arg2
= 0 ;
35139 wxTreeItemId result
;
35144 PyObject
* obj0
= 0 ;
35145 PyObject
* obj1
= 0 ;
35146 char * kwnames
[] = {
35147 (char *) "self",(char *) "item", NULL
35150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35152 if (!SWIG_IsOK(res1
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35155 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35157 if (!SWIG_IsOK(res2
)) {
35158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35163 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35166 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35177 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35178 PyObject
*resultobj
= 0;
35179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35180 wxTreeItemId result
;
35183 PyObject
*swig_obj
[1] ;
35185 if (!args
) SWIG_fail
;
35186 swig_obj
[0] = args
;
35187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35191 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35194 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35205 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
= 0;
35207 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35208 wxTreeItemId
*arg2
= 0 ;
35209 wxTreeItemId result
;
35214 PyObject
* obj0
= 0 ;
35215 PyObject
* obj1
= 0 ;
35216 char * kwnames
[] = {
35217 (char *) "self",(char *) "item", NULL
35220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35222 if (!SWIG_IsOK(res1
)) {
35223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35225 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35227 if (!SWIG_IsOK(res2
)) {
35228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35233 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35247 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
= 0;
35249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35250 wxTreeItemId
*arg2
= 0 ;
35251 wxTreeItemId result
;
35256 PyObject
* obj0
= 0 ;
35257 PyObject
* obj1
= 0 ;
35258 char * kwnames
[] = {
35259 (char *) "self",(char *) "item", NULL
35262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35264 if (!SWIG_IsOK(res1
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35267 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35268 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35269 if (!SWIG_IsOK(res2
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35275 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35278 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35279 wxPyEndAllowThreads(__tstate
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35282 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35289 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35290 PyObject
*resultobj
= 0;
35291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35292 wxString
*arg2
= 0 ;
35293 int arg3
= (int) -1 ;
35294 int arg4
= (int) -1 ;
35295 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35296 wxTreeItemId result
;
35299 bool temp2
= false ;
35305 PyObject
* obj0
= 0 ;
35306 PyObject
* obj1
= 0 ;
35307 PyObject
* obj2
= 0 ;
35308 PyObject
* obj3
= 0 ;
35309 PyObject
* obj4
= 0 ;
35310 char * kwnames
[] = {
35311 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35316 if (!SWIG_IsOK(res1
)) {
35317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35319 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35321 arg2
= wxString_in_helper(obj1
);
35322 if (arg2
== NULL
) SWIG_fail
;
35326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35327 if (!SWIG_IsOK(ecode3
)) {
35328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35330 arg3
= static_cast< int >(val3
);
35333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35334 if (!SWIG_IsOK(ecode4
)) {
35335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35337 arg4
= static_cast< int >(val4
);
35340 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35341 if (!SWIG_IsOK(res5
)) {
35342 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35348 wxPyEndAllowThreads(__tstate
);
35349 if (PyErr_Occurred()) SWIG_fail
;
35351 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35366 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35367 PyObject
*resultobj
= 0;
35368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35369 wxTreeItemId
*arg2
= 0 ;
35370 wxString
*arg3
= 0 ;
35371 int arg4
= (int) -1 ;
35372 int arg5
= (int) -1 ;
35373 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35374 wxTreeItemId result
;
35379 bool temp3
= false ;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 PyObject
* obj2
= 0 ;
35388 PyObject
* obj3
= 0 ;
35389 PyObject
* obj4
= 0 ;
35390 PyObject
* obj5
= 0 ;
35391 char * kwnames
[] = {
35392 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35397 if (!SWIG_IsOK(res1
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35402 if (!SWIG_IsOK(res2
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35408 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35410 arg3
= wxString_in_helper(obj2
);
35411 if (arg3
== NULL
) SWIG_fail
;
35415 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35416 if (!SWIG_IsOK(ecode4
)) {
35417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35419 arg4
= static_cast< int >(val4
);
35422 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35423 if (!SWIG_IsOK(ecode5
)) {
35424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35426 arg5
= static_cast< int >(val5
);
35429 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35430 if (!SWIG_IsOK(res6
)) {
35431 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35436 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35440 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35455 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35456 PyObject
*resultobj
= 0;
35457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35458 wxTreeItemId
*arg2
= 0 ;
35459 wxTreeItemId
*arg3
= 0 ;
35460 wxString
*arg4
= 0 ;
35461 int arg5
= (int) -1 ;
35462 int arg6
= (int) -1 ;
35463 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35464 wxTreeItemId result
;
35471 bool temp4
= false ;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 PyObject
* obj2
= 0 ;
35480 PyObject
* obj3
= 0 ;
35481 PyObject
* obj4
= 0 ;
35482 PyObject
* obj5
= 0 ;
35483 PyObject
* obj6
= 0 ;
35484 char * kwnames
[] = {
35485 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35490 if (!SWIG_IsOK(res1
)) {
35491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35493 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35495 if (!SWIG_IsOK(res2
)) {
35496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35501 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35502 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35503 if (!SWIG_IsOK(res3
)) {
35504 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35509 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35511 arg4
= wxString_in_helper(obj3
);
35512 if (arg4
== NULL
) SWIG_fail
;
35516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35517 if (!SWIG_IsOK(ecode5
)) {
35518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35520 arg5
= static_cast< int >(val5
);
35523 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35524 if (!SWIG_IsOK(ecode6
)) {
35525 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35527 arg6
= static_cast< int >(val6
);
35530 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35531 if (!SWIG_IsOK(res7
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35537 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35538 wxPyEndAllowThreads(__tstate
);
35539 if (PyErr_Occurred()) SWIG_fail
;
35541 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35556 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35557 PyObject
*resultobj
= 0;
35558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35559 wxTreeItemId
*arg2
= 0 ;
35561 wxString
*arg4
= 0 ;
35562 int arg5
= (int) -1 ;
35563 int arg6
= (int) -1 ;
35564 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35565 wxTreeItemId result
;
35572 bool temp4
= false ;
35578 PyObject
* obj0
= 0 ;
35579 PyObject
* obj1
= 0 ;
35580 PyObject
* obj2
= 0 ;
35581 PyObject
* obj3
= 0 ;
35582 PyObject
* obj4
= 0 ;
35583 PyObject
* obj5
= 0 ;
35584 PyObject
* obj6
= 0 ;
35585 char * kwnames
[] = {
35586 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35591 if (!SWIG_IsOK(res1
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35594 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35596 if (!SWIG_IsOK(res2
)) {
35597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35602 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35603 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35604 if (!SWIG_IsOK(ecode3
)) {
35605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35607 arg3
= static_cast< size_t >(val3
);
35609 arg4
= wxString_in_helper(obj3
);
35610 if (arg4
== NULL
) SWIG_fail
;
35614 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35615 if (!SWIG_IsOK(ecode5
)) {
35616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35618 arg5
= static_cast< int >(val5
);
35621 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35622 if (!SWIG_IsOK(ecode6
)) {
35623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35625 arg6
= static_cast< int >(val6
);
35628 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35629 if (!SWIG_IsOK(res7
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35635 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35636 wxPyEndAllowThreads(__tstate
);
35637 if (PyErr_Occurred()) SWIG_fail
;
35639 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35654 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35655 PyObject
*resultobj
= 0;
35656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35657 wxTreeItemId
*arg2
= 0 ;
35658 wxString
*arg3
= 0 ;
35659 int arg4
= (int) -1 ;
35660 int arg5
= (int) -1 ;
35661 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35662 wxTreeItemId result
;
35667 bool temp3
= false ;
35673 PyObject
* obj0
= 0 ;
35674 PyObject
* obj1
= 0 ;
35675 PyObject
* obj2
= 0 ;
35676 PyObject
* obj3
= 0 ;
35677 PyObject
* obj4
= 0 ;
35678 PyObject
* obj5
= 0 ;
35679 char * kwnames
[] = {
35680 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35685 if (!SWIG_IsOK(res1
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35688 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35690 if (!SWIG_IsOK(res2
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35696 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35698 arg3
= wxString_in_helper(obj2
);
35699 if (arg3
== NULL
) SWIG_fail
;
35703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35704 if (!SWIG_IsOK(ecode4
)) {
35705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35707 arg4
= static_cast< int >(val4
);
35710 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35711 if (!SWIG_IsOK(ecode5
)) {
35712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35714 arg5
= static_cast< int >(val5
);
35717 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35718 if (!SWIG_IsOK(res6
)) {
35719 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35724 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35725 wxPyEndAllowThreads(__tstate
);
35726 if (PyErr_Occurred()) SWIG_fail
;
35728 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35743 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35744 PyObject
*resultobj
= 0;
35745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35746 wxTreeItemId
*arg2
= 0 ;
35751 PyObject
* obj0
= 0 ;
35752 PyObject
* obj1
= 0 ;
35753 char * kwnames
[] = {
35754 (char *) "self",(char *) "item", NULL
35757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35759 if (!SWIG_IsOK(res1
)) {
35760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35762 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35764 if (!SWIG_IsOK(res2
)) {
35765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35770 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35774 wxPyEndAllowThreads(__tstate
);
35775 if (PyErr_Occurred()) SWIG_fail
;
35777 resultobj
= SWIG_Py_Void();
35784 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35785 PyObject
*resultobj
= 0;
35786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35787 wxTreeItemId
*arg2
= 0 ;
35792 PyObject
* obj0
= 0 ;
35793 PyObject
* obj1
= 0 ;
35794 char * kwnames
[] = {
35795 (char *) "self",(char *) "item", NULL
35798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35800 if (!SWIG_IsOK(res1
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35803 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35805 if (!SWIG_IsOK(res2
)) {
35806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35814 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35815 wxPyEndAllowThreads(__tstate
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35818 resultobj
= SWIG_Py_Void();
35825 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35826 PyObject
*resultobj
= 0;
35827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35830 PyObject
*swig_obj
[1] ;
35832 if (!args
) SWIG_fail
;
35833 swig_obj
[0] = args
;
35834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35835 if (!SWIG_IsOK(res1
)) {
35836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35838 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35841 (arg1
)->DeleteAllItems();
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35845 resultobj
= SWIG_Py_Void();
35852 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35853 PyObject
*resultobj
= 0;
35854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35855 wxTreeItemId
*arg2
= 0 ;
35860 PyObject
* obj0
= 0 ;
35861 PyObject
* obj1
= 0 ;
35862 char * kwnames
[] = {
35863 (char *) "self",(char *) "item", NULL
35866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35868 if (!SWIG_IsOK(res1
)) {
35869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35871 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35873 if (!SWIG_IsOK(res2
)) {
35874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35879 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35883 wxPyEndAllowThreads(__tstate
);
35884 if (PyErr_Occurred()) SWIG_fail
;
35886 resultobj
= SWIG_Py_Void();
35893 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35894 PyObject
*resultobj
= 0;
35895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35896 wxTreeItemId
*arg2
= 0 ;
35901 PyObject
* obj0
= 0 ;
35902 PyObject
* obj1
= 0 ;
35903 char * kwnames
[] = {
35904 (char *) "self",(char *) "item", NULL
35907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35909 if (!SWIG_IsOK(res1
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35912 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35914 if (!SWIG_IsOK(res2
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_Py_Void();
35934 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= 0;
35936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35937 wxTreeItemId
*arg2
= 0 ;
35942 PyObject
* obj0
= 0 ;
35943 PyObject
* obj1
= 0 ;
35944 char * kwnames
[] = {
35945 (char *) "self",(char *) "item", NULL
35948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35950 if (!SWIG_IsOK(res1
)) {
35951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35953 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35955 if (!SWIG_IsOK(res2
)) {
35956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35961 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35968 resultobj
= SWIG_Py_Void();
35975 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
= 0;
35977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35978 wxTreeItemId
*arg2
= 0 ;
35983 PyObject
* obj0
= 0 ;
35984 PyObject
* obj1
= 0 ;
35985 char * kwnames
[] = {
35986 (char *) "self",(char *) "item", NULL
35989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35991 if (!SWIG_IsOK(res1
)) {
35992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35994 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35996 if (!SWIG_IsOK(res2
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36002 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36006 wxPyEndAllowThreads(__tstate
);
36007 if (PyErr_Occurred()) SWIG_fail
;
36009 resultobj
= SWIG_Py_Void();
36016 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36017 PyObject
*resultobj
= 0;
36018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36021 PyObject
*swig_obj
[1] ;
36023 if (!args
) SWIG_fail
;
36024 swig_obj
[0] = args
;
36025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36026 if (!SWIG_IsOK(res1
)) {
36027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36029 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->Unselect();
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_Py_Void();
36043 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36046 wxTreeItemId
*arg2
= 0 ;
36051 PyObject
* obj0
= 0 ;
36052 PyObject
* obj1
= 0 ;
36053 char * kwnames
[] = {
36054 (char *) "self",(char *) "item", NULL
36057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36059 if (!SWIG_IsOK(res1
)) {
36060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36062 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36064 if (!SWIG_IsOK(res2
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36070 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36073 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36074 wxPyEndAllowThreads(__tstate
);
36075 if (PyErr_Occurred()) SWIG_fail
;
36077 resultobj
= SWIG_Py_Void();
36084 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36085 PyObject
*resultobj
= 0;
36086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36089 PyObject
*swig_obj
[1] ;
36091 if (!args
) SWIG_fail
;
36092 swig_obj
[0] = args
;
36093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36094 if (!SWIG_IsOK(res1
)) {
36095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36097 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 (arg1
)->UnselectAll();
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_Py_Void();
36111 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36114 wxTreeItemId
*arg2
= 0 ;
36115 bool arg3
= (bool) true ;
36122 PyObject
* obj0
= 0 ;
36123 PyObject
* obj1
= 0 ;
36124 PyObject
* obj2
= 0 ;
36125 char * kwnames
[] = {
36126 (char *) "self",(char *) "item",(char *) "select", NULL
36129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36131 if (!SWIG_IsOK(res1
)) {
36132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36134 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36136 if (!SWIG_IsOK(res2
)) {
36137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36142 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36144 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36145 if (!SWIG_IsOK(ecode3
)) {
36146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36148 arg3
= static_cast< bool >(val3
);
36151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36152 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36153 wxPyEndAllowThreads(__tstate
);
36154 if (PyErr_Occurred()) SWIG_fail
;
36156 resultobj
= SWIG_Py_Void();
36163 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36164 PyObject
*resultobj
= 0;
36165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36166 wxTreeItemId
*arg2
= 0 ;
36171 PyObject
* obj0
= 0 ;
36172 PyObject
* obj1
= 0 ;
36173 char * kwnames
[] = {
36174 (char *) "self",(char *) "item", NULL
36177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36179 if (!SWIG_IsOK(res1
)) {
36180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36182 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36184 if (!SWIG_IsOK(res2
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36190 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36193 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36194 wxPyEndAllowThreads(__tstate
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= SWIG_Py_Void();
36204 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
= 0;
36206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36207 wxTreeItemId
*arg2
= 0 ;
36212 PyObject
* obj0
= 0 ;
36213 PyObject
* obj1
= 0 ;
36214 char * kwnames
[] = {
36215 (char *) "self",(char *) "item", NULL
36218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36225 if (!SWIG_IsOK(res2
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36231 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36234 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36235 wxPyEndAllowThreads(__tstate
);
36236 if (PyErr_Occurred()) SWIG_fail
;
36238 resultobj
= SWIG_Py_Void();
36245 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36246 PyObject
*resultobj
= 0;
36247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36248 wxTreeItemId
*arg2
= 0 ;
36253 PyObject
* obj0
= 0 ;
36254 PyObject
* obj1
= 0 ;
36255 char * kwnames
[] = {
36256 (char *) "self",(char *) "item", NULL
36259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36261 if (!SWIG_IsOK(res1
)) {
36262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36264 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36266 if (!SWIG_IsOK(res2
)) {
36267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36272 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36276 wxPyEndAllowThreads(__tstate
);
36277 if (PyErr_Occurred()) SWIG_fail
;
36279 resultobj
= SWIG_Py_Void();
36286 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36287 PyObject
*resultobj
= 0;
36288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36289 wxTreeItemId
*arg2
= 0 ;
36294 PyObject
* obj0
= 0 ;
36295 PyObject
* obj1
= 0 ;
36296 char * kwnames
[] = {
36297 (char *) "self",(char *) "item", NULL
36300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36302 if (!SWIG_IsOK(res1
)) {
36303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36305 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36307 if (!SWIG_IsOK(res2
)) {
36308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36313 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36316 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36317 wxPyEndAllowThreads(__tstate
);
36318 if (PyErr_Occurred()) SWIG_fail
;
36320 resultobj
= SWIG_Py_Void();
36327 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36328 PyObject
*resultobj
= 0;
36329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36330 wxTextCtrl
*result
= 0 ;
36333 PyObject
*swig_obj
[1] ;
36335 if (!args
) SWIG_fail
;
36336 swig_obj
[0] = args
;
36337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36338 if (!SWIG_IsOK(res1
)) {
36339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36341 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36345 wxPyEndAllowThreads(__tstate
);
36346 if (PyErr_Occurred()) SWIG_fail
;
36349 resultobj
= wxPyMake_wxObject(result
, 0);
36357 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
= 0;
36359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36360 wxTreeItemId
*arg2
= 0 ;
36365 PyObject
* obj0
= 0 ;
36366 PyObject
* obj1
= 0 ;
36367 char * kwnames
[] = {
36368 (char *) "self",(char *) "item", NULL
36371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36373 if (!SWIG_IsOK(res1
)) {
36374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36376 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36378 if (!SWIG_IsOK(res2
)) {
36379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36384 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36387 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36388 wxPyEndAllowThreads(__tstate
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36391 resultobj
= SWIG_Py_Void();
36398 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36399 PyObject
*resultobj
= 0;
36400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36401 wxPoint
*arg2
= 0 ;
36403 wxTreeItemId result
;
36408 int res3
= SWIG_TMPOBJ
;
36409 PyObject
* obj0
= 0 ;
36410 PyObject
* obj1
= 0 ;
36411 char * kwnames
[] = {
36412 (char *) "self",(char *) "point", NULL
36416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36418 if (!SWIG_IsOK(res1
)) {
36419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36421 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36432 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36433 if (SWIG_IsTmpObj(res3
)) {
36434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36436 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36445 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
= 0;
36447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36448 wxTreeItemId
*arg2
= 0 ;
36449 bool arg3
= (bool) false ;
36450 PyObject
*result
= 0 ;
36457 PyObject
* obj0
= 0 ;
36458 PyObject
* obj1
= 0 ;
36459 PyObject
* obj2
= 0 ;
36460 char * kwnames
[] = {
36461 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36466 if (!SWIG_IsOK(res1
)) {
36467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36469 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36471 if (!SWIG_IsOK(res2
)) {
36472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36477 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36479 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36480 if (!SWIG_IsOK(ecode3
)) {
36481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36483 arg3
= static_cast< bool >(val3
);
36486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36487 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36488 wxPyEndAllowThreads(__tstate
);
36489 if (PyErr_Occurred()) SWIG_fail
;
36491 resultobj
= result
;
36498 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36499 PyObject
*resultobj
= 0;
36500 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36501 SwigValueWrapper
<wxVisualAttributes
> result
;
36504 PyObject
* obj0
= 0 ;
36505 char * kwnames
[] = {
36506 (char *) "variant", NULL
36509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36511 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36512 if (!SWIG_IsOK(ecode1
)) {
36513 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36515 arg1
= static_cast< wxWindowVariant
>(val1
);
36518 if (!wxPyCheckForApp()) SWIG_fail
;
36519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36520 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36521 wxPyEndAllowThreads(__tstate
);
36522 if (PyErr_Occurred()) SWIG_fail
;
36524 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36531 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36534 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36535 return SWIG_Py_Void();
36538 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36539 return SWIG_Python_InitShadowInstance(args
);
36542 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36543 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36548 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36549 PyObject
*pyobj
= 0;
36553 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36555 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36562 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36563 PyObject
*resultobj
= 0;
36564 wxWindow
*arg1
= (wxWindow
*) 0 ;
36565 int arg2
= (int) (int)-1 ;
36566 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36567 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36568 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36569 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36570 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36571 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36572 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36573 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36574 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36575 int arg8
= (int) 0 ;
36576 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36577 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36578 wxGenericDirCtrl
*result
= 0 ;
36583 bool temp3
= false ;
36588 bool temp7
= false ;
36591 bool temp9
= false ;
36592 PyObject
* obj0
= 0 ;
36593 PyObject
* obj1
= 0 ;
36594 PyObject
* obj2
= 0 ;
36595 PyObject
* obj3
= 0 ;
36596 PyObject
* obj4
= 0 ;
36597 PyObject
* obj5
= 0 ;
36598 PyObject
* obj6
= 0 ;
36599 PyObject
* obj7
= 0 ;
36600 PyObject
* obj8
= 0 ;
36601 char * kwnames
[] = {
36602 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36607 if (!SWIG_IsOK(res1
)) {
36608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36613 if (!SWIG_IsOK(ecode2
)) {
36614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36616 arg2
= static_cast< int >(val2
);
36620 arg3
= wxString_in_helper(obj2
);
36621 if (arg3
== NULL
) SWIG_fail
;
36628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36638 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36639 if (!SWIG_IsOK(ecode6
)) {
36640 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36642 arg6
= static_cast< long >(val6
);
36646 arg7
= wxString_in_helper(obj6
);
36647 if (arg7
== NULL
) SWIG_fail
;
36652 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36653 if (!SWIG_IsOK(ecode8
)) {
36654 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36656 arg8
= static_cast< int >(val8
);
36660 arg9
= wxString_in_helper(obj8
);
36661 if (arg9
== NULL
) SWIG_fail
;
36666 if (!wxPyCheckForApp()) SWIG_fail
;
36667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36668 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36703 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36704 PyObject
*resultobj
= 0;
36705 wxGenericDirCtrl
*result
= 0 ;
36707 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36709 if (!wxPyCheckForApp()) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36712 wxPyEndAllowThreads(__tstate
);
36713 if (PyErr_Occurred()) SWIG_fail
;
36715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36722 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36723 PyObject
*resultobj
= 0;
36724 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36725 wxWindow
*arg2
= (wxWindow
*) 0 ;
36726 int arg3
= (int) (int)-1 ;
36727 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36728 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36729 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36730 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36731 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36732 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36733 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36734 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36735 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36736 int arg9
= (int) 0 ;
36737 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36738 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36746 bool temp4
= false ;
36751 bool temp8
= false ;
36754 bool temp10
= false ;
36755 PyObject
* obj0
= 0 ;
36756 PyObject
* obj1
= 0 ;
36757 PyObject
* obj2
= 0 ;
36758 PyObject
* obj3
= 0 ;
36759 PyObject
* obj4
= 0 ;
36760 PyObject
* obj5
= 0 ;
36761 PyObject
* obj6
= 0 ;
36762 PyObject
* obj7
= 0 ;
36763 PyObject
* obj8
= 0 ;
36764 PyObject
* obj9
= 0 ;
36765 char * kwnames
[] = {
36766 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36771 if (!SWIG_IsOK(res1
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36774 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36776 if (!SWIG_IsOK(res2
)) {
36777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36782 if (!SWIG_IsOK(ecode3
)) {
36783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36785 arg3
= static_cast< int >(val3
);
36789 arg4
= wxString_in_helper(obj3
);
36790 if (arg4
== NULL
) SWIG_fail
;
36797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36807 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36808 if (!SWIG_IsOK(ecode7
)) {
36809 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36811 arg7
= static_cast< long >(val7
);
36815 arg8
= wxString_in_helper(obj7
);
36816 if (arg8
== NULL
) SWIG_fail
;
36821 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36822 if (!SWIG_IsOK(ecode9
)) {
36823 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36825 arg9
= static_cast< int >(val9
);
36829 arg10
= wxString_in_helper(obj9
);
36830 if (arg10
== NULL
) SWIG_fail
;
36835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36836 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36873 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36874 PyObject
*resultobj
= 0;
36875 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36876 wxString
*arg2
= 0 ;
36880 bool temp2
= false ;
36881 PyObject
* obj0
= 0 ;
36882 PyObject
* obj1
= 0 ;
36883 char * kwnames
[] = {
36884 (char *) "self",(char *) "path", NULL
36887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36889 if (!SWIG_IsOK(res1
)) {
36890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36892 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36894 arg2
= wxString_in_helper(obj1
);
36895 if (arg2
== NULL
) SWIG_fail
;
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
36901 wxPyEndAllowThreads(__tstate
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36921 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36922 PyObject
*resultobj
= 0;
36923 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36927 PyObject
*swig_obj
[1] ;
36929 if (!args
) SWIG_fail
;
36930 swig_obj
[0] = args
;
36931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36932 if (!SWIG_IsOK(res1
)) {
36933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36935 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36955 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
= 0;
36957 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36958 wxString
*arg2
= 0 ;
36961 bool temp2
= false ;
36962 PyObject
* obj0
= 0 ;
36963 PyObject
* obj1
= 0 ;
36964 char * kwnames
[] = {
36965 (char *) "self",(char *) "path", NULL
36968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36970 if (!SWIG_IsOK(res1
)) {
36971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36973 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36975 arg2
= wxString_in_helper(obj1
);
36976 if (arg2
== NULL
) SWIG_fail
;
36980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36981 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
36982 wxPyEndAllowThreads(__tstate
);
36983 if (PyErr_Occurred()) SWIG_fail
;
36985 resultobj
= SWIG_Py_Void();
37000 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37001 PyObject
*resultobj
= 0;
37002 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37006 PyObject
*swig_obj
[1] ;
37008 if (!args
) SWIG_fail
;
37009 swig_obj
[0] = args
;
37010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37011 if (!SWIG_IsOK(res1
)) {
37012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37014 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37017 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37018 wxPyEndAllowThreads(__tstate
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37034 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37035 PyObject
*resultobj
= 0;
37036 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37040 PyObject
*swig_obj
[1] ;
37042 if (!args
) SWIG_fail
;
37043 swig_obj
[0] = args
;
37044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37045 if (!SWIG_IsOK(res1
)) {
37046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37048 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37051 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37052 wxPyEndAllowThreads(__tstate
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37068 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37069 PyObject
*resultobj
= 0;
37070 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37071 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_SetPath",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_SetPath" "', 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 (arg1
)->SetPath((wxString
const &)*arg2
);
37095 wxPyEndAllowThreads(__tstate
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= SWIG_Py_Void();
37113 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37114 PyObject
*resultobj
= 0;
37115 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37121 PyObject
* obj0
= 0 ;
37122 PyObject
* obj1
= 0 ;
37123 char * kwnames
[] = {
37124 (char *) "self",(char *) "show", NULL
37127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37129 if (!SWIG_IsOK(res1
)) {
37130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37132 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37133 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37134 if (!SWIG_IsOK(ecode2
)) {
37135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37137 arg2
= static_cast< bool >(val2
);
37139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37140 (arg1
)->ShowHidden(arg2
);
37141 wxPyEndAllowThreads(__tstate
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37144 resultobj
= SWIG_Py_Void();
37151 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37152 PyObject
*resultobj
= 0;
37153 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37157 PyObject
*swig_obj
[1] ;
37159 if (!args
) SWIG_fail
;
37160 swig_obj
[0] = args
;
37161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37162 if (!SWIG_IsOK(res1
)) {
37163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37165 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37168 result
= (bool)(arg1
)->GetShowHidden();
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37181 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37182 PyObject
*resultobj
= 0;
37183 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37187 PyObject
*swig_obj
[1] ;
37189 if (!args
) SWIG_fail
;
37190 swig_obj
[0] = args
;
37191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37195 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37198 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37199 wxPyEndAllowThreads(__tstate
);
37200 if (PyErr_Occurred()) SWIG_fail
;
37204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37215 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37216 PyObject
*resultobj
= 0;
37217 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37218 wxString
*arg2
= 0 ;
37221 bool temp2
= false ;
37222 PyObject
* obj0
= 0 ;
37223 PyObject
* obj1
= 0 ;
37224 char * kwnames
[] = {
37225 (char *) "self",(char *) "filter", NULL
37228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37230 if (!SWIG_IsOK(res1
)) {
37231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37233 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37235 arg2
= wxString_in_helper(obj1
);
37236 if (arg2
== NULL
) SWIG_fail
;
37240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37241 (arg1
)->SetFilter((wxString
const &)*arg2
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 resultobj
= SWIG_Py_Void();
37260 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37261 PyObject
*resultobj
= 0;
37262 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37266 PyObject
*swig_obj
[1] ;
37268 if (!args
) SWIG_fail
;
37269 swig_obj
[0] = args
;
37270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37271 if (!SWIG_IsOK(res1
)) {
37272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37274 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 resultobj
= SWIG_From_int(static_cast< int >(result
));
37288 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
= 0;
37290 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37296 PyObject
* obj0
= 0 ;
37297 PyObject
* obj1
= 0 ;
37298 char * kwnames
[] = {
37299 (char *) "self",(char *) "n", NULL
37302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37304 if (!SWIG_IsOK(res1
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37307 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37309 if (!SWIG_IsOK(ecode2
)) {
37310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37312 arg2
= static_cast< int >(val2
);
37314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37315 (arg1
)->SetFilterIndex(arg2
);
37316 wxPyEndAllowThreads(__tstate
);
37317 if (PyErr_Occurred()) SWIG_fail
;
37319 resultobj
= SWIG_Py_Void();
37326 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37327 PyObject
*resultobj
= 0;
37328 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37329 wxTreeItemId result
;
37332 PyObject
*swig_obj
[1] ;
37334 if (!args
) SWIG_fail
;
37335 swig_obj
[0] = args
;
37336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37337 if (!SWIG_IsOK(res1
)) {
37338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37340 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37343 result
= (arg1
)->GetRootId();
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37354 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37355 PyObject
*resultobj
= 0;
37356 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37357 wxPyTreeCtrl
*result
= 0 ;
37360 PyObject
*swig_obj
[1] ;
37362 if (!args
) SWIG_fail
;
37363 swig_obj
[0] = args
;
37364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37365 if (!SWIG_IsOK(res1
)) {
37366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37368 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= wxPyMake_wxObject(result
, 0);
37384 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37385 PyObject
*resultobj
= 0;
37386 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37387 wxDirFilterListCtrl
*result
= 0 ;
37390 PyObject
*swig_obj
[1] ;
37392 if (!args
) SWIG_fail
;
37393 swig_obj
[0] = args
;
37394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37395 if (!SWIG_IsOK(res1
)) {
37396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37398 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37401 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37402 wxPyEndAllowThreads(__tstate
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37412 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37413 PyObject
*resultobj
= 0;
37414 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37415 wxTreeItemId arg2
;
37416 wxString
*arg3
= 0 ;
37418 wxTreeItemId result
;
37423 bool temp3
= false ;
37425 int res4
= SWIG_TMPOBJ
;
37426 PyObject
* obj0
= 0 ;
37427 PyObject
* obj1
= 0 ;
37428 PyObject
* obj2
= 0 ;
37429 char * kwnames
[] = {
37430 (char *) "self",(char *) "parentId",(char *) "path", NULL
37434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37436 if (!SWIG_IsOK(res1
)) {
37437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37439 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37442 if (!SWIG_IsOK(res2
)) {
37443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37448 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37450 if (SWIG_IsNewObj(res2
)) delete temp
;
37454 arg3
= wxString_in_helper(obj2
);
37455 if (arg3
== NULL
) SWIG_fail
;
37459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37460 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37461 wxPyEndAllowThreads(__tstate
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37464 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37465 if (SWIG_IsTmpObj(res4
)) {
37466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37468 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37485 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37486 PyObject
*resultobj
= 0;
37487 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37490 PyObject
*swig_obj
[1] ;
37492 if (!args
) SWIG_fail
;
37493 swig_obj
[0] = args
;
37494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37495 if (!SWIG_IsOK(res1
)) {
37496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37498 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37501 (arg1
)->DoResize();
37502 wxPyEndAllowThreads(__tstate
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37505 resultobj
= SWIG_Py_Void();
37512 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37513 PyObject
*resultobj
= 0;
37514 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37517 PyObject
*swig_obj
[1] ;
37519 if (!args
) SWIG_fail
;
37520 swig_obj
[0] = args
;
37521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37522 if (!SWIG_IsOK(res1
)) {
37523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37525 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37528 (arg1
)->ReCreateTree();
37529 wxPyEndAllowThreads(__tstate
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37532 resultobj
= SWIG_Py_Void();
37539 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37542 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37543 return SWIG_Py_Void();
37546 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37547 return SWIG_Python_InitShadowInstance(args
);
37550 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
= 0;
37552 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37553 int arg2
= (int) (int)-1 ;
37554 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37555 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37556 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37557 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37558 long arg5
= (long) 0 ;
37559 wxDirFilterListCtrl
*result
= 0 ;
37568 PyObject
* obj0
= 0 ;
37569 PyObject
* obj1
= 0 ;
37570 PyObject
* obj2
= 0 ;
37571 PyObject
* obj3
= 0 ;
37572 PyObject
* obj4
= 0 ;
37573 char * kwnames
[] = {
37574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37579 if (!SWIG_IsOK(res1
)) {
37580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37582 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37585 if (!SWIG_IsOK(ecode2
)) {
37586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37588 arg2
= static_cast< int >(val2
);
37593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37603 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37604 if (!SWIG_IsOK(ecode5
)) {
37605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37607 arg5
= static_cast< long >(val5
);
37610 if (!wxPyCheckForApp()) SWIG_fail
;
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37613 wxPyEndAllowThreads(__tstate
);
37614 if (PyErr_Occurred()) SWIG_fail
;
37616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37623 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37624 PyObject
*resultobj
= 0;
37625 wxDirFilterListCtrl
*result
= 0 ;
37627 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37629 if (!wxPyCheckForApp()) SWIG_fail
;
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37632 wxPyEndAllowThreads(__tstate
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37642 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37643 PyObject
*resultobj
= 0;
37644 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37645 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37646 int arg3
= (int) (int)-1 ;
37647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37651 long arg6
= (long) 0 ;
37663 PyObject
* obj0
= 0 ;
37664 PyObject
* obj1
= 0 ;
37665 PyObject
* obj2
= 0 ;
37666 PyObject
* obj3
= 0 ;
37667 PyObject
* obj4
= 0 ;
37668 PyObject
* obj5
= 0 ;
37669 char * kwnames
[] = {
37670 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37675 if (!SWIG_IsOK(res1
)) {
37676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37678 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37680 if (!SWIG_IsOK(res2
)) {
37681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37683 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37686 if (!SWIG_IsOK(ecode3
)) {
37687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37689 arg3
= static_cast< int >(val3
);
37694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37704 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37705 if (!SWIG_IsOK(ecode6
)) {
37706 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37708 arg6
= static_cast< long >(val6
);
37711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37725 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37726 PyObject
*resultobj
= 0;
37727 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37728 wxString
*arg2
= 0 ;
37732 bool temp2
= false ;
37735 PyObject
* obj0
= 0 ;
37736 PyObject
* obj1
= 0 ;
37737 PyObject
* obj2
= 0 ;
37738 char * kwnames
[] = {
37739 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37744 if (!SWIG_IsOK(res1
)) {
37745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37747 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37749 arg2
= wxString_in_helper(obj1
);
37750 if (arg2
== NULL
) SWIG_fail
;
37753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37754 if (!SWIG_IsOK(ecode3
)) {
37755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37757 arg3
= static_cast< int >(val3
);
37759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37760 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37761 wxPyEndAllowThreads(__tstate
);
37762 if (PyErr_Occurred()) SWIG_fail
;
37764 resultobj
= SWIG_Py_Void();
37779 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37782 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37783 return SWIG_Py_Void();
37786 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37787 return SWIG_Python_InitShadowInstance(args
);
37790 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37791 PyObject
*resultobj
= 0;
37792 wxWindow
*arg1
= (wxWindow
*) 0 ;
37793 int arg2
= (int) (int)-1 ;
37794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37798 long arg5
= (long) 0 ;
37799 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37800 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37801 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37802 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37803 wxPyControl
*result
= 0 ;
37814 bool temp7
= false ;
37815 PyObject
* obj0
= 0 ;
37816 PyObject
* obj1
= 0 ;
37817 PyObject
* obj2
= 0 ;
37818 PyObject
* obj3
= 0 ;
37819 PyObject
* obj4
= 0 ;
37820 PyObject
* obj5
= 0 ;
37821 PyObject
* obj6
= 0 ;
37822 char * kwnames
[] = {
37823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37828 if (!SWIG_IsOK(res1
)) {
37829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37831 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37834 if (!SWIG_IsOK(ecode2
)) {
37835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37837 arg2
= static_cast< int >(val2
);
37842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37852 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37853 if (!SWIG_IsOK(ecode5
)) {
37854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37856 arg5
= static_cast< long >(val5
);
37859 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
37860 if (!SWIG_IsOK(res6
)) {
37861 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37866 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
37870 arg7
= wxString_in_helper(obj6
);
37871 if (arg7
== NULL
) SWIG_fail
;
37876 if (!wxPyCheckForApp()) SWIG_fail
;
37877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37878 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
37897 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37898 PyObject
*resultobj
= 0;
37899 wxPyControl
*result
= 0 ;
37901 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
37903 if (!wxPyCheckForApp()) SWIG_fail
;
37904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37905 result
= (wxPyControl
*)new wxPyControl();
37906 wxPyEndAllowThreads(__tstate
);
37907 if (PyErr_Occurred()) SWIG_fail
;
37909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
37916 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37917 PyObject
*resultobj
= 0;
37918 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37919 PyObject
*arg2
= (PyObject
*) 0 ;
37920 PyObject
*arg3
= (PyObject
*) 0 ;
37923 PyObject
* obj0
= 0 ;
37924 PyObject
* obj1
= 0 ;
37925 PyObject
* obj2
= 0 ;
37926 char * kwnames
[] = {
37927 (char *) "self",(char *) "self",(char *) "_class", NULL
37930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37932 if (!SWIG_IsOK(res1
)) {
37933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
37935 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37940 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37941 wxPyEndAllowThreads(__tstate
);
37942 if (PyErr_Occurred()) SWIG_fail
;
37944 resultobj
= SWIG_Py_Void();
37951 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37952 PyObject
*resultobj
= 0;
37953 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37958 PyObject
* obj0
= 0 ;
37959 PyObject
* obj1
= 0 ;
37960 char * kwnames
[] = {
37961 (char *) "self",(char *) "size", NULL
37964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37966 if (!SWIG_IsOK(res1
)) {
37967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37969 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37972 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37976 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37980 resultobj
= SWIG_Py_Void();
37987 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37988 PyObject
*resultobj
= 0;
37989 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37990 wxDC
*arg2
= (wxDC
*) 0 ;
37996 PyObject
* obj0
= 0 ;
37997 PyObject
* obj1
= 0 ;
37998 char * kwnames
[] = {
37999 (char *) "self",(char *) "dc", NULL
38002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38004 if (!SWIG_IsOK(res1
)) {
38005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38007 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38009 if (!SWIG_IsOK(res2
)) {
38010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38012 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38015 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38016 wxPyEndAllowThreads(__tstate
);
38017 if (PyErr_Occurred()) SWIG_fail
;
38020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38028 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38029 PyObject
*resultobj
= 0;
38030 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38045 PyObject
* obj0
= 0 ;
38046 PyObject
* obj1
= 0 ;
38047 PyObject
* obj2
= 0 ;
38048 PyObject
* obj3
= 0 ;
38049 PyObject
* obj4
= 0 ;
38050 char * kwnames
[] = {
38051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38056 if (!SWIG_IsOK(res1
)) {
38057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38059 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38061 if (!SWIG_IsOK(ecode2
)) {
38062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38064 arg2
= static_cast< int >(val2
);
38065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38066 if (!SWIG_IsOK(ecode3
)) {
38067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38069 arg3
= static_cast< int >(val3
);
38070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38071 if (!SWIG_IsOK(ecode4
)) {
38072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38074 arg4
= static_cast< int >(val4
);
38075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38076 if (!SWIG_IsOK(ecode5
)) {
38077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38079 arg5
= static_cast< int >(val5
);
38081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38082 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38083 wxPyEndAllowThreads(__tstate
);
38084 if (PyErr_Occurred()) SWIG_fail
;
38086 resultobj
= SWIG_Py_Void();
38093 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38094 PyObject
*resultobj
= 0;
38095 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38100 int arg6
= (int) wxSIZE_AUTO
;
38113 PyObject
* obj0
= 0 ;
38114 PyObject
* obj1
= 0 ;
38115 PyObject
* obj2
= 0 ;
38116 PyObject
* obj3
= 0 ;
38117 PyObject
* obj4
= 0 ;
38118 PyObject
* obj5
= 0 ;
38119 char * kwnames
[] = {
38120 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38125 if (!SWIG_IsOK(res1
)) {
38126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38128 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38130 if (!SWIG_IsOK(ecode2
)) {
38131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38133 arg2
= static_cast< int >(val2
);
38134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38135 if (!SWIG_IsOK(ecode3
)) {
38136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38138 arg3
= static_cast< int >(val3
);
38139 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38140 if (!SWIG_IsOK(ecode4
)) {
38141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38143 arg4
= static_cast< int >(val4
);
38144 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38145 if (!SWIG_IsOK(ecode5
)) {
38146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38148 arg5
= static_cast< int >(val5
);
38150 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38151 if (!SWIG_IsOK(ecode6
)) {
38152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38154 arg6
= static_cast< int >(val6
);
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38162 resultobj
= SWIG_Py_Void();
38169 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38170 PyObject
*resultobj
= 0;
38171 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38180 PyObject
* obj0
= 0 ;
38181 PyObject
* obj1
= 0 ;
38182 PyObject
* obj2
= 0 ;
38183 char * kwnames
[] = {
38184 (char *) "self",(char *) "width",(char *) "height", NULL
38187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38189 if (!SWIG_IsOK(res1
)) {
38190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38192 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38194 if (!SWIG_IsOK(ecode2
)) {
38195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38197 arg2
= static_cast< int >(val2
);
38198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38199 if (!SWIG_IsOK(ecode3
)) {
38200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38202 arg3
= static_cast< int >(val3
);
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 (arg1
)->DoSetClientSize(arg2
,arg3
);
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= SWIG_Py_Void();
38216 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
= 0;
38218 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38227 PyObject
* obj0
= 0 ;
38228 PyObject
* obj1
= 0 ;
38229 PyObject
* obj2
= 0 ;
38230 char * kwnames
[] = {
38231 (char *) "self",(char *) "x",(char *) "y", NULL
38234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38236 if (!SWIG_IsOK(res1
)) {
38237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38239 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38241 if (!SWIG_IsOK(ecode2
)) {
38242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38244 arg2
= static_cast< int >(val2
);
38245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38246 if (!SWIG_IsOK(ecode3
)) {
38247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38249 arg3
= static_cast< int >(val3
);
38251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38252 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38253 wxPyEndAllowThreads(__tstate
);
38254 if (PyErr_Occurred()) SWIG_fail
;
38256 resultobj
= SWIG_Py_Void();
38263 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38264 PyObject
*resultobj
= 0;
38265 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38266 int *arg2
= (int *) 0 ;
38267 int *arg3
= (int *) 0 ;
38271 int res2
= SWIG_TMPOBJ
;
38273 int res3
= SWIG_TMPOBJ
;
38274 PyObject
*swig_obj
[1] ;
38278 if (!args
) SWIG_fail
;
38279 swig_obj
[0] = args
;
38280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38281 if (!SWIG_IsOK(res1
)) {
38282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38284 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38287 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38288 wxPyEndAllowThreads(__tstate
);
38289 if (PyErr_Occurred()) SWIG_fail
;
38291 resultobj
= SWIG_Py_Void();
38292 if (SWIG_IsTmpObj(res2
)) {
38293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38295 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38298 if (SWIG_IsTmpObj(res3
)) {
38299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38310 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38311 PyObject
*resultobj
= 0;
38312 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38313 int *arg2
= (int *) 0 ;
38314 int *arg3
= (int *) 0 ;
38318 int res2
= SWIG_TMPOBJ
;
38320 int res3
= SWIG_TMPOBJ
;
38321 PyObject
*swig_obj
[1] ;
38325 if (!args
) SWIG_fail
;
38326 swig_obj
[0] = args
;
38327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38328 if (!SWIG_IsOK(res1
)) {
38329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38331 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= SWIG_Py_Void();
38339 if (SWIG_IsTmpObj(res2
)) {
38340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38342 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38345 if (SWIG_IsTmpObj(res3
)) {
38346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38348 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38357 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38358 PyObject
*resultobj
= 0;
38359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38360 int *arg2
= (int *) 0 ;
38361 int *arg3
= (int *) 0 ;
38365 int res2
= SWIG_TMPOBJ
;
38367 int res3
= SWIG_TMPOBJ
;
38368 PyObject
*swig_obj
[1] ;
38372 if (!args
) SWIG_fail
;
38373 swig_obj
[0] = args
;
38374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38375 if (!SWIG_IsOK(res1
)) {
38376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38378 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38381 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38382 wxPyEndAllowThreads(__tstate
);
38383 if (PyErr_Occurred()) SWIG_fail
;
38385 resultobj
= SWIG_Py_Void();
38386 if (SWIG_IsTmpObj(res2
)) {
38387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38389 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38392 if (SWIG_IsTmpObj(res3
)) {
38393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38395 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38404 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38405 PyObject
*resultobj
= 0;
38406 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38410 PyObject
*swig_obj
[1] ;
38412 if (!args
) SWIG_fail
;
38413 swig_obj
[0] = args
;
38414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38415 if (!SWIG_IsOK(res1
)) {
38416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38418 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38421 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38422 wxPyEndAllowThreads(__tstate
);
38423 if (PyErr_Occurred()) SWIG_fail
;
38425 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38432 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38433 PyObject
*resultobj
= 0;
38434 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38438 PyObject
*swig_obj
[1] ;
38440 if (!args
) SWIG_fail
;
38441 swig_obj
[0] = args
;
38442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38443 if (!SWIG_IsOK(res1
)) {
38444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38446 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38449 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38450 wxPyEndAllowThreads(__tstate
);
38451 if (PyErr_Occurred()) SWIG_fail
;
38453 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38460 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38461 PyObject
*resultobj
= 0;
38462 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38463 SwigValueWrapper
<wxVisualAttributes
> result
;
38466 PyObject
*swig_obj
[1] ;
38468 if (!args
) SWIG_fail
;
38469 swig_obj
[0] = args
;
38470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38471 if (!SWIG_IsOK(res1
)) {
38472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38474 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38477 result
= (arg1
)->GetDefaultAttributes();
38478 wxPyEndAllowThreads(__tstate
);
38479 if (PyErr_Occurred()) SWIG_fail
;
38481 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38488 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38489 PyObject
*resultobj
= 0;
38490 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38493 PyObject
*swig_obj
[1] ;
38495 if (!args
) SWIG_fail
;
38496 swig_obj
[0] = args
;
38497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38498 if (!SWIG_IsOK(res1
)) {
38499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38501 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38504 (arg1
)->OnInternalIdle();
38505 wxPyEndAllowThreads(__tstate
);
38506 if (PyErr_Occurred()) SWIG_fail
;
38508 resultobj
= SWIG_Py_Void();
38515 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38518 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38519 return SWIG_Py_Void();
38522 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38523 return SWIG_Python_InitShadowInstance(args
);
38526 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38527 PyObject
*resultobj
= 0;
38528 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38529 int arg2
= (int) 0 ;
38530 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38531 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38532 wxHelpEvent
*result
= 0 ;
38538 PyObject
* obj0
= 0 ;
38539 PyObject
* obj1
= 0 ;
38540 PyObject
* obj2
= 0 ;
38541 char * kwnames
[] = {
38542 (char *) "type",(char *) "winid",(char *) "pt", NULL
38545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38548 if (!SWIG_IsOK(ecode1
)) {
38549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38551 arg1
= static_cast< wxEventType
>(val1
);
38554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38555 if (!SWIG_IsOK(ecode2
)) {
38556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38558 arg2
= static_cast< int >(val2
);
38563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38568 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38579 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38580 PyObject
*resultobj
= 0;
38581 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38585 PyObject
*swig_obj
[1] ;
38587 if (!args
) SWIG_fail
;
38588 swig_obj
[0] = args
;
38589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38590 if (!SWIG_IsOK(res1
)) {
38591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38593 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38596 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38597 wxPyEndAllowThreads(__tstate
);
38598 if (PyErr_Occurred()) SWIG_fail
;
38600 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38607 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38608 PyObject
*resultobj
= 0;
38609 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38610 wxPoint
*arg2
= 0 ;
38614 PyObject
* obj0
= 0 ;
38615 PyObject
* obj1
= 0 ;
38616 char * kwnames
[] = {
38617 (char *) "self",(char *) "pos", NULL
38620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38622 if (!SWIG_IsOK(res1
)) {
38623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38625 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38632 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38633 wxPyEndAllowThreads(__tstate
);
38634 if (PyErr_Occurred()) SWIG_fail
;
38636 resultobj
= SWIG_Py_Void();
38643 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38644 PyObject
*resultobj
= 0;
38645 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38646 wxString
*result
= 0 ;
38649 PyObject
*swig_obj
[1] ;
38651 if (!args
) SWIG_fail
;
38652 swig_obj
[0] = args
;
38653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38654 if (!SWIG_IsOK(res1
)) {
38655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38657 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38661 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38662 result
= (wxString
*) &_result_ref
;
38664 wxPyEndAllowThreads(__tstate
);
38665 if (PyErr_Occurred()) SWIG_fail
;
38669 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38671 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38680 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38681 PyObject
*resultobj
= 0;
38682 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38683 wxString
*arg2
= 0 ;
38686 bool temp2
= false ;
38687 PyObject
* obj0
= 0 ;
38688 PyObject
* obj1
= 0 ;
38689 char * kwnames
[] = {
38690 (char *) "self",(char *) "link", NULL
38693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38695 if (!SWIG_IsOK(res1
)) {
38696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38698 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38700 arg2
= wxString_in_helper(obj1
);
38701 if (arg2
== NULL
) SWIG_fail
;
38705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38706 (arg1
)->SetLink((wxString
const &)*arg2
);
38707 wxPyEndAllowThreads(__tstate
);
38708 if (PyErr_Occurred()) SWIG_fail
;
38710 resultobj
= SWIG_Py_Void();
38725 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38726 PyObject
*resultobj
= 0;
38727 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38728 wxString
*result
= 0 ;
38731 PyObject
*swig_obj
[1] ;
38733 if (!args
) SWIG_fail
;
38734 swig_obj
[0] = args
;
38735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38736 if (!SWIG_IsOK(res1
)) {
38737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38739 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38743 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38744 result
= (wxString
*) &_result_ref
;
38746 wxPyEndAllowThreads(__tstate
);
38747 if (PyErr_Occurred()) SWIG_fail
;
38751 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38753 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38762 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38763 PyObject
*resultobj
= 0;
38764 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38765 wxString
*arg2
= 0 ;
38768 bool temp2
= false ;
38769 PyObject
* obj0
= 0 ;
38770 PyObject
* obj1
= 0 ;
38771 char * kwnames
[] = {
38772 (char *) "self",(char *) "target", NULL
38775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38777 if (!SWIG_IsOK(res1
)) {
38778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38780 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38782 arg2
= wxString_in_helper(obj1
);
38783 if (arg2
== NULL
) SWIG_fail
;
38787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38788 (arg1
)->SetTarget((wxString
const &)*arg2
);
38789 wxPyEndAllowThreads(__tstate
);
38790 if (PyErr_Occurred()) SWIG_fail
;
38792 resultobj
= SWIG_Py_Void();
38807 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38810 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38811 return SWIG_Py_Void();
38814 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38815 return SWIG_Python_InitShadowInstance(args
);
38818 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38819 PyObject
*resultobj
= 0;
38820 wxWindow
*arg1
= (wxWindow
*) NULL
;
38821 bool arg2
= (bool) true ;
38822 wxContextHelp
*result
= 0 ;
38827 PyObject
* obj0
= 0 ;
38828 PyObject
* obj1
= 0 ;
38829 char * kwnames
[] = {
38830 (char *) "window",(char *) "doNow", NULL
38833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38836 if (!SWIG_IsOK(res1
)) {
38837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38839 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38843 if (!SWIG_IsOK(ecode2
)) {
38844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38846 arg2
= static_cast< bool >(val2
);
38849 if (!wxPyCheckForApp()) SWIG_fail
;
38850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38851 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38852 wxPyEndAllowThreads(__tstate
);
38853 if (PyErr_Occurred()) SWIG_fail
;
38855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
38862 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38863 PyObject
*resultobj
= 0;
38864 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38867 PyObject
*swig_obj
[1] ;
38869 if (!args
) SWIG_fail
;
38870 swig_obj
[0] = args
;
38871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
38872 if (!SWIG_IsOK(res1
)) {
38873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38875 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38880 wxPyEndAllowThreads(__tstate
);
38881 if (PyErr_Occurred()) SWIG_fail
;
38883 resultobj
= SWIG_Py_Void();
38890 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38891 PyObject
*resultobj
= 0;
38892 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38893 wxWindow
*arg2
= (wxWindow
*) NULL
;
38899 PyObject
* obj0
= 0 ;
38900 PyObject
* obj1
= 0 ;
38901 char * kwnames
[] = {
38902 (char *) "self",(char *) "window", NULL
38905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38907 if (!SWIG_IsOK(res1
)) {
38908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38910 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38913 if (!SWIG_IsOK(res2
)) {
38914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38920 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38933 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38934 PyObject
*resultobj
= 0;
38935 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38939 PyObject
*swig_obj
[1] ;
38941 if (!args
) SWIG_fail
;
38942 swig_obj
[0] = args
;
38943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38944 if (!SWIG_IsOK(res1
)) {
38945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38947 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38950 result
= (bool)(arg1
)->EndContextHelp();
38951 wxPyEndAllowThreads(__tstate
);
38952 if (PyErr_Occurred()) SWIG_fail
;
38955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38963 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38966 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
38967 return SWIG_Py_Void();
38970 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38971 return SWIG_Python_InitShadowInstance(args
);
38974 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38975 PyObject
*resultobj
= 0;
38976 wxWindow
*arg1
= (wxWindow
*) 0 ;
38977 int arg2
= (int) wxID_CONTEXT_HELP
;
38978 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38979 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38980 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38981 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38982 long arg5
= (long) wxBU_AUTODRAW
;
38983 wxContextHelpButton
*result
= 0 ;
38992 PyObject
* obj0
= 0 ;
38993 PyObject
* obj1
= 0 ;
38994 PyObject
* obj2
= 0 ;
38995 PyObject
* obj3
= 0 ;
38996 PyObject
* obj4
= 0 ;
38997 char * kwnames
[] = {
38998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39003 if (!SWIG_IsOK(res1
)) {
39004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39009 if (!SWIG_IsOK(ecode2
)) {
39010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39012 arg2
= static_cast< int >(val2
);
39017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39027 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39028 if (!SWIG_IsOK(ecode5
)) {
39029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39031 arg5
= static_cast< long >(val5
);
39034 if (!wxPyCheckForApp()) SWIG_fail
;
39035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39036 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39037 wxPyEndAllowThreads(__tstate
);
39038 if (PyErr_Occurred()) SWIG_fail
;
39040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39047 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39050 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39051 return SWIG_Py_Void();
39054 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39055 return SWIG_Python_InitShadowInstance(args
);
39058 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39059 PyObject
*resultobj
= 0;
39060 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39063 PyObject
*swig_obj
[1] ;
39065 if (!args
) SWIG_fail
;
39066 swig_obj
[0] = args
;
39067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39068 if (!SWIG_IsOK(res1
)) {
39069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39071 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39076 wxPyEndAllowThreads(__tstate
);
39077 if (PyErr_Occurred()) SWIG_fail
;
39079 resultobj
= SWIG_Py_Void();
39086 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39087 PyObject
*resultobj
= 0;
39088 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39089 wxHelpProvider
*result
= 0 ;
39091 PyObject
* obj0
= 0 ;
39092 char * kwnames
[] = {
39093 (char *) "helpProvider", NULL
39096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39097 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39098 if (!SWIG_IsOK(res1
)) {
39099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39103 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39104 wxPyEndAllowThreads(__tstate
);
39105 if (PyErr_Occurred()) SWIG_fail
;
39107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39114 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39115 PyObject
*resultobj
= 0;
39116 wxHelpProvider
*result
= 0 ;
39118 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39121 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39122 wxPyEndAllowThreads(__tstate
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39132 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39133 PyObject
*resultobj
= 0;
39134 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39135 wxWindow
*arg2
= (wxWindow
*) 0 ;
39141 PyObject
* obj0
= 0 ;
39142 PyObject
* obj1
= 0 ;
39143 char * kwnames
[] = {
39144 (char *) "self",(char *) "window", NULL
39147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39149 if (!SWIG_IsOK(res1
)) {
39150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39152 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39154 if (!SWIG_IsOK(res2
)) {
39155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39160 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39161 wxPyEndAllowThreads(__tstate
);
39162 if (PyErr_Occurred()) SWIG_fail
;
39166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39177 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39178 PyObject
*resultobj
= 0;
39179 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39180 wxWindow
*arg2
= (wxWindow
*) 0 ;
39186 PyObject
* obj0
= 0 ;
39187 PyObject
* obj1
= 0 ;
39188 char * kwnames
[] = {
39189 (char *) "self",(char *) "window", NULL
39192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39194 if (!SWIG_IsOK(res1
)) {
39195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39197 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39199 if (!SWIG_IsOK(res2
)) {
39200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39202 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39205 result
= (bool)(arg1
)->ShowHelp(arg2
);
39206 wxPyEndAllowThreads(__tstate
);
39207 if (PyErr_Occurred()) SWIG_fail
;
39210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39218 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39219 PyObject
*resultobj
= 0;
39220 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39221 wxWindow
*arg2
= (wxWindow
*) 0 ;
39222 wxString
*arg3
= 0 ;
39227 bool temp3
= false ;
39228 PyObject
* obj0
= 0 ;
39229 PyObject
* obj1
= 0 ;
39230 PyObject
* obj2
= 0 ;
39231 char * kwnames
[] = {
39232 (char *) "self",(char *) "window",(char *) "text", NULL
39235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39237 if (!SWIG_IsOK(res1
)) {
39238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39240 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39242 if (!SWIG_IsOK(res2
)) {
39243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39245 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39247 arg3
= wxString_in_helper(obj2
);
39248 if (arg3
== NULL
) SWIG_fail
;
39252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39253 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39254 wxPyEndAllowThreads(__tstate
);
39255 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= SWIG_Py_Void();
39272 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
= 0;
39274 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39276 wxString
*arg3
= 0 ;
39281 bool temp3
= false ;
39282 PyObject
* obj0
= 0 ;
39283 PyObject
* obj1
= 0 ;
39284 PyObject
* obj2
= 0 ;
39285 char * kwnames
[] = {
39286 (char *) "self",(char *) "id",(char *) "text", NULL
39289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39291 if (!SWIG_IsOK(res1
)) {
39292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39294 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39296 if (!SWIG_IsOK(ecode2
)) {
39297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39299 arg2
= static_cast< int >(val2
);
39301 arg3
= wxString_in_helper(obj2
);
39302 if (arg3
== NULL
) SWIG_fail
;
39306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39307 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39308 wxPyEndAllowThreads(__tstate
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39311 resultobj
= SWIG_Py_Void();
39326 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
= 0;
39328 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39329 wxWindow
*arg2
= (wxWindow
*) 0 ;
39334 PyObject
* obj0
= 0 ;
39335 PyObject
* obj1
= 0 ;
39336 char * kwnames
[] = {
39337 (char *) "self",(char *) "window", NULL
39340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39342 if (!SWIG_IsOK(res1
)) {
39343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39345 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39347 if (!SWIG_IsOK(res2
)) {
39348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39353 (arg1
)->RemoveHelp(arg2
);
39354 wxPyEndAllowThreads(__tstate
);
39355 if (PyErr_Occurred()) SWIG_fail
;
39357 resultobj
= SWIG_Py_Void();
39364 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39365 PyObject
*resultobj
= 0;
39366 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39369 PyObject
*swig_obj
[1] ;
39371 if (!args
) SWIG_fail
;
39372 swig_obj
[0] = args
;
39373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39374 if (!SWIG_IsOK(res1
)) {
39375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39377 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39380 wxHelpProvider_Destroy(arg1
);
39381 wxPyEndAllowThreads(__tstate
);
39382 if (PyErr_Occurred()) SWIG_fail
;
39384 resultobj
= SWIG_Py_Void();
39391 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39394 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39395 return SWIG_Py_Void();
39398 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39399 PyObject
*resultobj
= 0;
39400 wxSimpleHelpProvider
*result
= 0 ;
39402 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39406 wxPyEndAllowThreads(__tstate
);
39407 if (PyErr_Occurred()) SWIG_fail
;
39409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39416 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39419 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39420 return SWIG_Py_Void();
39423 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39424 return SWIG_Python_InitShadowInstance(args
);
39427 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39428 PyObject
*resultobj
= 0;
39429 wxBitmap
*arg1
= 0 ;
39430 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39431 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39432 wxGenericDragImage
*result
= 0 ;
39437 PyObject
* obj0
= 0 ;
39438 PyObject
* obj1
= 0 ;
39439 char * kwnames
[] = {
39440 (char *) "image",(char *) "cursor", NULL
39443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39444 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39445 if (!SWIG_IsOK(res1
)) {
39446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39451 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39454 if (!SWIG_IsOK(res2
)) {
39455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39460 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39463 if (!wxPyCheckForApp()) SWIG_fail
;
39464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39465 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39466 wxPyEndAllowThreads(__tstate
);
39467 if (PyErr_Occurred()) SWIG_fail
;
39469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39476 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39477 PyObject
*resultobj
= 0;
39479 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39480 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39481 wxGenericDragImage
*result
= 0 ;
39486 PyObject
* obj0
= 0 ;
39487 PyObject
* obj1
= 0 ;
39488 char * kwnames
[] = {
39489 (char *) "image",(char *) "cursor", NULL
39492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39493 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39494 if (!SWIG_IsOK(res1
)) {
39495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39500 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39503 if (!SWIG_IsOK(res2
)) {
39504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39509 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39512 if (!wxPyCheckForApp()) SWIG_fail
;
39513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39514 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39515 wxPyEndAllowThreads(__tstate
);
39516 if (PyErr_Occurred()) SWIG_fail
;
39518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39525 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39526 PyObject
*resultobj
= 0;
39527 wxString
*arg1
= 0 ;
39528 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39529 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39530 wxGenericDragImage
*result
= 0 ;
39531 bool temp1
= false ;
39534 PyObject
* obj0
= 0 ;
39535 PyObject
* obj1
= 0 ;
39536 char * kwnames
[] = {
39537 (char *) "str",(char *) "cursor", NULL
39540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39542 arg1
= wxString_in_helper(obj0
);
39543 if (arg1
== NULL
) SWIG_fail
;
39547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39548 if (!SWIG_IsOK(res2
)) {
39549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39554 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39557 if (!wxPyCheckForApp()) SWIG_fail
;
39558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39559 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39578 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39579 PyObject
*resultobj
= 0;
39580 wxPyTreeCtrl
*arg1
= 0 ;
39581 wxTreeItemId
*arg2
= 0 ;
39582 wxGenericDragImage
*result
= 0 ;
39587 PyObject
* obj0
= 0 ;
39588 PyObject
* obj1
= 0 ;
39589 char * kwnames
[] = {
39590 (char *) "treeCtrl",(char *) "id", NULL
39593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39594 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39595 if (!SWIG_IsOK(res1
)) {
39596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39601 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39603 if (!SWIG_IsOK(res2
)) {
39604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39609 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39611 if (!wxPyCheckForApp()) SWIG_fail
;
39612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39613 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39614 wxPyEndAllowThreads(__tstate
);
39615 if (PyErr_Occurred()) SWIG_fail
;
39617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39624 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39625 PyObject
*resultobj
= 0;
39626 wxPyListCtrl
*arg1
= 0 ;
39628 wxGenericDragImage
*result
= 0 ;
39633 PyObject
* obj0
= 0 ;
39634 PyObject
* obj1
= 0 ;
39635 char * kwnames
[] = {
39636 (char *) "listCtrl",(char *) "id", NULL
39639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39640 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39641 if (!SWIG_IsOK(res1
)) {
39642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39647 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39649 if (!SWIG_IsOK(ecode2
)) {
39650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39652 arg2
= static_cast< long >(val2
);
39654 if (!wxPyCheckForApp()) SWIG_fail
;
39655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39656 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39657 wxPyEndAllowThreads(__tstate
);
39658 if (PyErr_Occurred()) SWIG_fail
;
39660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39667 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39668 PyObject
*resultobj
= 0;
39669 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39672 PyObject
*swig_obj
[1] ;
39674 if (!args
) SWIG_fail
;
39675 swig_obj
[0] = args
;
39676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39677 if (!SWIG_IsOK(res1
)) {
39678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39680 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 wxPyEndAllowThreads(__tstate
);
39686 if (PyErr_Occurred()) SWIG_fail
;
39688 resultobj
= SWIG_Py_Void();
39695 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39696 PyObject
*resultobj
= 0;
39697 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39698 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39703 PyObject
* obj0
= 0 ;
39704 PyObject
* obj1
= 0 ;
39705 char * kwnames
[] = {
39706 (char *) "self",(char *) "bitmap", NULL
39709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39711 if (!SWIG_IsOK(res1
)) {
39712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39714 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39716 if (!SWIG_IsOK(res2
)) {
39717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39719 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39722 (arg1
)->SetBackingBitmap(arg2
);
39723 wxPyEndAllowThreads(__tstate
);
39724 if (PyErr_Occurred()) SWIG_fail
;
39726 resultobj
= SWIG_Py_Void();
39733 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
= 0;
39735 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39736 wxPoint
*arg2
= 0 ;
39737 wxWindow
*arg3
= (wxWindow
*) 0 ;
39738 bool arg4
= (bool) false ;
39739 wxRect
*arg5
= (wxRect
*) NULL
;
39750 PyObject
* obj0
= 0 ;
39751 PyObject
* obj1
= 0 ;
39752 PyObject
* obj2
= 0 ;
39753 PyObject
* obj3
= 0 ;
39754 PyObject
* obj4
= 0 ;
39755 char * kwnames
[] = {
39756 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39761 if (!SWIG_IsOK(res1
)) {
39762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39764 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39769 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39770 if (!SWIG_IsOK(res3
)) {
39771 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39773 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39775 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39776 if (!SWIG_IsOK(ecode4
)) {
39777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39779 arg4
= static_cast< bool >(val4
);
39782 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39783 if (!SWIG_IsOK(res5
)) {
39784 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39786 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39791 wxPyEndAllowThreads(__tstate
);
39792 if (PyErr_Occurred()) SWIG_fail
;
39795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39803 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39804 PyObject
*resultobj
= 0;
39805 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39806 wxPoint
*arg2
= 0 ;
39807 wxWindow
*arg3
= (wxWindow
*) 0 ;
39808 wxWindow
*arg4
= (wxWindow
*) 0 ;
39817 PyObject
* obj0
= 0 ;
39818 PyObject
* obj1
= 0 ;
39819 PyObject
* obj2
= 0 ;
39820 PyObject
* obj3
= 0 ;
39821 char * kwnames
[] = {
39822 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39827 if (!SWIG_IsOK(res1
)) {
39828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39830 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39835 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39836 if (!SWIG_IsOK(res3
)) {
39837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39839 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39840 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39841 if (!SWIG_IsOK(res4
)) {
39842 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39844 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39847 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39848 wxPyEndAllowThreads(__tstate
);
39849 if (PyErr_Occurred()) SWIG_fail
;
39852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39860 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39861 PyObject
*resultobj
= 0;
39862 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39866 PyObject
*swig_obj
[1] ;
39868 if (!args
) SWIG_fail
;
39869 swig_obj
[0] = args
;
39870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39871 if (!SWIG_IsOK(res1
)) {
39872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39874 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39877 result
= (bool)(arg1
)->EndDrag();
39878 wxPyEndAllowThreads(__tstate
);
39879 if (PyErr_Occurred()) SWIG_fail
;
39882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39890 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39891 PyObject
*resultobj
= 0;
39892 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39893 wxPoint
*arg2
= 0 ;
39898 PyObject
* obj0
= 0 ;
39899 PyObject
* obj1
= 0 ;
39900 char * kwnames
[] = {
39901 (char *) "self",(char *) "pt", NULL
39904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39906 if (!SWIG_IsOK(res1
)) {
39907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39909 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39916 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
39917 wxPyEndAllowThreads(__tstate
);
39918 if (PyErr_Occurred()) SWIG_fail
;
39921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39929 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39930 PyObject
*resultobj
= 0;
39931 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39935 PyObject
*swig_obj
[1] ;
39937 if (!args
) SWIG_fail
;
39938 swig_obj
[0] = args
;
39939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39940 if (!SWIG_IsOK(res1
)) {
39941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39943 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39946 result
= (bool)(arg1
)->Show();
39947 wxPyEndAllowThreads(__tstate
);
39948 if (PyErr_Occurred()) SWIG_fail
;
39951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39959 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39960 PyObject
*resultobj
= 0;
39961 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39965 PyObject
*swig_obj
[1] ;
39967 if (!args
) SWIG_fail
;
39968 swig_obj
[0] = args
;
39969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39970 if (!SWIG_IsOK(res1
)) {
39971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39973 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 result
= (bool)(arg1
)->Hide();
39977 wxPyEndAllowThreads(__tstate
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39989 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39990 PyObject
*resultobj
= 0;
39991 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39992 wxPoint
*arg2
= 0 ;
39997 PyObject
* obj0
= 0 ;
39998 PyObject
* obj1
= 0 ;
39999 char * kwnames
[] = {
40000 (char *) "self",(char *) "pos", NULL
40003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40005 if (!SWIG_IsOK(res1
)) {
40006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40008 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40015 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40016 wxPyEndAllowThreads(__tstate
);
40017 if (PyErr_Occurred()) SWIG_fail
;
40019 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40026 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40027 PyObject
*resultobj
= 0;
40028 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40030 wxPoint
*arg3
= 0 ;
40037 PyObject
* obj0
= 0 ;
40038 PyObject
* obj1
= 0 ;
40039 PyObject
* obj2
= 0 ;
40040 char * kwnames
[] = {
40041 (char *) "self",(char *) "dc",(char *) "pos", NULL
40044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40046 if (!SWIG_IsOK(res1
)) {
40047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40049 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40051 if (!SWIG_IsOK(res2
)) {
40052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40057 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40064 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40065 wxPyEndAllowThreads(__tstate
);
40066 if (PyErr_Occurred()) SWIG_fail
;
40069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40077 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40078 PyObject
*resultobj
= 0;
40079 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40081 wxMemoryDC
*arg3
= 0 ;
40093 PyObject
* obj0
= 0 ;
40094 PyObject
* obj1
= 0 ;
40095 PyObject
* obj2
= 0 ;
40096 PyObject
* obj3
= 0 ;
40097 PyObject
* obj4
= 0 ;
40098 char * kwnames
[] = {
40099 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40104 if (!SWIG_IsOK(res1
)) {
40105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40107 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40109 if (!SWIG_IsOK(res2
)) {
40110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40115 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40116 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40117 if (!SWIG_IsOK(res3
)) {
40118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40123 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40126 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40130 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40134 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40135 wxPyEndAllowThreads(__tstate
);
40136 if (PyErr_Occurred()) SWIG_fail
;
40139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40147 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40148 PyObject
*resultobj
= 0;
40149 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40150 wxPoint
*arg2
= 0 ;
40151 wxPoint
*arg3
= 0 ;
40163 PyObject
* obj0
= 0 ;
40164 PyObject
* obj1
= 0 ;
40165 PyObject
* obj2
= 0 ;
40166 PyObject
* obj3
= 0 ;
40167 PyObject
* obj4
= 0 ;
40168 char * kwnames
[] = {
40169 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40174 if (!SWIG_IsOK(res1
)) {
40175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40177 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40186 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40187 if (!SWIG_IsOK(ecode4
)) {
40188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40190 arg4
= static_cast< bool >(val4
);
40191 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40192 if (!SWIG_IsOK(ecode5
)) {
40193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40195 arg5
= static_cast< bool >(val5
);
40197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40198 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40199 wxPyEndAllowThreads(__tstate
);
40200 if (PyErr_Occurred()) SWIG_fail
;
40203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40211 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40214 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40215 return SWIG_Py_Void();
40218 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40219 return SWIG_Python_InitShadowInstance(args
);
40222 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40223 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40228 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40229 PyObject
*pyobj
= 0;
40233 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40235 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40242 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40243 PyObject
*resultobj
= 0;
40244 wxWindow
*arg1
= (wxWindow
*) 0 ;
40245 int arg2
= (int) -1 ;
40246 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40247 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40252 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40253 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40254 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40255 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40256 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40257 wxDatePickerCtrl
*result
= 0 ;
40270 bool temp8
= false ;
40271 PyObject
* obj0
= 0 ;
40272 PyObject
* obj1
= 0 ;
40273 PyObject
* obj2
= 0 ;
40274 PyObject
* obj3
= 0 ;
40275 PyObject
* obj4
= 0 ;
40276 PyObject
* obj5
= 0 ;
40277 PyObject
* obj6
= 0 ;
40278 PyObject
* obj7
= 0 ;
40279 char * kwnames
[] = {
40280 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40285 if (!SWIG_IsOK(res1
)) {
40286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40288 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40291 if (!SWIG_IsOK(ecode2
)) {
40292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40294 arg2
= static_cast< int >(val2
);
40297 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40298 if (!SWIG_IsOK(res3
)) {
40299 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40304 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40319 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40320 if (!SWIG_IsOK(ecode6
)) {
40321 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40323 arg6
= static_cast< long >(val6
);
40326 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40327 if (!SWIG_IsOK(res7
)) {
40328 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40333 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40337 arg8
= wxString_in_helper(obj7
);
40338 if (arg8
== NULL
) SWIG_fail
;
40343 if (!wxPyCheckForApp()) SWIG_fail
;
40344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40345 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40346 wxPyEndAllowThreads(__tstate
);
40347 if (PyErr_Occurred()) SWIG_fail
;
40349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40364 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40365 PyObject
*resultobj
= 0;
40366 wxDatePickerCtrl
*result
= 0 ;
40368 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40370 if (!wxPyCheckForApp()) SWIG_fail
;
40371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40372 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40373 wxPyEndAllowThreads(__tstate
);
40374 if (PyErr_Occurred()) SWIG_fail
;
40376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40383 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40384 PyObject
*resultobj
= 0;
40385 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40386 wxWindow
*arg2
= (wxWindow
*) 0 ;
40387 int arg3
= (int) -1 ;
40388 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40389 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40390 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40391 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40392 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40393 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40394 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40395 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40396 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40397 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40398 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40414 bool temp9
= false ;
40415 PyObject
* obj0
= 0 ;
40416 PyObject
* obj1
= 0 ;
40417 PyObject
* obj2
= 0 ;
40418 PyObject
* obj3
= 0 ;
40419 PyObject
* obj4
= 0 ;
40420 PyObject
* obj5
= 0 ;
40421 PyObject
* obj6
= 0 ;
40422 PyObject
* obj7
= 0 ;
40423 PyObject
* obj8
= 0 ;
40424 char * kwnames
[] = {
40425 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40430 if (!SWIG_IsOK(res1
)) {
40431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40433 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40435 if (!SWIG_IsOK(res2
)) {
40436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40438 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40441 if (!SWIG_IsOK(ecode3
)) {
40442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40444 arg3
= static_cast< int >(val3
);
40447 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40448 if (!SWIG_IsOK(res4
)) {
40449 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40454 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40459 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40465 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40469 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40470 if (!SWIG_IsOK(ecode7
)) {
40471 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40473 arg7
= static_cast< long >(val7
);
40476 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40477 if (!SWIG_IsOK(res8
)) {
40478 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40483 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40487 arg9
= wxString_in_helper(obj8
);
40488 if (arg9
== NULL
) SWIG_fail
;
40493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40495 wxPyEndAllowThreads(__tstate
);
40496 if (PyErr_Occurred()) SWIG_fail
;
40499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40515 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40516 PyObject
*resultobj
= 0;
40517 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40518 wxDateTime
*arg2
= 0 ;
40523 PyObject
* obj0
= 0 ;
40524 PyObject
* obj1
= 0 ;
40525 char * kwnames
[] = {
40526 (char *) "self",(char *) "dt", NULL
40529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40531 if (!SWIG_IsOK(res1
)) {
40532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40534 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40536 if (!SWIG_IsOK(res2
)) {
40537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40542 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40545 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40546 wxPyEndAllowThreads(__tstate
);
40547 if (PyErr_Occurred()) SWIG_fail
;
40549 resultobj
= SWIG_Py_Void();
40556 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40557 PyObject
*resultobj
= 0;
40558 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40562 PyObject
*swig_obj
[1] ;
40564 if (!args
) SWIG_fail
;
40565 swig_obj
[0] = args
;
40566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40567 if (!SWIG_IsOK(res1
)) {
40568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40570 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40573 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40574 wxPyEndAllowThreads(__tstate
);
40575 if (PyErr_Occurred()) SWIG_fail
;
40577 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40584 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40585 PyObject
*resultobj
= 0;
40586 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40587 wxDateTime
*arg2
= 0 ;
40588 wxDateTime
*arg3
= 0 ;
40595 PyObject
* obj0
= 0 ;
40596 PyObject
* obj1
= 0 ;
40597 PyObject
* obj2
= 0 ;
40598 char * kwnames
[] = {
40599 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40604 if (!SWIG_IsOK(res1
)) {
40605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40607 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40609 if (!SWIG_IsOK(res2
)) {
40610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40615 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
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 '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40623 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40626 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40630 resultobj
= SWIG_Py_Void();
40637 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40638 PyObject
*resultobj
= 0;
40639 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40643 PyObject
*swig_obj
[1] ;
40645 if (!args
) SWIG_fail
;
40646 swig_obj
[0] = args
;
40647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40648 if (!SWIG_IsOK(res1
)) {
40649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40651 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40654 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40655 wxPyEndAllowThreads(__tstate
);
40656 if (PyErr_Occurred()) SWIG_fail
;
40658 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40665 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40666 PyObject
*resultobj
= 0;
40667 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40671 PyObject
*swig_obj
[1] ;
40673 if (!args
) SWIG_fail
;
40674 swig_obj
[0] = args
;
40675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40676 if (!SWIG_IsOK(res1
)) {
40677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40679 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40682 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40683 wxPyEndAllowThreads(__tstate
);
40684 if (PyErr_Occurred()) SWIG_fail
;
40686 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40693 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40696 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40697 return SWIG_Py_Void();
40700 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40701 return SWIG_Python_InitShadowInstance(args
);
40704 static PyMethodDef SwigMethods
[] = {
40705 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40707 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40709 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40710 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40712 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40713 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40715 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40717 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40718 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40719 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40720 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40721 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40728 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40729 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40730 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40731 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40733 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40735 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40736 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40738 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40740 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40741 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40743 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40744 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40746 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40748 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40750 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40751 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40753 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40755 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40756 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40757 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40758 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40759 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40761 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40762 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40765 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40766 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40770 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40772 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40773 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40774 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40775 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40776 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40777 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40778 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40779 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40780 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40782 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40783 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40785 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40788 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40790 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40791 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40793 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40795 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40797 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40798 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40800 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40803 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40804 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40806 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40808 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40809 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40811 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40812 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40814 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40815 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40818 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40819 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40821 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40823 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40827 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40828 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40830 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40841 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40846 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40852 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40853 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40855 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
40859 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
40860 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
40861 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
40863 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
40864 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
40873 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
40874 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
40875 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
40876 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
40877 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
40878 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
40879 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
40881 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
40882 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
40883 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
40884 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
40885 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
40886 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
40887 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
40888 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
40889 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
40890 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
40892 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
40893 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
40895 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
40897 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
40902 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
40903 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
40904 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
40905 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
40906 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
40907 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
40908 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
40909 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
40914 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
40915 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
40923 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
40929 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
40930 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
40931 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
40932 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
40933 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
40934 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
40935 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
40936 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
40937 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
40938 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
40940 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
40941 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
40942 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
40944 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
40949 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
40950 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
40952 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
40953 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
40954 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
40955 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
40956 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
40958 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
40960 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
40961 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
40962 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
40963 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
40964 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
40967 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
40968 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
40970 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
40972 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
40973 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
40974 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
40979 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
40981 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
40982 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
40984 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
40986 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
40990 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
40991 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
40994 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
40995 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
40997 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
40999 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41000 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41002 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41005 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41006 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41008 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41016 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41017 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41020 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41021 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41023 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41025 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41028 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41029 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41031 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41033 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41036 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41037 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41042 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41043 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41045 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41047 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41048 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41050 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41051 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41052 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41055 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41056 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41058 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41061 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41063 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41064 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41065 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41067 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41068 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41073 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41078 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41080 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41082 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41084 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41085 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41088 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41094 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41096 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41098 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41100 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41101 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41103 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41105 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41109 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41111 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41112 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41114 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41115 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41117 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41119 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41120 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41121 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41123 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41124 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41126 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41128 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41129 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41130 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41132 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41133 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41135 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41143 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41144 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41145 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41147 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41148 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41150 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41152 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41153 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41154 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41155 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41157 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41158 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41159 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41160 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41161 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41162 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41163 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41164 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41165 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41166 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41167 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41168 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41169 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41170 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41171 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41172 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41173 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41174 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41175 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41177 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41184 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41186 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41188 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41196 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41201 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41202 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41219 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41220 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41221 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41222 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41225 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41226 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41228 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41229 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41232 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41233 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41234 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41236 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41239 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41240 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41242 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41246 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41247 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41248 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41249 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41250 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41251 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41253 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41254 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41255 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41256 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41257 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41258 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41259 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41273 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41274 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41275 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41276 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41277 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41278 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41279 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41280 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41281 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41282 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41283 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41284 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41285 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41286 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41287 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41288 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41289 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41290 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41291 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41292 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41293 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41294 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41295 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41296 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41297 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41298 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41299 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41300 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41301 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41302 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41303 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41304 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41305 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41306 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41307 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41308 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41310 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41311 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41312 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41313 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41314 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41315 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41316 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41317 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41318 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41319 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41320 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41321 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41322 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41323 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41324 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41325 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41326 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41327 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41328 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41329 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41330 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41331 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41332 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41333 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41335 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41336 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41338 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41345 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41346 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41347 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41362 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41363 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41364 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41366 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41367 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41369 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41375 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41376 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41381 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41383 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41384 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41406 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41408 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41409 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41411 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41415 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41417 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41421 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41422 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41423 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41424 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41425 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41428 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41429 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41430 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41431 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41433 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41434 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41436 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41438 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41439 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41440 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41442 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41444 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41446 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41448 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41449 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41451 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41453 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41456 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41457 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41458 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41460 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41463 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41464 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41466 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41468 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41469 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41497 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41498 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41499 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41506 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41516 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41521 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41523 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41529 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41534 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41535 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41537 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41540 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41542 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41543 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41546 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41547 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41549 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41551 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41552 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41553 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41555 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41556 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41557 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41558 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41560 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41563 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41564 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41566 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41574 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41575 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41576 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41577 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41578 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41579 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41580 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41581 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41582 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41584 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41586 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41588 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41590 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41591 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41593 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41595 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41596 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41597 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41599 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41600 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41601 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41603 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41609 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41610 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41611 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41612 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41613 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41619 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41623 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41625 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41626 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41631 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41632 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41634 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41637 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41639 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41640 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41641 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41642 { NULL
, NULL
, 0, NULL
}
41646 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41648 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41649 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41651 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41652 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41654 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41655 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41657 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41658 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41660 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41661 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41663 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41664 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41666 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41667 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41669 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41670 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41672 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41673 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41675 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41678 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41679 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41681 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41682 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41684 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41685 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41687 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41688 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41690 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41691 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41693 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41694 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41696 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41697 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41699 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41700 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41702 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41703 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41705 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41706 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41708 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41709 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41711 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41714 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41715 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41717 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41718 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41720 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41721 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41723 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41724 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41726 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41727 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41729 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41730 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41732 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41733 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41735 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41736 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41738 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41739 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41741 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41744 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41745 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41747 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41748 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41750 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41751 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41753 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41754 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41756 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41757 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41759 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41760 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41762 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41763 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41765 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41766 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41768 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41769 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41771 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41774 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41775 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41777 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41778 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41780 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41781 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41783 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41784 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41786 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41787 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41789 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41790 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
41792 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41793 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41795 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41796 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41798 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41799 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41801 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41802 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41804 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41805 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41807 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41808 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41810 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41811 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41813 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41814 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41816 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41817 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41819 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41820 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41822 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41823 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41825 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41826 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41828 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41829 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41831 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41832 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41834 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41835 return (void *)((wxControl
*) ((wxComboBox
*) x
));
41837 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41838 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41840 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41841 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41843 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41844 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41846 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41847 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41849 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41850 return (void *)((wxControl
*) ((wxGauge
*) x
));
41852 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41853 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41855 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41856 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41858 static void *_p_wxListbookTo_p_wxControl(void *x
) {
41859 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
41861 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
41862 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
41864 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
41865 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
41867 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
41868 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
41870 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
41871 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41873 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
41874 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41876 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
41877 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41879 static void *_p_wxListViewTo_p_wxControl(void *x
) {
41880 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
41882 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
41883 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
41885 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
41886 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
41888 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
41889 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
41891 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
41892 return (void *)((wxControl
*) ((wxStaticText
*) x
));
41894 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
41895 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
41897 static void *_p_wxSliderTo_p_wxControl(void *x
) {
41898 return (void *)((wxControl
*) ((wxSlider
*) x
));
41900 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
41901 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
41903 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
41904 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
41906 static void *_p_wxButtonTo_p_wxControl(void *x
) {
41907 return (void *)((wxControl
*) ((wxButton
*) x
));
41909 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
41910 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
41912 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
41913 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41915 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
41916 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
41918 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
41919 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
41921 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
41922 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
41924 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
41925 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41927 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
41928 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41930 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
41931 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41933 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
41934 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
41936 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
41937 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41939 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
41940 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41942 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
41943 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41945 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
41946 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41948 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
41949 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41951 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
41952 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41954 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
41955 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41957 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
41958 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
41960 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
41961 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
41963 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
41964 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
41966 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
41967 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
41969 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41970 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41972 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
41973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
41975 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41976 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41978 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41979 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41981 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
41982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
41984 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41985 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41987 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
41988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
41990 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
41991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
41993 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
41994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41996 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41997 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41999 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42000 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42002 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42005 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42008 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42011 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42014 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42017 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42018 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42020 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42023 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42026 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42029 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42032 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42035 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42038 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42041 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42044 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42047 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42050 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42053 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42056 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42059 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42062 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42065 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42068 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42071 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42074 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42077 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42080 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42083 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42086 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42089 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42092 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42095 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42098 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42101 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42102 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42104 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42105 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42107 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42108 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42110 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42111 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42113 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42114 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42116 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42117 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42119 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42122 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42123 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42125 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42126 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42128 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42131 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42132 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42134 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42137 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42138 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42140 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42141 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42143 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42144 return (void *)((wxObject
*) ((wxSizer
*) x
));
42146 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42147 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42149 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42152 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42155 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42158 static void *_p_wxEventTo_p_wxObject(void *x
) {
42159 return (void *)((wxObject
*) ((wxEvent
*) x
));
42161 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42162 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42164 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42167 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42170 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42173 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42176 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42179 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42182 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42185 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42188 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42191 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42194 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42197 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42200 static void *_p_wxControlTo_p_wxObject(void *x
) {
42201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42203 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42206 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42209 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42212 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42215 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42218 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42219 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42221 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42224 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42225 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42227 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42228 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42230 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42233 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42236 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42239 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42242 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42243 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42245 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42246 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42248 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42251 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42254 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42255 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42257 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42260 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42263 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42264 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42266 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42269 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42270 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42272 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42275 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42276 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42278 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42279 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42281 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42282 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42284 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42285 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42287 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42288 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42290 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42291 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42293 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42296 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42297 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42299 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42302 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42303 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42305 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42306 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42308 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42309 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42311 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42312 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42314 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42315 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42317 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42318 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42320 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42321 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42323 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42324 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42326 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42327 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42329 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42330 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42332 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42333 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42335 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42336 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42338 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42341 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42342 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42344 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42347 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42350 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42353 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42356 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42359 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42362 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42365 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42366 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42368 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42369 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42371 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42374 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42377 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42380 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42383 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42384 return (void *)((wxObject
*) ((wxListItem
*) x
));
42386 static void *_p_wxImageTo_p_wxObject(void *x
) {
42387 return (void *)((wxObject
*) ((wxImage
*) x
));
42389 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42390 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42392 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42395 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42396 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42398 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42401 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42404 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42405 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42407 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42410 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42413 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42416 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42419 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42420 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42422 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42423 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42425 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42426 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42428 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42429 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42431 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42434 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42435 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42437 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42440 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42441 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42443 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42444 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42446 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42447 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42449 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42450 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42452 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42453 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42455 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42458 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42461 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42464 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42465 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42467 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42470 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42471 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42473 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42474 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42476 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42479 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42482 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42485 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42486 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42488 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42491 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42494 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42495 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42497 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42498 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42500 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42501 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42503 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42504 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42506 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42507 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42509 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42510 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42512 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42513 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42515 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42516 return (void *)((wxWindow
*) ((wxControl
*) x
));
42518 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42519 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42521 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42522 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42524 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42525 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42527 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42528 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42530 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42531 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42533 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42534 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42536 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42537 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42539 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42540 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42542 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42543 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42545 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42546 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42548 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42549 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42551 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42552 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42554 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42555 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42557 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42558 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42560 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42561 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42563 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42564 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42566 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42567 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42569 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42570 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42572 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42573 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42575 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42576 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42578 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42579 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42581 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42582 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42584 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42585 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42587 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42588 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42590 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42591 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42593 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42594 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42596 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42597 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42599 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42600 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42602 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42603 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42605 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42606 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42608 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42609 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42611 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42612 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42614 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42615 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42617 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42618 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42620 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42621 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42623 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42624 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42626 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42627 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42629 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42630 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42632 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42633 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42635 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42636 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42638 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42639 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42641 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42642 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42644 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42645 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42647 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42648 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42650 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42651 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42653 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42654 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42656 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42657 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42659 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42660 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42662 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42663 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42665 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42666 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42668 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42669 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42671 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42672 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42674 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42675 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42677 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42678 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42680 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42681 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42683 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42684 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42686 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42687 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42689 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42690 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42692 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42693 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42695 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42696 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42698 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42699 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42701 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42702 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42704 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42705 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42706 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};
42707 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42708 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42709 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42710 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42711 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42712 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42713 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42714 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42715 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42716 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42717 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42718 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42719 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42720 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42721 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42722 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42723 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42724 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42725 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42726 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42727 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42728 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42729 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42730 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42731 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42732 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42733 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42734 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42735 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42736 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42737 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42738 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42739 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42740 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42741 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42742 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42743 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42744 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42745 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42746 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42747 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42748 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42749 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42750 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42751 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42752 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42753 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42754 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42755 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42756 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42757 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42758 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42759 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42760 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42761 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42762 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42763 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42764 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42765 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42766 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42767 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42768 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42769 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42770 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42771 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42772 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42773 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42774 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42775 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42776 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42777 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42778 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42779 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42780 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42781 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42782 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42783 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42784 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42785 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42786 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42787 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42788 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42789 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42790 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42791 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42792 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42793 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42794 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42795 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42796 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42797 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42798 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42799 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42800 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42801 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42802 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42803 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42804 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42805 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42806 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42807 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42808 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42809 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42810 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42811 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42812 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42813 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42814 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42815 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42816 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42817 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42818 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42819 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42820 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42821 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42822 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42823 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42824 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42825 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42826 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42827 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42828 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42829 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42830 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42831 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42832 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42833 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42834 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42835 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42836 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42837 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42838 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42839 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42840 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42841 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42842 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42843 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42844 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42845 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42846 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42847 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42848 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42849 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42850 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42851 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42852 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
42853 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
42854 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
42855 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
42856 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
42857 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
42858 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
42859 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
42860 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
42861 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
42862 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
42863 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
42864 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
42865 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
42866 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
42868 static swig_type_info
*swig_type_initial
[] = {
42871 &_swigt__p_form_ops_t
,
42874 &_swigt__p_unsigned_char
,
42875 &_swigt__p_unsigned_int
,
42876 &_swigt__p_unsigned_long
,
42878 &_swigt__p_wxANIHandler
,
42879 &_swigt__p_wxAcceleratorTable
,
42880 &_swigt__p_wxActivateEvent
,
42881 &_swigt__p_wxArrayInt
,
42882 &_swigt__p_wxArrayString
,
42883 &_swigt__p_wxBMPHandler
,
42884 &_swigt__p_wxBitmap
,
42885 &_swigt__p_wxBitmapButton
,
42886 &_swigt__p_wxBookCtrlBase
,
42887 &_swigt__p_wxBookCtrlBaseEvent
,
42888 &_swigt__p_wxBoxSizer
,
42889 &_swigt__p_wxButton
,
42890 &_swigt__p_wxCURHandler
,
42891 &_swigt__p_wxCheckBox
,
42892 &_swigt__p_wxCheckListBox
,
42893 &_swigt__p_wxChildFocusEvent
,
42894 &_swigt__p_wxChoice
,
42895 &_swigt__p_wxChoicebook
,
42896 &_swigt__p_wxChoicebookEvent
,
42897 &_swigt__p_wxCloseEvent
,
42898 &_swigt__p_wxColour
,
42899 &_swigt__p_wxComboBox
,
42900 &_swigt__p_wxCommandEvent
,
42901 &_swigt__p_wxContextHelp
,
42902 &_swigt__p_wxContextHelpButton
,
42903 &_swigt__p_wxContextMenuEvent
,
42904 &_swigt__p_wxControl
,
42905 &_swigt__p_wxControlWithItems
,
42906 &_swigt__p_wxCursor
,
42908 &_swigt__p_wxDateEvent
,
42909 &_swigt__p_wxDatePickerCtrl
,
42910 &_swigt__p_wxDateTime
,
42911 &_swigt__p_wxDirFilterListCtrl
,
42912 &_swigt__p_wxDisplayChangedEvent
,
42913 &_swigt__p_wxDropFilesEvent
,
42914 &_swigt__p_wxDuplexMode
,
42915 &_swigt__p_wxEraseEvent
,
42916 &_swigt__p_wxEvent
,
42917 &_swigt__p_wxEvtHandler
,
42918 &_swigt__p_wxFSFile
,
42919 &_swigt__p_wxFileSystem
,
42920 &_swigt__p_wxFlexGridSizer
,
42921 &_swigt__p_wxFocusEvent
,
42923 &_swigt__p_wxGBSizerItem
,
42924 &_swigt__p_wxGIFHandler
,
42925 &_swigt__p_wxGauge
,
42926 &_swigt__p_wxGenericDirCtrl
,
42927 &_swigt__p_wxGenericDragImage
,
42928 &_swigt__p_wxGridBagSizer
,
42929 &_swigt__p_wxGridSizer
,
42930 &_swigt__p_wxHelpEvent
,
42931 &_swigt__p_wxHelpProvider
,
42932 &_swigt__p_wxICOHandler
,
42934 &_swigt__p_wxIconizeEvent
,
42935 &_swigt__p_wxIdleEvent
,
42936 &_swigt__p_wxImage
,
42937 &_swigt__p_wxImageHandler
,
42938 &_swigt__p_wxImageList
,
42939 &_swigt__p_wxIndividualLayoutConstraint
,
42940 &_swigt__p_wxInitDialogEvent
,
42941 &_swigt__p_wxItemContainer
,
42942 &_swigt__p_wxJPEGHandler
,
42943 &_swigt__p_wxKeyEvent
,
42944 &_swigt__p_wxLayoutConstraints
,
42945 &_swigt__p_wxListBox
,
42946 &_swigt__p_wxListEvent
,
42947 &_swigt__p_wxListItem
,
42948 &_swigt__p_wxListItemAttr
,
42949 &_swigt__p_wxListView
,
42950 &_swigt__p_wxListbook
,
42951 &_swigt__p_wxListbookEvent
,
42952 &_swigt__p_wxMaximizeEvent
,
42953 &_swigt__p_wxMemoryDC
,
42955 &_swigt__p_wxMenuBar
,
42956 &_swigt__p_wxMenuEvent
,
42957 &_swigt__p_wxMenuItem
,
42958 &_swigt__p_wxMouseCaptureChangedEvent
,
42959 &_swigt__p_wxMouseEvent
,
42960 &_swigt__p_wxMoveEvent
,
42961 &_swigt__p_wxNavigationKeyEvent
,
42962 &_swigt__p_wxNcPaintEvent
,
42963 &_swigt__p_wxNotebook
,
42964 &_swigt__p_wxNotebookEvent
,
42965 &_swigt__p_wxNotifyEvent
,
42966 &_swigt__p_wxObject
,
42967 &_swigt__p_wxPCXHandler
,
42968 &_swigt__p_wxPNGHandler
,
42969 &_swigt__p_wxPNMHandler
,
42970 &_swigt__p_wxPaintEvent
,
42971 &_swigt__p_wxPaletteChangedEvent
,
42972 &_swigt__p_wxPaperSize
,
42973 &_swigt__p_wxPoint
,
42974 &_swigt__p_wxPyApp
,
42975 &_swigt__p_wxPyCommandEvent
,
42976 &_swigt__p_wxPyControl
,
42977 &_swigt__p_wxPyEvent
,
42978 &_swigt__p_wxPyImageHandler
,
42979 &_swigt__p_wxPyListCtrl
,
42980 &_swigt__p_wxPySizer
,
42981 &_swigt__p_wxPyTreeCtrl
,
42982 &_swigt__p_wxPyTreeItemData
,
42983 &_swigt__p_wxPyValidator
,
42984 &_swigt__p_wxQueryNewPaletteEvent
,
42985 &_swigt__p_wxRadioBox
,
42986 &_swigt__p_wxRadioButton
,
42988 &_swigt__p_wxScrollBar
,
42989 &_swigt__p_wxScrollEvent
,
42990 &_swigt__p_wxScrollWinEvent
,
42991 &_swigt__p_wxSetCursorEvent
,
42992 &_swigt__p_wxShowEvent
,
42993 &_swigt__p_wxSimpleHelpProvider
,
42995 &_swigt__p_wxSizeEvent
,
42996 &_swigt__p_wxSizer
,
42997 &_swigt__p_wxSizerItem
,
42998 &_swigt__p_wxSlider
,
42999 &_swigt__p_wxSpinButton
,
43000 &_swigt__p_wxSpinCtrl
,
43001 &_swigt__p_wxSpinEvent
,
43002 &_swigt__p_wxStaticBitmap
,
43003 &_swigt__p_wxStaticBox
,
43004 &_swigt__p_wxStaticBoxSizer
,
43005 &_swigt__p_wxStaticLine
,
43006 &_swigt__p_wxStaticText
,
43007 &_swigt__p_wxStdDialogButtonSizer
,
43008 &_swigt__p_wxString
,
43009 &_swigt__p_wxSysColourChangedEvent
,
43010 &_swigt__p_wxTIFFHandler
,
43011 &_swigt__p_wxTextAttr
,
43012 &_swigt__p_wxTextCtrl
,
43013 &_swigt__p_wxTextUrlEvent
,
43014 &_swigt__p_wxToggleButton
,
43015 &_swigt__p_wxToolBar
,
43016 &_swigt__p_wxToolBarBase
,
43017 &_swigt__p_wxToolBarToolBase
,
43018 &_swigt__p_wxToolbook
,
43019 &_swigt__p_wxToolbookEvent
,
43020 &_swigt__p_wxTreeCtrl
,
43021 &_swigt__p_wxTreeEvent
,
43022 &_swigt__p_wxTreeItemId
,
43023 &_swigt__p_wxTreebook
,
43024 &_swigt__p_wxTreebookEvent
,
43025 &_swigt__p_wxUpdateUIEvent
,
43026 &_swigt__p_wxValidator
,
43027 &_swigt__p_wxVisualAttributes
,
43028 &_swigt__p_wxWindow
,
43029 &_swigt__p_wxWindowCreateEvent
,
43030 &_swigt__p_wxWindowDestroyEvent
,
43031 &_swigt__p_wxXPMHandler
,
43034 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43035 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43036 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43037 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43038 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43039 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43040 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43041 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43042 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43043 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43044 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43045 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43046 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}};
43047 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}};
43048 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}};
43049 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}};
43050 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43051 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43052 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}};
43053 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43054 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43055 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43056 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43057 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43058 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43059 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43060 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43061 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43062 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43063 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43064 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43065 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
43066 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43067 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43068 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
43069 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}};
43070 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43071 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43072 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43073 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43074 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43075 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43076 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43077 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43078 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43079 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43080 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43081 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43082 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43083 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43084 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43085 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43086 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43087 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43088 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43089 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43090 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43091 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43092 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43093 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43094 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43095 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43096 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43097 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43098 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43099 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43100 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
43101 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43102 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43103 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43104 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43105 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
43106 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43107 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43108 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43109 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43110 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43111 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}};
43112 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43113 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43114 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}};
43115 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43116 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}};
43117 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43118 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43119 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43120 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43121 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43122 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43123 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43124 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43125 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43126 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43127 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}};
43128 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43129 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43130 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43131 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43132 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43133 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43134 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43135 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43136 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43137 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43138 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43139 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43140 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43141 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43142 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43143 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43144 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43145 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43146 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43147 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43148 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43149 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43150 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43151 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43152 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43153 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43154 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43155 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43156 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43157 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43158 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
43159 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43160 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43161 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43162 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}};
43163 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43164 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43165 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43166 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43167 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43168 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43169 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43170 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43171 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43172 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43173 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43174 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43175 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43176 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43177 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43178 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43179 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43180 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43181 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43182 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43183 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43184 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43185 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}};
43186 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43187 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43188 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43189 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43190 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43191 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43192 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43193 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43194 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}};
43195 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43196 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
43198 static swig_cast_info
*swig_cast_initial
[] = {
43201 _swigc__p_form_ops_t
,
43204 _swigc__p_unsigned_char
,
43205 _swigc__p_unsigned_int
,
43206 _swigc__p_unsigned_long
,
43208 _swigc__p_wxANIHandler
,
43209 _swigc__p_wxAcceleratorTable
,
43210 _swigc__p_wxActivateEvent
,
43211 _swigc__p_wxArrayInt
,
43212 _swigc__p_wxArrayString
,
43213 _swigc__p_wxBMPHandler
,
43214 _swigc__p_wxBitmap
,
43215 _swigc__p_wxBitmapButton
,
43216 _swigc__p_wxBookCtrlBase
,
43217 _swigc__p_wxBookCtrlBaseEvent
,
43218 _swigc__p_wxBoxSizer
,
43219 _swigc__p_wxButton
,
43220 _swigc__p_wxCURHandler
,
43221 _swigc__p_wxCheckBox
,
43222 _swigc__p_wxCheckListBox
,
43223 _swigc__p_wxChildFocusEvent
,
43224 _swigc__p_wxChoice
,
43225 _swigc__p_wxChoicebook
,
43226 _swigc__p_wxChoicebookEvent
,
43227 _swigc__p_wxCloseEvent
,
43228 _swigc__p_wxColour
,
43229 _swigc__p_wxComboBox
,
43230 _swigc__p_wxCommandEvent
,
43231 _swigc__p_wxContextHelp
,
43232 _swigc__p_wxContextHelpButton
,
43233 _swigc__p_wxContextMenuEvent
,
43234 _swigc__p_wxControl
,
43235 _swigc__p_wxControlWithItems
,
43236 _swigc__p_wxCursor
,
43238 _swigc__p_wxDateEvent
,
43239 _swigc__p_wxDatePickerCtrl
,
43240 _swigc__p_wxDateTime
,
43241 _swigc__p_wxDirFilterListCtrl
,
43242 _swigc__p_wxDisplayChangedEvent
,
43243 _swigc__p_wxDropFilesEvent
,
43244 _swigc__p_wxDuplexMode
,
43245 _swigc__p_wxEraseEvent
,
43247 _swigc__p_wxEvtHandler
,
43248 _swigc__p_wxFSFile
,
43249 _swigc__p_wxFileSystem
,
43250 _swigc__p_wxFlexGridSizer
,
43251 _swigc__p_wxFocusEvent
,
43253 _swigc__p_wxGBSizerItem
,
43254 _swigc__p_wxGIFHandler
,
43256 _swigc__p_wxGenericDirCtrl
,
43257 _swigc__p_wxGenericDragImage
,
43258 _swigc__p_wxGridBagSizer
,
43259 _swigc__p_wxGridSizer
,
43260 _swigc__p_wxHelpEvent
,
43261 _swigc__p_wxHelpProvider
,
43262 _swigc__p_wxICOHandler
,
43264 _swigc__p_wxIconizeEvent
,
43265 _swigc__p_wxIdleEvent
,
43267 _swigc__p_wxImageHandler
,
43268 _swigc__p_wxImageList
,
43269 _swigc__p_wxIndividualLayoutConstraint
,
43270 _swigc__p_wxInitDialogEvent
,
43271 _swigc__p_wxItemContainer
,
43272 _swigc__p_wxJPEGHandler
,
43273 _swigc__p_wxKeyEvent
,
43274 _swigc__p_wxLayoutConstraints
,
43275 _swigc__p_wxListBox
,
43276 _swigc__p_wxListEvent
,
43277 _swigc__p_wxListItem
,
43278 _swigc__p_wxListItemAttr
,
43279 _swigc__p_wxListView
,
43280 _swigc__p_wxListbook
,
43281 _swigc__p_wxListbookEvent
,
43282 _swigc__p_wxMaximizeEvent
,
43283 _swigc__p_wxMemoryDC
,
43285 _swigc__p_wxMenuBar
,
43286 _swigc__p_wxMenuEvent
,
43287 _swigc__p_wxMenuItem
,
43288 _swigc__p_wxMouseCaptureChangedEvent
,
43289 _swigc__p_wxMouseEvent
,
43290 _swigc__p_wxMoveEvent
,
43291 _swigc__p_wxNavigationKeyEvent
,
43292 _swigc__p_wxNcPaintEvent
,
43293 _swigc__p_wxNotebook
,
43294 _swigc__p_wxNotebookEvent
,
43295 _swigc__p_wxNotifyEvent
,
43296 _swigc__p_wxObject
,
43297 _swigc__p_wxPCXHandler
,
43298 _swigc__p_wxPNGHandler
,
43299 _swigc__p_wxPNMHandler
,
43300 _swigc__p_wxPaintEvent
,
43301 _swigc__p_wxPaletteChangedEvent
,
43302 _swigc__p_wxPaperSize
,
43305 _swigc__p_wxPyCommandEvent
,
43306 _swigc__p_wxPyControl
,
43307 _swigc__p_wxPyEvent
,
43308 _swigc__p_wxPyImageHandler
,
43309 _swigc__p_wxPyListCtrl
,
43310 _swigc__p_wxPySizer
,
43311 _swigc__p_wxPyTreeCtrl
,
43312 _swigc__p_wxPyTreeItemData
,
43313 _swigc__p_wxPyValidator
,
43314 _swigc__p_wxQueryNewPaletteEvent
,
43315 _swigc__p_wxRadioBox
,
43316 _swigc__p_wxRadioButton
,
43318 _swigc__p_wxScrollBar
,
43319 _swigc__p_wxScrollEvent
,
43320 _swigc__p_wxScrollWinEvent
,
43321 _swigc__p_wxSetCursorEvent
,
43322 _swigc__p_wxShowEvent
,
43323 _swigc__p_wxSimpleHelpProvider
,
43325 _swigc__p_wxSizeEvent
,
43327 _swigc__p_wxSizerItem
,
43328 _swigc__p_wxSlider
,
43329 _swigc__p_wxSpinButton
,
43330 _swigc__p_wxSpinCtrl
,
43331 _swigc__p_wxSpinEvent
,
43332 _swigc__p_wxStaticBitmap
,
43333 _swigc__p_wxStaticBox
,
43334 _swigc__p_wxStaticBoxSizer
,
43335 _swigc__p_wxStaticLine
,
43336 _swigc__p_wxStaticText
,
43337 _swigc__p_wxStdDialogButtonSizer
,
43338 _swigc__p_wxString
,
43339 _swigc__p_wxSysColourChangedEvent
,
43340 _swigc__p_wxTIFFHandler
,
43341 _swigc__p_wxTextAttr
,
43342 _swigc__p_wxTextCtrl
,
43343 _swigc__p_wxTextUrlEvent
,
43344 _swigc__p_wxToggleButton
,
43345 _swigc__p_wxToolBar
,
43346 _swigc__p_wxToolBarBase
,
43347 _swigc__p_wxToolBarToolBase
,
43348 _swigc__p_wxToolbook
,
43349 _swigc__p_wxToolbookEvent
,
43350 _swigc__p_wxTreeCtrl
,
43351 _swigc__p_wxTreeEvent
,
43352 _swigc__p_wxTreeItemId
,
43353 _swigc__p_wxTreebook
,
43354 _swigc__p_wxTreebookEvent
,
43355 _swigc__p_wxUpdateUIEvent
,
43356 _swigc__p_wxValidator
,
43357 _swigc__p_wxVisualAttributes
,
43358 _swigc__p_wxWindow
,
43359 _swigc__p_wxWindowCreateEvent
,
43360 _swigc__p_wxWindowDestroyEvent
,
43361 _swigc__p_wxXPMHandler
,
43365 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43367 static swig_const_info swig_const_table
[] = {
43368 {0, 0, 0, 0.0, 0, 0}};
43373 /* -----------------------------------------------------------------------------
43374 * Type initialization:
43375 * This problem is tough by the requirement that no dynamic
43376 * memory is used. Also, since swig_type_info structures store pointers to
43377 * swig_cast_info structures and swig_cast_info structures store pointers back
43378 * to swig_type_info structures, we need some lookup code at initialization.
43379 * The idea is that swig generates all the structures that are needed.
43380 * The runtime then collects these partially filled structures.
43381 * The SWIG_InitializeModule function takes these initial arrays out of
43382 * swig_module, and does all the lookup, filling in the swig_module.types
43383 * array with the correct data and linking the correct swig_cast_info
43384 * structures together.
43386 * The generated swig_type_info structures are assigned staticly to an initial
43387 * array. We just loop though that array, and handle each type individually.
43388 * First we lookup if this type has been already loaded, and if so, use the
43389 * loaded structure instead of the generated one. Then we have to fill in the
43390 * cast linked list. The cast data is initially stored in something like a
43391 * two-dimensional array. Each row corresponds to a type (there are the same
43392 * number of rows as there are in the swig_type_initial array). Each entry in
43393 * a column is one of the swig_cast_info structures for that type.
43394 * The cast_initial array is actually an array of arrays, because each row has
43395 * a variable number of columns. So to actually build the cast linked list,
43396 * we find the array of casts associated with the type, and loop through it
43397 * adding the casts to the list. The one last trick we need to do is making
43398 * sure the type pointer in the swig_cast_info struct is correct.
43400 * First off, we lookup the cast->type name to see if it is already loaded.
43401 * There are three cases to handle:
43402 * 1) If the cast->type has already been loaded AND the type we are adding
43403 * casting info to has not been loaded (it is in this module), THEN we
43404 * replace the cast->type pointer with the type pointer that has already
43406 * 2) If BOTH types (the one we are adding casting info to, and the
43407 * cast->type) are loaded, THEN the cast info has already been loaded by
43408 * the previous module so we just ignore it.
43409 * 3) Finally, if cast->type has not already been loaded, then we add that
43410 * swig_cast_info to the linked list (because the cast->type) pointer will
43412 * ----------------------------------------------------------------------------- */
43422 #define SWIGRUNTIME_DEBUG
43426 SWIG_InitializeModule(void *clientdata
) {
43428 swig_module_info
*module_head
;
43429 static int init_run
= 0;
43431 clientdata
= clientdata
;
43433 if (init_run
) return;
43436 /* Initialize the swig_module */
43437 swig_module
.type_initial
= swig_type_initial
;
43438 swig_module
.cast_initial
= swig_cast_initial
;
43440 /* Try and load any already created modules */
43441 module_head
= SWIG_GetModule(clientdata
);
43443 swig_module
.next
= module_head
->next
;
43444 module_head
->next
= &swig_module
;
43446 /* This is the first module loaded */
43447 swig_module
.next
= &swig_module
;
43448 SWIG_SetModule(clientdata
, &swig_module
);
43451 /* Now work on filling in swig_module.types */
43452 #ifdef SWIGRUNTIME_DEBUG
43453 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43455 for (i
= 0; i
< swig_module
.size
; ++i
) {
43456 swig_type_info
*type
= 0;
43457 swig_type_info
*ret
;
43458 swig_cast_info
*cast
;
43460 #ifdef SWIGRUNTIME_DEBUG
43461 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43464 /* if there is another module already loaded */
43465 if (swig_module
.next
!= &swig_module
) {
43466 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43469 /* Overwrite clientdata field */
43470 #ifdef SWIGRUNTIME_DEBUG
43471 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43473 if (swig_module
.type_initial
[i
]->clientdata
) {
43474 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43475 #ifdef SWIGRUNTIME_DEBUG
43476 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43480 type
= swig_module
.type_initial
[i
];
43483 /* Insert casting types */
43484 cast
= swig_module
.cast_initial
[i
];
43485 while (cast
->type
) {
43486 /* Don't need to add information already in the list */
43488 #ifdef SWIGRUNTIME_DEBUG
43489 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43491 if (swig_module
.next
!= &swig_module
) {
43492 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43493 #ifdef SWIGRUNTIME_DEBUG
43494 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43498 if (type
== swig_module
.type_initial
[i
]) {
43499 #ifdef SWIGRUNTIME_DEBUG
43500 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43505 /* Check for casting already in the list */
43506 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43507 #ifdef SWIGRUNTIME_DEBUG
43508 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43510 if (!ocast
) ret
= 0;
43515 #ifdef SWIGRUNTIME_DEBUG
43516 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43519 type
->cast
->prev
= cast
;
43520 cast
->next
= type
->cast
;
43526 /* Set entry in modules->types array equal to the type */
43527 swig_module
.types
[i
] = type
;
43529 swig_module
.types
[i
] = 0;
43531 #ifdef SWIGRUNTIME_DEBUG
43532 printf("**** SWIG_InitializeModule: Cast List ******\n");
43533 for (i
= 0; i
< swig_module
.size
; ++i
) {
43535 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43536 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43537 while (cast
->type
) {
43538 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43542 printf("---- Total casts: %d\n",j
);
43544 printf("**** SWIG_InitializeModule: Cast List ******\n");
43548 /* This function will propagate the clientdata field of type to
43549 * any new swig_type_info structures that have been added into the list
43550 * of equivalent types. It is like calling
43551 * SWIG_TypeClientData(type, clientdata) a second time.
43554 SWIG_PropagateClientData(void) {
43556 swig_cast_info
*equiv
;
43557 static int init_run
= 0;
43559 if (init_run
) return;
43562 for (i
= 0; i
< swig_module
.size
; i
++) {
43563 if (swig_module
.types
[i
]->clientdata
) {
43564 equiv
= swig_module
.types
[i
]->cast
;
43566 if (!equiv
->converter
) {
43567 if (equiv
->type
&& !equiv
->type
->clientdata
)
43568 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43570 equiv
= equiv
->next
;
43590 /* Python-specific SWIG API */
43591 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43592 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43593 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43595 /* -----------------------------------------------------------------------------
43596 * global variable support code.
43597 * ----------------------------------------------------------------------------- */
43599 typedef struct swig_globalvar
{
43600 char *name
; /* Name of global variable */
43601 PyObject
*(*get_attr
)(void); /* Return the current value */
43602 int (*set_attr
)(PyObject
*); /* Set the value */
43603 struct swig_globalvar
*next
;
43606 typedef struct swig_varlinkobject
{
43608 swig_globalvar
*vars
;
43609 } swig_varlinkobject
;
43611 SWIGINTERN PyObject
*
43612 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43613 return PyString_FromString("<Swig global variables>");
43616 SWIGINTERN PyObject
*
43617 swig_varlink_str(swig_varlinkobject
*v
) {
43618 PyObject
*str
= PyString_FromString("(");
43619 swig_globalvar
*var
;
43620 for (var
= v
->vars
; var
; var
=var
->next
) {
43621 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43622 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43624 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43629 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43630 PyObject
*str
= swig_varlink_str(v
);
43631 fprintf(fp
,"Swig global variables ");
43632 fprintf(fp
,"%s\n", PyString_AsString(str
));
43638 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43639 swig_globalvar
*var
= v
->vars
;
43641 swig_globalvar
*n
= var
->next
;
43648 SWIGINTERN PyObject
*
43649 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43650 PyObject
*res
= NULL
;
43651 swig_globalvar
*var
= v
->vars
;
43653 if (strcmp(var
->name
,n
) == 0) {
43654 res
= (*var
->get_attr
)();
43659 if (res
== NULL
&& !PyErr_Occurred()) {
43660 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43666 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43668 swig_globalvar
*var
= v
->vars
;
43670 if (strcmp(var
->name
,n
) == 0) {
43671 res
= (*var
->set_attr
)(p
);
43676 if (res
== 1 && !PyErr_Occurred()) {
43677 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43682 SWIGINTERN PyTypeObject
*
43683 swig_varlink_type(void) {
43684 static char varlink__doc__
[] = "Swig var link object";
43685 static PyTypeObject varlink_type
;
43686 static int type_init
= 0;
43688 const PyTypeObject tmp
43690 PyObject_HEAD_INIT(NULL
)
43691 0, /* Number of items in variable part (ob_size) */
43692 (char *)"swigvarlink", /* Type name (tp_name) */
43693 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43694 0, /* Itemsize (tp_itemsize) */
43695 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43696 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43697 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43698 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43699 0, /* tp_compare */
43700 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43701 0, /* tp_as_number */
43702 0, /* tp_as_sequence */
43703 0, /* tp_as_mapping */
43706 (reprfunc
)swig_varlink_str
, /* tp_str */
43707 0, /* tp_getattro */
43708 0, /* tp_setattro */
43709 0, /* tp_as_buffer */
43711 varlink__doc__
, /* tp_doc */
43712 0, /* tp_traverse */
43714 0, /* tp_richcompare */
43715 0, /* tp_weaklistoffset */
43716 #if PY_VERSION_HEX >= 0x02020000
43717 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43719 #if PY_VERSION_HEX >= 0x02030000
43722 #ifdef COUNT_ALLOCS
43723 0,0,0,0 /* tp_alloc -> tp_next */
43726 varlink_type
= tmp
;
43727 varlink_type
.ob_type
= &PyType_Type
;
43730 return &varlink_type
;
43733 /* Create a variable linking object for use later */
43734 SWIGINTERN PyObject
*
43735 SWIG_Python_newvarlink(void) {
43736 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43740 return ((PyObject
*) result
);
43744 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43745 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43746 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43748 size_t size
= strlen(name
)+1;
43749 gv
->name
= (char *)malloc(size
);
43751 strncpy(gv
->name
,name
,size
);
43752 gv
->get_attr
= get_attr
;
43753 gv
->set_attr
= set_attr
;
43754 gv
->next
= v
->vars
;
43760 SWIGINTERN PyObject
*
43762 static PyObject
*_SWIG_globals
= 0;
43763 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43764 return _SWIG_globals
;
43767 /* -----------------------------------------------------------------------------
43768 * constants/methods manipulation
43769 * ----------------------------------------------------------------------------- */
43771 /* Install Constants */
43773 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43776 for (i
= 0; constants
[i
].type
; ++i
) {
43777 switch(constants
[i
].type
) {
43778 case SWIG_PY_POINTER
:
43779 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43781 case SWIG_PY_BINARY
:
43782 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43789 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43795 /* -----------------------------------------------------------------------------*/
43796 /* Fix SwigMethods to carry the callback ptrs when needed */
43797 /* -----------------------------------------------------------------------------*/
43800 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43801 swig_const_info
*const_table
,
43802 swig_type_info
**types
,
43803 swig_type_info
**types_initial
) {
43805 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43806 char *c
= methods
[i
].ml_doc
;
43807 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43809 swig_const_info
*ci
= 0;
43810 char *name
= c
+ 10;
43811 for (j
= 0; const_table
[j
].type
; ++j
) {
43812 if (strncmp(const_table
[j
].name
, name
,
43813 strlen(const_table
[j
].name
)) == 0) {
43814 ci
= &(const_table
[j
]);
43819 size_t shift
= (ci
->ptype
) - types
;
43820 swig_type_info
*ty
= types_initial
[shift
];
43821 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43822 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43823 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43826 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43828 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43830 strncpy(buff
, "swig_ptr: ", 10);
43832 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43833 methods
[i
].ml_doc
= ndoc
;
43845 /* -----------------------------------------------------------------------------*
43846 * Partial Init method
43847 * -----------------------------------------------------------------------------*/
43852 SWIGEXPORT
void SWIG_init(void) {
43855 /* Fix SwigMethods to carry the callback ptrs when needed */
43856 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
43858 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43859 d
= PyModule_GetDict(m
);
43861 SWIG_InitializeModule(0);
43862 SWIG_InstallConstants(d
,swig_const_table
);
43865 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
43866 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
43867 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
43868 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
43869 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
43870 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
43871 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
43872 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
43873 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
43874 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
43875 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
43876 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
43877 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
43878 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
43879 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
43880 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
43881 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
43882 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
43883 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
43884 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
43885 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
43886 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
43887 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
43888 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
43889 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
43890 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
43891 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
43892 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
43893 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
43894 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
43895 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
43896 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
43897 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
43898 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
43899 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
43900 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
43901 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
43902 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
43903 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
43904 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
43905 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
43906 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
43907 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
43908 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
43909 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
43910 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
43911 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
43912 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
43913 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
43914 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
43915 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
43916 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
43917 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
43918 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
43919 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
43920 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
43921 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
43922 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
43923 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
43924 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
43925 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
43926 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
43927 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
43928 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
43929 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
43930 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
43931 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
43932 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
43933 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
43934 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
43935 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
43936 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
43937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
43938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
43939 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
43940 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
43941 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
43942 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
43943 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
43944 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
43945 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
43946 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
43947 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
43948 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
43949 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
43950 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
43951 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
43952 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
43953 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
43954 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
43955 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
43956 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
43957 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
43958 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
43959 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
43960 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
43961 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
43962 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
43963 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
43964 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
43965 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
43966 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
43967 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
43968 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
43969 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
43970 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
43971 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
43972 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
43973 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
43974 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
43975 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
43976 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
43977 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
43978 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
43979 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
43980 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
43981 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
43982 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
43983 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
43984 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
43985 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
43986 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
43987 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
43988 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
43989 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
43990 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
43991 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
43992 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
43993 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
43994 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
43995 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
43996 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
43997 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
43998 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
43999 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44000 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44001 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44002 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44003 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44004 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44006 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44009 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44010 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44011 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44012 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44013 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44014 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44015 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44016 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44017 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44018 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44019 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44020 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44021 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44022 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44023 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44024 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44025 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44026 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44027 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44028 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44029 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44030 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44031 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44032 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44033 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44034 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44035 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44036 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44037 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44038 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44039 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44040 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44041 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44042 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44043 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44044 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44045 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44046 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44047 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44048 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44049 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44050 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44051 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44052 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44053 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44054 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44055 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44056 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44057 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44058 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44059 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44060 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44061 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44062 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44063 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44064 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44065 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44066 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44067 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44068 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44069 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44070 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44071 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44072 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44073 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44074 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44075 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44076 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44077 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44078 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44079 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44080 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44081 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44082 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44083 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44084 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44085 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44086 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44087 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44088 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44089 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44090 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44091 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44092 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44093 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44094 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44095 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44096 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44097 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44098 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44099 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44100 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44101 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44102 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44103 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44104 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44105 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44106 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44107 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44108 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44109 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44110 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44111 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44113 // Map renamed classes back to their common name for OOR
44114 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44116 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44117 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44118 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44119 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44120 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44121 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44122 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44123 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44124 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44125 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44126 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44127 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44128 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44129 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44130 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44131 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44132 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44133 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44134 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44135 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44136 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44137 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44138 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44139 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44140 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44141 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44142 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44143 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44144 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44145 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44146 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44147 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44148 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44149 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44150 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44151 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44152 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44153 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44154 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44155 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44156 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44162 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44163 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44164 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44165 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44169 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44170 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44172 // Map renamed classes back to their common name for OOR
44173 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44174 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44176 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44177 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44178 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44179 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44180 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44181 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44182 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44183 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44184 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44185 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44187 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44189 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44190 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44191 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44192 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44193 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44194 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));